6 functions for the network management, 1 ecatmasterisconfigured (fun), Functions for the network management – Lenze EtherCAT control technology User Manual
Page 108: Ecatmasterisconfigured (fun), Ecatmasterisconfigured (fun) ( 108), Control technology | ethercat communication manual

Control technology | EtherCAT communication manual
EtherCAT function libraries
Functions for the network management
108
L
DMS 3.1 EN 01/2011 TD17
9.6
Functions for the network management
The functions described in the following support the network management:
ecatGetSlaveIdAtPosition (FUN)
9.6.1
ecatMasterIsConfigured (FUN)
Inputs (VAR_INPUT)
Return value
Example
Function:
This function supplies TRUE if the master has been fully configured,
and FALSE, if not.
Library:
AtEm.lib
Visualisation:
-
Note!
This function should be evaluated at the start of every cycle requiring EtherCAT
functions. If the master has not been fully configured and functions/function
blocks of an EtherCAT function library are called, the control system may become
unstable.
Identifier/data type
Meaning/possible settings
bDummy
BOOL
No function
Identifier/data type
Meaning/possible settings
ecatMasterIsConfigured
BOOL
TRUE: The master was configured correctly/successfully.
FALSE: The master was not configured correctly/successfully.
IF (ecatMasterIsConfigured(TRUE) = FALSE) THEN
RETURN;
END_IF