Continue Method
Description
Causes all tasks in the Controller to resume if a pause has occurred.
Syntax
Sub Continue ()
Remarks
Use Continue to resume all tasks that have been paused by the Pause method or by safeguard open.
When the safeguard is open while tasks are running, the robot will decelerate to a stop and the robot motors will be turned off. After the safeguard has been closed, you can use Continue to resume the cycle.
See Also
Pause Method, Start Method, Stop Method
Continue Example
VB Example:
Sub btnContinue_Click( _
ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles btnContinue.Click
btnPause.Enabled = True
btnContinue.Enabled = False
Try
m_spel.Continue()
Catch ex As RCAPINet.SpelException
MsgBox(ex.Message)
End Try
End Sub
C# Example:
void btnContinue_Click(object sender, EventArgs e)
{
btnPause.Enabled = true;
btnContinue.Enabled = true;
try{
m_spel.Continue();
}
catch(RCAPINet.SpelException ex){
MessageBox.Show(ex.Message);
}
}