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