Omron C120 System Manual page 100

Optical remote i/o
Table of Contents

Advertisement

SR and AR Area Flags
86
To check for other errors, monitor 25100 and force-set the System. This causes
the next error IR to be displayed.
Incremented one by the Error Check bit.
Indicates transfer I/O IR 31 "H" of Master
with a word multiplier of 1 (Wd 63 "H").
To read the next error, reset the Error Check bit and then set it. If the leftmost
Master has an error, the following is displayed. Errors in the Remote I/O Units
cannot be read if there is an error in the Master.
This is an example program to stop PC operation if an error occurs in the Unit
assigned to IR 62 "L" (IR 30 "L" of Master with a word multiplier of 1).
25103
ANDW(34)
25506
Master number
Remote I/O Error flag turns ON when there is an
MOV(21)
error.
The first step is thus to move IR 251 to DM 0000.
251
DM 0000
The next error is read and its IR number dis-
played. If there is not another error, the data
25100
will be all 0s.
Bits 0 to 3 are masked.
#FFF0
DM 0000
DM 0000
CMP(20)
Data in DM 0000 (i.e., the content of IR 251
DM 0000
with bits 0 to 3 masked) is compared with
# 3020
#3020.
If data matches, there is an error in IR 62
FALS(07)
"L", and the CPU stops.
01
END(01)
Section
7-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

C500C200hC1000hC2000h

Table of Contents