L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 825

Advertising
background image

L-force | PLC Designer

General Editors

DMS 4.1 EN 03/2011 TD29

823

Additionally, if there are user-defined visualizations in the project, which are specified
in their properties to be used as "numpad/keypad":
<device>.<application>.<numpad/keypad-visualization>: The mouse action will open
the numpad or keypad, which is represented in the chosen visualization. Notice that
for this purpose the visualization option Register images files without path must be
activated in order to get the needed background bitmaps loaded.

Note: The use of keypad/numpad requires the library VisuDialogs.library to be
integrated in the library manager.

In the Variable field enter the project variable to which the value, typed in by the user,
should be written. The input assistant might be opened for this purpose via the
button.
A minimum and maximum value might be defined in the Min. and Max. fields by
specifying a value or a project variable.
A title which should be displayed in the dialog title bar can be defined via a text string
or a text variable in the Dialog title field.
If you want the entry to be displayed hidden by "***********" (as in case of a password),
mark the checkbox in front of Password field.
Example:
See for example the picture above and assume that this is the configuration dialog of a
rectangle element. If in online mode the mouse-key is pressed on this rectangle, a
numpad will be displayed, showing the title given by PLC_PRG. MyTitle.
Enter a value: For example by mouse-clicks on 1, 2 and 3 enter "123". This value will be
displayed in the upper part of the dialog, where also the minimum and maximum
values as defined by PLC_PRG.minVal and PLC_PRG.maxVal are shown. As soon as you
have confirmed the input by a mouse-click on the numpad OK button, "123" will be
written to variable PLC_PRG.ivar. If "ivar" is declared of type STRING, it will get value
'123', if it is of a numeric type it will get value 123.

Advertising