I worked on Sinumerik CNC systems. Those systems have a postion control cycle. Typical control cycle for Sinumerik CNC is 250us. CNC task runs on Linux NCU controller and to carry on other tasks there is a PLC.
Now I am working on Codesys RTE Softmotion CNC project. System works on Windows 10 Intel-i5 processor Industrial PC which has 1.6GHz base frequency.
Problem here, all CNC and logic tasks works on same controller and once we proceed on the project, it is getting heavy and it affects ethercat task cycle time which runs the CNC axis servos and without completing half of the coding cycle time already reached 350us.
That means cycle time of the RTE already exceeded the cycle time of Sinumerik CNC system.
I am not sure cycle time will reduce under 250us once we finish the project even we get more powerful CPU.
What could be the possible solution? Better hardware or incorrect Windows/Bios settings or poor code optimization.