10.4 Clearing Errors Using User Programs10-910.4 Clearing Errors Using User Programs10.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.1UCLR U1Slot No.R100Unit clearrequest( )DF Resetting communication ports by I/O signals Communication ports can be reset by turning on the reset request signals (Y10 to Y13) withuser programs when a communication error occurs. The signals (X0 to X13) turns on when the reset is completed. Then, turn off the resetrequest signals (Y10 to Y13).Reset CH1of COM portR100Request toreset an errorRequest toreset CH1X10CH1 errorreset doneY10( )DFY10Request toreset CH1 Allocation of I/O signalsSignal name COM.0 COM.1 COM.2 COM.3 COM.4Request to reset CH Y12 Y10 Y11 Y12 Y13Reset done X12 X10 X11 X12 X13(Note 1): The above I/O numbers are those for the slot number 0 (CPU with built-in SCU) and the COM. 1 port. TheI/O numbers actually used vary according to the slot number where the unit is installed and the starting wordnumber.Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com