![Omron CJ1G-CPUxx Instructions Manual Download Page 969](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491969.webp)
948
Failure Diagnosis Instructions
Section 3-30
Flags
The following tables show relevant words and flags in the Auxiliary Area.
• Auxiliary Area Words/Flags for User-defined Errors Only
• Auxiliary Area Words/Flags for System Errors Only (CS1-H, CJ1-H,
CJ1M, and CS1D CPU Units Only)
• Auxiliary Area Words/Flags for both User-defined and System Errors
Precautions
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.
Examples
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,2,3...
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 isn’t required, specify a constant for S.)
Name
Label
Operation
Error Flag
ER
ON if N isn’t 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.
Name
Address
Operation
FALS Error Flag
A40106
ON when an error is generated with
FALS(007).
Name
Address
Operation
System-generated
FAL/FALS number
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).
Name
Address
Operation
Error Log Area
A100 to
A199
The Error Log Area contains the error codes
and time/date of occurrence for the most
recent 20 errors, including errors generated by
FALS(007).
Error code
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.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...