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

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
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. 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).
Execution of
FAL(006)
generates a
non-fatal er-
ror with FAL
number N.
The following table shows the error codes and FAL Error Flags for FAL(006).
FAL number
FAL error codes
1 to 511 decimal
4101 to 42FF
N
---
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to
+2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
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
Executed FAL Number Flags
A36001 to A39115
Section 3-30
S
1143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents