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

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

Advertisement

Failure Diagnosis Instructions
Description
1,2,3...
Area
Index Registers
Indirect addressing
using Index Registers
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. 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).
FALS number
1 to 511
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.)
N
---
---
,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
FALS Error Flag ON
Error code written to A400
Execution of
FALS(007)
Error code and time/date written to Error Log Area
generates a
fatal error
ERR Indicator lit
with FALS
number N.
C101 TO C2FF
Section 3-30
S
Message displayed on
Programming Console
FALS error codes
1151

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents