![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_7420301190.webp)
1150
Failure Diagnosis Instructions
Section 3-30
Description
FALS(007) generates a fatal error. In CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units, FALS(007) can also be used to generate fatal system errors as well as
fatal user-defined errors. (A system error will be generated if the value of N
equals the content of A529.)
Generating Fatal User-defined Errors
When FALS(007) is executed with N set to an FALS number (1 to 511) that is
not equal to the content of A529 (the system-generated FAL/FALS number), a
fatal error will be generated with that FALS number and the following process-
ing will be performed:
1,2,3...
1.
The FALS Error Flag (A40106) will be turned ON. (PLC operation will stop.)
2.
The error code will be written to A400. Error codes C101 to C2FF corre-
spond to FALS numbers 0001 to 01FF (1 to 511).
Note If an error more serious than the FALS(007) instruction (one with a
higher error code) has occurred, A400 will contain the more serious
error’s error code.
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.
If a word address has been specified in S, the ASCII message beginning
at S will be registered (displayed on the Peripheral Device).
The following table shows the error codes for FALS(007).
Note The input method for the FALS number, N, is different for the CX-Programmer
and a Programming Console. Input #1 to #511 on the CX-Programmer and
input 001 to 511 on a Programming Console.
Displaying Messages with Fatal User-defined Errors
If S is a word address, the ASCII message beginning at S will be displayed at
the Programming Device when FALS(007) is executed. (If a message is not
required, set S to a constant.)
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
,IR+(++)0 to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
Area
N
S
FALS number
FALS error codes
1 to 511
C101 TO C2FF
FALS Error Flag ON
Error code written to A400
Error code and time/date written to Error Log Area
ERR Indicator lit
Message displayed on
Programming Console
Execution of
FALS(007)
generates a
fatal error
with FALS
number N.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...