xPC Target Freezes when used with MAXON MAXPOS / EPOS 3 Controllers
2 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I am using ET9000 EtherCAT Configurator ( and / or TWINCAT 3.1 ) to generate ENI files for use with xPC Target running SIMULINK Real Time. My network consists of:
-- Qy 01 , Beckhoff EK1101 -- Qty 04, MAXON MAXPOS Controllers ( I am also using EPOS3 Controllers )
When I use only one controller, everything works fine. I am able to generate the ENI file and use the EtherCAT ( init, PDO Receive and PDO Transmit) blocks in SIMULINK to send and receive data to the MAXPOS / EPOS3 Controllers.
However, as soon as I use more than one controllers on the network, I am able to generate the configuration file, compile the simulink model and load it to the target PC. However, the target PC just freezes after a few seconds without any error being displayed.
Any help would be appreciated.
Regards
3 件のコメント
wjchen84
2016 年 10 月 21 日
Hi alpha,
We met the same problem here. The programs worked for one Maxon motor well, but Target PC freezed when two Maxon motors were connected.
Our setup consists of: 2 maxon MAXPOS controllers and MATLAB 2015a/b. We also used ET9000 EtherCAT Configurator for creating the EtherCAT ENI file.
We are wondering if you have solved your problem now. If yes, would you please provide any solution to the problem?
Thank you very much!
回答 (1 件)
wjchen84
2016 年 10 月 27 日
From the MATLAB support team, it seems this is a known bug that they have fixed from R2016a. Although the bug says "it happens when there are more than 30 slaves", it seems it also happens when there are only two slaves (like in this case).
The bug fix for versions eariler than R2016a can be found from this link:
We have applied the bug fix and the problem is solved successfully.
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!