Main Content

EtherCAT

Real-time distributed control with EtherCAT® protocol

Ethernet for Control Automation (EtherCAT) is an open Ethernet network protocol for real-time distributed control. See www.ethercat.org .

To begin, configure the network by using an EtherCAT network configurator, and then load the configuration into the EtherCAT protocol blocks. The blocks connect to Intel® Ethernet boards that support the EtherCAT protocol and are compatible with PCI-standard bus architectures, such as PCI, PCI Express®, and PXI®.

Simulink® Real-Time™ supports the Beckhoff® TwinCAT® configurator and the Acontis EC-Engineer configurator.

For detailed information about the configurators, see the manufacturer documentation ( www.beckhoff.com and www.acontis.com/en/ ). For detailed information about EtherCAT boards, see the manufacturer documentation.

See Modeling EtherCAT Networks.

Functions

slrealtime.EtherCAT.filterNotificationsDisplay EtherCAT notifications in human-readable format (Since R2020b)
slrealtime.EtherCAT.getSignalNamesDisplay EtherCAT notifications in human-readable format (Since R2020b)

Blocks

EtherCAT InitInitialize EtherCAT main device node with data in the EtherCAT Network Information (ENI) file (Since R2020b)
EtherCAT Get EmergencyCollect emergency messages from the EtherCAT bus (Since R2023b)
EtherCAT Get NotificationsCollect notifications from the EtherCAT bus (Since R2020b)
EtherCAT Get Scanbus Error DataDetects when an EtherCAT device in the model is not responding (Since R2022b)
EtherCAT PDO ReceiveReceive data from subordinate device represented by process data object (Since R2020b)
EtherCAT PDO TransmitSend data to subordinate device represented by process data object (Since R2020b)
EtherCAT Sync SDO UploadRead data synchronously from subordinate device represented by service data object (Since R2020b)
EtherCAT Sync SDO DownloadTransmit data synchronously to subordinate device represented by service data object (Since R2020b)
EtherCAT Async SDO UploadRead data asynchronously from subordinate device represented by service data object (Since R2020b)
EtherCAT Async SDO DownloadTransmit data asynchronously to subordinate device represented by service data object (Since R2020b)
EtherCAT Sync SSC/SoE UploadRead data synchronously from subordinate device represented by service data object (Since R2020b)
EtherCAT Sync SSC/SoE DownloadTransmit data synchronously to subordinate device represented by service data object (Since R2020b)
EtherCAT Async SSC/SoE UploadRead data asynchronously from subordinate device represented by service data object (Since R2020b)
EtherCAT Async SSC/SoE DownloadTransmit data asynchronously to subordinate device represented by service data object (Since R2020b)
EtherCAT Get StateGet state of EtherCAT network (Since R2020b)
EtherCAT Set StateSet state of EtherCAT network (Since R2020b)
EtherCAT Get Device StateGet state of EtherCAT network (Since R2021b)
EtherCAT Set Device StateSet state of EtherCAT network (Since R2021b)

Topics

EtherCAT Protocol Models

Reference