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

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

Advertisement

Failure Diagnosis Instructions
A529CH
N
Error code
S
S+1
Error details
1,2,3...
1144
Displaying Messages with Non-fatal User-defined Errors
If S is a word address and an ASCII message has been stored at S, that mes-
sage will be displayed at the Peripheral Device when FAL(006) is executed. (If
a message is not required, set S to a constant.)
The message beginning at S will be registered when FAL(006) 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
FAL(006) is executed, the message will change accordingly.
Generating Non-fatal System Errors (CS1-H, CJ1-H, CJ1M, or CS1D Only)
When FAL(006) 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
non-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:
Execution of FAL(006)
generates a non-fatal
FAL
system error with the
N
error code/details
specified in S and
S
S+1.
Matching
values
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 flash and PLC operation will con-
tinue.
5. The non-fatal error message for the specified system error will be dis-
played on the Programming Console.
Note
1. FAL(006) can be used to generate non-fatal errors from the system when
debugging the program. For example, a system error can be generated in-
tentionally to check whether or not error messages are being displayed
properly at an interface such as a Programmable Terminal (PT).
2. The value of A529 (the system-generated FAL/FALS number) is a dummy
FAL number (FAL, FALS, and FPD numbers are shared.) used when a
non-fatal error is generated intentionally by the system. This number is a
dummy FAL number, so it does not change the status of the Executed FAL
Number Flags (A36001 to A39115) or the error code.
When it is necessary to generate two or more system errors (fatal and/or
non-fatal errors), different errors can be generated by executing the FAL/
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 Console.
Section 3-30

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents