9 task management – IAI America XSEL-KE User Manual
Page 130

115
Part 4 Commands
1.9 Task
Management
z EXIT (End program)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
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
x Output ports
Retained
x Local flags
Cleared
x Local variables
Cleared
x Current values
Retained
x Global flags
Retained
x Global variables
Retained
[Example 1]
:
:
EXIT
End the program.