Chapter 2.
SPECIFICATION S
2.6 Function Descriptions
The High-speed counting module can count high-speed pulse which cannot be proceed with the CPU
counting instructions (CTU,CTUD, etc.). Up to 24 bits binary (16,777,215) can be counted.
Pulse input mode is classified into 1-Phase (Phase A) pulse input and 2-Phase (Phase B) pulse input. In
1-Phase pulse input mode, there are two kinds of increment/decrement count methods. One is specified by
program and the other is specified by phase B pulse input signal. In 2-Phase pulse input mode, the
increment/decrement count method is specified by the phase difference between phase A and B pulsed.
2.6.1 Operation Modes
1) 1-phase Operation Mode (Increment /Decrement C o u n t by Program)
When Phase A pulse input rises, the counter performs increment or decrement count by
decrement counter specification signal.
If the decrement counter specification signal is low the counter performs increment count, and if
high, it performs decrement count.
P h a s e A p u l s e
i n p u t
D e c r e m e n t c o u n t e r
specification signal
C o u n t e r
v a l u e
2) 1-phase Operation Mode (Increment /Decrement C o u n t by Phase B P u l s e I n p u t )
When Phase A pulse input the counter performs increment or decrement count by Phase B pulse
input.
If Phase B pulse input is low, it performs decrement count, and if high, it performs increment count.
P h a s e A p u l s e
i n p u t
P h a s e B
p u l s e i n p u t
C o u n t e r
v a l u e
I n c r e m e
n t
D e c r e m e n t
2 - 15
D e c r e m e n t
I n c r e m e
n t
I n c r e m e n
t
D e c r e m e n
t