User guide

Page 173
Chapter 4. Programming
ITER (Repeat)
[Function] Escapes the DOXX loop, then the program proceeds to the next step after EDDO.
[Example] DWEQ 1 0
·
·
600 LEAV
·
·
EDDO
While variable 1 is 0, the commands up to the EDDO command are repeated.
If flag 600 turns ON during this time, the loop is forced to end and the program proceeds to the next
step after the EDDO command.
LEAV (Escape from DO WHILE)
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional LEAV
Expansion
condition
(AND · OR)
Input
condition
(I/O · Flag)
Command
Post
(Output port · Flag)
Command Operand 1 Operand 2
Optional Optional ITER
[Function] Forces the control to move to EDDO during the DOXX loop.
[Example] DWEQ 1 0
·
·
600 ITER
·
·
EDDO
While variable 1 is 0, the commands up to the EDDO command are repeated.
If flag 600 turns ON during this time, the loop is forced to end and control is forced to move to the
EDDO command.