1 ecatgetnumconfiguredslaves (fun), Ecatgetnumconfiguredslaves (fun), Ecatgetnumconfiguredslaves (fun) ( 112) – Lenze EtherCAT control technology User Manual

Page 112: Control technology | ethercat communication manual

Advertising
background image

Control technology | EtherCAT communication manual

EtherCAT function libraries

Function blocks and functions for diagnosing the network

112

L

DMS 3.1 EN 01/2011 TD17

9.7

Function blocks and functions for diagnosing the network

The function blocks and functions described in the following support the diagnostics of the

network:

ecatGetNumConfiguredSlaves (FUN)

( 112)

ecatGetNumConnectedSlaves (FUN)

( 113)

ECATDiagnostic (FB)

( 113)

ResetMasterStatus (FB)

( 114)

SMC_ETCErrorString (FUN)

( 115)

L_ECAT_ReadErrCnt (FB)

( 116)

L_ECAT_ResetErrCnt (FB)

( 117)

The global EtherCAT master structure ECAT_MASTER

( 118)

9.7.1

ecatGetNumConfiguredSlaves (FUN)

Inputs (VAR_INPUT)

Return value

Function:

This function shows the number of slaves that are configured in the

control configuration file (XML).

Library:

AtEm.lib

Visualisation:

-

Identifier/data type

Meaning/possible settings

dummy

VOID

No function

Identifier/data type

Meaning/possible settings

ecatGetNumConfigured

Slaves

DWORD

Number of slaves configured in the control configuration file (XML)

Advertising