omron — Details

ENABLE monitor command ENABLE monitor command Syntax ENABLE switch , ..., switch Function Turn on one or more system control switches. Usage Considerations The ENABLE monitor command can be used when 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 enabled. Parameter switch Name of a system switch to be turned on. The name can be abbreviated to the minimum length that uniquely identifies the switch. For example, the MESSAGES switch can be referred to with "ME", because there is no other switch name that begins with the letters "ME".

Details System switches control various aspects of the operation of the eV+ system. When ENABLE Power is issued, all robots are checked for out-of-range errors. A message is displayed on the monitor for each robot in error. See Basic System Switches under the DISABLE command for a summary of the switches. Other system switches are available when options are installed. Refer to the option documentation for details. When a switch is enabled, or turned on, the feature it controls is functional and available for use. Turning a switch off with the DISABLE monitor command or program instruction makes the associated feature not 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 take 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. The SWITCH monitor command displays the status of a switch. eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 83