10.4 Clearing Errors Using User Programs
10.4.1 Clearing Errors Using User Programs
Each error can be cleared by user programs.
Refer to error codes, correct error factors, and clears the errors.
Clearing unit by UCLR instruction
Executing the dedicated instruction UCLR clears errors occurred in a unit.
Example) Program to clear errors of a unit installed in the slot No.1
R100
(
)
DF
Unit clear
request
Resetting communication ports by I/O signals
Communication ports can be reset by turning on the reset request signals (Y10 to Y13) with
user programs when a communication error occurs.
The signals (X0 to X13) turns on when the reset is completed. Then, turn off the reset
request signals (Y10 to Y13).
R100
(
)
DF
Request to
reset an error
Y10
Request to
reset CH1
Allocation of I/O signals
Signal name
Request to reset CH
Reset done
(Note 1): The above I/O numbers are those for the slot number 0 (CPU with built-in SCU) and the COM. 1 port. The
I/O numbers actually used vary according to the slot number where the unit is installed and the starting word
number.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
X10
CH1 error
reset done
10.4 Clearing Errors Using User Programs
UCLR
U1
Slot No.
Y10
Request to
reset CH1
COM.0
COM.1
COM.2
Y12
Y10
X12
X10
Reset CH1
of COM port
COM.3
COM.4
Y11
Y12
Y13
X11
X12
X13
10-9