ENABLE program instruction ENABLE program instruction 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. 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. For example, the switches associated with the ACE Sight options are described in the ACE Sight User's Guide . 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 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 197