Need help for Host-Target EtherCAT connection in Simulink Real Time (2014a)

2 ビュー (過去 30 日間)
Chuan-Shen Chen
Chuan-Shen Chen 2014 年 7 月 28 日
回答済み: Chuan-Shen Chen 2014 年 9 月 27 日
Dear friends, I am new to EtherCAT communication. I am building a motion control system with 3 EtherCAT drivers (slaves) using Simulink Real Time.
I need help to connect the host-target-(EtherCAT slave stations). As I understand from the Simulink Realtime manual, during the Beckhoff configuration phase:
[Host]==(EtherCAT)==[Slave#1]==(EtherCAT)==[Slave#2]==(EtherCAT)==[Slave#3]
and after obtaining the EtherCAT Network Information File (ENI), change the network to
[Host]--(normalthernet)--[Target]==(EtherCAT)==[Slave#1]==(EtherCAT)==[Slave#2])==[Slave#3]
Both the host and the target computers have two network cards for EtherCAT and normal Ethernet respectively.
During the development of the Simulink Real Time Target (xpctarget), do I need to always connect the host, which running Matlab/Simulink, to the EtherCAT network?
Best regards.
Chen

採用された回答

Suneesh
Suneesh 2014 年 7 月 28 日
Simulink requires just the ENI configuration file. In order to generate the config file you need the Beckhoff configurator (or similar software) which needs to be connected to the slave network. It is only for this reason that you are required to connect the host to the slave network.

その他の回答 (1 件)

Chuan-Shen Chen
Chuan-Shen Chen 2014 年 9 月 27 日
Thank you. Suneesh. Do you suggest an alternative to Beckhoff configurator in order to generate the ENI file. Free software will be preferred.

Community Treasure Hunt

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

Start Hunting!

Translated by