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

1 次查看(过去 30 天)
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