Built a free PLC code explainer tool — looking for feedback

I decided to build something I've wanted for a while — a free tool that explains PLC code in plain English.

You paste in structured text, upload an L5X export, or drop in a screenshot of a ladder routine, and it gives you an explanation of what the code does along with flagged issues. Supports TIA Portal, Studio 5000, and Omron Sysmac.

One thing I added that I haven't seen elsewhere: a toggle between programmer-level explanation and maintenance tech language. The idea being that the person who needs to understand a routine isn't always the person who wrote it.

I'm an automation guy, not a software developer, so I'm confident in the domain knowledge behind it but want to know where it falls down in practice. Would appreciate people throwing real code at it and telling me what happens — especially complex routines, motion code, nested state machines, anything with indirect addressing.


No account needed, free to use. Honest feedback welcome.
 
Very good, however, in my IDE (Mitsubishi GXWorks2)the variables are configured in a seperate sheet for ST so comes up with possible errors but that is expected. The other comments are valid to an extent as for testing purposes (and quickness) I hard coded the level etc. on first scan it picked these up as normally it would be a variable value passed from an analogue signal, not sure how useful it is if you are the original coder as you know what it does but could be useful if trying to debug someone elses code.
 
Thanks for testing it with GXWorks2 — that's really useful feedback. The variable declaration issue makes sense, the tool is only seeing the ST code without the separate variable sheet so it flags undeclared variables as potential errors. That's a known limitation when the declaration context is split across files rather than inline.

You've nailed the use case exactly — it's most valuable when you're looking at someone else's code rather than your own. Debugging an unfamiliar program, onboarding to a new project, or trying to understand what a contractor actually delivered are the sweet spots.

Mitsubishi isn't on the official platform list yet but I'll add it — clearly it handles the ST well enough to be useful. Appreciated.
 
It sort of worked for the variable declarations as I had put them in comments so others could see what they were as I once posted the code on here knowing that those declarations needed to be explained so it did a pretty good job reading the commented lines as well.
 
I tried with a 30 rung ladder in L5x and it said "overloaded". The other short snippet I gave it basically just read the tags and said "when this turns on it turns on that after timer runs" sort of stuff, which is probably what maintenance would be looking for. So I guess that's a win?
 

Similar Topics

Hi all. Software test engineer here. I've never been the one called out to a faulted machine and I'm not going to pretend otherwise. I'm also not...
27
Replies
908
Views
I am using the XGB series PLC with the built-in High Speed Counter function configured in 2-Phase x4 mode with a 1000 PPR quadrature encoder. I...
4
Replies
373
Views
Quoting a project to control a heat chamber with steam injection. It has 3 outputs (steam valve, steam generator, blower) and 4 analog inputs for...
7
Replies
2,153
Views
I am a pro bono engineer working with students at a university to do senior projects. I have had PLC experience with Wago and old Allen-Bradley...
2
Replies
2,052
Views
Dear all, what type of built in port does fx2n-80mr plc has? i mean is it rs232, r rs422 or rs485. and which module should i use to convert to...
5
Replies
1,076
Views
Top