Handling Emergency Stop

After an emergency stop, you must reset the emergency stop condition before you can run the robot again.
To do this, provide a reset button with the EventTaskType set to 2 – NoEmgAbort.

Function frmMain_btnReset_Click(Sender$ As String)  
    Reset  
    If EstopOn Then  
        MsgBox "EStop could not be reset"  
    EndIf  
Fend  

CAUTION


Errors that occur during program execution cannot be cleared by Reset. To do so, execute Reset Error with a different function.

Function frmMain_btnResetError_Click(Sender$ As String)  
    Reset Error  
    MsgBox "Reset Error Excuted"  
Fend  

To execute Reset Error from a program, go to the Epson RC+ [Setup]-[System Configuration]-[Controller]-[Preferences], check [Enable advanced task commands] checkbox, and set the EventTaskType property to 2-NoEmgAbort.