EtherCAT PDO Receive | EtherCAT receive variable | receive all signals at once (demux later)

4 ビュー (過去 30 日間)
Rolf
Rolf 2018 年 8 月 16 日
回答済み: Diego Kuratli 2018 年 8 月 26 日
For SLRT (Simulink Realtime) I use "EtherCAT PDO Receive" to read out a specific signal. For data-logging, I would like to save all signals send to SLRT (which are 30+ signals). Of course I could read them by creating 30+ separate "EtherCAT PDO Receive" and manually select each signal one by one (and afterwards mux and use a FileScope to save). However, this is a very prolonged and error prone process. There must be a better way.
How do I receive all signals at once? Which blocks should I use?
Thanks!
My release: MATLAB Version 9.3 (R2017b), Simulink Version 9.0 (R2017b), Simulink Real-Time Version 6.7 (R2017b).

回答 (1 件)

Diego Kuratli
Diego Kuratli 2018 年 8 月 26 日
The EtherCAT blocks in SLRT read the information provided by the EtherCAT Network Information (ENI) XML file. If you want to combine signals, you should modify the ENI file.

製品


リリース

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by