Long Counter - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Long counter

OUT LC
RnPCPU
RnCPU RnENCPU
(Process)
This instruction increments the current long counter value (count value) by one on the rising edge (off to on) of the operation
result up to the OUT instruction. When the count value reaches the set value, the normally open contact of the long counter
turns on (continuity state) and the normally closed contact turns off (non-continuity state).
Ladder
(d)
Value: Set value
FBD/LD
EN
ENO
Coil
Value
Value: Set value
( is to be replaced by OUT_C.)
■Execution condition
Instruction
OUT LC
Setting data
■Description, range, data type
Operand
Description
(d)
Long counter number
Coil
Value
Set value for the long counter
EN
Execution condition
ENO
Execution result
*1 Only long counter type labels can be used.
*2 If the program is written in ST language or FBD/LD, the data type will be ANY_INT.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(d)
Coil
Value
*1 Only LC can be used.
*2 T, ST, and C cannot be used.
*3 Only K (decimal constant) can be used.
5 SEQUENCE INSTRUCTIONS
186
5.3 Output Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
Value
Execution condition
Every scan
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*2
ST
ENO:=OUT_C(EN,Coil,Value);
Range
0 to 4294967295
Double word
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
*1
Data type
Data type (label)
Bit
ANY_BOOL
32-bit unsigned
ANY32
*2
binary
Bit
BOOL
Bit
BOOL
Indirect
Constant
specification
LZ
K, H
*3
*1
*2
Others
E
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents