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

Page 722

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization

720

DMS 3.2 EN 02/2011 TD29



Component
(+Data type)

Effect

Example

(the Object Name "vis1" has been
defined for the element)

corresponding entries
in configuration
dialog:

dwFontFlags :
DWORD;

Font display.
Available flags:

1 italic

2 fett
4 underlined
8 canceled

+ combinations by

adding values

vis1.dwFontFlags:=10;

(Text is displayed blue and canceled)

- Cat. Text: Schrift |
Schriftschnitt
- Cat. Textvariables:

Fontflags

stFontName :
STRING;

Change font

vis1.stFontName:=’Arial’;

(Arial is used)

- Cat. Text: Schrift |
Schriftart
- Cat. Textvariables:

Fontname

nLineWidth : INT; Line width of the

frame (pixels)

vis1.nLWidth:=3;

(Frame width is 3 Pixels)

- Cat. Line width

dwFillColor :
DWORD;

Fill color (definition
of colors see
subsequent to this
table)

vis1.dwFillColor":=16#00FF0
000;

(Element ist im "Normalzustand" blau)

- Cat. Color: Color |
Inside
- Cat. Colorvariables:
Inside

dwFillColorAlarm :
DWORD;

Fill color as soon as
bToggleColor gets
TRUE, see above)
(definition of colors
see subsequent to
this table)

vis1.dwFillColorAlarm:=16#0
0808080;

(as soon as Variable togglevar gets
TRUE, the element will be displayed
grey-colored)

- Cat. Color: Alarm
color | Inside
- Cat. Colorvariables:
Inside Alarm

dwFrameColor:
DWORD;

Frame color

(definition of colors

see subsequent to
this table)

vis1.dwFrameColor:=16#00FF0
000

; (Frame is blue-colored)

- Cat. Color: Color |
Frame

- Cat. Colorvariables:
Frame

dwFrameColorAla
rm: DWORD;

Fill color as soon as
bFrameColor gets
TRUE, see above
(definition of colors
see subsequent to
this table)

vis1.dwFrameColorAlarm:=16#
00808080

; (as soon as Variable

vis1.bToggleColor gets TRUE, the

frame will be displayed grey-colored)

- Cat. Color: Alarm
color | Frame
- Cat. Colorvariables:
Frame Alarm

dwFillFlags:

DWORD;

Color, as defined by

the color variables,
can be displayed or

ignored

0 = show color
>0 = ignore setting

vis1.dwFillFlags:=1;

(element gets invisible)

- Cat. Color: No color

inside +
No frame color

- Cat. Colorvariables:
Fillflags

Advertising