Topic: DMD0148 HALT - Halt Program or Task |
|
|
|
The HALT Program or Task (HALT) instruction is used to programmatically stop running the specified Program or Task. This instruction is typically used by a supervisory code-block to stop the execution of another Program or Task.
The HALT Program or Task (HALT) instruction is not allowed to target $Main.
The Exit This Program (EXIT) instruction is used within a code-block to stop itself from running.
|
|
Parameters:Note: Use the F9 key (Element Browser) or Down-Arrow key (Auto-Complete) at any time to see a complete list of the memory locations that are valid in the current field of the instruction.
Code Block - designates the Code Block (Program or Task) to be halted
|
|
|
|
See Also:
|
|
|
|
Related Topics:
|
|
|
|
Rung Example:
|
|
|