
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:
ecatMasterIsConfigured (FUN)
( 108)
ecatGetSlaveId (FUN) ( 109)
ecatGetSlaveIdAtPosition (FUN) ( 110)
ecatGetSlaveProp (FUN) ( 111)
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
Komentarze do niniejszej Instrukcji