Simple EtherCAT Master for Simulink Windows Desktop
The example Simple EtherCAT Master Driver Block SFunctions for Simulink Desktop (Windows) shows basic usage of the Simple Open EtherCAT Master (SOEM) library by transferring 32 bytes of input and output PDO data with an EtherCAT Slave device. The example models are to be run in Normal or Accelerator mode on Windows Desktop. The first example model uses a self made real-time execution Sfunction block where sample time is synchronized based on the slave distributed clock. The second example model uses the real-time execution block of the Simulink Desktop Real-Time Toolbox, which is more accurate and robust, but does not sync with the slave distributed clock. Note that External mode is not supported. Both example models were tested to transfer/receive 32 bytes of PDO data with with an Hilscher NXHAT52-RTE slave running on a Raspberry Pi.
Citar como
Ivo Houtzager (2024). Simple EtherCAT Master for Simulink Windows Desktop (https://github.com/iwoodsawyer/soem_desktop_block/releases/tag/v1.0.1), GitHub. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Agradecimientos
Inspirado por: Simple EtherCAT Master Block SFunction for Raspberry Pi, netHAT EtherCAT Slave Block SFunction for Raspberry Pi, Simulink Block for Real Time Execution
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.1 | See release notes for this release on GitHub: https://github.com/iwoodsawyer/soem_desktop_block/releases/tag/v1.0.1 |
||
1.0.0 |