4 l_dco_transferdriveparameter, L_dco_transferdriveparameter ( 107), The l_dco_drivecommunication library – Lenze PLC Designer R3-x User Manual
Page 107
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
107
The L_DCO_DriveCommunication library
Function blocks
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Outputs
12.3.4
L_DCO_TransferDriveParameter
This FB reads and write the parameters of a Lenze inverter (logic axis) that is connected to the
Controller via a bus system. The parameters are defined via an array structure.
Inputs
Identifier/data type
Information/possible settings
xDone
BOOL
TRUE: Read request completed
xBusy
BOOL
Status output "Read request sent"
TRUE The read request has been transmitted to the system. The FB waits
for the response of the request.
FALSE No read request active
xError
BOOL
Error status output
TRUE During the processing an error has occurred
FALSE No error
eError
Error number
sValue
STRING
Read parameter value
byNrOfByte
BYTE
Length of the read value
Function library:
L_DCO_DriveCommunication
Runtime software licence:
LPC 1x00
MPC 1x00
MPC 2xx0
MPC 3x00
L_DCO_TransferDriveParameter
L_DCO_AXIS_REF_BASE ⎯ Axis
xDone ⎯ BOOL
BOOL ⎯ xExecute
xBusy ⎯ BOOL
POINTER TO
L_DCO_TransferData
⎯ pscParameterData
xError ⎯ BOOL
DWORD ⎯ dwSizeParameterData
eError ⎯
BOOL ⎯ xUseIndexAsParam
dwData ⎯ WORD
wIndexCounter ⎯ WORD
Identifier/data type
Information/possible settings
Axis
L_DCO_AXIS_REF_BASE
Connection of the axis data of the controller ("Logic" nodes)
xExecute
BOOL
Activation of the "Read/write parameters" function
FALSETRUE Transmitting a parameter read request
FALSE Outputs are reset
• If the execution of the FB has not been completed yet:
• Outputs are reset after request has been completed
• Status signals are at least set for one cycle.
pscParameterData
POINTER TO
L_DCO_TransferData
Here, the address of the array structure of the L_DCO_TranferData type must be
transmitted