Control technology | ethercat communication manual – Lenze EtherCAT control technology User Manual
Page 97
DMS 3.1 EN 01/2011 TD17
L
97
Control technology | EtherCAT communication manual
EtherCAT function libraries
Function blocks/functions required for a »PLC Designer« project (overview)
9.2
Function blocks/functions required for a »PLC Designer« project (overview)
Note!
Use the function blocks and functions of the function library AtEm.lib only if the
master is configured completely. Otherwise it can lead to instabilities of the
control system. A check of the master configuration can be executed with the
function.
Function library
Function block (FB) / function (FUN)
SM_Ethercat.lib
ECATDiagnostic (FB) ( 113)
ResetMasterStatus (FB) ( 114)
SMC_ETCErrorString (FUN) ( 115)
L_ECAT_ReadErrCnt (FB) ( 116)
L_ECAT_ResetErrCnt (FB) ( 117)
AtEm.lib
ecatCoeSdoDownloadReq (FB) ( 122)
ecatCoeSdoUploadReq (FB) ( 123)
ecatGetMasterState (FUN) ( 105)
ecatGetNumConfiguredSlaves (FUN) ( 112)
ecatGetNumConnectedSlaves (FUN) ( 113)
ecatGetSlaveId (FUN) ( 109)
ecatGetSlaveIdAtPosition (FUN) ( 110)
ecatGetSlaveProp (FUN) ( 111)
ecatGetSlaveState (FUN) ( 106)
ecatGetSlaveStateAsync (FB) ( 107)
ecatMasterIsConfigured (FUN) ( 108)
ecatSetMasterStateAsync (FB) ( 102)
ecatSetSlaveStateAsync (FB) ( 103)
ecatStartAsync (FB) ( 100)
ecatStopAsync (FB) ( 101)
The global EtherCAT master structure ECAT_MASTER ( 118)