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

Page 205

Advertising
background image

Drive PLC Developer Studio

Resources

8-15

l

DDS EN 2.3

Button “First instance”

Clicking the button First instance inserts the known parameter code in the input field Code. The
input fields Code max./Code min. and Int. max./Int. min. are greyed out.

Button ”Standard”

Use the button Standard to accept the standard settings of the variables.

This means:

The settings will be accepted for variables set in the Type Parameter Manager, leaving only
the code to be assigned.

The limits of the data type set in the declaration editor will be accepted for variables that are
not yet known at this point.

If the user makes any retrospect changes, the background colour of the associated input field
changes to yellow to show it is different from the type definition.

Retrospect changes made in the Type Parameter Manager or data type changes in the declaration
editor are automatically updated for the associated code.

8.4.3.5

Handling Lenze function blocks

If you use Lenze function blocks in POUs of type Program, VAR CONSTANT RETAIN variables of
these FBs can be assigned all known parameter codes (e.g. 9300 servo inverter V2.0) using the
Parameter Manager. These assignments can of course be revoked again.

Use the correct instance name in the declaration editor of the Program-type POU for this
assignment:

The instance name is the name of the function block followed by a number (1, 2, 3, ...)

This syntax is valid for all Lenze function blocks.

If the syntax is changed, only user codes (C3000 - C7999) can be assigned to the instances.

Example of the exact declaration based on function block L_DIGDEL
for the 9300 Servo PLC:

If the function block L_DIGDEL from the Lenze library LenzeDrive.lib is used in a Program-type
POU, for example, the FB instance name must be exactly L_DIGDEL1 (L_DIGDEL1 of function
block type L_DIGDEL):

Only with the correct selection of the FB instance name can the known parameter codes (see
table below) of the 9300 Servo PLC be assigned to the function block by clicking First
instance
.

Further instances are then named L_DIGDEL2, L_DIGDEL3, etc.

Note that only L_DIGDEL1 andL_DIGDEL2 can be assigned the parameter codes of the 9300
Servo PLC
because this PLC has only two instances of this function block. Further instances (e. g.
L_DIGDEL3) can only be assigned user codes.

Tip!

The available instances of a function block are described in the online help, chapter “ Lenze function
libraries” .

If variables from Lenze function blocks are linked with codes, setting ranges and scaling operations
must be set in accordance with the documentation.

Show/Hide Bookmarks

Advertising