Thank you for your replies.
The Real-Time aspect is of course true, I wonder how bad it would be though, the 500mm/min moves aren't the fastest and I think the µm precision is a lost cause already. image missing /media/kunena/emoticons/laughing.png But to answer your questions:
What physical interface to the computer will you use?
The normal Ethernet Interface of the computer is used. Profinet works with standard Ethernet frames, TCP/IP is also used but only for the configuration of the devices. (Can be done with an external tool)
Do you know the protocol and can program C?
I have access to the Spec, but writing a full Profinet Controller (=Master) would be a massive undertaking. For a first test, I plan to use OPC UA, which has a pretty sophisticated C library available (
Github
).
CodeSYS
would take care of translating between OPC UA <-> Profinet and can be made to run in Realtime.
As for programming C: My skills are a bit rusty, but If the Linux CNC interface isn’t too complicated and on the other side I just need to work with the existing OPC UA library, I think I will manage to get it running.
In general, how do the Interfaces for the Mesa Cards or EtherCat (with Servo drives) work in Linux CNC, are they deeply embedded in the LinuxCNC build or are they more like PlugIns?
Also, does LinuxCNC run the position control loop and the drive runs the velocity control loop? In this case, could LinuxCNC just pass me the velocity set point and I pass back the actual position of each axis?
Thank you for your help so far, it is greatly appreciated.