5. CONFIGURATION
Figure 97: EtherCAT Devices Search Dialog
5.5.12.2. Diagnostic Variables
By inserting an EtherCAT Master and Slave, a diagnostic variable is added for the device in the GVL System_Diagnostics.
This variable provides information on the device status. There are two types of variables, one for the EtherCAT Master and
one for the EtherCAT slaves. Each variable has specific information about the device. The diagnostic and commands supplied
are described in the following tables.
Variable
DG_EtherCAT_Master.*
Type Possible Values Description
tDiag.
bRunning
BOOL FALSE or TRUE
If this variable is TRUE, the transfer of all
configuration parameters was successfully
completed without errors found and the bus
was not stopped by user command. Com-
munication is running.
tDiag.
bError
BOOL FALSE or TRUE
This variable will be TRUE if an error is
detected during startup of the EtherCAT
stack or during operation, communication
with the slaves is stopped if any more mes-
sages can be received (e.g. due to a fault
in the cable). The cause of the error can be
discovered with the aid of the logs list via
error STRING.
tDiag.
eLastErrorCode
ETC_LASTERROR -
The information regarding the possible val-
ues for this diagnostic, as well as it descrip-
tion, can be found in Table 134.
174