![Omron SYSMAC C-series System Manual Download Page 97](http://html1.mh-extra.com/html/omron/sysmac-c-series/sysmac-c-series_system-manual_743584097.webp)
88
Error Codes and Monitoring
Section 7-2
To check for other errors, monitor 25100 and force-set the system. This
causes the next error word to be displayed.
Incremented one by the Error Check flag.
Indicates word setting of 31 (allocated
word 63) with word multiplier at 1.
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 Slaves cannot
be read if there is an error in the Master.
Master number
This is an example program to stop PC operation if an error occurs in the
Remote Terminal allocated word 62 (word 30 under Master with word multi-
plier of 1). Operation can be restarted by first removing the cause of the er-
ror, then setting and resetting the Error Check bit until the contents of IR 251
goes to 0000, and finally clearing the error via the Programming Console.
MOV(21)
251
DM 0000
END(01)
ANDW(34)
#FFF0
DM 0000
DM 0000
FALS(07)
01
25103
25506
25100
CMP(20)
DM 0000
#3020
Remote I/O Error flag turns
ON when there is an error.
The first step is thus to move
IR 251 to DM 0000.
The next error is read and
its word number displayed.
If there is not another error,
all 0s will be displayed.
Bits 0 to 3 are masked.
Data from DM 0000 is
compared with #3020.
If data matches, there is an
error in the Unit allocated
word 62 and the CPU Unit
stops.