
92
15 00
Alarm flag: Set to 1 when an alarm code has been generated
Error flag: Set to 1 when an error has occurred
Error code (or alarm code)
n+5
03
05
x10
3
x10
2
x10
1
x10
0
n+6
IR word n+6 shows four digits in BCD when displayed on the Programming
Console. If there are no errors or alarms, 0000 will be displayed. If there are
any errors or alarms, they will be displayed in code. The codes will be dis-
played in order as READ ERROR is executed. (If there is only one code,
however, the display will not change when READ ERROR is executed.)
The error or alarm code (word n+6) is updated via I/O refreshing immediately
after the READ ERROR command bit is turned ON. The Busy flag does not
turn ON. READ ERROR can be used within a signal scan.
For further information and details, refer to
Section 6. For a complete list of
alarm codes, refer to
Appendix A.
4–6–1
Execution Example
The following diagram shows an example in which first the alarm code 1501
and then the error code 5000 are displayed.
1
0
1
0
1
0
Display will not change be-
cause only one alarm code
has been generated
1501
First alarm code
Display has been
changed because
another error code
has been gener-
ated.
5000
Second error code
Display has been
changed because an
error code has been
read.
1501
First alarm code
READ ERROR
IR n, bit 05
Alarm flag
IR n+5, bit 03
Error flag
IR n+5, bit 05
Alarm/error code
IR n+6
4–6–2
Reading from the Programming Console
The following example diagram (for Unit #1) shows how to read an alarm/er-
ror code from the Programming Console.
READ ERROR