Structure Creation Instructions; Performing The For To Next Instruction Loop - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

7.4

Structure Creation Instructions

Performing the FOR to NEXT instruction loop

FOR, NEXT
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions execute the processing between the FOR instruction and the NEXT instruction (n) times.
Ladder
FOR
(n)
A
NEXT
A: Repeat program
FBD/LD
[FOR]
EN
ENO
n
■Execution condition
Instruction
FOR
NEXT
Setting data
■Description, range, data type
Operand
Description
(n)
Number of FOR to NEXT instruction loops
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(n)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Every scan
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
ST
Not supported
[NEXT]
EN
ENO
Range
Data type
1 to 32767
16-bit signed binary
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
Data type (label)
ANY16
BOOL
BOOL
Constant
Others
specification
K, H E
$
7
555

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents