3.27 LOOP, LBL (LOOP, Label)
■
Ladder diagram
■
List of operands
Operand
Description
n
Label number
S
Loop count
■
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
n
S
●
●
■
Outline of operation
● If the condition is ON, 1 is subtracted from the value in [S]. If the result is not 0, the
instruction jumps to the label with the specified number (LBL instruction).
● The program continues running from the instruction after the target label.
● The LOOP instruction specifies the number of times to execute the code. When the code has
been executed for the number of times specified in [S], the program will not jump to the
specified label even if the execution condition is met.
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
●
●
●
●
3.27 LOOP, LBL (LOOP, Label)
32-Bit
device:
TS
TE
U
W
WI
IX
C
C
M
O
S
E
Real
St
Integer
numbe
rin
r
g
D
K
H
SF
" "
U
F
●
Index
modifie
r
●
3-87