Main Content

EtherCAT Get Scanbus Error Data

Detects when an EtherCAT device in the model is not responding

Since R2022b

  • EtherCAT Get Scanbus Error Data block

Simulink Real-Time / EtherCAT


The EtherCAT Get Scanbus Error Data block detects when a device in the model is not responding, provides error output to stop the model, and generates log output that indicates which device is not responding. The log message provides detailed information about where the EtherCAT network does not match the ENI file. The log message indicates either that there is a missing device at a network position or that a different device is found in a network position than is specified in the ENI for that position. Only the first mismatch found is reported. The block Error output can be used to trigger the Stop Simulation block.



expand all

The block scans input from the EtherCAT Get Notifications block.


expand all

One boolean output that is true for one cycle following a notification for a scanbus error.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using Simulink® Coder™.

Version History

Introduced in R2022b