9function library l_iodrvethercat.lib – Lenze EtherCAT Controller-based Automation User Manual

Page 128

Advertising
background image

9

Function library L_IODrvEtherCAT.lib

9.2

CoE Interface

128

Lenze · Controller-based Automation · EtherCAT® Communication Manual · DMS 6.4 EN · 04/2014 · TD17

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Outputs (VAR_OUTPUT)

Identifier/data type

Meaning/possible settings

xDone

BOOL

• TRUE: An action has been executed successfully.

• FALSE: No action active / action is still being executed.

xBusy

BOOL

• TRUE: An action is currently being executed.

• FALSE: No action active

xError

BOOL

• TRUE: An error has occurred.

• FALSE: No error

eErrorCode

L_ETC_ERRORCODE

Error code of the incorrectly executed action (xError = TRUE).

General error codes (L_ETC_ERRORCODE) ( 183)

SDO abort codes ( 195)

udiSdoAbort

UDINT

If a read request (upload) from the slave or master is rejected with an error, here the

CANopen abort code is returned.

abyData

ARRAY [0..3] OF BYTE

Memory buffer with the value to be written.

szDataRead

CAA_SIZE

Number of bytes for the read request (upload) that is actually read

Advertising