Omron SYSMAC CP Series Instruction & Reference Manual page 431

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

4 When a user-defined fatal error is registered, the I/O memory and output status from output units will be as
indicated below.
IOM Hold Bit (A500.12).
Generating Non-fatal System Errors
FALS
A529CH
N
S
Error code
S+1
Error details
When FALS(007) is executed with N set to an FAL number (1 to 511) that is equal to the content of
A529 (the system-generated FAL/FALS number), a fatal error will be generated with the error code and
error details code specified in S and S+1. The following processing will be performed at the same time:
1. The specified error code will be written to A400.
2. The error code and the time that the error occurred will be written to the Error Log Area (A100
through A199).
3. The appropriate Auxiliary Area Flags are set based on the error code and error details.
4. The ERR Indicator on the CPU Unit will light and PLC operation will be stopped.
Note 1 The value of A529 (the system-generated FAL/FALS number) is a dummy FAL number (FAL and FALS
numbers are shared.) used when a non-fatal error is generated intentionally by the system. This number is
a dummy FAL number, so it is not reflected in the error code.
When it is necessary to generate two or more system errors, different errors can be generated by execut-
ing the FAL/FALS instructions more than once with the same values in A529 and N, but different values in
S and S+1.
2 If a more serious error (including a system-generated fatal error or another FALS(007) error) occurs at the
same time as the FALS(007) instruction, the more serious error's error code will be written to A400.
3 To clear a system error generated by FALS(007), turn the PLC OFF and then ON again. The PLC can be
kept ON, but the same processing will be required to clear the error as if the specified error had actually
occurred. Refer to CP1E CPU Unit Hardware Operation Manual or CP1E CPU Unit Software Operation
Manual for details.
4 The following table shows how the IOM Hold Bit affects the status of I/O memory and the status of outputs
on Output Units after a fatal system error has been generated with FALS(007).
IOM Hold Bit (A500.12)
CP1E CPU Unit Instructions Reference Manual(W483)
ON
OFF
Execution of FALS(007)
generates a fatal system
error with the error
N
code/details specified in
S
S and S+1.
Matching
values
ON
OFF
I/O memory
Hold
Hold
Error code written to A400
Error code and time written to Error Log Area
The corresponding Auxiliary Area Flags are set
based on the error code and error details.
ERR Indicator flashes.
Status of I/O memory
Retained
Cleared
2 Instructions
Output status from output units
OFF
OFF
Status of outputs on Output Units
OFF
OFF
2-395
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents