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
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
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.
3.27 LOOP, LBL (LOOP, Label)
WUME-FP7CPUPGR-12 3-87