![Omron SYSMAC C-series System Manual Download Page 95](http://html1.mh-extra.com/html/omron/sysmac-c-series/sysmac-c-series_system-manual_743584095.webp)
86
Error Codes and Monitoring
Section 7-2
To check for other errors, monitor 5900 and force-set the system. This
causes the next error word to be displayed.
Incremented one by the Error Check flag.
Indicates Remote Terminal word 31.
To read the next error, reset the Error Check bit, then set it again. If the left-
most 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 31. Operation can be restarted by first re-
moving the cause of the error, then setting and resetting the Error Check bit
until the contents of word 59 goes to 0000, and finally clearing the error via
the Programming Console.
MOV(21)
59
DM 000
END(01)
ANDW(34)
#FFF0
DM 000
DM 000
FALS(07)
01
5903
6306
5900
CMP(20)
DM 000
#3100
Remote I/O Error flag turns
ON when there is an error.
The first step is thus to move
IR 59 to DM 000.
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 000 is
compared with #3100.
If data matches, there is an
error in the Unit allocated
word 31 and the CPU Unit
stops.