FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
• 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
*
X010
* 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
X000
Current
value of C235
X010
Because X010 turns ON,
"FNC12 DMOV" is executed.
The current value of C235 is
reset to "0".
• Write the following program to "turn OFF the contact and reset the current value of a high-speed counter".
1)
Program example
*
X010
RUN Monitor
(normally OFF)
* 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
X000
Current
value of C235
X010
RST
C235
Counter is reset
(part A in above
program).
Series
FNC 12
K0
C235
DMOV
3
2
2
1
1
Because the driving contact is the
pulse execution type, C235 executes
counting normally after that.
RST
C235
M8001
RST
C235
3
2
2
1
1
Counter reset instruction is
deactivated
(part B in above program).
4.7 High-Speed Counter [C] (FX3U/FX3UC PLC)
The current value of C235 is cleared (to "0").
4
3
- - - - - A
- - - - - B
4
3
4 Devices in Detail
Because the reset instruction
is deactivated, C235 executes
counting.
1
2
3
4
5
6
7
8
9
10
115