Pause Method
Description
Causes all normal SPEL+ tasks in the Controller to pause. If the robot is moving, it will immediately decelerate to a stop.
Syntax
Sub Pause ()
CAUTION
The function executed by Call Method cannot be paused by Pause Method.
If you need to pause, use Xqt Method.
See Also
Continue Method, EventReceived Event, Stop Method
Pause Example
VB Example:
Sub btnPause_Click()_
ByVal sender As System.Object, _
ByVal e As System.EventArgs) _
Handles btnPause.Click
m_spel.Pause()
btnPause.Enabled = False
btnContinue.Enabled = True
End Sub
C# Example:
void btnPause_Click(object sender, EventArgs e)
{
m_spel.Pause();
btnPause.Enabled = false;
btnContinue.Enabled = true;
}