2 l_etc_getslave (fun), L_etc_getslave (fun), L_etc_getslave (fun) ( 138) – Lenze EtherCAT Controller-based Automation User Manual

Page 138: 9function library l_iodrvethercat.lib

Advertising
background image

9

Function library L_IODrvEtherCAT.lib

9.3

Device Interface

138

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

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

9.3.2

L_ETC_GetSlave (FUN)

On the basis of the EtherCAT address, this function provides the reference to the slave instance of

the

ETCSlave (FB)

( 137)

type.

Inputs (VAR_INPUT)

Return value

L_ETC_GetSlave

UINT  uiDevice

L_ETC_GetSlave  POINTER TO ETCSlave

Identifier/data type

Meaning/possible settings

uiDevice

UINT

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

Identifier/data type

Meaning/possible settings

L_ETC_GetSlave

POINTER TO

ETCSlave

Reference to the EtherCAT slave object by the EtherCAT address provided by

uiDevice.

Advertising