Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual ยท part 2 of 31

DF1 Protocol and Command Set Reference Manual: Table of Contents

Pages 4 to 11 of 251, from DF1 Protocol and Command Set Reference Manual

The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Allen-Bradley 5250-LP and Allen-Bradley 5250-MLP1

Page 4

Table of Contents

What's Changed in This Document . . . . . . . . . . . . . .

soc-i

About This Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Changes to This Document . . . . . . . . . . . . . . . . . . . . . . . . .

soc-i soc-i

About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . .

P-1

Purpose of This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . Who Should Use This Manual . . . . . . . . . . . . . . . . . . . . . . . What This Manual Contains . . . . . . . . . . . . . . . . . . . . . . . . Terms and Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . Related Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Related Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Conventions Used in This Manual . . . . . . . . . . . . . . . . . . . .

P-1 P-1 P-2 P-3 P-3 P-4 P-5

Network Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-1

Physical Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DF1 Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH+ Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH485 Link . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Software Layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data-link Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Message Packet Structure . . . . . . . . . . . . . . . . . . . . . . . . . Command and Reply Message . . . . . . . . . . . . . . . . . . . . Message Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Delivery Order of Commands . . . . . . . . . . . . . . . . . . . . . Types of Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1-2 1-2 1-2 1-3 1-5 1-6 1-7 1-7 1-8 1-9 1-9 1-10 1-10 1-11 1-11

Understanding DF1 Protocol . . . . . . . . . . . . . . . . . . .

2-1

DF1 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Half-duplex Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . Full-duplex Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . Character Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . Transmission Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . .

2-2 2-2 2-4 2-5 2-6

Page 5

ii

Table of Contents

Using Half-duplex Protocols to Send and Receive Messages . . . . . . . . . . . . . . . . . . . . . . .

3-1

Half-duplex Protocol Message Transmission . . . . . . . . . . . . Transmitter and Receiver Message Transfer . . . . . . . . . . . . Half-duplex Protocol Environment . . . . . . . . . . . . . . . . . . . . Message Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . Master Polling Responsibilities . . . . . . . . . . . . . . . . . . . . . . Duplicate Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . Inactive Slave Polling . . . . . . . . . . . . . . . . . . . . . . . . . . . Full Sinks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simplified Network Layer . . . . . . . . . . . . . . . . . . . . . . . . Slave Transceiver Actions . . . . . . . . . . . . . . . . . . . . . . . . . . Half-Duplex Protocol Diagrams . . . . . . . . . . . . . . . . . . . . . . Normal Message Transfer . . . . . . . . . . . . . . . . . . . . . . . . Message Transfer with Invalid BCC/CRC . . . . . . . . . . . . . Message Transfer with ACK Destroyed . . . . . . . . . . . . . . Poll with No Message Available . . . . . . . . . . . . . . . . . . . . Poll with Message Returned . . . . . . . . . . . . . . . . . . . . . . Duplicate Message Transmission . . . . . . . . . . . . . . . . . . Message Sink Full, Case 1 . . . . . . . . . . . . . . . . . . . . . . . Message Sink Full, Case 2 . . . . . . . . . . . . . . . . . . . . . . .

3-2 3-3 3-3 3-7 3-7 3-7 3-7 3-8 3-8 3-9 3-11 3-12 3-12 3-13 3-13 3-14 3-15 3-16 3-17

Using Full-duplex Protocol to Send and Receive Messages . . . . . . . . . . . . . . . . . . . . . . .

4-1

Full-duplex Protocol Message Transmission . . . . . . . . . . . . . Full-duplex Protocol Environment . . . . . . . . . . . . . . . . . . . . Message Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . Transmitter and Receiver Message Transfer . . . . . . . . . . . . How the Transmitter Operates . . . . . . . . . . . . . . . . . . . . . How the Receiver Operates . . . . . . . . . . . . . . . . . . . . . . Full-duplex Protocol Diagrams . . . . . . . . . . . . . . . . . . . . . . . Normal Message Transfer . . . . . . . . . . . . . . . . . . . . . . . . Message Transfer with NAK . . . . . . . . . . . . . . . . . . . . . . Message Transfer with Timeout and ENQ . . . . . . . . . . . . . Message Transfer with Re-Transmission . . . . . . . . . . . . . Message Transfer with Message Sink Full . . . . . . . . . . . . Message Transfer with NAK on Reply . . . . . . . . . . . . . . . Message Transfer with Timeout and ENQ for the Reply . . . Message Transfer with Message Source Full on the Reply .

4-2 4-3 4-4 4-4 4-5 4-7 4-10 4-10 4-11 4-12 4-13 4-14 4-15 4-16 4-17

Page 6

Table of Contents iii

Data-link Layer Message Frames . . . . . . . . . . . . . . . .

5-1

Half-duplex Protocol Message Frames . . . . . . . . . . . . . . . . . Polling Frame . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Master Message Frame . . . . . . . . . . . . . . . . . . . . . . . . . Slave Message Frame . . . . . . . . . . . . . . . . . . . . . . . . . . Full-duplex Protocol Message Frames . . . . . . . . . . . . . . . . . From user application program . . . . . . . . . . . . . . . . . . . . From common application routines . . . . . . . . . . . . . . . . . Data-link layer frame . . . . . . . . . . . . . . . . . . . . . . . . . . . BCC and CRC Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . BCC Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Half-duplex protocol example . . . . . . . . . . . . . . . . . . . Full-duplex protocol example . . . . . . . . . . . . . . . . . . . . CRC Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Full-duplex and half-duplex slave protocol . . . . . . . . . . Half-duplex master protocol . . . . . . . . . . . . . . . . . . . . . Use this frame to validate the CRC . . . . . . . . . . . . . . . .

5-2 5-2 5-2 5-2 5-3 5-3 5-3 5-3 5-4 5-4 5-4 5-5 5-6 5-7 5-7 5-7

Application Layer Message Packets . . . . . . . . . . . . .

6-1

How Your Application Program Sends and Receives Messages Message Packet Format . . . . . . . . . . . . . . . . . . . . . . . . . . . Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DST and SRC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CMD and FNC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STS and EXT STS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . TNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ADDR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . SIZE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-2 6-3 6-3 6-3 6-4 6-4 6-4 6-5 6-6 6-7 6-8 6-8

Communication Commands . . . . . . . . . . . . . . . . . . . .

7-1 command name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . apply port configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . bit write (write bit) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . change mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . close file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . diagnostic status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . disable forces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . disable outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . download all request (download) . . . . . . . . . . . . . . . . . . . . download completed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . download request (download privilege) . . . . . . . . . . . . . . . .

7-1 7-4 7-4 7-5 7-5 7-6 7-6 7-6 7-7 7-7 7-8

Page 7

iv

Table of Contents echo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . enable outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . enable PLC scanning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . enter download mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . enter upload mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . exit download/upload mode . . . . . . . . . . . . . . . . . . . . . . . . . file read (read file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . file write (write file) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . get edit resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . initialize memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . modify PLC-2 compatibility file . . . . . . . . . . . . . . . . . . . . . . open file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . physical read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . physical write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . protected bit write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . protected typed file read . . . . . . . . . . . . . . . . . . . . . . . . . . . protected typed file write . . . . . . . . . . . . . . . . . . . . . . . . . . . protected typed logical read with three address fields . . . . . . protected typed logical write with three address fields . . . . . . protected write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . read bytes physical (physical read) . . . . . . . . . . . . . . . . . . . read diagnostic counters . . . . . . . . . . . . . . . . . . . . . . . . . read link parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . read modify-write (write bit) . . . . . . . . . . . . . . . . . . . . . . . . read-modify-write N . . . . . . . . . . . . . . . . . . . . . . . . . . . . . read section size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . reset diagnostic counters . . . . . . . . . . . . . . . . . . . . . . . . . . restart request (restart) . . . . . . . . . . . . . . . . . . . . . . . . . . . . return edit resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set data table size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set ENQs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set link parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set NAKs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set CPU mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . set variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . shutdown . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . typed read (read block) . . . . . . . . . . . . . . . . . . . . . . . . . . . typed write (write block) . . . . . . . . . . . . . . . . . . . . . . . . . . . unprotected bit write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . unprotected read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . unprotected write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . upload all request (upload) . . . . . . . . . . . . . . . . . . . . . . . . . upload completed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . upload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

7-8 7-9 7-9 7-9 7-10 7-10 7-10 7-11 7-11 7-12 7-12 7-13 7-13 7-14 7-15 7-16 7-16 7-17 7-18 7-19 7-19 7-19 7-20 7-20 7-21 7-22 7-22 7-23 7-24 7-24 7-25 7-25 7-25 7-26 7-27 7-27 7-28 7-28 7-30 7-30 7-31 7-32 7-33 7-34 7-34

Page 8

Table of Contents v word range read (read block) . . . . . . . . . . . . . . . . . . . . . . word range write (write block) . . . . . . . . . . . . . . . . . . . . . . . write bytes physical (physical write) . . . . . . . . . . . . . . . . . . PLC-5 Type/Data Parameter Examples . . . . . . . . . . . . . . . . SLC 500 Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Reading and Writing SLC 500 Data . . . . . . . . . . . . . . . . . . . Reading and Writing SLC 500 Data (using PLC-2 terminology)

7-34 7-35 7-35 7-36 7-38 7-38 7-38

Message Packet Status Codes (STS, EXT STS) . . . . .

8-1

STS Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Local STS Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . Remote STS Error Codes . . . . . . . . . . . . . . . . . . . . . . . . EXT STS Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DH485 EXT STS Codes . . . . . . . . . . . . . . . . . . . . . . . . . Remote STS and EXT STS Codes . . . . . . . . . . . . . . . . . . . . Remote STS Codes from a PLC-2 or 1774-PLC Processor Remote STS and EXT STS Codes from a PLC-3 Processor

8-2 8-2 8-3 8-3 8-5 8-5 8-5 8-6

Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . .

9-1

1747 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-3 1747-KE DH485 Diagnostic Counters . . . . . . . . . . . . . . . 9-3 1747-L20, -L30, -L40, -L511, -L514, -L524, (SLC 500, 5/01, and 5/02 processors), 1747-PA2x (SLC APS COM1), 1770-KF3, and 1784-KR DH485 Diagnostic Counters . . . . . . . . . 9-3 1747-L541, -L542, and -L543 (SLC 5/04 processors) DH+ Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . 9-4 1747-L541, -L542, and -L543 (SLC 5/03 and 5/04 processors) DH485 Diagnostic Counters . . . . . . . . . . . . . . . . . . . . 9-5 1747-L541, -L542, and -L543 (SLC 5/03 and SLC 5/04 processors) DF1 Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . 9-6 1761 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 1761-L16AWA, -L16BBB, -L16BWB, -L32AWA, -L32BWA, -L32BWB (MicroLogix 1000 processors, Series C or later) DH485 Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-7 1761-L16AWA, -L16BBB, -L16BWB, -L32AWA, -L32BWA, -L32BWB (MicroLogix 1000 processors) DF1 Diagnostic Counters 9-7 1770 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8 1770-KF2 and 1771-KE/KF DH and Asynchronous Link Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-8 1770-KF2 and 1785-KE DH+ and Asynchronous Link Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 1770-KFC DF1 Diagnostic Counters . . . . . . . . . . . . . . . . 9-13 1771 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-14 1771-KA, 1771-KA2, and 1774-KA DH Diagnostic Counters 9-14 1771-KC DH Diagnostic Counters . . . . . . . . . . . . . . . . . . 9-16 1771-KG,-KGM Diagnostic Counters . . . . . . . . . . . . . . . . 9-19

Page 9

vi

Table of Contents

1775 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1775-KA,-S5,-SR5 DH Diagnostic Counters . . . . . . . . . . . 1775-S5,-SR5 DH+ Diagnostic Counters . . . . . . . . . . . . . 1779 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1779-KP5 DH+ Diagnostic Counters . . . . . . . . . . . . . . . . 1784 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1784-KT and 1784-KT2 DH+ Diagnostic Counters . . . . . . 1785 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1785-KA DH Diagnostic Counters . . . . . . . . . . . . . . . . . . 1785-KA DH+ Diagnostic Counters . . . . . . . . . . . . . . . . . 1785-KA3 DH+ Diagnostic Counters . . . . . . . . . . . . . . . . 1785-KA5 DH+ Diagnostic Counters . . . . . . . . . . . . . . . . 1785-KA5 DH485 Diagnostic Counters . . . . . . . . . . . . . . 1785-L11B, -L20B, -L30B, -L40B, -L60B, and -L80B DH+ Channel Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . . 1785-L20E, -L40E, -L40L, -L60L, -L80E DH+ Diagnostic Counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5250 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5250-LP1, -LP2, -LP3, -LP4 DH+ Diagnostic Counters . . .

9-21 9-21 9-23 9-24 9-24 9-25 9-25 9-26 9-26 9-27 9-28 9-29 9-30

Diagnostic Status Information . . . . . . . . . . . . . . . . . .

10-1

9-30 9-32 9-33 9-33

1747 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 1747-KE Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2 1747-L20, -L30, -L40, -L511, -L514, -L524 (SLC 500, SLC 5/01 and SLC 5/02 processors) Status Bytes . . . . . . . . . . 10-3 1747-L532, -L541, -L542, -L543 (SLC 5/03 and SLC 5/04 processors) Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4 1761, 1770, and 1771 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . 10-5 1761-L16AWA, -L16BBB, -L16BWB, -L32AWA, -L32BWA, -L32BWB (MicroLogix 1000 processors) Status Bytes . . . . . . . . . 10-6 1770-KF3 Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . 10-7 1771-KA2, -KA, -KC/KD, -KE, -KF, -KG, -KGM, 1770-KF2 Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-7 1773, 1775, and 1779 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . 10-11 1773-KA Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11 1775-KA, -S5 and -SR5 Status Bytes . . . . . . . . . . . . . . . 10-13 1779-KP5 Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . 10-14 1784 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15 1784-KR Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 10-15 1784-KT, -KT2 Status Bytes . . . . . . . . . . . . . . . . . . . . . . 10-15 1785 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16 1785-KA Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 10-16 1785-KA5 Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 1785-KA3 Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . 10-17 1785-KE Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . 10-19

Page 10

Table of Contents vii

1785-LT (PLC-5/15) and 6008-LTV (PLC-5 VME) Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1785-LT3 (PLC-5/12) and 1785-LT2 (PLC-5/25) Status Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1785-L11B, -L20B, -L20E, -L30B, -L40B, -L40E, -L40L, -L60B, -L60L Status Bytes . . . . . . . . . . . . . . . . . . . . 5130 Cat. Nos. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5130-RM1,-RM2 (PLC-5/250) Status Bytes . . . . . . . . . . .

10-22 10-23 10-23

Data Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11-1

Numbering Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decimal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Decimal Representation, Number 239 . . . . . . . . . . . . . Binary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Binary Representation, Number 239 . . . . . . . . . . . . . . Binary Coded Decimal . . . . . . . . . . . . . . . . . . . . . . . . . . BCD Representation of Decimal 239 . . . . . . . . . . . . . . Hexadecimal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hexadecimal Representation of Decimal 423 . . . . . . . . Octal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Octal Representation of Decimal 239 . . . . . . . . . . . . . . Binary Floating-point . . . . . . . . . . . . . . . . . . . . . . . . . . . Order of Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . A 16-Bit Word in PLC Memory . . . . . . . . . . . . . . . . . . . A 16-Bit Computer Word with Left-to-Right Byte and Bit Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A 16-Bit Computer Word with Right-to-Left Byte and Bit Order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A 16-Bit Computer Word with Left-to-Right Byte Order and Right-to-Left Bit Order . . . . . . . . . . . . . . . . . . . . . .

11-2 11-2 11-2 11-3 11-3 11-3 11-3 11-4 11-4 11-5 11-5 11-5 11-6 11-7

Uploading and Downloading with A-B Processors . . .

12-1

Uploading from the Processor . . . . . . . . . . . . . . . . . . . . . . . Uploading from a PLC-2 Processor . . . . . . . . . . . . . . . . . Uploading from a PLC-3 Processor . . . . . . . . . . . . . . . . . Uploading from a PLC-5 Processor . . . . . . . . . . . . . . . . . Procedure 1 PLC-5/15/B processors, revision E and earlier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Procedure 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uploading from an SLC 500 Processor . . . . . . . . . . . . . . Downloading to the Processor . . . . . . . . . . . . . . . . . . . . . . . Downloading to a PLC-2 Processor . . . . . . . . . . . . . . . . . Downloading to a PLC-3 Processor . . . . . . . . . . . . . . . . . Downloading to a PLC-5 Processor . . . . . . . . . . . . . . . . . Procedure 1 (PLC-5/15/B rev E and earlier) . . . . . . . . . Procedure 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12-2 12-2 12-2 12-3

10-20 10-21

11-7 11-7 11-7

12-4 12-5 12-6 12-6 12-7 12-8 12-8 12-9 12-10

Page 11

viii

Table of Contents

Downloading to an SLC 500 Processor . . . . . . . . . . . . . . Procedure 1 SLC 500, SLC 5/01 and SLC 5/02 Processors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Procedure 2 SLC 5/03 and SLC 5/04 Processors . . .

12-10 12-11 12-12

PLC Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . .

13-1

PLC-2/1774-PLC Addressing . . . . . . . . . . . . . . . . . . . . . . . PLC-2/1774-PLC Logical Addressing . . . . . . . . . . . . . . . . PLC-2 Physical Addressing . . . . . . . . . . . . . . . . . . . . . . . 1774-PLC Physical Addressing . . . . . . . . . . . . . . . . . . . . PLC-3 Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PLC-3 Logical Addressing . . . . . . . . . . . . . . . . . . . . . . . . PLC-3 Physical Addressing . . . . . . . . . . . . . . . . . . . . . . . PLC-3 Symbolic Addressing . . . . . . . . . . . . . . . . . . . . . . PLC-5 Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PLC-5 Logical Addressing . . . . . . . . . . . . . . . . . . . . . . . . PLC-5 Logical Binary Addressing . . . . . . . . . . . . . . . . PLC-5/250 Logical Binary Addressing . . . . . . . . . . . . . Logical ASCII Addressing . . . . . . . . . . . . . . . . . . . . . . PLC-5 Physical Addressing . . . . . . . . . . . . . . . . . . . . . . . PLC-5 Floating Point . . . . . . . . . . . . . . . . . . . . . . . . . . .

13-2 13-2 13-3 13-3 13-4 13-5 13-7 13-8 13-9 13-10 13-11 13-13 13-15 13-16 13-17

Line Monitor Examples . . . . . . . . . . . . . . . . . . . . . . .

14-1

Half-duplex Line Monitor Example . . . . . . . . . . . . . . . . . . . . Message from master to slave and slave acknowledgement: Message sent from slave to master in response to poll and slave acknowledgement: . . . . . . . . . . . . . . . . . . . . . . Poll with a DLE EOT in response: . . . . . . . . . . . . . . . . . . Full-duplex PLC-2 Line Monitor Example . . . . . . . . . . . . . . . Full-duplex PLC-3 Line Monitor Example . . . . . . . . . . . . . . .

14-2 14-2

ASCII Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

15-1

14-2 14-2 14-3 14-6