beautypg.com

IAI America XSEL-KX User Manual

Page 203

background image




187

Part 4 Commands


 ITER (Repeat)

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command, declaration

Output

(Output, flag)

Command,
declaration

Operand 1

Operand 2

Optional

Optional

ITER

Prohibited Prohibited

CP

[Function] Forcibly switch the control to EDDO while in a DOXX loop.


[Example 1]

DWEQ

1

0

Repeat the commands up to an EDDO command while
variable 1 contains “0.”

:

600

ITER

Forcibly switch the control to an EDDO command and
perform end judgment, if flag 600 is ON.

:

EDDO











 EDDO (End DO WHILE)

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command, declaration

Output

(Output, flag)

Command,
declaration

Operand 1

Operand 2

Prohibited

Prohibited

EDDO

Prohibited Prohibited

CP

[Function] Declare the end of a loop that began with DWXX.

If the DWXX condition is not satisfied, the program will proceed to the step next to this
command.


[Example 1]

Refer to the section on DWXX.

This manual is related to the following products: