MATLAB Answers

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

조회 수: 3(최근 30일)
Rolf
Rolf 16 Aug 2018
답변: Diego Kuratli 26 Aug 2018
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).

  댓글 수: 0

댓글을 달려면 로그인하십시오.

답변(1개)

Diego Kuratli
Diego Kuratli 26 Aug 2018
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.

  댓글 수: 0

댓글을 달려면 로그인하십시오.

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by