Counter (C) - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

5.2.11

Counter (C)

The counter (C) is a device that counts the number of rises for input conditions in programs. When the count value
reaches the set value, its contact is turned on.
(1) Counter type
The following counter is available.
• Counter that counts the number of rises for input conditions in programs
(2) Counting
(a) When OUT C
The coil of the counter is turned on/off, the current value is updated (the count value + 1), and the contact is
turned on. In the END processing, the current timer value is not updated and the contact is not turned on.
[Program example]
[Processing at OUT C0 instruction (X0: OFF to ON)]
(b) Current value update (count value + 1)
The current value is updated (count value + 1) at the leading edge (off → on) of the OUT C
current value is not updated while the coil is off, or when it remains on or turns off from on by the OUT C
instruction.
[Program example]
[Current value update timing]
Program
X0
Coil of C0
244
instruction is executed
END
END
OUT C0
ON
OFF
ON
OFF
Current value update
OUT C0
END
Processing
Coil ON/OFF
Current value update
Contact ON
END
OUT C0
END
instruction. The
OUT C0
Current value update

Advertisement

Table of Contents
loading

This manual is also suitable for:

L26cpu-bt

Table of Contents