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

Page 19

Advertising
background image

Function library Lenze8200Drive.lib

Functions/function blocks

3.2

L_8200Initialization − Frequency inverter initialisation

3−7

L

Lenze8200Drive.lib EN 1.0

3.2

L_8200Initialization − Frequency inverter initialisation

Function block

This FB is used to initialise the frequency inverter with the parameters which were previously defined
by an instance or copy of the FB L_8200Parameter.

Note!

The FB must be called cyclically because the data are internally transmitted to the frequency inverter
via the FBL_ParWrite.

·

Depending on the amount of data to be transmitted, the data transfer may take several cycles.

·

If the data transfer has been successful, the message outputbParDone will be set to TRUE.

·

When the data transfer has been completed ( bParDone = TRUE), the parameterisation is
complete and the FBsL_8200Parameter and L_8200Initialization need not be called again.

L_8200Initialization

abyFraction

anValue

byNoOfParameter

abySubCodeNo

awCodeNo

bExecute

bSelectSDO2Channel

byNodeAddr

CTRL

DATA

nState

bParDone

L

8200

Node address =

byNodeAddr

System
bus
(CAN)

FB call in:

o Cyclic task

(PLC_PRG)

þ Time−controlled task

(INTERVAL)

o Event−controlled task

(EVENT)

o Interrupt task

Inputs

Data type

Information/possible settings

bExecute

Bool

Start data transfer to the frequency inverter

FALSE

ä TRUE

Start data transfer

bSelectSDOChannel

Bool

Select the parameter channel for the frequency inverter

FALSE SDO 1

TRUE SDO 2

byNodeAddr

Byte

Device address (1 ... 63) of the frequency inverter to be initialised.

·

See also chapter 2.2.1. (

^ 2−3)

byNoOfParameter

Byte

Transfer of the number of parameters to be transmitted

awCodeNo

Array of Word

Code transfer

abySubCodeNo

Byte array

Subcode transfer

abyFraction

Byte array

Transfer of decimal places

·

See also FB description L_ParWrite
in the Manual Function library LenzeDrive.lib.

anValue

Array of

integers

Transfer of code values

Advertising