10
DEVICE EXPLANATION
10
- 37
10.2 Internal User Devices
10.2.11 Counter (C)
(b) Current value update (count value + 1)
The current value update (count value + 1) is performed at the leading edge (OFF
to ON) of the OUT C instruction.
The current value is not updated in the following OUT C instruction statuses:
OFF, ON to ON, ON to OFF
POINT
Multiple counters can be used within a single scan to achieve the maximum
counting speed.
In such cases, the direct access input (DX ) method should be used for the
counter input signals.(
Figure 10.29 Current value update timing
Figure 10.30 Ladder example for increasing the maximum counting speed
X0
C0
K10
X0
OFF
OFF
ON
ON
END
END
END
OUT C0
OUT C0
OUT C0
[Ladder example]
[Current value update timing]
Sequence
program
Coil C0
Current value update
Current value update
OUT C execution
intervals
END
END
OUT
C
OUT
OUT
OUT
OUT
Sequence
program
C
C
C
C