
68
4–5
Read Error
The READ ERROR command bit, bit 05 of word n, is set to access error and
alarm codes when more than one of these is present (effective on signal’s
rising edge). The codes are consecutively output to word n+6. Errors and
alarms have separate flags, as follows:
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
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 Error Processing. For a
complete list of alarm codes, refer to Appendix A Alarm Code List.
4–5–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
because 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
word n, bit 05
Alarm flag
word n+5, bit 03
Error flag
word n+5, bit 05
Alarm/error code
word n+6
Read Error
Section 4–5
Содержание SYSMAC C200H-NC111
Страница 1: ...Cat No W137 E1 04 Position Control Unit SYSMAC C200H NC111...
Страница 2: ...SYSMAC C200H NC111 Position Control Unit Operation Manual Revised September 2003...
Страница 3: ...iv...
Страница 5: ...vi...