9 task management – IAI America XSEL-KX User Manual

Page 125

Advertising
background image




109

Part 4 Commands

1.9 Task Management


 EXIT (End program)

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

EXIT

Prohibited Prohibited

CP

[Function]

End the program.
If the last step has been reached without encountering any EXIT command, the program will
return to the beginning.


(Note)

Status at program end

• Output ports

Retained

• Local flags

Cleared

• Local variables

Cleared

• Current values

Retained

• Global flags

Retained

• Global variables

Retained


[Example 1]

:

:

EXIT

End the program.

Advertising
This manual is related to the following products: