The text of a manual · part 21 of 31
DF1 Protocol and Command Set Reference Manual: 10 - Diagnostic Status Information, pages 172 to 180
Pages 172 to 180 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 172
Chapter
10
Diagnostic Status Information In chapter 8, we showed you the diagnostic status message packet format. When you send diagnostic status to a node, the node returns bytes of data. Use this chapter to interpret the data returned from the node (DH, DH+, or DH485 interface) that received the diagnostic status. It contains these sections: Section
Page
1747 Cat. Nos.
10-2
1761, 1770, and 1771 Cat. Nos.
10-5
1773, 1775, and 1779 Cat. Nos.
10-11
1784 Cat. Nos.
10-15
1785 Cat. Nos.
10-16
5130 Cat. Nos.
10-23
Important:
The values shown in the following tables are in hexadecimal format. (For more on the hexadecimal numbering system, refer to Chapter 11, “Data Encoding.”)
Publication 1770-6.5.16 - October 1996
Page 173
10–2
Diagnostic Status Information
1747 Cat. Nos.
For status information from these cat. nos.
See page
1747-KE
10-2
1747-L20, -L30, -L40, -L511, -L514, -L524 (SLC 500, SLC 5/01 and SLC 5/02 processors)
10-3
1747-L532, -L542 (SLC 5/03 and SLC 5/04 processors)
10-4
1747-KE Status Bytes Bytes
Bits
Contents
Description
1 2 3 4 5
1 2 3 4 0-4 5-7 all all
Mode/Status Type Extender Extended Interface Type Not used Series/Revision
00 (no modes) FE 2C 00 = 0 release1; = 1 release 2, etc. = 0 series A; = 1 series B, etc. 1770-KF3 00
6 - 16 17 - 24
Publication 1770-6.5.16 - October 1996
Bulletin Number/Name (in ASCII) Product Specific Information
Page 174
Diagnostic Status Information
10–3
1747-L20, -L30, -L40, -L511, -L514, -L524 (SLC 500, SLC 5/01 and SLC 5/02 processors) Status Bytes Bytes
Bits
Contents
Description
1 2 3 4
0-7 0-7 0-7 0-7 mode/status type extender extended interface type extended processor type
5
0-4 series/revision
00 EE 1F 1A = 20, 30, & 40 I/O SLC fixed controllers 18 = 1747-L511, -L514 SLC 5/01 controller 25 = 1747-L524 and SLC 5/02 controller = 0 (firmware release1) = 1 (firmware release 2), etc. = 0 (series A) = 1 (series B), etc. 500 - 20 = 1747-L20 (SLC 500 fixed controller) 500 - 30 = 1747-L30 (SLC 500 fixed controller) 500 - 40 = 1747-L40 (SLC 500 fixed controller) 5/01 = 1747-L511 & -L514 5/02 = 1747-L524
5-7 6 - 16 all bulletin number/name (in ASCII)
Product-specific Information 17 all major error word 18 all major error word 0-4 19 processor mode status/control word
20
21 22 23 24
5 6 7 0 1 2 3 4 5 6 7 0-7 0-7 0-7 0 1 2-7 processor mode status/control word (high byte)
program ID processor RAM size (in Kbytes) directory file corrupted not used program owner node address low byte high byte 0 = download 1 = program 2 = reserved 3 = idle due to SUS instruction 4 = reserved 5 = reserved 6 = run 7 = test continuous scan 8 = test single scan 9-31 = reserved forces active forces installed communication active protection power loss startup protect fault➀ load memory module on error load memory module always➀ load memory module and run➀ major error - processor halted locked➀ first pass bit➀ low byte high byte
=0 = 00 - 1F: program owner node address = 3F: no program owner
➀ SLC 5/02 processors only.
Publication 1770-6.5.16 - October 1996
Page 175
10–4
Diagnostic Status Information
1747-L532, -L541, -L542, -L543 (SLC 5/03 and SLC 5/04 processors) Status Bytes Bytes
Bits
Contents
Description
2 3
0-5 6 7 0-7 0-7 mode/status
00 testing edits edits in processor EE
4
0-7 extended processor type
5
0-4 series/revision
1 type extender extended interface type
5-7 6 - 16 bulletin number/name (in ASCII) Product-specific Information 17 all major error word 18 all major error word 19 processor mode 0-4 status/control word
20
21 22 23 all
5 6 7 0 1 2 3 4 5 6 7 0-7 0-7 0-7
Publication 1770-6.5.16 - October 1996 processor mode status/control word (high byte)
program ID processor RAM size (in Kbytes)
20 = DH485 on port 0 (RS-232)➀ 31 = DH+ on port 1 via domino plug➁ 34 = DF1 full-duplex protocol on port 0 36 = DF1 half-duplex protocol on port 0 49 = rack type 1747-L534➀ 5B = rack type 1747-L534➁ = 0 firmware release1 = 1 firmware release 2, etc. = 0 series A = 1 series B, etc. 5/03 = 1747-L532 5/04 = 1747-L542 low byte high byte 00000 = download 00001 = remote PROG 00011 = idle due to SUS instruction 00110 = remote RUN 00111 = remote TEST; continuous scan 01000 = remote TEST; single scan 01001 = remote TEST; continuous step 10000 = download 10001 = PROG 11011 = idle due to SUS instruction 11110 = RUN forces active forces installed communication active protection power loss startup protect fault load memory module on error load memory module always load memory module and run major error - processor halted locked first pass bit low byte high byte
Page 176
Diagnostic Status Information
Bytes
Bits
Contents
24
0 directory file corrupted
1 2-7 not used program owner node address
10–5
Description
=0 = 00-1F for nodes 0 through 31 = 3E for nodes 20 through FF = 3F: no program owner
➀ SLC 5/03 processors only. ➁ SLC 5/04 processors only.
1761, 1770, and 1771 Cat. Nos.
For status information from these cat. nos.
See page
1761-L16AWA, -L16BBB, -L16BWB, -L32AWA, -L32BWA, -L32BWB (MicroLogix 1000 processors)
10-6
1770-KF3
10-7
1771-KA, -KA2, -KC/KD, -KE/KF, -KG, -KGM, 1770-KF2 and 1774-KA
10-7
Publication 1770-6.5.16 - October 1996
Page 177
10–6
Diagnostic Status Information
1761-L16AWA, -L16BBB, -L16BWB, -L32AWA, -L32BWA, -L32BWB (MicroLogix 1000 processors) Status Bytes Bytes 1 2 3
Bits 0-7 0-7 0-7
Contents mode/status type extender extended interface type
4 5
0-7 0-4 extended processor type series/revision
5-7 6 - 16 bulletin number/name (in ASCII) Product-specific Information 17 all major error word 18 all major error word 19 processor mode 0-4 status/control word
20
21 22 23 24
Description 00 EE 34 = DF1 full-duplex protocol on port 0 20 = DH485 58 = 0 firmware release1 = 1 firmware release 2, etc. = 0 series A = 1 series B, etc.
all
5 6 7 0 1 2 3 4 5 6 7 0-7 0-7 0-7 0 1 2-7
Publication 1770-6.5.16 - October 1996 processor mode status/control word (high byte)
program ID processor RAM size (in Kbytes) directory file corrupted not used program owner node address low byte high byte 00000 = download 00001 = remote PROG 00011 = idle due to SUS instruction 00110 = RUN 00111 = TEST; continuous scan 01000 = TEST; single scan forces active forces installed communication active fault override startup protect fault reserved reserved always run major error - processor halted locked first pass bit low byte high byte 8 =0 = 3F; no program owner
Page 178
Diagnostic Status Information
10–7
1770-KF3 Status Bytes Bytes
Bits
Contents
Description
1 2 3 4 5
1 2 3 4 0-4 5-7 all all
Mode/Status Type Extender Extended Interface Type Not used Series/Revision
00 (no modes) FE 2C 00 = 0 release1; = 1 release 2, etc. = 0 series A; = 1 series B, etc. 1770-KF3 00
6 - 16 17 - 24
Bulletin Number/Name (in ASCII) Product Specific Information
1771-KA2, -KA, -KC/KD, -KE, -KF, -KG, -KGM, 1770-KF2 Status Bytes Bytes
Bits
Contents
Description
1
0-2
Operating status of PLC processor
For the 1770-KF2, this byte is always 0. For other modules: 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 processor 0 = Normal; 1 = Download or upload mode 0 = Normal; 1 = Format error in communication zone of PLC program always zero 0 = 1771-KC,-KD module 1 = 1771-KA2 or (1771-KA) module 2 = 1771-KA4 module 3 = 1771-KE,-KF or 1770-KF2 module 4 = 1771-KG module 5 = 1771-KGM module
3 4 5
2
6-7 0-3
Type of interface module and processor
4-7
0 = PLC processor 1 = PLC-2 processor 2 = PLC-2/20 (LP1) Processor 3 = Mini-PLC-2 processor 5 = PLC-2/20 (LP2) processor 6 = PLC-2/02, 2/15,-2/16, or -2/17 processor 7 = PLC-2/30 processor F = computer
3-4 all
5-6 all
Octal address of the start of the PLC program. For the 1770-KF2, these bytes are always 0. Memory size
7-8 all
Diagnostic address
The ladder logic starts at the end of the data table. To find the physical end of PLC-2 memory, look for FFFF after the address in bytes 3 and 4. The FFFF must appear at a 1/2 Kbyte junction. Size of memory (in number of bytes) for 1774-PLC processor; zero for all other processors. Starting byte address of diagnostic counters and timers.
Publication 1770-6.5.16 - October 1996
Page 179
10–8
Diagnostic Status Information
Bytes 9
Bits
Contents
Description
0-4
Series and revision level of interface module. 1770-KF2/A identifies itself as Series in byte 9, bits 5 to 7. Series B 1770-KF2 identifies itself as Series E, and so on. 1771-KA identifies itself as a Series A. 1771-KA2 Series A identifies itself as a Series B, and so on. Settings of the option switches on the node interface module.
0 = Revision A 1 = Revision B, etc.
5-7
10121
0-7
0-1
2
3 4 5 6 7
0 1 2 3 4 5-7
Publication 1770-6.5.16 - October 1996
0 = Series A 1 = Series B, etc.
This byte is not used in replies by 1771-KC/KD or -KE/KF modules. For the other modules, the bits of this byte are defined as follows. 1771-KA and 1771-KA2 modules 1771-KA2 status information is opposite of 1771-KA, as noted. 0 = 57,600 bits per second baud rate for DH link (undefined for 1771-KA2) 1 = Undefined 2 = Undefined 3 = Undefined (57,600 for 1771-KA2) 0 = All other PLC-2 Family processors (PLC-2 processor for 1771-KA2) 1 = PLC-2 processor (all other PLC-2 processors for 1771-KA2) 0 = Protected commands enabled (disabled for 1771-KA2) 1 = Protected commands disabled (enabled for 1771-KA2) 0 = Unprotected commands enabled (disabled for 1771-KA2) 1 = Unprotected commands disabled (enabled for 1771-KA2) not used 0 = Physical writes enabled (disabled for 1771-KA2) 1 = Physical writes disabled (enabled for 1771-KA2) 0 = Transmission unprotected commands enabled (disabled for 1771-KA2) 1 = Transmission unprotected commands disabled (enabled for 1771-KA2) 1771-KG Module (Series A) 0 = Full-duplex protocol; 1 = Half-duplex protocol 0 = Physical writes disabled; 1 = Physical writes enabled 0 = Unprotected commands disabled; 1 = Unprotected commands enabled 0 = Embedded responses disabled; 1 = Embedded responses enabled 0 = No parity; 1 = Even parity 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
Page 180
Diagnostic Status Information
Bytes
Bits 1 2 4, 3, 0
5-7
Contents
10–9
Description 1771-KG Module (Series B) 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 000 none BCC disabled full-duplex 100 even BCC disabled full-duplex 010 none BCC enabled full-duplex 110 even BCC enabled full-duplex 001 none BCC disabled half-duple x 101 even BCC disabled half-duple x 011 none CRC enabled full-duplex 111 none CRC disabled half-duple x 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
Publication 1770-6.5.16 - October 1996