3 l_etc_iocontrol (fun), L_etc_iocontrol (fun), L_etc_iocontrol (fun) ( 139) – Lenze EtherCAT Controller-based Automation User Manual

Page 139: 9function library l_iodrvethercat.lib

Advertising
background image

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

139

9

Function library L_IODrvEtherCAT.lib

9.3

Device Interface

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

9.3.3

L_ETC_IoControl (FUN)

This function transmits a "IoControl" to the EtherCAT master stack.
This function is only to be used Lenze-internally!

Inputs (VAR_INPUT)

Return value

L_ETC_IoControl

DWORD  dwCode

L_ETC_IoControl  DWORD

POINTER TO

L_ETC_IOCTLOPARMS

pParms

Identifier/data type

Meaning/possible settings

dwCode

DWORD

The EtherCAT address of the slave for which the reference is to be returned.

pParms

POINTER TO

L_ETC_IOCTLOPARMS

Reference to input and output buffers of the

L_ETC_IOCTLOPARMS ( 157)

type

Identifier/data type

Meaning/possible settings

L_ETC_IoControl

DWORD

The return value of this function corresponds to the error code (L_ETC_ERRORCODE).

General error codes (L_ETC_ERRORCODE) ( 183)

Advertising