
18
– 24
LOOP
[Function]
This command is used to control loop operation in the specified MVM table.
[Explanation]
When this command is executed, the counter specified in the MVM table of
the specified group is controlled. the program jumps to the step with the tag
No. specified by the content and conditions of the counter.
[Key operation]
STEP 1
Press
F 1
followed by
IN
1
and
JMP
5
.
NOP changes to LOOP.
Press
ENT
.
STEP 2
Use the numeric keypad to enter the group No.
(MVM table No.), then press
ENT
.
(Input range: 1 to 32.)
STEP 3
Enter a tag No. for THEN with the numeric
keypad and press
ENT
.
(Input range: 1 to 999.)
STEP 4
Enter a tag No. for ELSE with the numeric
keypad and press
ENT
.
(Input range: 1 to 999.)
Tag for THEN: A program jumps to the THEN tag when an MVM program has
completed.
Tag for ELSE: A program jumps to the ELSE tag when an MVM program has not
completed.
NOTE
The tag No. for STEP 3 and STEP 4 can be set to "0" as a temporary value.
However, if the command is executed with that value, the "NO TAG FOUND" error
will occur.
When using multitasking, a tag No. in another task cannot be designated.
For an application example of the command, refer to "Palletizing work with MVM
commands" (section 4.1.7).
MVM Loop
[
P
R
G
M
]
0
0
0
1 I
F L
O
O
P E
N
D
L
O
O
P G
R
P
=
0
1 T
H
E
N 0
0
0
1
E
L
S
E 0
0
0
[
P
R
G
M
]
0
0
0
1
N
O
P
Summary of Contents for CA20-M10
Page 2: ......
Page 14: ...XII 21 6 Spare parts 21 5 21 6 1 Controller spare parts 21 5 21 6 2 Axis spare parts 21 5...
Page 24: ...1 10 This page is blank...
Page 104: ...4 20 This page is blank...
Page 112: ...5 8 This page is blank...
Page 152: ...7 20 This page is blank...
Page 190: ...10 20 This page is blank...
Page 234: ...11 44 This page is blank...
Page 244: ...12 10 This page is blank...
Page 286: ...15 4 This page is blank...
Page 300: ...17 12 This page is blank...
Page 352: ...18 52 This page is blank...
Page 382: ...21 6 This page is blank...
Page 383: ......
Page 384: ...Back cover Q3178E 03 APR 20...