
112
5 SEQUENCE INSTRUCTIONS
5.3 Output Instructions
Long counter
OUT LC
This instruction increments the current value of the long counter specified by (d) by 1 when the operation result up to the 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.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1
Only LC can be used.
*2
T, ST, C cannot be used.
*3
Indirect specification cannot be entered for the long counter set value.
*4
Only decimal constant (K) can be used.
Processing details
• This instruction increments the current value of the long counter specified by (d) by 1 when the operation result up to the
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
There is no operation error.
Ladder diagram
Structured text
ENO:=OUT_C(EN,d,set value);
Operand
Remarks
Range
Data type
Data type (label)
(d)
Long counter number
Bit
ANY_BOOL
(Set value)
Long counter set value
0 to 4294967295
32-bit unsigned binary
ANY32
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(d)
(Set value)
(d)
(Set value)
OUT
LC0
@D0
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......