Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1194

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Failure Diagnosis Instructions
Flags
Precautions
Examples
1,2,3...
Name
Label
Error Flag
ER
The following tables show relevant words and flags in the Auxiliary Area.
• Auxiliary Area Words/Flags for User-defined Errors Only
Name
FALS Error Flag
• Auxiliary Area Words/Flags for System Errors Only (CS1-H, CJ1-H,
CJ1M, and CS1D CPU Units Only)
Name
System-generated
FAL/FALS number
• Auxiliary Area Words/Flags for both User-defined and System Errors
Name
Error Log Area
Error code
The end code for the message is the null character (00 hexadecimal). All 16
characters in words S to S+7 will be displayed if the null character is omitted.
N must between 0001 and 01FF. An error will occur and the Error Flag will be
turned ON if N is outside of the specified range.
Generating a User-defined Error
When CIO 000000 is ON in the following example, FALS(007) will generate a
fatal error with FAL number 31 and execute the following processes.
1. The FALS Error Flag (A40106) will be turned ON.
2. The corresponding error code (C11F) will be written to A400.
Note A400 will contain the error code of the most serious of all of the errors
that have occurred, including non-fatal and fatal system errors, as
well as errors generated by FAL(006) and FAL(007).
3. The error code and the time/date that the error occurred will be written to
the Error Log Area (A100 through A199).
4. The ERR Indicator on the CPU Unit will be lit.
5. The ASCII message in D00100 to D00107 will be displayed at the Periph-
eral Device. (If a message is not required, specify a constant for S.)
Operation
ON if N is not within the specified range of 0001 to 01FF
(1 to 511 decimal).
ON if a fatal system error is being generated (CS1-H/CJ1-
H/CJ1M/CS1D Only), but the specified error code or error
details code is incorrect.
OFF in all other cases.
Address
A40106
ON when an error is generated with
FALS(007).
Address
A529
A dummy FAL/FALS number is used when a
system error is generated with FALS(007). Set
the same dummy FAL/FALS number in this
word (0001 to 01FF hex, 1 to 511 decimal).
Address
A100 to
The Error Log Area contains the error codes
A199
and time/date of occurrence for the most
recent 20 errors, including errors generated by
FALS(007).
A400
When an error occurs its error code is stored
in A400. The error codes for FALS numbers
0001 to 01FF (1 to 511 decimal) are C101 to
C2FF, respectively.
If two or more errors occur simultaneously, the
error code of the most serious error will be
stored in A400.
Section 3-30
Operation
Operation
Operation
1155

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents