L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 720

L-force | PLC Designer
PLC Designer Visualization
718
DMS 3.2 EN 02/2011 TD29
• Example: If you have defined a Object Name "visu1_line" for a visualization
element, then you can program the line width of this element by e.g.
"visu1_line.nLIneWidth:=4".
Dialog for configuring a visualization element (Category Programmability)
The structure VisualObjectType:
The following table will show you all components of the structure and references to
the corresponding items in the different categories of the configuration dialog:
At the beginning of the component name the data type is integrated:
n INT
dw DWORD
b BOOL
st STRING
Component
(+Data type)
Effect
Example
(the Object Name "vis1" has been
defined for the element)
corresponding entries
in configuration
dialog:
nXOffset : INT;
Shift element in X-
direction
vis1.nXOffset:=val2;
(element is set to position X=val2)
- Cat. Motion
absolute: X-Offset
nYOffset : INT;
Shift element in Y-
direction
vis1.nYOffset:=22;
(element is set to position Y=val2)
- Cat. Motion
absolute: Y-Offset
nScale : INT;
Change of the size vis1.nScale:=plc_prg.scale_
var;
(element size changes linear with
change of value of plc_prg.scale_var)
- Cat. Motion
absolute: Scaling
nAngle : INT;
Rotating element
around its center
vis1.anglevar:=15;
(element rotates clockwise by 15 )
- Cat. Motion
absolute: angle