The text of a manual · part 35 of 39
Series 90-30/20/Micro PLC CPU Instruction Set Reference Manual: Appendix B - Intrepreting Fault Tables
Pages 300 to 311 of 337, from Series 90-30/20/Micro PLC CPU Instruction Set Reference Manual
The original document is the PDF (4.4 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.
For the GE Fanuc IC692CPU211D / IC692MDR541C, Fanuc IC692CPU211D / IC692MDR541C, GE IC692CPU211D / IC692MDR541C and GE Fanuc IC693CPU311X
Page 300
Appendix Interpreting Fault Tables
B The Series 90-30, Series 90-20, and Series 90 Micro PLCs maintain two fault tables, the I/O fault table for faults generated by I/O devices (including I/O controllers) and the PLC fault table for internal PLC faults. The information in this appendix will enable you to interpret the message structure format when reading these fault tables. Both tables contain similar information. The fault data in these tables only exists in the PLC, not in the folder. Therefore, if using Logicmaster, you must be connected in either the ONLINE or MONITOR mode to view faults. •
•
The PLC fault table contains: †
Fault location.
†
Fault description.
†
Date and time of fault.
The I/O fault table contains: †
Fault location.
†
Reference address.
†
Fault category.
†
Fault type.
†
Date and time of fault.
PLC Fault Table Access the PLC fault table through the programming software. For information about accessing fault tables, refer to the online help, Logicmaster 90 Series 90-30/20/Micro Programming Software User’s Manual, GFK-0466.
GFK-0467M
B-1
Page 301
B Example The following figure shows the example of a System Configuration Mismatch fault that has been zoomed to its fault detail screen.
The following diagram identifies each field in the fault entry for the System Configuration Mismatch fault displayed above: 00 3A0000 000373F2 0B03 0600 000000000000000000000000000000000000000000000000 Spare
Error Code
Task
Long/ Short
Slot Rack
Fault Group
Fault Extra Data
Fault Action
This System Configuration Mismatch fault entry is explained below. (All data is in hexadecimal.)
B-2
Field
Value
Comment
Long/Short
00
00=Short, which indicates only 8 bytes of the Fault Extra Data field are used
Rack
00
Main rack (rack 0)
Slot
03
Slot 3
Task
F2
Fault Group
0B
System Configuration Mismatch fault
Fault Action
03
FATAL fault
Error Code
06
Fault Extra Data
00
No Fault Extra Data reported in the 8 bytes
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 302
B The following paragraphs describe each field in the fault entry. Included are tables describing the range of values each field may have.
Long/Short Indicator This byte indicates whether 8 bytes or all 24 bytes of the Fault Extra Data field are used. Type
Code
Fault Extra Data
Short
00
8 bytes
Long
01
24 bytes
Spare These six bytes are pad bytes, used to make the PLC fault table entry exactly the same length as the I/O fault table entry.
Rack The rack number ranges from 0 to 7. Zero is the main rack, containing the PLC. Racks 1 through 7 are expansion racks, connected to the PLC through an expansion cable.
Slot The slot number ranges from 0 to 9. The PLC CPU always occupies slot 1 in the main rack (rack 0).
Task The task number ranges from 0 to +65,535. Sometimes the task number gives additional information for PLC engineers; typically, the task can be ignored.
GFK-0467M
Appendix B Interpreting Fault Tables
B-3
Page 303
B
PLC Fault Group Fault group is the highest classification of a fault. It identifies the general category of the fault. The fault description text displayed by Logicmaster 90-30/20/Micro software is based on the fault group and the error codes. Table B-1 lists the possible fault groups in the PLC fault table. The last non-maskable fault group, Additional PLC Fault Codes, is declared for the handling of new fault conditions in the system without the PLC having to specifically know the alarm codes. All unrecognized PLC-type alarm codes belong to this group. Table B-1. PLC Fault Groups Group Number
B-4
Decimal
Hexadecimal
Group Name
Fault Action
1 4 5 8 11 12 13 14 16 17 18 19 20 21 22 –
1 4 5 8 B C D E 10 11 12 13 14 15 16 –
Loss of, or missing, rack Loss of, or missing, option module Addition of, or extra, rack Addition of, or extra, option module System configuration mismatch System bus error PLC CPU hardware failure Non-fatal module hardware failure Option module software failure Program block checksum failure Low battery signal Constant sweep time exceeded PLC system fault table full I/O fault table full User Application fault Additional PLC fault codes
Fatal Diagnostic Diagnostic Diagnostic Fatal Diagnostic Fatal Diagnostic Diagnostic Fatal Diagnostic Diagnostic Diagnostic Diagnostic Diagnostic As specified
128 129 130
80 81 82
System bus failure No user’s program on power-up Corrupted user RAM detected
Fatal Informational Fatal
132 135 137
84 87 89
Password access failure PLC CPU software failure PLC sequence-store failure
Informational Fatal Fatal
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 304
B
Fault Action Each fault may have one of three actions associated with it. These fault actions are fixed on the Series 90-30 PLC and cannot be changed by the user. Table B-2. PLC Fault Actions Fault Action
Action Taken by CPU
Informational Diagnostic
Code
Log fault in fault table Log fault in fault table Set fault references Log fault in fault table Set fault references Go to STOP mode
Fatal
1 2 3
Error Code The error code further describes the fault. Each fault group has its own set of error codes. Table B3 shows error codes for the PLC Software Error Group (Group 87H). Table B-3. Alarm Error Codes for PLC CPU Software Faults Decimal
Hexadecimal
20
14
Corrupted PLC Program Memory
39
27
Corrupted PLC Program Memory
82
52
Backplane Communications Failed
90
5A
User Shut Down Requested
All others
Name
PLC CPU Internal System Error
Table B-4 shows the error codes for all the other fault groups.
GFK-0467M
Appendix B Interpreting Fault Tables
B-5
Page 305
B
Table B-4. Alarm Error Codes for PLC Faults Decimal
Hexadecimal
Name
PLC Error Codes for Loss of Option Module Group (4) 44 45 255 79
2C 2D FF 4F
Option Module Soft Reset Failed Option Module Soft Reset Failed Option Module Communication Failed Loss of Daughterboard
Error Codes for Reset of, Addition of, or Extra Option Module Group (8) 2 04 05
1 2 3 5 11 13 401 8 10 23 58
2 Module Restart Complete 4 Addition of Daughterboard 5 Reset of Daughterboard All others Reset of, Addition of, or Extra Option Module Error Codes for Option Module Software Failure Group (10 hex) 1 2
Unsupported Board Type COMREQ – mailbox full on outgoing message that starts the COMREQ 3 COMREQ – mailbox full on response 5 Backplane Communications with PLC; Lost Request B Resource (alloc, tbl ovrflw, etc.) error D User program error 191 Module Software Corrupted; Requesting Reload Error Codes for System Configuration Mismatch Group (B hex) 8 Analog Expansion Mismatch A Unsupported Feature 17 Program exceeds memory limits 3A Mismatch of Daughterboard Error Codes for System Bus Error Group (C hex) All others
System Bus Error
3
Error Codes for Program Block Checksum Group (11 hex) 3 Program or program block checksum failure
0 1
0 1
2 5 6 7
Error Codes for User Application Fault Group (16 hex) 2 PLC Watchdog Timer Timed Out 5 COMREQ – WAIT mode not available for this command 6 COMREQ – Bad Task ID 7 Application Stack Overflow
1
1
1 2 3 4
Error Codes for Low Battery Signal Failed battery on PLC CPU or other module Low battery on PLC CPU or other module
Error Codes for System Bus Failure Group (80 hex) Operating system
Error Codes for Corrupted User RAM on Powerup Group (82 hex) 1 Corrupted User RAM on Power-up 2 Illegal Boolean Opcode Detected 3 PLC_ISCP_PC_OVERFLOW 4 PRG_SYNTAX_ERR Error Codes for PLC CPU Hardware Faults (D hex) All codes
B-6
PLC CPU Hardware Failure
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 306
B Fault Extra Data This field contains details of the fault entry. The following example shows what data may be present: Example - Corrupted User RAM Group Four of the error codes in the System Configuration Mismatch group supply fault extra data: Table B-5. PLC Fault Data – Illegal Boolean Opcode Detected Fault Extra Data
Model Number Mismatch
[0]
ISCP Fault Register Contents
[1]
Bad OPCODE
[2,3]
ISCP Program Counter
[4,5]
Function Number
For a RAM failure in the PLC CPU (one of the faults reported as a PLC CPU hardware failure), the address of the failure is stored in the first four bytes of the field.
PLC Fault Time Stamp PLC CPU Hardware Failure (RAM Failure) The six-byte time stamp is the value of the system clock when the fault was recorded by the PLC CPU. (Values are coded in BCD format.) Table B-6. PLC Fault Time Stamp Byte Number 1 2 3 4 5 6
GFK-0467M
Appendix B Interpreting Fault Tables
Description Seconds Minutes Hours Day of the month Month Year
B-7
Page 307
B
I/O Fault Table The following figure shows the example of a Loss of I/O Module fault that has been zoomed to its fault detail screen.
The following diagram identifies the hexadecimal information displayed in each field in the example fault entry (System Configuration Mismatch) shown in the figure above. Reference Address Block Fault Fault Fault Action Type Specific Data
Slot
02 461100 00047F7FFF7F 0302 0E 00 00 0700000000000000000000000000000000000000000000
Rack
B-8
Fault Group
I/O Bus
Long/ Short
Point
Fault Description
Fault Category
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 308
B The following paragraphs describe each field in the I/O fault table. Included are tables describing the range of values each field may have.
Long/Short Indicator This byte indicates whether the particular fault uses 5 bytes or ass 21 bytes of the Fault Specific Data field. Table B-7. I/O Fault Table Format Indicator Byte Type
Code
Fault Specific Data
Short
02
5 bytes
Long
03
21 bytes
Reference Address Reference address is a three-byte address containing the I/O memory type and location (or offset) in that memory which corresponds to the point experiencing the fault. Or, when a Genius block fault or integral analog module fault occurs, the reference address refers to the first point on the block where the fault occurred. Table B-8. I/O Reference Address Byte
Description
Range
0
Memory Type
0 – FF
1–2
Offset
0 – 7FF
The memory type byte is one of the following values. Table B-9. I/O Reference Address Memory Type Name
Value (Hexadecimal)
Analog input
0A
Analog output
0C
Analog grouped
0D
Discrete input
10 or 46
Discrete output
12 or 48
Discrete grouped
1F
I/O Fault Address The I/O fault address is a six-byte address containing rack, slot, bus, block, and point address of the I/O point that generated the fault. The point address is a word; all other addresses are one byte each. All five values may not be present in a fault. When an I/O fault address does not contain all five addresses, a 7F hex appears in the address to indicate where the significance stops. For example, if 7F appears in the bus byte, the fault is a module fault. Only rack and slot values are significant.
GFK-0467M
Appendix B Interpreting Fault Tables
B-9
Page 309
B Rack The rack number ranges from 0 to 7. Zero is the main rack, i.e., the one containing the CPU. Racks 1 through 7 are expansion racks.
Slot The slot number ranges from 0 to 9. The PLC CPU always occupies slot 1 in the main rack (rack 0).
Point Point ranges from 1 to 1024 (decimal). It tells which point on the block has the fault when the fault is a point-type fault.
I/O Fault Group Fault group is the highest classification of a fault. It identifies the general category of the fault. The fault description text displayed by Logicmaster 90-30/20/Micro software is based on the fault group and the error codes. Table B-10 lists the possible fault groups in the I/O fault table. Group numbers less than 80 (Hex) are maskable faults. The last non-maskable fault group, Additional I/O Fault Codes, is declared for the handling of new fault conditions in the system without the PLC having to specifically know the alarm codes. All unrecognized I/O-type alarm codes belong to this group. Table B-10. I/O Fault Groups Group Number
B-10
Group Name
Fault Action
3
Loss of, or missing, I/O module
Diagnostic
7
Addition of, or extra, I/O module
Diagnostic
9
IOC or I/O bus fault
Diagnostic
A
I/O module fault
Diagnostic
–
Additional I/O fault codes
As specified
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M
Page 310
B I/O Fault Action The fault action specifies what action the PLC CPU should take when a fault occurs. Table B-11 lists possible fault actions. Table B-11. I/O Fault Actions Fault Action
Action Taken by CPU
Code
Informational
Log fault in fault table
1
Diagnostic
Log fault in fault table Set fault references
2
Fatal
Log fault in fault table Set fault references Go to STOP mode
3
I/O Fault Specific Data An I/O fault table entry may contain up to 5 bytes of I/O fault specific data.
Symbolic Fault Specific Data Table B-12 lists data that is required for block circuit configuration. Table B-12. I/O Fault Specific Data Decimal Number
Hex Code
Description
Circuit Configuration 1 2 3
Circuit is an input – tristate Circuit is an input Circuit is an output
Fault Actions for Specific Faults Forced/unforced circuit faults are reported as informational faults. All others are diagnostic or fatal. The model number mismatch, I/O type mismatch and non-existent I/O module faults are reported in the PLC fault table under the System Configuration Mismatch group. They are not reported in the I/O fault table.
GFK-0467M
Appendix B Interpreting Fault Tables
B-11
Page 311
B
I/O Fault Time Stamp The six-byte time stamp is the value of the system clock when the fault was recorded by the PLC CPU. Values are coded in BCD format. Table B-13. I/O Fault Time Stamp
B-12
Byte Number
Description
1 2 3 4 5 6
Seconds Minutes Hours Day of the month Month Year
Series 90™-30/20/Micro PLC CPU Instruction Set Reference Manual – May 2002
GFK-0467M