![Omron SYSMAC C-series System Manual Download Page 99](http://html1.mh-extra.com/html/omron/sysmac-c-series/sysmac-c-series_system-manual_743584099.webp)
90
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 231).
Indicates Master #1.
To read the next error, reset the Error Check bit, then set it again. If Slave #1
connected to Master #1 has as error, the following display will appear.
Indicates Slave number.
Indicates Master number.
This is an example program to stop PC operation if an error occurs in the
Remote Terminal allocated word 230. 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 251 goes to 0000 and then 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
#3000
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 #3000.
If data matches, there is an
error in the Unit allocated
word 230 and the CPU Unit
stops.