9
DEVICE EXPLANATION
9.2 Internal User Devices
9.2.11 Counter (C)
9
- 32
9
Device Explanation
10
CPU Module Processing
Time
11
Procedure for Writing
Program to CPU Module
AppendicesIndex
9.2.11 Counter (C)
(1) Definition
A counter is a device which counts the number of input condition leading edges in
sequence programs.
When the count value matches the set value, the counter counts up and its contact
turns ON.
The counter is of an up-counting type.
(2) Counter types
There are two counter types: counters which count the number of input condition
start-ups (leading edges) in sequence programs, and counters which count the
number of interrupt factor occurrences.
(3) Count processing
(a) When OUT C instruction is executed
When and OUT C instruction is executed, the following counter processing
occurs: coil ON/OFF, current value update (count value + 1), and contact ON/OFF.
Counter current value update and contact ON/OFF processing are not performed
at END processing.
Diagram 9.28 Execution and processing of OUT C instruction
X0
C0
K10
END OUT C0 END
[Ladder example]
Sequence
program
[Processing at OUT C0 Instruction (X0: OFF to ON)]
Coil ON/OFF
Current value update
Contact ON/OFF
Processing content