Cont Statement

Resumes the controller after a Pause statement has been executed and continues the execution of all tasks.

This command is for the experienced user and you need to understand the command specification before the use.

Syntax
Cont

Description
To execute this command programmatically, you must turn on the [Enable advanced task commands] checkbox in the [Setup] menu-[System Configuration]-[Controller]-[Preferences] page of the Epson RC+.
However, even if this preference is enabled, you cannot execute the Cont statement from a task executed by Trap SGClose.

The Cont command resumes the controller tasks paused by the Pause statement or safeguard open and continues all tasks execution. It has the same function as the [Continue] button on the Run Window, Operator Window, and the Continue Remote input.

If you execute the Cont command during WaitRecover status (waiting for the recover after safeguard open), it will turn on all the robot motors and execute the recover motion. Then, the program will be resumed.

If you just want to turn on motors and execute recover motion, use the Recover command.

CAUTION

When executing Cont command from a program, you must understand the command specification and confirm that the system has the proper conditions for the Cont command. Improper use such as continuous execution of a command within a loop may deteriorate the system safety.

See Also
Pause, Recover, ContManualRecover

Cont Statement Example

Function main
    Xqt 2, monitor, NoPause
    Do
        Jump P1
        Jump P2
    Loop
Fend

Function monitor
    Do
        If Sw(pswitch) = On then
            Pause
            Wait Sw(pswitch) = Off and Sw(cswitch) = On
            Cont
        EndIf
    Loop
Fend