omron — DISABLE program instruction

DISABLE program instruction DISABLE program instruction Syntax DISABLE switch, ... , switch Function Turn off one or more system control switches. Usage Considerations If a specified switch accepts an index qualifier and the index is zero or omitted (with or without the brackets), all the elements of the switch array are enabled. Parameter switch Name of a system switch to be turned off. The name can be abbreviated to the minimum length that uniquely identifies the switch. That is, for example, the MESSAGES switch can be referred to with ME since there is no other switch with a name beginning with the letters ME.

Details System switches control various aspects of the operation of the eV+ system, including some optional subsystems such as vision. The Switch entry in the index for this document directs you to the detailed descriptions of these switches. Other system switches are available when options are installed. Refer to the option documentation for details. When a switch is disabled, or turned off, the feature it controls is no longer functional or available for use. Turning a switch on with the ENABLE monitor command or program instruction makes the associated feature functional or available for use. NOTE: The system switches are shared by all the program tasks.

Thus, care should be exercised when multiple tasks are disabling and enabling switches-otherwise, the switches may not be set correctly for one or more of the tasks. Disabling the DRY.RUN switch does not have an effect until the next EXECUTE command or instruction is processed for task #0, an ATTACH instruction is executed for the robot, or a CALIBRATE command or instruction is processed. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 177