Visualization element ‘Dip switch’, ‘Power switch’, ‘Push switch’, ‘Push switch LED’, ‘Rocker switch’¶
Symbol: Dip switch , Power switch
, Push switch
, Push switch LED
, Rocker switch
Tag: Lamps/Switches/images
This element assigns a value to a Boolean variable. The switch position “on” the value TRUE
to the variable, and the switch position “off” assigns the value FALSE
. You use the mouse to change the switch position.
Element properties
Element name | Optional Tip: Assign individual names for elements so that they are found faster in the element list. Example: |
Element type | Element-dependent: Dip switch, Power switch, Push switch, Push switch LED, or Rocker switch. |
Element property ‘Position’
The position defines the location and size of the element in the visualization window. These are based on the Cartesian coordinate system. The origin is located at the upper left corner of the window. The positive horizontal x-axis runs to the right. The positive vertical y-axis runs downwards.
X | X coordinate of the upper left corner of the element Specified in pixels. Example: |
Y | Y coordinate of the upper left corner of the element Specified in pixels. Example: |
Width | Specified in pixels. Example: |
Height | Specified in pixels. Example: |
Note
You can also change the values by dragging the box symbols ( ) to other positions in the editor.
See also
Variable | Variable ( The value of the variables |
Image settings
Transparency | ![]() |
Transparent color | Pixels in this color are displayed as transparent. Requirement: Transparency is activated.
|
Scaling type | Reaction of the element when the dimension of the Frame element is changed:
|
Horizontal alignment | Horizontal alignment of the image within the element frame or element
Requirement: Scaling type is Isotropic. |
Vertical alignment | Vertical alignment of the image within the element frame or element
Requirement: Scaling type is Isotropic. |
Element behavior |
|
Tap FALSE |
Requirement: Image tapper is selected in the Element behavior property. |
Element property ‘Texts’
Tooltip | String display as tooltip for the element. Example: Valid access . |
Element property ‘State variables’
The variables control the element behavior dynamically.
Invisible | Variable (
|
Deactivate inputs | Variable (
|
Element property ‘Background’
Image | Drop-down list with background colors Depends on the visualization style |
Element property ‘Access rights’
Requirement: User management is set up for the visualization.
Access rights | Opens the Access rights dialog box for changing the access rights for the element. Status messages:
|
See also