ID : 200
Halt
Function
To halt the own task.
Syntax
Halt
Description
The own task is halted.
Related Terms
Kill, Run, Suspend, SuspendAll, Hold, Task Status, ContinueAll
Attention
-
Example
'!TITLE "Stopping Program Execution"
' Counting up is operated while robot is in motion
Sub Sample_Halt
Do
If MotionComplete(1) then
Halt
Else
I[0] = I[0] + 1
Delay 1000
End If
Loop
End Sub
ID : 200