946
Failure Diagnosis Instructions Section 3-28
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 Programming Device).
The following table shows the error codes for FALS(007).
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.)
The message beginning at S will be registered when FALS(007) is executed.
Once the message is registered, it will be displayed when the Programming
Device 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.
Generating Non-fatal System Errors
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 Device
Execution of
FALS(007)
generates a
fatal error
with FALS
number N.
FALS
N
S
NA529
S
S+1
Execution of FALS(007)
generates a fatal system
error with the error
code/details specified in
S and S+1.
Error code
Error details
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.
Message displayed on
Programming Device.
Matching
values