I'm looking at refreshing in ladder logic to support some PLC programming. After years of programming on the PC ladder logic feels like a steep backwards. Are there any more high level options? I'm hoping that there might be a tool that compiles to ladder logic. I'm also suspecting that this is far too niche.
There’s a Pascal like language called structured text[0], but that may not be exactly what you’re working for. I hear it’s not used much in production and the tooling for the cheaper hobbyist-tier PLCs don’t tend to support it.
Structured Text is one of the programming languages at Part 3 of the International Standard IEC 61131 for Programmable Logic Controllers [0]. In my (european) experience it is commonly used in production.
Later, IEC 61499 for Distributed Systems [1] extended the IEC 61131 with (among others) event-driven control.
On the open source ecosystem, Eclipse 4diac [2] might be interesting as it provides a full PLC framework including IDE and Runtime Environment.
[0]https://en.m.wikipedia.org/wiki/Structured_text