Drawing an on/off switch control

You can draw an on/off switch control on a panel diagram.

About this task

The on/off switch control is an input/output control, as shown in the following figure:

On/oiff switch control

Note the following information:

  • You can bind it to a state or an attribute.
  • Its attribute type is a Boolean.
  • By default its control direction is set to In/Out, though you can change it to In or Out.

Procedure

  1. Click the On/Off Switch button On/Off Switch button on Diagram Tools.
  2. Click the drawing area to create a On/Off Switch control.
  3. To bind the control element to the model element that the control is to regulate or monitor, see Binding a control element to a model element.
  4. Make whatever changes you might want for the control: