Simulink Real-Time non-Speedgoat Machine EtherCAT PCIbus selection
    8 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hi, i'm trying to control a motor through EtherCAT communication.
I'm using Matlab2020a and I think I successfully setup my target PC(IMB-155b motherboard) which is non-speedgoat machine (as it passed slrttest)
But the problem is that it cannot find the ethernet controller for etherCAT communication.
Using getPCIInfo, I checked the list of ethernet controllers, and results are as follows:
>> tg.getPCIInfo('ethernet')
List of installed PCI devices:
Realtek                  RTL8168B
     Bus 2, Slot 0, Function 0, IRQ 3
     Ethernet controller
     VendorID 0x10ec, DeviceID 0x8168, SubVendorID 0x1849, SubDeviceID 0x8168
     Released in: R2011b
     Notes: Realtek Gigabit Ethernet series
Realtek                  RTL8168B
     Bus 3, Slot 0, Function 0, IRQ 16
     Ethernet controller
     VendorID 0x10ec, DeviceID 0x8168, SubVendorID 0x1849, SubDeviceID 0x8168
     Released in: R2011b
     Notes: Realtek Gigabit Ethernet series
The second ethernet controller(3,0,0) is used for host-target communication.
I want to use the first ethernetcontroller(2,0,0) for etherCAT communication, so I set my etherCAT init block like below and built simple block diagram.


But it gives error message:
Execution started (sample time: 0.010000)
Error: No valid Ethernet board found at bus 2 slot 0 function 0
Error: Execution cannot be started
Initializing application...
Error: EtherCAT Init: Ethernet port at [2,0,0] in use by raw Ethernet.
Error: Execution cannot be started
Since I'm new to using simulink real-time, I must be missing something.
Can I get help?
Thanks.
4 Commenti
Risposta accettata
  Gobiha Duraisamy
    
 il 18 Ott 2022
        Starting from R2018a, Simulink Real-Time only supports Speedgoat target machines. Besides Realtek Ethernet series are not supported for EtherCAT communication even prior to R2017b. Refer to the following documentation to see the list of compatible Ethernet chip with EtherCAT: 
0 Commenti
Più risposte (1)
  Stefano
 il 18 Lug 2023
        Hi,
you might have two main problems:
- Downgrade your Matlab to R2017b
- EtherCAT is only compatible with Intel chipsets. You have two NIC with Realtek chipsets. Try to install some Intel I8254X chips.
0 Commenti
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




