Drive plc developer studio – Lenze DDS v2.3 User Manual

Page 253

Advertising
background image

Drive PLC Developer Studio

Visualization

9-19

l

DDS EN 2.3

Button Replace placeholder opens dialog box

Replace placeholder. All placeholders used in

the inserted visualization organization unit will be listed. Column Replacements offers the
option of replacing these with a specific value.
The available substitutes are dependent on whether dialog box

Placeholder list predefines a

value set. The selection is displayed in a combination box. Where no predefinition has been
made, a double-click on the associated field in the column Substitutes will open the
placeholder in an edit field where it can be completed as required.

Another option to substitute placeholders in references is directly on a visualization call via an
entry in text field Zoom to Vis:, category

Input of the configuration dialog for a visualization

element.

Caution!

The chronological substitution sequence can not be influenced! No placeholders should be
substituted with texts that include placeholders themselves!

The use of placeholders makes it impossible to check any invalid entries in the configuration of the
visualization elements at the time of project compilation, so that any relevant error messages will
be output in online mode only (” ...incorrect Watch expression...” ).

Placeholder concept

Example for using the placeholder concept

Function block instances can be easily displayed with references of the same visualisation.

When configuring visualisation elements, placeholders enable the visualisation objects to be used
several times.

If a visualisation object created with placeholders is inserted into another visualisation, the placehol-
ders are replaced by variables or strings.

Besides organisation units and global variables visualisation objects can also be stored in libraries.
The use of placeholders enable the instances of the organisation unit to be referenced within the li-
brary.

Caution!

If after a visualization has been inserted, this reference is selected and configured, it will be
considered object and respond as such to inputs in online mode in accordance with its
configuration. If no configuration input is made for the reference at the point of insertion, its individual
elements will respond like those of the original visualization in online mode.

Visualisation object with placeholders

Declare the following function block in ST.

PROGRAM PLC_PRG

VAR

nVar10:INT:=10;

nVar20:INT:=20;

END_VAR

Show/Hide Bookmarks

Advertising