omron — POWER system switch

POWER system switch desire an immediate shutdown.) The value of this switch can be checked at any time with the SWITCH real-valued function to determine if high power is on or off. To disable power from a robot program without generating an error condition, the program must either be in DRY.RUN mode or DETACH the robot from program control. See the DRY.RUN switch or DETACH program instruction for details. Example The following program segment detaches the robot, turns high power off, and waits for you to turn high power back on.

DETACH ;Detach robot from program DISABLE POWER ;Turn off power TYPE "Press the COMP/PWR button to continue" ATTACH ;Wait for power on and attach TYPE "Robot program continuing..." Related Keywords DISABLE monitor command DISABLE program instruction ENABLE monitor command ENABLE program instruction ESTOP program instruction SWITCH monitor command SWITCH program instruction SWITCH real-valued function eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 405