114
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.7 High Speed Counter [C] (FX3U/FX3UC PLC)
• Write the following program to "reset only the current value of a high speed counter (and does not turn OFF the
contact)".
1) Program example
* When the driving contact is the continuous execution type, the current value of the counter is reset to "0"
at each scan while X010 remains ON.
2) Timing chart
• Write the following program to "turn OFF the contact and reset the current value of a high speed counter".
1) Program example
* When the driving contact is the continuous execution type, the current value of the counter is reset to "0"
and the counter reset status is cleared at each scan while X010 remains ON.
2) Timing chart
X010
*
FNC 12
DMOV
K0 C235
The current value of C235 is cleared (to "0").
X000
Current
value of C235
1
2
3
Because X010 turns ON,
"FNC12 DMOV" is executed.
The current value of C235 is
reset to "0".
X010
1
2
3
Because the driving contact is the
pulse execution type, C235 executes
counting normally after that.
4
M8001
X010
*
RST C235
- - - - - A
RST C235
- - - - - B
RUN Monitor
(normally OFF)
X000
Current
value of C235
1
2
3
X010
1
2
3
4
RST
C235
Counter is reset
(part A in above
program).
Counter reset instruction is
deactivated
(part B in above program).
Because the reset instruction
is deactivated, C235 executes
counting.