9
-
37
(d) Maximum counting speed
The counter can count only when the on/off time of the input condition is longer than the execution interval of
the corresponding OUT C instruction.
The maximum counting speed is calculated by the following expression:
*1: Duty (n) is the ON-OFF time ratio of count input signal, and is expressed as a
percentage value.
The maximum counting speed can be increased by placing multiple counters within one scan.
At this time, use the direct access input (DX )(
Section 3.8.2) for the counter input signal.
n: Duty (%)
*1
T:
Execution interval of the OUT C instruction (sec)
Figure 9.38 Duty ratio
Figure 9.39 Ladder example for increasing the maximum counting speed
n
100
T
Maximum counting
speed (Cmax)
[times/s]
1
=
OFF
ON
T1
T2
T2
T1
When T1 T2, n =
100%
100%
When T1 < T2, n =
T1+T2
T1+T2
Count input signal
Execution interval of the
OUT C instruction
END
END
OUT
C
OUT
C
OUT
C
OUT
C
OUT
C
Sequence
program