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

Page 764

Advertising
background image

L-force | PLC Designer

PLC Designer Visualization

762

DMS 3.2 EN 02/2011 TD29



In PLC_PRG define two instances of 'fu':

inst1_fu : fu;
inst2_fu : fu;

Create a visualization object 'visu'. Insert an element and open the configuration
dialog, category 'Variables'. Enter in field 'Change color' the following:
"$FUB$.changecol". Open category 'Input' and enter in field 'Tap Variable'
"$FUB$.changecol". Open category 'Text' and enter"$FUB$ - change color ". Define an
alarm color in category 'Colors'.

Create another visualization object 'visu1'.

Insert visualization 'visu' twice in 'visu1' (two references of 'visu').

Mark the first reference of 'visu' and open the configuration dialog of category
'Visualization'. Press button 'Placeholder', so that the placeholder list will be displayed.
There replace entry 'FUB' by 'PLC_PRG.inst1_fu'.

Now mark the second reference of 'visu' and (like described for the first one) replace
'FUB' by 'PLC_PRG.inst2_fu'.

Now in online mode the values of the variables which are used to configure the two

instances of 'fu' will be visualized in the corresponding reference of 'visu'.

Of course the placeholder $FUB$ can be used at all places in the configuration of 'visu'
where variables or text strings are entered.



Stop!

Online behaviour of a visualization reference: If you insert a visualization and then
select and configure this reference, it will be regarded as a single object and in
online mode will react to inputs correspondingly to its configuration. In contrast: if
you do not configurate the reference, then in online mode its particular
visualization elements will react exactly like those of the original visualization.

Advertising