Counter - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Counter

OUT C
This instruction increments the current value of the counter specified by (d) by 1 when the operation result up to OUT
instruction changes from OFF to ON, and when the counter reaches the end of its count, NO contact becomes conductive and
NC contact becomes non-conductive.
Ladder diagram
(d)
(Set value)
Setting data
■Descriptions, ranges, and data types
Operand
Remarks
(d)
Counter Number
(Set value)
Counter set value
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(d)
(Set value)
*1 Only C can be used.
*2 T, ST, C cannot be used.
*3 Indirect specification cannot be entered for the counter set value.
OUT
C0
*4 Only decimal constant (K) can be used.
Processing details
• This instruction increments the current value of the counter specified by (d) by 1 when the operation result up to OUT
instruction changes from OFF to ON, and when the counter reaches the end of its count (current value  set value), NO
contact becomes conductive and NC contact becomes non-conductive.
• The counter does not count while the operation result remains on. (Count input does not need to be converted to pulses.)
• After a count up, the count value and contact status do not change until the RST instruction is executed.
• When the set value is 0, the same processing as for set value 1 is performed.
Operation error
Error code
Remarks
(SD0/SD8067)
3405
A negative value is specified for the set value.
Word
T, ST, C, D,
C, LC
W, SD, SW, R
*1
*2
@D0
Structured text
ENO:=OUT_C(EN,d,set value);
Range
0 to 65535
Double word Indirect
U\G
Z
LC
LZ
Data type
Data type (label)
Bit
ANY_BOOL
16-bit unsigned binary
ANY16
Constant
specification
K, H
E
$
*3
*4
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
5
Others
111

Advertisement

Table of Contents
loading

Table of Contents