Chapter 4. programming – IAI America S-SEL-E User Manual
Page 178

Page 173
Chapter 4. Programming
ITER (Repeat)
[Function]
Escapes the DO
XX
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)
E x p a n s io n
c o n d itio n
(A N D · O R )
In p u t
c o n d itio n
(I/O · F la g )
C o m m a n d
P o s t
(O u tp u t p o rt · F la g )
C o m m a n d
O p e ra n d 1
O p e ra n d 2
O p tio n a l
O p tio n a l
L E AV
E x p a n s io n
c o n d itio n
(A N D · O R )
In p u t
c o n d itio n
(I/O · F la g )
C o m m a n d
P o s t
(O u tp u t p o rt · F la g )
C o m m a n d
O p e ra n d 1
O p e ra n d 2
O p tio n a l
O p tio n a l
IT E R
[Function]
Forces the control to move to EDDO during the DO
XX
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.