EtherCAT Testing?
- Todd Zuercher
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 4984
- Thank you received: 1453
10 Feb 2025 14:58 #321161
by Todd Zuercher
EtherCAT Testing? was created by Todd Zuercher
Is it possible to do any useful testing of EtherCAT hardware with a virtual machine running Linuxcnc?
I fully understand that Linuxcnc can't run with any realtime capabilities within a virtual machine. But can an Ethercat configuration be set up, configured and connect to a real Ethercat device for testing purposes? I don't want to set up and run a machine this way. I would just like to see if I can read some IO modules, maybe configure/talk a drive and send it a command for bench testing.
What all could you expect this to do? What things would be expected to not work at all? What might sort of work? Can Linuxcnc communicate with a Beckhoff PLC if so to what extent?
I fully understand that Linuxcnc can't run with any realtime capabilities within a virtual machine. But can an Ethercat configuration be set up, configured and connect to a real Ethercat device for testing purposes? I don't want to set up and run a machine this way. I would just like to see if I can read some IO modules, maybe configure/talk a drive and send it a command for bench testing.
What all could you expect this to do? What things would be expected to not work at all? What might sort of work? Can Linuxcnc communicate with a Beckhoff PLC if so to what extent?
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 615
- Thank you received: 200
10 Feb 2025 16:05 #321168
by Hakan
Replied by Hakan on topic EtherCAT Testing?
I tend to think that EtherCAT doesn't add any timing constraints.
Worthwhile to do a test. But you can't run a realtime linux kernel in a virtual machine, can you?
Worthwhile to do a test. But you can't run a realtime linux kernel in a virtual machine, can you?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 4984
- Thank you received: 1453
10 Feb 2025 16:46 #321172
by Todd Zuercher
Replied by Todd Zuercher on topic EtherCAT Testing?
The real time kernels run, they just don't "work" as in the latency for real time tasks is about the same as running a non real time kernel.
Please Log in or Create an account to join the conversation.
- onceloved
-
- Offline
- Premium Member
-
Less
More
- Posts: 116
- Thank you received: 53
11 Feb 2025 10:40 #321223
by onceloved
Replied by onceloved on topic EtherCAT Testing?
If it is just for testing, you can just set up the network interface in the virtual machine.
Please Log in or Create an account to join the conversation.
Time to create page: 0.094 seconds