Installation manual

Publication 1747-RM001G-EN-P - November 2008
B-26 SLC Status File
S:6 Status Major Error Fault Code
A hexadecimal code is entered in this word by the processor
when a major error is declared. Refer to S:1/13. The code
defines the type of fault, as indicated on the following pages.
This word is not cleared by the processor. Error codes are
presented, stored, and displayed in a hexadecimal format.
••
If you enter a fault code as a parameter in an instruction in
your ladder program, you must convert the code to decimal. For
example, if you program an EQU instruction to go true when
the error 0016 occurs, enter S:6 as source A and 22, the
decimal equivalent of 0016H, as source B:
••••
Application example: You can declare your own application
specific major fault by writing a unique value to S:6 and then
setting bit S:1/13. SLC 5/02 processor users: Interrogate the
value of S:6 in your fault routine to determine the type of fault
that occurred. If your program was saved with the test single
step enabled, you can also interrogate S:20 and S:21 to
pinpoint the exact rung that was executing when the fault
occurred. Fault Classifications: Faults are classified as
Non-User, Non-Recoverable, and Recoverable.
Error code descriptions and classifications are listed on pages
B-27 through B-34. Categories are:
powerup errors
going-to-run errors
runtime errors
user program instruction errors
I/O errors
••
Table B.2 Status File Functions (Continued)
Address Classification Description Fixed
5/01
5/02 5/03 5/04 5/05
EQU
EQUAL
Source A S:6
Source B 22
Non-User
Fault
Non-Recoverable
User Fault
Recoverable
User Fault
The fault
routine does
not execute.
The fault routine
executes for 1 pass.
(You may initiate a
MSG instruction to
another node to
identify the fault
condition of the
processor.)
The fault routine
may clear the
fault by clearing
bit S:1/13.