![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681182.webp)
1143
Failure Diagnosis Instructions
Section 3-30
Description
The operation of FAL(006) depends on the value of N. Set N to 0000 to clear
an error and set N to 0001 to 01FF to generate an error. A system error will be
generated if the value of N equals the content of A529 (CS1-H, CJ1-H, CJ1M,
and CS1D CPU Units only).
Generating Non-fatal User-defined Errors
When FAL(006) is executed with N set to an FAL number (&1 to &511) that is
not equal to the content of A529 (the system-generated FAL/FALS number), a
non-fatal error will be generated with that FAL number and the following pro-
cessing will be performed:
1,2,3...
1.
The FAL Error Flag (A40215) will be turned ON. (PLC operation will con-
tinue.)
2.
The Executed FAL Number Flag will be turned ON for the corresponding
FAL number. Flags A36001 to A39115 correspond to FAL numbers 0001
to 01FF (1 to 511).
3.
The error code will be written to A400. Error codes 4101 to 42FF corre-
spond to FAL numbers 0001 to 01FF (1 to 511).
Note
If a fatal error or a more serious non-fatal error occurs at the same
time as the FAL(006) instruction, the more serious error’s error code
will be written to A400.
4.
The error code and the time that the error occurred will be written to the
Error Log Area (A100 through A199).
Note
The error record will not be written to the Error Log Area if the
Don’t
register FAL to error log
Option in the PLC Setup is selected. (This
option is supported only by the CS1-H, CCJ1-H, CJ1M, and CS1D
CPU Units.)
5.
The ERR Indicator on the CPU Unit will flash.
6.
If a word address has been specified in S, the message beginning at S will
be registered (displayed on the Programming Device).
The following table shows the error codes and FAL Error Flags for FAL(006).
Index Registers
---
Indirect addressing
using Index Registers
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to
+2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
N
S
FAL number
FAL error codes
Executed FAL Number Flags
1 to 511 decimal
4101 to 42FF
A36001 to A39115
FAL Error Flag ON
Corresponding Executed FAL Number Flag ON
Error code written to A400
Error code and time written to Error Log Area
ERR Indicator flashes
Message displayed on
Programming Console
Execution of
FAL(006)
generates a
non-fatal er-
ror with FAL
number N.
Содержание 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...