Omron CS1G/H-CPUxxH Instructions Manual page 965

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Failure Diagnosis Instructions
Description
1,2,3...
944
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 isn't
required, set S to a constant.)
The message beginning at S will be registered when FALS(007) is executed.
Once the message is registered, it will be displayed when a Programming
Console is connected.
An ASCII message up to 16 characters long can be stored in S through S+7.
The leftmost (most significant) byte in each word is displayed first.
The end code for the message is the null character (00 hexadecimal). All 16
characters in words S to S+7 will be displayed if the null character is omitted.
If the contents of the words containing the message are changed after
FALS(007) is executed, the message will change accordingly.
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
with FALS
ERR Indicator lit
number N.
C101 TO C2FF
Section 3-30
Message displayed on
Programming Console
FALS error codes

Advertisement

Table of Contents
loading

Table of Contents