Visualization Element ‘Label’¶
Symbol:
Tag: Common controls
This element is used for labeling visualizations.
Element properties
Element name | Optional Tip: Assign individual names for elements so that they are found faster in the element list. Example: |
Element type | Label |
Element property ‘Texts’
The properties contains character strings for labeling the element. The character string can also contain a placeholder with a format definition. In runtime mode, the placeholder is replaced by the current value in the specified format.
CODESYS accepts the specified texts automatically into the GlobalTextList text list. Therefore, these texts can be localized.
Text | Character string (without single straight quotation marks) |
See also
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
Element property ‘Text properties’
The properties contain fixed values for the text properties.
Horizontal alignment | Horizontal alignment of the text within the element. |
Vertical alignment | Vertical alignment of the text within the element. |
Text format | Definition for displaying texts that are too long
|
Font | Example: Default
|
Font color | Example: Black
|
Transparency | Whole number (value range from Example:
Please note: If the color is a style color and already has a transparency value, then this property is write-protected. |
Element property ‘State variables’
The variables control the element behavior dynamically.
Invisible | Variable (
|
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