Read Error; Execution Example - Omron SYSMAC C200H-NC111 Operation Manual

Position control unit
Hide thumbs Also See for SYSMAC C200H-NC111:
Table of Contents

Advertisement

Read Error

4–5

Read Error

4–5–1

Execution Example

1
READ ERROR
word n, bit 05
0
1
Alarm flag
word n+5, bit 03
0
Error flag
1
word n+5, bit 05
0
Alarm/error code
word n+6
68
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:
05
n+5
15
3
2
1
n+6
x10
x10
x10
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.
The following diagram shows an example in which first the alarm code 1501
and then the error code 5000 are displayed.
Display will not change
because only one alarm
code has been generated.
1501
First alarm code
03
Alarm flag: Set to 1 when an alarm code has been
generated
Error flag: Set to 1 when an error has occurred
00
0
x10
Error code (or alarm code)
Display has been
changed because
another error code
has been gener-
ated.
5000
Second error code
Section 4–5
Display has been
changed because an
error code has been
read.
1501
First alarm code

Advertisement

Table of Contents
loading

Table of Contents