The text of a manual · part 22 of 31
DF1 Protocol and Command Set Reference Manual: 10 - Diagnostic Status Information, pages 181 to 189
Pages 181 to 189 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 181
10–10
Diagnostic Status Information
Bytes
Bits
Contents
Description
1
Settings of the option switches on the node interface module.
1771-KGM Module 0 = second module 1 = first module 0 = accept physical/unprotected reads and writes disabled 1 = accept physical/unprotected reads and writes enabled Binary values: Value Parity Error Embedded Protocol Check Responses 001 none BCC disabled half-duplex 101 even BCC disabled half-duplex 011 none CRC enabled half-duplex
10
2 4, 3, 0
5-7
0 1 2 3 4 5 6-7
0-1
2 3-7
Publication 1770-6.5.16 - October 1996
Asynchronous link baud rate 0 = 110 bps 1 = 300 bps 2 = 600 bps 3 = 1200 bps 4 = 2400 bps 5 = 4800 bps 6 = 9600 bps 7 = 19200 bps 1774-KA Module 0 = Unprotected commands enabled 1 = Unprotected commands disabled not used 0 = Physical writes enabled 1 = Physical writes disabled 0 = Transmission of unprotected commands enabled 1 = Transmission of unprotected commands disabled 0 = DH port B is connected 1 = DH port A is connected 0 = PLC outputs held in last state 1 = PLC outputs turned off 0 = 57,600 bits per second DH baud rate 1 = undefined 2 = undefined 3 = undefined 1770-KF2 Module 0 = 57,600 bits per second Data Higway or Data Highway Plus baud rate 1 = undefined 2 = undefined 3 = undefined Not used Logical complement of the state of option switch SW-2, switches 1 through 5
Page 182
Diagnostic Status Information
1773, 1775, and 1779 Cat. Nos.
10–11
For status information from these cat. nos.
See page
1773-KA
10-11
1775-KA, 1775-S5, and 1775-SR5
10-13
1779-KP5
10-14
1773-KA Status Bytes Bytes
Bits
Contents
Description
1
Operating status of controllers on loop
2
0 1 2 3 4 5 6 7 0-3
3-4
4-7 0
= 1 if controller #1 is active = 1 if controller #2 is active = 1 if controller #3 is active = 1 if controller #4 is active = 1 if controller #5 is active = 1 if controller #6 is active = 1 if controller #7 is active = 1 if controller #8 is active 8 = 1773-KA, DH port 9 = 1773-KA, RS-232-C port 12 = 1775-S5,-SR5 (new revisions only) 8 = PLC-4 Microtrol processor 0 = 57,600 bits per second DH baud rate 1 = Undefined Not used 0 = Privileged commands enabled 1 = Privileged commands disabled 0 = Unprotected commands enabled 1 = Unprotected commands disabled 0 = Protected commands enabled 1 = Protected commands disabled Not used Octal node number 0 = Even parity; 1 = No parity Baud rate 0 = 19,200 bps 1 = 8,600 bps 2 = 4,800 bps 3 = 2,400 bps 4 = 1,200 bps 5 = 600 bps 6 = 300 bps 7 = 110 bps Not used 0 = Protected commands enabled 1 = Protected commands disabled 0 = Embedded responses enabled 1 = Embedded responses disabled 0 = Unprotected commands enabled 1 = Unprotected commands disabled 0 = Privileged commands enabled 1 = Privileged commands disabled 0 = Half-duplex protocol 1 = Full-duplex protocol
Node interface and processor type
DH port options
1 2 3 4
5-6
5-7 8 - 15 0 1-3
RS-232-C port options
4 - 10 11 12 13 14 15 7-8
Starting byte address of diagnostic timers and counters
Publication 1770-6.5.16 - October 1996
Page 183
10–12
Diagnostic Status Information
Bytes 9
Bits
Contents
Description
0-4
Module series and revision level
0 = Revision A 1 = Revision B, etc. 0 = Series A 1 = Series B, etc.
5-7 10 11 to 114 all
Publication 1770-6.5.16 - October 1996
Not used Eight, 13-byte groups of processor status data, one group for each of eight possible controllers on the loop.
If a particular controller on the loop is not active or does not respond to the diagnostic status command, its 13 status bytes are all zeros. Otherwise, each group of processor status bytes contains the following: Byte: Contents: 1 Program ID 2 Processor ID 3 Pointer to start program 4 Pointer to end of available memory 5 Size of I/O 6 Processor error code 7 Error word address (low byte) 8 Error word address (high byte) 9 Processor mode 10 Pointer to END statement (low byte) 11 Pointer to END statement (high byte) 12 Pointer to end of used memory (low byte) 13 Pointer to end of used memory (high byte)
Page 184
Diagnostic Status Information
10–13
1775-KA, -S5 and -SR5 Status Bytes Bytes
Bits
Contents
Description
1
0-1
Operating status of PLC-3 processor
0 = Program mode 1 = Test mode 2 = Run mode Not used 0 = Normal 1 = Major processor fault 0 = Normal 1 = Shutdown request 0 = Normal 1 = Shutdown in effect Not used 6 = 1775-KA - Data Highway port, 1775-S5, or 1775-SR5 7 = 1775-KA - RS-232-C port 12 = 1775-S5,-SR5 (new revisions only)
2 3 4 5
2
6-7 0-3 4-7
Type of node interface and processor
3 all
4 5-6 all all
7-8 all
Starting byte address of diagnostic counters and timers
9
0-4
Series and revision number of the module The 1775-S5 and 1775-SR5 (series A) appear as series C modules.
5-7
Current context (stored in bits 4 to 7) Thumbwheel number Mode control word
10 11 - 14 all all
Not used The physical address of the unused word of PLC-3 system memory.
15 - 18 all
The total number of words in the PLC-3 system memory (both used and unused)
The logical address of the mode control word is E0.0.0.8. There is a separate block of diagnostic timers and counters for the DH port and the RS-232 port. The address given here is for the port that received the diagnostic status command. 0 = Revision A 1 = Revision B, etc. 0 = Series A 1 = Series B, etc. Not used The physical address corresponding to the logical address E60.0.0.0. This is the last word to read or write in an upload or download.
Publication 1770-6.5.16 - October 1996
Page 185
10–14
Diagnostic Status Information
1779-KP5 Status Bytes Bytes
Bits
Contents
Description
1 2 3 4 5-6 7-8 all all all all all all
00 Interface Type and Processor Type Interface Type Expansion Byte Processor Type Expansion Byte 00 Address of Active Node Table
9 - 10 all
Diagnostic Counter Address
11
0-4
1779-KP5 Revision and Series Level
Not used EE = see expansion bytes (bytes 3 and 4) 1A = 1779-KP5 17 = DH+ information Not used byte 7 = low byte byte 8 = high byte byte 9 = low byte byte 10 = high byte 0 = Revision A 1 = Revision B, etc. 0 = Series A 1 = Series B, etc. SW-5 - Data Highway Plus Baud Rate 2 = 230 Kb 4 = 115 Kb 6 = 57.6 Kb SW-4 - Transmit Route Updates 0 = Do not transmit route updates 3 = transmit route updates
5-7 12
0-3
4-7
Publication 1770-6.5.16 - October 1996
Option Switches
Page 186
Diagnostic Status Information
1784 Cat. Nos.
10–15
For status information from these cat. nos.
See page
1784-KR
10-15
1784-KT,-KT2
10-15
1784-KR Status Bytes Bytes
Bits
Contents
Description
1 2 3 4 5
0-7 0-7 0-7 0-7 0-4
Mode/Status Type Extender Extended Interface Type Not used Series/Revision
00 (no modes) FE 24 00 = 0 release1 = 1 release 2, etc. = 0 series A = 1 series B, etc. 1784-KR 00
5-7 6 - 16 17 - 24 all all
Bulletin Number/Name (in ASCII) Product Specific Information
1784-KT, -KT2 Status Bytes Bytes
Bits
Contents
Description
1 2 3 4-6 7 8 9 10 11 - 18
0-7 0-7 0-7 all 0-7 0-7 0-7 0-7 all
PLC Mode Interface Type Interface Type Extension Reserved Pointer to Diagnostic Counters
00 FE 1B
Revision Option Switches Unused
44 (low byte) 41 (high byte) 03 00 20
Publication 1770-6.5.16 - October 1996
Page 187
10–16
Diagnostic Status Information
1785 Cat. Nos.
For status information from these cat. nos.
See page
1785-KA
10-16
1785-KA3
10-17
1785-KE
10-19
1785-KA5
10-17
1785-LT (PLC-5/15) and 6008-LTV (PLC-5 VME) controllers
10-20
1785-LT3 (PLC-5/12) and 1785-LT3 (PLC-5/25) controllers
10-22
1785-KA Status Bytes Bytes
Bits
1
2 3 4 5-6
0-3 4-7 all all all
7-8 all
9
0-4
Contents
Description
Operating status of PLC processor
For the 1785-KA, this byte has one of these values: 0 = standby mode 1 = on-line mode E = Check interface module expansion byte (byte 3) E = Check processor expansion byte (byte 4) 10 = 1785-KA 10 = 1785-KA
Type of interface module and processor: Interface expansion byte Processor expansion byte The starting address of the counters on the link other than the one from which the diagnostic status command was issued. This is the starting address of the counters on the link from which the diagnostic status command was issued. Series and revision level of node interface module
5-7 10
0
Settings of the option switches on the module.
1 2-3 4
Not used
5
11 - 12
6-7 all
Publication 1770-6.5.16 - October 1996
0 = Revision A 1 = Revision B, etc. 0 = Series A 1 = Series B, etc 0 = 57, 600 bits per second Data Highway baud rate 1 = Undefined 0 = 57,600 bits per second Data Highway Plus baud rate 1 = Undefined
Not used Address of the DH+ active node table
0 = No redundancy switch valve 1 = Redundancy switch valve 0 = Secondary switch valve 1 = Primary switch valve Not used low byte first
Page 188
Diagnostic Status Information
10–17
1785-KA5 Status Bytes DH+ Status Bytes Bytes
Bits
Contents
Description
0 1 2 3 4-5 6-7 8 all all all all all all all mode type interface type processor type DH485 diagnostic counters address DH+ diagnostic counters address module revision, series
9 10 all all options DH+ active node table address
0 extended (EE) 1785-KA5 (30) 1785-KA5 (2F) low byte first low byte first 0:4 revision 5:7 series 0 low byte first
DH485 Status Bytes Bytes
Bits
Contents
Description
0 1 2 3 4 5 all all all all all all type interface type processor type revision, series 11 bytes ASCII bulletin number 8 bytes of product-specific information extended (EE) 1785-KA5 (30) 1785-KA5 (2F) zero terminated
1785-KA3 Status Bytes Bytes
Bits
Contents
Description
1
0-2
Operating status of PLC-2
0 = Program load mode 1 = Test mode 2 = Run mode 3 = (not used) 4 = Remote program load 5 = Remote test 0 = normal communication 1 = No communication with PLC-2 0 = Normal 1 = Download or upload mode 0 = Normal 1 = Format error in communication zone of PLC-2 program Always zero D = 1785-KA3 module 1 = PLC-2 processor 2 = PLC-2/20 (LP1) processor 3 = Mini-PLC-2 processor 5 = PLC-2/20 (LP2) processor 6 = PLC-2/15 7 = PLC-2/30 processor E = expansion byte (precedes byte 3) 1D = PLC-2/02 1E = PLC-2/05 1F = PLC-2/16 20 = PLC-2/17
3 4 5
2 expansio n byte
6-7 0-3 4-7
Type of interface module and processor
Data only if byte 2 contains "ED"
Publication 1770-6.5.16 - October 1996
Page 189
10–18
Diagnostic Status Information
Bytes
Bits
Contents
3-4 all
Octal address of the start of the PLC program
5-6 7-8 all all
9
0-4
Starting byte address of diagnostic counters and timers. Series and revision level of interface module.
5-7 10
0-1
Settings of the option switches on the node interface module
2 3 4 5 6 7 11
0 1 2
12
3-7 0-2 3
Not used Indicates the number of I/O racks the PLC-2 is configured for.
Description
0 = not used Starting byte address of diagnostic counters and timers. 0 = Revision A 1 = Revision B, etc. 0 = Series A 1 = Series B, etc. 0 = Undefined 1 = Undefined 2 = Undefined 3 = not used 0 = PLC-2 processor 1 = All other PLC-2 Family processors 0 = Protected commands disabled 1 = Protected commands enabled 0 = Unprotected commands disabled 1 = Unprotected commands enabled Not used 0 = Physical writes disabled 1 = Physical writes enabled 0 = Transmission unprotected commands disabled 1 = Transmission unprotected commands enabled 0 = No terminal directly connected 1 = Terminal directly connected 0 = No terminal is editing over DH+ link 1 = A terminal is editing over DH+ link 0 = Directly connected terminal is not editing 1 = Directly connected terminal is editing will be set to zeros 0 = No I/O points are currently forced on or off. 1 = An I/O point has been forced on or off since the last time the directly connected terminal was connected. Important: This bit is set until the directly connected terminal is disconnected or returns to the select" screen, even if the forces have subsequently been removed.
Publication 1770-6.5.16 - October 1996