Are all element properties available?
Are all element properties available?
All properties are visible only after you select the “Advanced” option or the “All categories” filter in ⮫ “View: Properties ”.
“Element name” |
Example: TIP: Assign individual names for elements so that they are found faster in the element list. |
“Element Type” |
“Image” |
“Static ID” |
Identifier of the image file for a static assignment ID of the image file on, as it is defined in the corresponding image pool. If the image is not included in the global image pool in the POU view, then the instance
path must be specified. Then the name of the image pool is preceded to make the entry
unique. Example: When a new ID is specified, a file selection dialog opens. The selected file is saved to the “GlobalImagePool”. For more information, see: ⮫ Object: Image Pool |
“Show frame” |
|
“Clipping” |
Requirement: The “Scaling type” property is “Fixed”.
|
“Transparent” |
|
“Transparent color” |
Effective only if the “Transparent” option is activated. The |
“Scaling type” |
Definition of how an image fits in the element frame.
|
“Horizontal alignment” |
Horizontal alignment of the element within the element frame:
Requirement: The scaling type of the image is “Isotropic” or “Fixed”. NOTE: If the visualization is referenced, then the horizontal alignment takes effect within the frame position.
|
“Variable” |
Enumeration variable ( Example: |
“Vertical alignment” |
Vertical alignment of the element within the element frame:
Requirement: The scaling type of the image is “Isotropic” or “Fixed”. NOTE: If the visualization is referenced, then the horizontal alignment takes effect within the frame position.
|
“Variable” |
Enumeration variable ( Example: |
Example
A valid declaration is required for the variables used as an example in the table above.
Enumeration
TYPE VisuElemBase.VisuEnumHorizontalAlignment LEFT HCENTER RIGHT END_TYPE TYPE VisuElemBase.VisuEnumVerticalAlignment DOWN VCENTER BOTTOM END_TYPE
Declaration
PROGRAM PLC_PRG VAR eHorizontalAlignment : VisuElemBase.VisuEnumHorizontalAlignment := VisuElemBase.VisuEnumHorizontalAlignment.HCENTER; eVerticalAlignment : VisuElemBase.VisuEnumVerticalAlignment := VisuElemBase.VisuEnumVerticalAlignment.VCENTER; END_VAR
For more information, see: ⮫ Object: Image Pool
-
Position
-
Center
-
Colors
-
Appearance
-
Texts
-
Image ID variable
-
Text properties
-
Dynamic image
-
Absolute movement
-
Relative movement
-
Text variables
-
Dynamic texts
-
Color variables
-
Look variables
-
Font variables
-
State variables
-
Input Configuration
-
Animation
-
Access Rights