![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681194.webp)
1155
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 is not required, specify a constant for S.)
Name
Label
Operation
Error Flag
ER
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.
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.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...