FX Series Programmable Controllers Basic Program Instructions 2
2-18
2.16 Timer, Counter (Out & Reset)
Program example:
2.16.1Basic Timers, Retentive Timers And
Counters
These devices can all be reset at any time by
driving the RST instruction (with the number
of the device to be reset).
On resetting, all active contacts, coils and
current value registers are reset for the
selected device. In the example, T246, a
1msec retentive timer, is activate while X1 is
ON. When the current value of T246 reaches
the preset ‘K’ value, i.e. 1234, the timer coil for
T246 will be activated. This drives the NO
contact ON. Hence, Y0 is switched ON.
Turning ON X0 will reset timer T246 in the
manner described previously.
Because the T246 contacts are reset, the
output Y0 will be turned OFF.
Mnemonic Function Format Devices Program steps
OUT
(OUT)
Driving timer or
counter coils
T, C
32 bit
counters:5
Others: 3
RST
(ReSeT)
Resets timer and
counter, coils
contacts and
current values
T, C
(see section
2.15 for other
resetable
devices)
T, C:2
RST
X0
RST T246
X1
K1234
T246
X2
X3
RST
X4
D0
C200
T246
Y0
M8200
C200
C200
Y1
Retentive timers:
• For more information on retentive timers please see page 4-17.