estop()

Toggles or sets the Emergency Stop (E-Stop) state.

- If called with no arguments, it toggles the E-Stop state.
- If called with one argument, it sets the E-Stop state accordingly.

Syntax

estop()
estop(state)

Parameters

Parameter Type Description
state Number (Optional) `1` to activate E-Stop, `0` to deactivate. optional

Return Value

Examples

Toggle the E-Stop state

estop();  

Activate E-Stop

estop(1);

Deactivate E-Stop

estop(0);

See also

estop
stop
pause
start