
The L_DCO_DriveCommunication library
Unions
112
Lenze · Commissioning of Lenze drives · 1.3 EN - 06/2014
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
12.4.2 L_DCO_TransferData
The L_DCO_TransferData structure describes a request for reading/writing a parameter.
• An array [1..x] OF L_DCO_TransferData can be used to read or write several parameters of a
drive by means of the L_DCO_TransferDriveParameter function block .
12.5 Unions
12.5.1 L_DCO_ConvertData
Union for different access possibilities to a 32-bit memory area.
Component Data type Initialisation Description
wIndex WORD 0 Index number of the parameter to be processed
bySubIndex BYTE 0 Subindex of the parameter to be processed
xWriteAccess BOOL FALSE Write/or read access
FALSE Read access
TRUE Write access
xEnable BOOL 0 Activation of the parameter request
FALSE Parameter request is processed
TRUE Parameter request is ignored
byNrOfByte BYTE 0 Number of the transmitted/read bytes
dwData DWORD 0 Transmitted/read data
Component Data type Initialisation Description
abData ARRAY OF BYTE Transmitted/read data
awData ARRAY OF WORD Transmitted/read data
dwData DWORD Transmitted/read data
Comentários a estes Manuais