Task management – IAI America PSEL User Manual

Page 141

Advertising
background image




131

Part 2 Programs

1.9 Task

Management


 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

 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