Error checking
To check the communication status of a specific slave use the name of the slave as in the project
tree and the variable wState.
BFI_ETC_1.wState
An EtherCAT slave up and running should be in state 8.
Links
For more details of how to configure EtherCAT with the X2 series use the following links.
X2 Series and BFI
https://www.beijerelectronics.se/sv-SE/Support/Help___online?docId=68117
X2 series and G-series I/O
https://www.beijerelectronics.se/sv-SE/Support/Help___online?docId=68109
X2 series and BSD
https://www.beijerelectronics.se/sv-SE/Support/Help___online?docId=68088