9
DEVICE EXPLANATION
9
- 24
9.2 Internal User Devices
9.2.9 Counter (C)
9.2.9 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) 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.24 Execution and processing of OUT C instruction
X100
C0
K10
END
OUT C0
END
[Ladder example]
Sequence
program
[Processing at OUT C0 Instruction (X100: OFF to ON)]
Coil ON/OFF
Current value update
Contact ON/OFF
Processing content
Summary of Contents for MELSEC QS Series
Page 1: ......
Page 2: ......
Page 24: ...A 22 Memo ...
Page 258: ...Index 3 Memo ...
Page 263: ......
Page 264: ......