
139
If IR word n+6 is displayed on the Programming Console and there are no
errors or alarms, the display will be “0000”. If an error or an alarm is gener-
ated, the code will be displayed. If only one error or alarm has been gener-
ated, executing READ ERROR will have no effect. If there is more than one
error or alarm, however, the codes can be displayed in order by executing
READ ERROR.
Setting for READ ERROR
(n = 100 + 10
×
unit number)
At the rising edge of the READ ERROR
command bit, the error/alarm code is read.
READ ERROR Execution
The error code (word n+6) is updated with the first I/O refresh immediately
after the READ ERROR command bit (word n, bit 5) is turned ON. The Busy
flag does not turn ON.
The case where alarm code 1501 and then error code 5000 are generated is
given here as an example.
READ ERROR command bit
(IR n, bit 05)
Alarm flag
(IR n+5, bit 03)
Error flag
(IR n+5, bit 05)
Error code
(IR n+6)
Alarm code (occurred first) Error code (occurred second) Alarm code (occurred first)
There is only one alarm/error code and
so the display does not change.
The display changes
because an error was
generated.
The display changes with
the execution of READ
ERROR.
READ ERROR will still be executed even if the READ ERROR command bit
is only ON for one scan.
Reading Error/Alarm Codes Using the Programming Console
Use the key operations shown below to read the error/alarm codes given in
the example above. (Unit number = 0)
Error Code Output