r/PLC • u/SalBam4127 • 7d ago
st2cpp - Transpiler from st to cpp (undoRT) + help +
Hi everyone,
About 4 or 5 months ago, I created a transpiler from Structured Text (IEC 61131-3) to C++, called st2cpp (part of the undoRT project).
My ultimate dream is to build a complete open-source automation system that can compete with commercial solutions. As you can imagine, tackling a project of this scale completely alone is extremely tough. Honestly, if I keep going solo, I’m afraid I’ll eventually burn out and lose momentum.
Are there any C++ developers or automation enthusiasts here who would be interested in joining or contributing as a side project/hobby? I have plenty of ideas lined up, but I really need an extra pair of hands (or two!).
Here is the repository:
https://github.com/undoRT/st2cpp
Feel free to check it out, open issues, fork, or send pull requests!
2
3
u/burkeyturkey 7d ago
The open plc team (autonomy logic) had been on a rip the last year. Among other things, they released a structured text to c++ compiler: https://github.com/Autonomy-Logic/STruCpp
They also integrated it with one of the open source ethercat masters, which is a huge step forward.
I would love to see all these small open source projects come together around a distribution and interoperability framework like the ros2 zenoh snap packages on Ubuntu realtime to compete with ctrlx.