omron — Details

DISABLE monitor command DISABLE monitor command Syntax DISABLE switch , ..., switch Function Turn off one or more system control switches. Usage Considerations The DISABLE monitor command can be used while a program is executing. 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 disabled. 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 as "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. All the eV+ system switches are described in the eV+ Language Reference Guide . The basic system switches are summarized in Basic System 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 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+Operating System Reference Guide, 2.x,18321-000 Rev A Page 76