Serhioromano
Member
I am developing a PLC. The IDE for my PLC will be VS Code. I want my PLC to support IEC-61131-3 but only one language with is ST. Actually I already have a VS Code extension published for ST support. My PLC will be based on board like Raspberry PI but that will be Оrange PI.
Of course, I'll have to compile or better say analyze ST code and convert it to another language. Of course, if I would flash CPU and make my PLC based on Atmel chips for Arduino, I would have no other options but convert my ST code to C/C++ and then compile it to BIN file to download to CPU.
But my PLC is Linux based, I can use any language I want. So I am thinking would it be much simpler to convert ST program to Python for example or even Nodejs. Then I'll have no need for code compilation.
What do you think? Do you think Python will be good? What language would run with minimal resources and with industrial-grade stability?
Of course, I'll have to compile or better say analyze ST code and convert it to another language. Of course, if I would flash CPU and make my PLC based on Atmel chips for Arduino, I would have no other options but convert my ST code to C/C++ and then compile it to BIN file to download to CPU.
But my PLC is Linux based, I can use any language I want. So I am thinking would it be much simpler to convert ST program to Python for example or even Nodejs. Then I'll have no need for code compilation.
What do you think? Do you think Python will be good? What language would run with minimal resources and with industrial-grade stability?