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

Page 250

Advertising
background image

L-force | PLC Designer

Menu Commands sorted by Categories

248

DMS 4.1 EN 03/2011 TD29

12.7.7

Edit Parameters...
Constant input parameters (VAR_INPUT CONSTANT) of functions and function blocks
are not displayed directly in the CFC Editor.
Example:
FUNCTION_BLOCK fublo2
VAR_INPUT CONSTANT
fbin1:INT;
fbin2:DWORD:=24354333;
fbin3:STRING:='hallo';
END_VAR
To access those parameters use the 'Edit Parameters...' command (category CFC). It
opens the 'Edit Parameters' dialog, where for each parameter the name (Parameter)
the data type (Type) and the Initial value are displayed.

Abb. 84

Edit Parameters dialog

Here the values of a constant input parameter (VAR_INPUT CONSTANT) can be
changed. For this purpose perform a mouse-click on the respective field of column
Value to select it and a further click (or press <Enter>) to get an edit frame. After
having modified the value use the <Return> key to confirm the modification. <Escape>
will reject the modification. OK will store all modifications.

Note: This functionality and the associated declaration of variables with keyword
"VAR_INPUT CONSTANT" is only of impact for the CFC editor. In the FBD editor all
INPUT variables are displayed at a box, whether declared as VAR_INPUT or
VAR_INPUT CONSTANT. For text editors this does not make any difference.

Advertising