Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual

Page 124

Advertising
background image

Control technology | EtherCAT communication manual

EtherCAT function libraries

Function blocks for CANopen over EtherCAT (CoE)

124

L

DMS 3.1 EN 01/2011 TD17

Outputs (VAR_OUTPUT)

dwDataLen

DWORD

Number of the data bytes to be read

pbyData

POINTER TO BYTE

Pointer to the service data object (SDO) to be written

pdwOutDataLen

POINTER TO DWORD

Size of the memory buffer transmitted under pByData. The memory buffer has to be

great enough to contain the object read.

Identifier/data type

Meaning/possible settings

bDone

BOOL

FALSE: Upload is active.

TRUE: Upload has been executed.

bBusy

BOOL

FALSE: Upload is not active.

TRUE: Upload is active.

bError

BOOL

FALSE: No error

TRUE: An error has occurred.

dwErrorCode

DWORD

Display of a hexadecimal error code (see also

System error messages ( 157)

) if the

upload has failed (bError = TRUE).

Identifier/data type

Meaning/possible settings

Advertising