129
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
4 Devices in Detail
4.8 High-Speed Counter [C] (FX3U/FX3UC PLC)
1
Introduction
2
Overview
3
Instruction
List
4
Devices
in Detail
5
Specified the
Device &
Constant
6
Before
Programming
7
Basic
Instruction
8
FNC00-FNC09
Program Flow
9
FNC10-FNC19
Move & Compare
10
FNC20-FNC29
Arith. & Logic
Operation
• 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
*1. 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
*2. 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
*1
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,
"FNC 12 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
*2
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.