
The L_DCO_DriveCommunication library
Function blocks
106
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.3.3 L_DCO_ReadDriveParameterString
This FB reads a parameter of "String" data type of a Lenze inverter ("logic" axis") which is connected
to the Controller via a bus system and provides this to the application.
Inputs
xError
BOOL
Error status output
TRUE During the processing an error has occurred
FALSE No error
eError
L_DCO_Error
Error number
dwData
DWORD
Read parameter value
byNrOfByte
BYTE
Length of the read value
Identifier/data type Information/possible settings
Function library: L_DCO_DriveCommunication
Runtime software licence: LPC 1x00 MPC 1x00 MPC 2xx0 MPC 3x00
L_DCO_ReadDriveParameterString
L_DCO_AXIS_REF_BASE ⎯ Axis xDone ⎯ BOOL
BOOL ⎯ xExecute xBusy ⎯ BOOL
WORD ⎯ wIndex xError ⎯ BOOL
BYTE ⎯ bySubIndex eError ⎯ L_DCO_Error
BOOL ⎯ xUseIndexAsParam sValue ⎯ STRING
byNrOfByte ⎯ BYTE
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 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.
wIndex
WORD
Index of the parameter to be read
•If xUseIndexAsParam = TRUE: Indication of the parameter/code number
bySubIndex
BYTE
Subindex of the parameter to be read
xUseIndexAsParam
BOOL
FALSE Selection indices according to CANopen
TRUE Selection indices according to Lenze parameters.
• The value given at wIndex is interpreted as parameter/code
number.
Kommentare zu diesen Handbüchern