FC6A S
ERIES
MICROS
MART
U
SER
’
S
M
ANUAL
FC9Y-B1722 5-29
5: F
UNCTIONS
AND
S
ETTINGS
Timing chart 1
Single-phase high-speed counter (group 1) timing chart
Operating conditions
The counting mode is set to Up/down selection reversible counter and reset input (I2) is used.
One preset value is used, and when the values match, output Q1 turns on and the current value is kept.
Overflow and underflow are not used.
1. When reset input (I2) turns on, the reset value (D8216, D8217) is stored in the current value (D8210, D8211).
In this situation, reset status (M8130) turns on for only one scan.
2. When gate input (M8031) turns on, the counting begins.
3. The counting direction (count up/count down) is determined by the on/off state of the up/down selection input (I1), and the
pulse input (I0) is counted. The current value is updated with each scan.
4. When the current value and preset value 1 (D8212, D8213) match, the preset value 1 comparison output (Q1) and Comparison
ON status (M8131) turn on. When the Keep check box is selected in the settings in the WindLDR High-speed Counter
Settings, the current value is kept.
5. Q1 maintains the on state until comparison output reset (M8030) turns on. M8131 turns on for only one scan.
6. When the gate output turns off, counting stops.
Note: High-speed counter usage precautions
The high-speed counter starts the count operation with the following two conditions:
The FC6A Series MICROSmart starts operation
The gate input is turned on
To start the count operation, turn the gate input on from off while the FC6A Series MICROSmart is running. When the gate input is already on and
the FC6A Series MICROSmart is stopped, the count operation starts when the FC6A Series MICROSmart is switched from stop to run.
If run-time download is performed on the program when the gate input is on, the count operation stops.
When the PLC is in the RUN state (the PLC must be operating in RUN for three or more scans), the count operation is possible by turning the gate
input off and then on or by stopping and then running the PLC. When performing run-time download on the program, we recommend doing so with
the gate inputs off.
Current value
Preset value 1=6
Up count
One scan
Pulse input I0
I1
Q1
I2
M8130
M8031
M8030
M8131
(D8216, D8217)
Up/down selection
input
Gate input
Preset value
Comparison ON status
Reset status
Reset input
Down count
One scan
Comparison output
reset
Preset value 1
Comparison output
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Reset value=2
Reset