5: S
PECIAL
F
UNCTIONS
FC5A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
FC9Y-B1268
5-7
High-speed Counter
This section describes the high-speed counter function to count many pulse inputs within one scan. Using the built-in 16-
bit high-speed counter, the all-in-one type CPU module counts up to 65,535 high-speed pulses. Using the built-in 32-bit
high-speed counter, the slim type CPU module counts up 4,294,967,295 pulses.
The high-speed counter counts input pulses from a rotary encoder or proximity switch without regard to the scan time,
compares the current value with a preset value, and turns on the output when the current value reaches the preset
value. This function can be used for simple motor control or to measure lengths of objects.
The all-in-one type CPU modules and slim type CPU modules have different high-speed counter configurations.
CPU Module
All-in One Type CPU Module
High-speed Counter No.
HSC1
HSC2, HSC3, HSC4
Operation Mode
Single-phase
Two-phase
Single-phase
Counting Mode
Adding counter
1-edge count
Adding counter
Maximum Counting Frequency
50 kHz
5 kHz
Counting Range
0 to 65,535 (16 bits)
Current Value Comparison
Preset value
Overflow
Underflow
Preset value
Comparison Action
Comparison output
Reset Input
With
Without
Reset Special Internal Relay
With
Current Value after Reset
0
Reset value
0
CPU Module
Slim Type CPU Module
High-speed Counter No.
HSC1, HSC4
HSC2, HSC3
Operation Mode
Single-phase
Two-phase
Single-phase
Counting Mode
Adding counter
Dual-pulse reversible
Up/down selection reversible
1-edge count
2-edge count
4-edge count
Adding counter
Maximum Counting Frequency
100 kHz
1-edge count: 100 kHz
2-edge count: 50 kHz
4-edge count: 25 kHz
100 kHz
Counting Range
0 to 4,294,967,295 (32 bits)
Current Value Comparison
Preset value 1
Preset value 2
Overflow
Underflow
Preset value
Comparison Action
Comparison output
Interrupt program
Reset Input
With
Without
Reset Special Internal Relay
With
Current Value after Reset
Reset value
0
High-speed counters are programmed in the Function Area Settings in WindLDR and allocated to input terminals I0
through I5 (all-in-one type CPU module) or I7 (slim type CPU module) in four groups. When high-speed counters are
used, input terminals in the same group cannot be used for ordinary inputs, catch inputs, or interrupt inputs.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]