EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F FX5 - Counter (C;LC)

Mitsubishi Electric MELSEC iQ-F FX5
958 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
62
4 DEVICES
4.2 User Devices
Counter (C/LC)
Device that counts number of rises of input conditions in the program. Counters are addition type counters; they count up
when the count value matches the setting value, and the contact is turned ON.
For FX3-compatible high-speed counters, refer to Page 293 FX3-compatible High-speed Counter Function.
Counter type
There is counter (C) that maintains the counter value in 16 bits and the long counter (LC) that maintains the counter value in
32 bits. Counter (C) and long counter (LC) are separate devices. You can set number of device points for each. However, for
FX5UJ CPU module, the number of device points is fixed.
Counter (C)
Uses 1 word as 1 point. The counting range is from 0 to 65535.
Long counter (LC)
Uses 2 words as 1 point. The counting range is from 0 to 4294967295.
Count processing
Count processing is as follows when counter's coil is executed.
When the OUT C instruction/OUT LC instruction is executed
The counter's coil is turned ON/OFF, the current value is updated (count value +1) and contact ON/OFF processing is
executed.
Current value update (count value +1)
Current value is updated (count value +1) when counter coil input rises (OFFON). Current value is not updated when coil
input is OFF, ON, or turned ONOFF.
ON
OFF
C0
X0 K10
C0 coil
Current value update
Current value update
ON
END OUT C0 END OUT C0 END OUT C0
OFF
X0
Program
[Current value update timing]
[Ladder example]

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-F FX5

Related product manuals