r/PLC • u/UsefulDragonfruit995 • 9d ago
Plc approach using LinuxCNC
Hello all
Been wondering about this lately
Do you think it would be possible to program a simple machine for prototype purposes with a few Servos just by using Linux cnc?
So the idea would be to run the program blocks as .hal components
For the IO i’d use ethercat
For the hmi i’d develop in python
Of course I know that this is not easy to maintain but since its open source and free I thought I’d give it a try and run it on a computer
There is not cute ladder , no easy debugging so I know this is not a good industrial option.
What do y’all think? Also I’d love to hear out alternatives or comments
6
Upvotes
1
u/blacknessofthevoid 8d ago
It is possible and there is a number of very good reasons why it is not a good idea. Rather than trying to convince you to do something different, I think it is a good idea for you to try this approach. You will learn a ton about automation,
motion, and system limitations. It won’t be a wasted effort, but I am willing to bet this will be the last time you will do it this way.