Counter reset
Current value of counters is not cleared even if its coil input is turned OFF. To clear (reset) the current value of the counter and
turn the contact OFF, use the RST C instruction/RST LC instruction. The counter value is cleared and the contact is
turned OFF as soon as the RST C instruction is executed.
[Ladder example]
X0
RST C0
[Counter reset timing]
END
Program
ON
X0
OFF
Execution
RST C0
OFF
instruction
Count value cleared,
the contact turned OFF
Reset image
OFF
Precautions when performing counter reset
• When a counter is reset by the RST instruction, it cannot count until the RST instruction is set to OFF.
[Program example]
X10
RST
[Timing chart]
X0
Current value
2
of C0
1
X10
RST
C0
• When the counter is set as a latch device, the current value of a counter, output contact operation, and the reset image are
latched.
• If the ZRST instruction is used, the RST image of a counter is reset.
RST C0
END
RST C0
ON
C0
C0 is reset while X10 turns ON.
The current value does not change
even if pulses are input because the
3
C0 reset instruction is valid.
C0 remains reset
"RST C0" is set to ON
because the contact turns ON.
END
RST C0
Count value cleared,
the contact turned OFF
3
2
1
"RST C0" is set to OFF
because the contact turns OFF.
21
21 DEVICES
241
21.2 User Devices