Function library lenze8200drive.lib, Functions/function blocks – Lenze DDS Function library 8200 Drive User Manual

Page 17

Advertising
background image

Function library Lenze8200Drive.lib

Functions/function blocks

3.1

L_8200Parameter − Initialisation of codes

3−5

L

Lenze8200Drive.lib EN 1.0

Concept II: Parameterisation by means of codes

If the FB outputs are assigned to user codes in the PLC, it is possible to select the corresponding
frequency inverter parameters directly via the Parameter Monitor.

Note!

With this concept, it is possible to use an instance of the FBL_8200Parameter instead of a copy.
Please observe that all parameter values must be selected under the corresponding
codes/subcodes before starting the program.

Proceed as follows:

1. Create an instance of the FB L_8200Parameter.

2. Use the Instance Parameter Manager to assign user codes to the outputs of the instance.

3. Compile the project to ensure that the codes/subcodes will be available for parameterisation

in the Parameter Monitor.

Example I: Assignment of identical parameters to a number of frequency inverters

If you want to assign the same parameters to a number of frequency inverters, you only need one FB
with the selected parameters.

L_8200Parameter

abyFraction

anValue

byNoOfParameter

abySubCodeNo

awCodeNo

1

Code

SubCode

Fraction

Value

2

3

4

5

6

7

8

9

...

45

L_8200Initialization

abyFraction

anValue

byNoOfParameter

abySubCodeNo

awCodeNo

bExecute

bSelectSDO2Channel

byNodeAddr

CTRL

DATA

nState

bParDone

L

8200

Node address =

byNodeAddr

System
bus
(CAN)

L_8200Initialization

abyFraction

anValue

byNoOfParameter

abySubCodeNo

awCodeNo

bExecute

bSelectSDO2Channel

byNodeAddr

CTRL

DATA

nState

bParDone

L

8200

Node address =

byNodeAddr

System
bus
(CAN)

20

TRUE

12

TRUE

StartInit

DefaultParameter

InitDevice12

InitDevice20

InitReady

Advertising