228
• Completion of the ERRCLR instruction can be checked with Completion device (D1)+0 and (D1)+1.
[Operation while the ERRCLR instruction is being executed]
• The ZP.ERRCLR instruction is executed on the rising edge (OFF ON) of the clear command.
(4) Errors
If a dedicated instruction ends with an error, Completion device (D1)+1 turns on, and the error code is stored in
Completion status (S1)+1.
Item Description
Completion device (D1)+0:
Turns on at the END process of the scan where the ERRCLR instruction is completed and
turns off at the next END process.
Completion device (D1)+1:
Turns on and off depending on the completion status of the ERRCLR instruction.
• Normal completion: Stays off and does not change.
• Abnormal end: Turns on at the END process of the scan where the ERRCLR instruction
is completed and turns off at the next END process.
Scan Scan
END
process
END
process
Scan
END
process
Clearing the error
Executed
Program
ERRCLR instruction
Completion device
Completion device + 1
Abnormally ended