Mitsubishi Electric MELSEC-Q Structured Programming Manual page 77

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
2. 1-phase 2-counting input
These counters are 32-bit bidirectional counters. The operation of the output contact caused by the current
value is equivalent to that in 1-phase 1-counting input type high speed counters described above.
X011
X012
CC246
D2
X011
X012
CC249
K1234
These counters are 32-bit bidirectional counters. The operation of the output contact caused by the current
value is equivalent to that in 1-phase type high speed counters described above.
X011
X012
CC251
K1234
CS251
M8251
X011
X012
CC254
D0
CS254
M8254
RST
EN
ENO
d
CC246
OUT_C_32
EN
ENO
CCoil
CValue
RST
EN
ENO
d
CC249
OUT_C_32
EN
ENO
CCoil
CValue
→ Refer to "2.7.2 Input assignment for high speed counters".
RST
EN
ENO
d
CC251
OUT_C_32
EN
ENO
CCoil
CValue
Y002
Y003
RST
EN
ENO
d
CC254
OUT_C_32
EN
ENO
CCoil
CValue
Y004
Y005
·
While X012 is ON, C246 executes up-counting when
the input X000 turns ON from OFF, and executes
down-counting when the input X001 turns ON from OFF.
·
The up/down-counting operation of C246 to C250 is
indicated by the ON/OFF status of M8246 to M8250.
ON: Down-counting
OFF: Up-counting
·
While X012 is ON, C249 immediately starts counting
when the input X006 (X003) turns ON.
The up-counting input is X000, and the down-counting
input is X001.
·
The high speed counter C244 can be reset using X011
in a sequence as shown in the figure, but it is
immediately reset without any program when X002 is
closed. In this case, any program including X011
is not necessary.
·
The up/down-counting operation of C246 to C250 is
indicated by the ON/OFF status of M8246 to M8250.
ON: Down-counting
OFF: Up-counting
·
While X012 is ON, C251 counts operations of inputs
X000 (phase A) and X001 (phase B) as interrupt
processing.
When X011 turns ON and then the RST instruction is
execute, C251 is reset.
·
When the current value becomes equivalent to or
larger than the set value, Y002 turns ON. When the
current value becomes equivalent to or smaller than
the set value, Y002 turns OFF.
·
Y003 turns ON (for down-counting) or OFF
(for up-counting) according to the counting direction.
·
While X012 is ON, C254 immediately starts counting
when the input X006 turns ON. Its counting inputs
are X000 (phase A) and X001 (phase B).
·
In addition to reset by X011 in a sequence, C254 is
immediately reset when X002 turns ON.
·
When the current value becomes equivalent to or larger
than the set value (D1, D0), Y004 turns ON. When the
current value becomes equivalent to or smaller than
the set value, Y004 turns OFF.
·
Y005 turns ON (for down-counting) or OFF
(for up-counting) according to the counting direction.
2 Devices in Detail
2.7 High Speed Counter [C]
75
1
2
3
4
5
6
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents