Rockwell Automation 1775-S4B, D17756.5.3 User Manual

I/O ScannerMessage Handling Module
User’s Manual

Table of Contents

Using This Manual 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.0 Important Information for the Reader 11. . . . . . . . . . . . . . . . . . .
1.1
Manual'
1.6
Important Information
Introducing the I/O ScannerMessage Handling Module 21. . .
2.0 Chapter Objectives 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1.3
2.3
Specifications
s Purpose 11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
I/O Channel Status Indicators
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23. . . . . . . . . . . . . . . . . . . . . . .
24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing Your 1775S4B Scanner 31. . . . . . . . . . . . . . . . . . .
3.0 Chapter Objectives 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Using the 1775S4B Scanner'
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
s I/O T
erminal Swing Arm 35. . . . . .
Operating the LIST Function 41. . . . . . . . . . . . . . . . . . . . . . .
4.0 Chapter Objectives 41. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.2
CR
T Defaults
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contentsii
4.2.7 Tabs 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2.10
XON/XOFF
4.2.11
Communication Rate
4.2.13
Stop Bits
4.2.14 Data Bits Per Character 411
4.2.15
ASCII Code Size
4.2.16 Reconfigure 411
4.3
Configuring the I/O Communication Channels
I/O Channel Configuration
4.3.1
4.3.1.1
Communication Rate
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
410. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
410. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
411. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
411. . . . . . . . . . . . .
412. . . . . . . . . . . . . . . . . . . . . . . . . .
412. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting Started in Report Generation 51. . . . . . . . . . . . . . . . .
5.0 Chapter Objectives 51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3
Getting Started
5.5 Executing Procedures from the Message Instruction in the User Program 55
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Logical Addressing for Report Generation 61. . . . . . . . . . . . .
6.0 Chapter Objectives 61. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Editing a Procedure 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.0 Chapter Objectives 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.3
Editing Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents iii
7.3.4 Backup Line Pointer 77. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.3.10
Exit Edit Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
713. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Symbols and Expressions in Report Generation 81. . .
8.0 Chapter Objectives 81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.3.1
Assignment Statements
8.5.1
Octal/Decimal V
8.5.3
8.5.4
Bitwise Operations
8.5.6
Shift Operations
8.5.7
Bit Operation
8.5.8
Arithmetic Operations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
alues 812. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . .
85. . . . . . . . . . . . . . . . . . . . . . . . . . .
813. . . . . . . . . . . . . . . . . . . . . . . . . . . .
814. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
815. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
816. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
817. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Formatting Data in Report Generation 91. . . . . . . . . . . . . . . .
9.0 Chapter Objectives 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
9.1
Formatting Input and Output Data
9.1.3
Displaying Data
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . . . .
91. . . . . . . . . . . . . . . . . . . . . .
93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contentsiv
9.5 Using the Conversion Table 913. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Commands in Report Generation 101. . . . . . . . . . . . . . .
10.0 Chapter Objectives 101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10.2.1
Print
10.2.4
Delete
10.3.1
Print
10.3.2 Execute 1010
10.3.3 Case 1011 Exit
10.3.4
10.3.5
Stop
10.3.6
If
10.3.7
Goto
10.3.8 On_error 1015
10.3.9 Assignment 1017
10.3.10 Inquire 1020
10.3.11
Delete
10.4 Chapter Summary 1022
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
102. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1012. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1013. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1013. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1014. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1021. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using Report Generation Functions 111. . . . . . . . . . . . . . . . . .
11.0 Chapter Objectives 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11.1 Report Generation Functions 111
11.2 Input Access Functions 112
11.2.1 Getchar 113
11.2.2 Testchar 113
11.2.3 Testline 114
11.3 Format Conversion Functions 115
11.3.1 To_bcd 115
11.3.2 From_bcd 116
11.4 Chapter Summary 116
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
Table of Contents v
Execution Time Considerations 121. . . . . . . . . . . . . . . . . . . . .
12.0 Chapter Objectives 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12.2
Active I/O Channels
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using a Peripheral
A.0 Appendix Objectives A1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Modifying Y A.2.1 Abbreviating Commands A2 A.2.2 Abbreviating Modifiers A2 A.2.3 Abbreviating Functions A3 A.2.4 Specifying Octal Addresses A3 A.2.5 Using the .EQ. Expression Operator A3 A.2.6
Formatting Data A.2.7 Suppressing the Line Feed A4 A.3
Bit Shift Operation
Floating
B.0 Appendix Objectives B1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Point V
Communication Module
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
our Report Generation Procedures A1. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . .
alues on the 1775S4B Scanner B1. . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A1. . . . . . . . . . . .
A3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Report Generation Quick Reference Guide C1. . . . . . . . . . . .
C.0 Quick Reference C1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Glossary D1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Using This Manual
Chapter
1
1.0 Important Information for the Reader
1.1 Manual's Purpose
1.2 Audience
Read this chapter before you use the I/O Scanner-Message Handling Module (cat. no. 1775-S4B). It tells you how to use the Reader this manual properly and efficiently for the tasks you will have to perform.
This manual shows you how to install and operate your I/O scanner-message handling module. The operation of this module is divided into two topics:
Using the I/O scanner-message handling module to communicate with
bulletin 1771 I/O chassis
Using the I/O scanner-message handling module’s report generation
capability
Before you read this manual or attempt to use the I/O scanner-message handling module, you should be familiar with the basic operation of the PLC-3 controller. If you are not familiar with the PLC-3 controller, refer to the following publications:
PLC-3 Programmable Controller Installation and Operations Manual
(publication 1775-6.7.1, formerly 1775-800)
PLC-3 Controller Programming Manual (publication 1775-6.4.1,
formerly 1775-801)
You can also use our Publication Index (publication SD499) as a guide to further information about products related to our I/O scanner-message handling module. Consult your local Allen-Bradley distributor or sales engineer for information regarding this publication or any needed information.
11
Chapter 1
Using this Manual
1.3 Terminology
1.4 Conventions
We refer to certain types of equipment throughout this manual. To make the manual easier for you to read and understand, we avoid repeating full product names where possible.
We refer to:
I/O Scanner-Message Handling Module (cat. no. 1775-S4B) as the
1775-S4B scanner
I/O Scanner-Programmer Interface Module (cat. no. 1775-S4A) as the
1775-S4A scanner
Industrial Terminal System (cat. no. 1770-T4) as the industrial
terminal
RS-232-C compatible devices which communicate to the PLC-3
controller through the 1775-S4B scanner, such as the data terminals, computers, or printers as RS-232-C devices
In this manual, we use certain notational conventions to indicate keystrokes and items displayed on a CRT or printer:
is used to show keystrokes that you enter from the data
terminal keyboard. The keystrokes appear in blue and may be enclosed in brackets to indicate a specific key on the keyboard such as:
[ENTER]
In some cases, rather than specific keystrokes, you may be instructed to enter a variable. In that case, the variable is printed in blue lower case letters and enclosed in angle brackets (< >) such as:
<address>
is used to show the 1775-S4B scanner’s response to your
keystrokes such as:
S4B>
We describe any exceptions to these conventions where they occur.
12
Chapter 1
Using this Manual
1.5 Manual Design
1.6 Important Information
This manual is designed with as many as three divisions per page. These divisions include:
Headings in the left margin describe the contents of the text Text provides explanations, information, and examples Figures show displays, hardware, and diagrams
In this manual, there are three different types of important information:
WARNING: Informs you where you could injure yourself if you do not follow the written procedure.
CAUTION: Informs you where you could damage your equipment if you do not follow the written procedure.
NOTES inform you of exceptions to the general rules or important information.
13
Chapter
2
Introducing the I/O ScannerMessage Handling Module
2.0 Chapter Objectives
2.1 Looking at the 1775S4B Scanner's Front Edge
This chapter discusses the functions and features of the 1775-S4B scanner. When you finish reading this chapter, you should:
Be able to identify the hardware components of the 1775-S4B scanner Know the basic features and functions of the 1775-S4B scanner
Your 1775-S4B scanner fits into the PLC-3 processor chassis. Looking at the front edge, you will see the following (figure 2.1):
Pass and Fail indicators Thumbwheel switch I/O channel status indicators Backup connector Channel 5 connector Terminal swing arm
These components are described in the following sections.
21
Chapter 2
I/O ScannerMessage Handling Module
Figure 2.1
ScannerMessage Handling Module
I/O
2.1.1 Pass and Fail Indicators
2.1.2 Thumbwheel Switch
At the top of the 1775-S4B scanner’s front edge, LED indicators labeled PASS and FAIL keep you informed on the general condition of the 1775-S4B scanner. These indicators have the following meanings:
Pass (green) Fail (red) Meaning
On Off Normal Operation
Off On Module Fault
On On Powerup or system reset
Off Off PLC3 processor is not on
The thumbwheel switch is below the PASS and FAIL indicators. Setting it at a unique number (1 to 15) enables the PLC-3 processor to differentiate it from another 1775-S4B scanner.
CAUTION: Do not change the thumbwheel setting on the 1775-S4B scanner while processor power is on. Equipment damage could result.
22
Chapter 2
I/O ScannerMessage Handling Module
2.1.3 I/O Channel Status Indicators
Below the thumbwheel switch are four green LEDs labeled:
CH1 CH2 CH3 CH4
Each LED corresponds to one of the four I/O communication channels. Each I/O channel can connect to a bulletin 1771 I/O chassis or a group of chassis providing direct communication with the 1775-S4B scanner. Each indicator has the following meanings:
If the LED is: Then:
On Proper communication exists between
1775S4B scanner and the I/O chassis on the corresponding I/O channel.
Flashing A fault exists on one or more of the I/O chassis
on the corresponding I/O channel.
Off No I/O chassis are connected to the
corresponding I/O channel.
2.1.4 Backup Connector
2.1.5 Channel 5 Connector
2.1.6 Terminal Swing Arm
Below the I/O channel indicators is a connector labeled BACKUP. This connector is not used.
Below the backup connector is a 25-pin D-shell connector labeled CH5. This connector provides communication with an RS-232-C device such as a data terminal, a computer, or a printer. Refer to chapter 3 for installation information.
Near the bottom of the 1775-S4B scanner is a Terminal Swing Arm (cat. no. 1775-WA). This swing arm contains the connection terminals for channels 1 to 4 which scan I/O chassis. We discuss cable connections for the I/O communication channels in chapter 3.
23
Chapter 2
I/O ScannerMessage Handling Module
2.2 1775S4B
Scanner
Features and Functions
Now that you are aware of the 1775-S4B scanner’s hardware components, this section summarizes the basic features and functions of the I/O scanner-message handling module:
Features Functions
Four I/O communication channels
Report generation channel To communicate with an RS232C compatible data terminal for
Status indicators To keep you informed on the 1775S4B scanner's status. These
Thumbwheel switch To distinguish one 1775S4B scanner from another. You can
Terminal swing arm To easily connect bulletin 1771 I/O chassis to the 1775S4B
To communicate with I/O Adapter Modules (cat. no. 1771AS) in I/O chassis. You can connect up to 16 I/O chassis to one 1775S4B scanner I/O channel. The 1775S4B scanner can communicate with 2,048 inputs and 2,048 outputs per scanner total.
report generation. You can execute messages from your data terminal or from a MSG instruction in the ladder diagram program.
LEDs indicate the general module status and the active state of each I/O communication channel.
insert up to 15 1775S4B scanners in one PLC3 system.
scanner. The terminal swing arm disconnects so you can easily attach Twinaxial Cable (cat. no. 1770CD). An I/O chassis can connect to a 1775S4B scanner up to 10,000 cable feet away.
2.3 Specifications
Location
Single slot in a PLC-3 processor chassis
Functions
I/O interface Report generation
I/O Capacity
2,048 inputs and 2,048 outputs
Channels Per Module
4 I/O communication 1 RS-232-C communication
Communication Rate
57.6 baud or 115.2 kbaud (I/O channel) 110 to 19.2 kbaud (RS-232-C channel)
24
I/O Channel Cable Length
10,000 cable feet (max)
Nominal I/O Scan Times
5.5 to 6.5ms for one I/O channel 6ms for two I/O channels 6ms for three I/O channels 6 to 6.5ms for four I/O channels
Backplane Current
2.7A from 5V DC circuit 2mA from +15V DC circuit 2mA from -15V DC circuit
Chapter 2
I/O ScannerMessage Handling Module
2.4 Chapter Summary
Environmental Conditions
Operational Temperature: 0 to 60° C (32 to 140° F) Storage Temperature: -40 to 85° C (-40 to 185° F) Relative Humidity: 5 to 95% (without condensation)
In this chapter, you were introduced to the:
Hardware components on the 1775-S4B scanner Basic features and functions of the 1775-S4B scanner Specifications of the 1775-S4B scanner
The next chapters describe installation procedures and PLC-3 LIST selections for the 1775-S4B scanner.
25
Chapter
3
Installing Your 1775S4B Scanner
3.0 Chapter Objectives
3.1 Inserting Your 1775S4B Scanner
3.2 Using the 1775S4B Scanner's RS232C Channel
The 1775-S4B scanner provides the PLC-3 processor with an RS-232-C compatible channel for report generation and a terminal swing arm for I/O scanning. After reading this chapter, you should be able to:
Insert a 1775-S4B scanner into a PLC-3 system
Connect an RS-232-C device to the channel 5 connector on the
1775-S4B scanner
Connect I/O chassis to the terminal swing arm on the 1775-S4B scanner
The first step is inserting your 1775-S4B scanner. You can slide the 1775-S4B scanner into any slot of a PLC-3 Processor Chassis (cat. no. 1775-Al, 1775-A2). The chassis electromechanically interlocks helping to guard against inserting or removing modules while power is on.
The channel 5, 25-pin connector provides RS-232-C communication to a modem, computer, or data terminal for report generation capability. We discuss report generation in chapter 5. The following two sections discuss connecting RS-232-C devices to the 1775-S4B scanner.
3.2.1 Connecting RS232C Devices
Figure 3.1 shows the pin assignments for the channel 5 connector. You can use Peripheral Cable (cat. no. 1775-CDC) to connect RS-232-C data terminals or computers to the 1775-S4B scanner. This peripheral cable is 15 feet or 4.6 meters long (figure 3.2). If you need more distance, you can connect an RS-232-C device up to 50 feet or 15.2 meters from the 1775-S4B scanner by using Remote I/O Interconnect Cable (cat. no. 1778-CR), or equivalent, and two 25-Pin Connector Kits (cat. no. 1770-XXP). Figure 3.3 shows the appropriate wiring.
If an RS-232-C device must be more than 50 cable feet or 15.2 cable meters from the 1775-S4B module, use a line driver/receiver or a modem.
You could also use the cable that comes with the RS-232-C device. However, the connector must have a right angle hood; otherwise, the PLC-3 processor door will not close.
31
Chapter 3
Installing Your 1775S4B Scanner
Figure 3.1
Diagram of Peripheral Cable for Connecting RS232C Device to
Wiring 1775S4B Scanner
Protective
Ground
T
ransmitted Data
1
Received Data
2
Request to send
3
Clear to Send
3
Data Set Ready
Signal Ground (Connom Return)
3
Received Line Signal Detector
4
Isolated T
4
Received Data Return
2
Data T
5
Ring Indicator
4
Isolated T
ransmitted Data
erminal Ready
ransmitted Data Return
CH 5 Connector on the 1775-S4B Scanner
1
This pin is for both long line and RS-232-C campatible transmission
2
Signals from the data terminal to these input pins have no ef
operation of the module.
3
The module always holds these output pins high (ON).
4
These pins are for long line transmission; they are not RS-232-C compatible.
5
The module always holds this output pin low (OFF).
25-Pin Female Connector
1
2
3
4
5
6
7
8
14
18
20
22
25
25-Pin Male Connector
(AA)
1
(BA)
2
(BB)
3
(CA)
4
(CB)
5
(CC)
6
(AB)
7
(CF)
8
14
18
(CD)
20
(CE)
22
25
Cat. No. 1775-CDC Cable (15 ft. 4.6m)
25-Pin Female Connector
1
2
3
4
5
6
7
8
14
18
20
22
25
fect on the
32
I/O
Scanner Message Handling Module (Cat. No. 1775-S4B)
Figure 3.2 Connecting
an RS232C Device to the 1775S4B Scanner Using
Peripheral Cable
25-Pin Male Connector
25-Pin Female Connector
Cat.
No. 1775-CDC Peripheral Cable (15 ft. 4.6m)
Data T
erminal
(RS-232-C Compatible)
Chapter 3
Installing Your 1775S4B Scanner
I/O
Scanner Message Handling Module (Cat. No. 1775-S4B)
I/O
Scanner­Message Handling Module (Cat. No. 1775-S4B)
Figure 3.3 Connecting I/O Interconnect Cable
UserSupplied Cannon T
7
7
2
2
7
7
3
3
1 1
25Pin Male Connector;
ype DB2505, Male or equivalent
Cat.
No. 1778-CR Cable or equivalent
(50 ft. or 15.2 m maximum)
a)
Connection Diagram
UserSupplied Connector
UserSupplied Jumpers refer to section 3.2
an RS232C Device to the 1775S4B Scanner Using Remote
UserSupplied Connector, as Appropriate
UserSupplied Connections as Appropriate
[AB] [BA] [AB]
[BB]
[CB] [CC] [CD]
[CF]
7
7
2
2
7
7
3
5
6
20
8
Data T
3
5
6
20
8
erminal
(RS232C Compatible)
Cat. No. 1778-CR Cable or equivalent
50 ft. or 15.2 m
maximum
b) Wiring Diagram
Some RS-232-C devices may require a high signal for a clear to send (CB) signal at pin 5, a data set ready (CC) signal at pin 6, or a data carrier detect (CF) signal at pin 8 for proper operation. Depending on your connections, note the following:
If you are using the 1775-CDC cable to connect directly between the
1775-S4B scanner and the RS-232-C device or its cable, the 1775-S4B scanner provides these signals.
If you are constructing a cable for the RS-232-C device, you can jumper
pin 20 to pin 5, 6, or 8 as required by the RS-232-C device.
33
Chapter 3
Installing Your 1775S4B Scanner
The RS-232-C device should pull pin 20 high to provide its own signal. This jumpering is shown by dashed lines in the wiring diagram of figure 3.3.
3.2.2 Connecting an Industrial Terminal
You can use the PLC-3 Industrial Terminal Cable (cat. no. 1775-CAT) for connecting an industrial terminal to the 1775-S4B scanner. Refer to the steps below for proper connection:
Step 1—Connect the end labeled INDUSTRIAL TERMINAL END to channel B of the industrial terminal.
Step 2—Connect the end labeled PLC-3 END to the channel 5 connector on the 1775-S4B scanner.
The 1775-CAT cable is 10 feet or 3 meters long (figure 3.4). If you want to connect the industrial terminal up to 5,000 cable feet (1,524 cable meters) away from the 1775-S4B scanner, refer to figure 3.5. Use 1778-CR cable or equivalent cable and two 25-pin male connector kits (cat. no. 1770-XXP).
Figure 3.4 Connecting Industrial T
an Industrial T
erminal Cable
erminal to the 1775S4B Scanner Using
Industrial T (Cat. No. 1770-T1, T2, T3, or T4)
erminal System
34
I/O
Scanner­message Handling Module (Cat. No. 1775-S4B)
25Pin Male Connector with Right-Angle Hood
Cat.
No. 1775CA
Industrial T
erminal Cable (10ft. 3 m)
T PLC3
Channel B
Chapter 3
Installing Your 1775S4B Scanner
I/O
Scanner message Handling Module (Cat. No. 1775-S4B)
Figure 3.5 Connecting
an Industrial T
Remote I/O Interconnect Cable
RightAngle Hood
User-Supplied Cannon T
UserSupplied Connector
25Pin Male Connector
ype DB2505, Male, or equivalent
Cat. No. 1778CR Cable or equivalent (5000 ft. or 1524m maximum)
a) Connection Diagram
erminal to the 1775S4B Scanner Using
Industrial T (Cat. No. 1770T1, T2, T3, or T4)
,
UserSupplied Connector
erminal System
Channel B
3.3 the 1775S4B
Using Scanner'
s I/O T
Swing Arm
erminal
I/O
Scanner Message Handling Module (Cat. No. 1775-S4B)
25
25
14
14
18
18
3
3
25
25
2
18
3
1
Industrial Terminal Channel B
2
18
3
1
Cat. No. 1778CR Cable or equivalent
5000 ft. or 1524 m
maximum
b) Wiring Diagram
The I/O terminal swing arm provides cable connection for Twinaxial Cable (cat. no. 1770-CD) which connects to 1771 I/O chassis. This swing arm contains terminals for I/O channels 1 thru 4. Figure 3.6 shows how to wire the 1770-CD cable to the terminals on the terminal swing arm.
35
Chapter 3
Installing Your 1775S4B Scanner
Figure 3.6
Scanner Module I/O Channel Connections
I/O
Line 1
Shield
Line 2
Line 1
Shield
Line 2
Channel No. 4
Channel No. 2
Terminator
(Cat. No. 177)
Channel No. 3
Blue
Channel No. 1
Clear
T
winaxial Cable
Cat. No. 1770-CD
Line 1
Shield
Line 2
Line 1
Shield
Line 2
Figure 3.7 shows the terminal identification label which indicates the proper connections for each I/O adapter module to an I/O channel. This label is on the side of the module. The connections are made at screw terminals on a wiring arm in front of each I/O adapter module.
36
Figure 3.7
Adapter Module (cat. no. 1771AS) T
I/O
1
2
3
4
5
6
7
8
9
10
11
12
Chapter 3
Installing Your 1775S4B Scanner
erminal Identification Label
Terminal
Identification
Cat. No. 1771AS
Line
1
Shield
Line 2
No connection
No connection
No connection
No connection
No connection
No connection
No connection
IN
RET
Cable
Reset
Perform the following steps to make proper I/O channel connections: Step 1—Connect the twinaxial cable in a serial (daisy chain) fashion from
the 1775-S4B scanner to each I/O chassis within the I/O channel (figure 3.8).
Step 2—Connect the signal conductor with blue insulation to the LINE 1 terminal at the 1775-S4B scanner and at each I/O adapter module in the I/O channel.
Step 3—Connect the signal conductor with clear insulation to the LINE 2 terminal. Connect the shield drain wire to the SHIELD terminal.
Step 4—Connect a Terminator (cat. no. 1770-XT) between the terminals at each end of each I/O channel.
You can optionally connect a normally open, momentary contact switch between terminals 11 and 12 at each I/O adapter module. You could then use such a reset switch to reset the I/O adapter module if the PLC-3 processor detects a fault at the I/O chassis. Refer to the PLC-3 Programmable Controller Installation and Operation Manual (publication 1775-6.7.1, formerly 1775-800) for detailed information.
37
Chapter 3
Installing Your 1775S4B Scanner
Figure 3.8
Channel Connections
I/O
I/O Scanner Module
Arm
Swing (Car
. No. 1775-W
Terminator (Cat. No.1770-XT)
Blue
Shield
Clear
A)
Optional User-supplied Pushbutton for I/O Chassis Restart
I/O Adapter Module Field Wiring Arm (Cat. No. 1771-WB)
Twinaxial Cable (Cat. No. 1770-CD)
Blue
Shield
Clear
I/O Adapter Module Field Wiring Arm (Cat. No. 1771-WB)
Terminator (Cat. No. 1770-XT)
Blue Blue
Shield Shield
Clear Clear
Optional User-supplied Pushbutton for I/O Chassis Restart
3.4 Chapter Summary
38
10,000 cable ft or 3048 cable m maximum
In this chapter, you read installation procedures for:
Connecting an RS-232-C device to channel 5 for report generation Connecting I/O chassis to the terminal swing arm for I/O scanning
Before you begin operating the 1775-S4B scanner, we suggest that you double check all connections.
The next chapter describes LIST selections for the 1775-S4B scanner.
Chapter
Operating the LIST Function
4
4.0 Chapter Objectives
4.1 Entering LIST
4.2 Configuring the RS232C Communication Channel
The LIST function allows you to select parameters to operate the PLC-3 controller. After reading this chapter, you should be able to:
Select operating parameters for the RS-232-C communication channel
on the 1775-S4B scanner
Select operating parameters for the I/O communication channels on the
1775-S4B scanner
You can operate the LIST function for the 1775-S4B scanner through a 1770-T4 terminal or the data access panel on the PLC-3 Main Chassis (cat. no. 1775-Al). Refer to the PLC-3 Programmable Controller Installation and Operation Manual (publication 1775-6.7.1, formerly 1775-800) for detailed information on operating the LIST function.
Figure 4.1 shows you the parameters that you can select for each channel. We explain these parameters in the following sections.
If you select COMM CHAN to configure the RS-232-C communication channel, you can make the following selections:
TTY (Printer) defaults CRT defaults Privileges Echo Line length Pad characters Tabs Form feed Mode XON/XOFF Communication rate (baud) Parity Stop bits Data bits/character ASCII code size
41
Chapter 4
Operating the LIST Function
Reconfig
We explain these selections in the following sections.
42
I/O Scanner02 Chassis 1 Slot 3 1 Comm Chan 2 I/O Chan Enter Next>
Figure 4.1
Selections for the 1775S48 Scanner
LIST
02Comm Chan 5
1 TTY Defaults 2 CRT Defaults
3 Privileges 4 Echo 5 Line Length 6 Pad Char 7 Tabs 8 FF 9 Mode 10 XON/XOFF
1 Baud
1 12 Parity 13 Stopbits 14 Bits/Char 15 ASCII Code Size
16 Reconfig
Enter Next>
02I/O Chan 4Baud
I/O Scanner02I/O Chan 1 I/O Chan 1 2 I/O Chan 2 3 I/O Chan 3 4 I/O Chan 4 5 Racks
6 Auto Config 7 Reconfig
Enter Next>
02I/O Chan 4 1 Baud
2 * I/O Scan 3 Inactive
Enter Next>
02I/O Racks
1 * 077 2 100177 3 200277 4 300377
Enter Next:
Those selections shown in bold type affect the operation of the module. The selections not shown in bold type only cause a movement to another level of LIST. The LIST display shows an asterisk (*) to indicate the selection made.
1 57600 2 * 1
15200
3 Inactive
Enter Next>
02I/O Chan 4Chassis
1 003/2/0 2 005/2/2 3 006/2/6/I 4 005/4/4/I/F 5 007/8/0
Enter Next>
Chapter 4
Operating the LIST Function
02Chan
5Privileges
3 5 6
65 73
Enter Next>
02Chan 5Echo
1 * On 2 Off
Enter Next>
02Chan 5Line Length
Line Length 80
Enter Next>
02Chan 5Pad Char
Pad Char 0
Enter Next>
02Chan 5T
abs
1 * Expanded 2 Not Expanded
Enter Next>
02Chan 5FF
1 Expanded 2 * Not Expanded
Enter Next>
02Chan 5Mode
1 * CRT 2 Print
Enter Next>
02Chan 5XON/XOFF
1 * XON/XOFF 2 No XON/XOFF
Enter Next>
02Chan 5Baud Rate
1 110 Baud 2 150 Baud 3 300 Baud 4 600 Baud
1200 Baud
5 6
1800 Baud
7
2400 Baud
8
4800 Baud
9 *
9600 Baud
10
19200 Baud
Enter Next>
02Chan 5Parity
1 Even 2 Odd 3 * None
Enter Next>
02Chan 5Stopbits
1 * 1 2 1.5 3 2
Enter Next>
02Chan 5Bits/Char
1 * 8 2 7
Enter Next>
02Chan 5ASCII Code Size
1 8 2 * 7
Enter Next>
43
Chapter 4
Operating the LIST Function
4.2.1 TTY (Printer) Defaults
The TTY defaults selection configures the RS-232-C communication channel for report generation communication with a printer terminal. Table
4.A lists the parameter selections for TTY defaults. You can use the printer terminal for report generation functions that we discuss in chapters 5 through 11.
Table 4.A Channel
5 Default Selections
Parameter TTY Defaults CRT Defaults
Privileges
Echo
Line length
Pad Char
Tabs
Form feed
Mode
XON/XOFF
Baud
Parity
Stop bits
Bits/Character
ASCII Code Size
3, 5, 6, 65, 73
On
80
4
Expanded
Expanded
Print
XON/XOFF
300 Baud
None
1
8
7
3, 5, 6, 65, 73
On
80
0
Not Expanded
Expanded
CRT
XON/XOFF
9600 Baud
None
1
8
7
4.2.2 CRT Defaults
4.2.3 Privileges
44
The CRT defaults selection configures the RS-232-C communication channel for report generation communication with a CRT terminal. Table
4.A lists the parameter selections for CRT defaults. You can use the CRT terminal for report generation functions that we discuss in chapters 5 through 11.
You must configure the RS-232-C communication channel for TTY or CRT defaults. If you make no selection, the channel configures for CRT defaults.
The LIST function allows you to select operating parameters for the RS-232-C communication channel on the 1775-S4B scanner. These operating parameters are called privileges and are primarily a list of PLC-3 memory areas into which channel 5 has access. For example, if a report generation message is to write into the message area of PLC-3 memory, you must select privilege 5 which corresponds to the message area after you select the privileges selection in LIST.
Chapter 4
Operating the LIST Function
Some privileges, however, do not deal with PLC-3 memory areas. For example, privilege 65 allows you to edit or delete report generation messages. Table 4.B lists the available privileges. We describe all the privileges below:
Privilege 0—System status area. Allows device on channel 5 to write to
the system status area of PLC-3 memory.
Privilege 1—System pointers area. Allows device on channel 5 to write
to the system pointer area of PLC-3 memory.
Privilege 2—Module status area. Allows device on channel 5 to write to
the module status area of PLC-3 memory.
Privilege 3—Data table area. Allows device on channel 5 to write to the
data table area of PLC-3 memory.
Privilege 4—Program area. Allows device on channel 5 to write to the
program area of PLC-3 memory.
Privilege 5—Message area. Allows device on channel 5 to write to the
message area of PLC-3 memory.
Privilege 6—System symbol area. Allows device on channel 5 to write
to system symbol area of PLC-3 memory.
Privilege 7—User symbol area. Allows device on channel 5 to write to
user symbol area of PLC-3 memory.
Privilege 10—Force table area. Allows device on channel 5 to write to
force table area of PLC-3 memory.
Privilege 65—Edit report generation messages. Allows device on
channel 5 to edit or delete report generation messages.
Privilege 73—Accept keyboard input. Allows device on channel 5 to
input data for report generation.
45
Chapter 4
Operating the LIST Function
Table 4.B Privileges
Privilege Number Description
0 1 2 3 4 5 6 7 10 65 73
1
indicates the default privileges.
Write access to system status area Write access to system pointers area Write access to module status area Write access to data table area Write access to program area Write access to messages area Write access to systems symbols area Write access to user symbols area Write access to force tables area Edit or delete report generation messages Accept keyboard input for report generation
1
1
1
1
1
To add a privilege to channel 5, type the number of the privilege. For example:
At the privileges menu if you enter:
ENTER NEXT > 10
The PLC-3 processor adds privilege 10 (write access to force table area) and redisplays the privileges list.
You can make a privilege independent of the memory protect keyswitch position by typing /I after the privilege number. For example:
46
If you enter:
ENTER NEXT >3/I
The PLC-3 processor places /1 after privilege 3 (write access to data table area) and redisplays the privileges list. Then the PLC-3 processor updates the data table regardless of the memory protect keyswitch position.
To delete a privilege from a local channel, type /D after the privilege number. For example:
If you enter:
ENTER NEXT > 4/D
The PLC-3 processor deletes privilege 4 (write access to the user program area) and redisplays the privileges list.
If you do not specify privileges, the default privileges are 3, 5, 6, 65, and 73.
Chapter 4
Operating the LIST Function
4.2.4 Echo
4.2.5 Line Length
The echo selection determines whether channel 5 immediately transmits back to the data terminal a copy of each character received from the data terminal. To enable the echo selection, your RS-232-C device must be set for full-duplex. Note the following:
If you: Then:
Select echo
Do not select echo
Each keystroke from the data terminal prints out or displays after being echoed by the channel.
The keystrokes do not display, unless you can configure the data terminal to do so directly.
The echo selection defaults to on.
You can select a line length value of 0 to 255 characters. If you select a value of 1 to 255, a new line starts automatically whenever the line length of a message exceeds the line length value selected.
As an example, consider message text stored with the intention of printing on a 132-column printer. If an 80-column printer is used, selecting a line length value of 80 automatically causes a new line to start after 80 characters. This prevents the end of each line from being lost. The default line length is 80 characters.
4.2.6 Pad Characters
If you select value 0, a new line does not automatically start. You can use the value 0 for many applications involving graphic displays.
After CR and LF characters are sent to an unbuffered printer to start a new line, the printer needs some time to position the print head at the start of the new line. NUL characters follow CR and LF characters to give the printer this time. Pad characters (1 to 255) provide the number of needed NUL characters. If no NUL characters are needed, enter a pad characters value of 0. If you do not specify a pad character, this selection defaults to 0.
47
Chapter 4
Operating the LIST Function
4.2.7 Tabs
4.2.8 Form Feed
The tabs selection determines what the channel transmits for a tab function:
If you select: Then:
Not expanded
Expanded
The channel sends an HT (tab) character in the message transmission for each HT character in the stored message text. Sending tab characters is only appropriate when transmitting to a data terminal which supports a hardware tab function.
The channel considers a tab position to exist every 8 columns. Each time a HT character is reached in the stored message, the channel sends the number of SP characters to move the cursor to the next tab position.
The default selection is not expanded.
The form feed selection determines what character or characters the channel transmits to accomplish the form feed function:
If you select: Then:
Not expanded
Expanded
The channel sends a FF character in the transmission for each FF character in the message text. Sending FF characters is only appropriate when transmitting to a data which supports a hardware form feed function.
The channel sends seven LF characters in the message transmission for each FF character in the stored message text. This selection does not provide a true form feed function, but it can provide a separation between messages.
48
4.2.9 Mode
The default selection is expanded.
The mode selection determines what the 1775-S4B scanner does when you enter a DEL (delete character) from your keyboard. You can make the following selections:
If you select: Then:
CRT
Print
A DEL character causes the 1775S4B scanner to send back the characters BS, SP, BS to erase the character from the screen.
A DEL character causes the 1775S4B scanner to send back the character being deleted so that it prints again with a slash (/) character on each side. For example, if you type an E, you would see it printed as:
E
If you then delete it, you would see:
E/E/
Loading...
+ 137 hidden pages