thiagoralves
We’re getting ready to move from OpenPLC Editor 4.0.6-beta to 4.1.0, and this one is huge. We’re officially dropping the “beta”, and for good reason. OpenPLC Editor 4.1.0 brings a ton of new features that make it our most capable release yet. In fact, OpenPLC is doing things that even commercial PLC IDEs haven’t achieved yet. And we’re doing it completely open source and free for everyone!
 
Here's what's coming:
 
Python Function Blocks
Yes, Python! For the first time in a PLC IDE, you can write Function Blocks in Python alongside your IEC code. We’ve also built a full smart autocomplete and static analysis (powered by Pyright) right into the editor. Python blocks run asynchronously, so your PLC core keeps its real-time performance while you benefit from the power of Python for data, analytics, APIs, and more.
 
C/C++ Function Blocks with Arduino API support
Write your Function Blocks in C or C++ and, if you’re targeting Arduino, you can use the entire Arduino API (Serial.print(), digital I/O, everything). These blocks run natively inside the runtime core, with full real-time performance.
 
Built-in REST API integration
The OpenPLC Runtime v3 was upgraded and received a backport of the OpenPLC Runtime v4 REST API (the v4 runtime is not available to the public yet). This means you can now upload programs, start/stop the PLC, and view runtime logs directly from the editor. No need to export .st files or login on the browser anymore to make changes to your programs.
 
Real-Time Debugger
Visualize your PLC logic live with animated rungs, real-time variable watch, and live plotting of signal values. Works across all targets, from microcontrollers to Linux and Windows runtimes.
 
We’re incredibly proud of how far the OpenPLC ecosystem has come. This release takes it to another level, with a platform that rivals (and in some areas surpasses) commercial PLC systems. And it's all open. All free. Stay tuned!
 
Screenshot 2025-10-23 at 12.23.04 PM.png
 
Screenshot 2025-10-23 at 12.24.54 PM.png
 
Screenshot 2025-10-23 at 12.33.45 PM.png
 
Screenshot 2025-10-23 at 12.38.30 PM.png
 
Screenshot 2025-10-23 at 12.47.54 PM.png
Reply 14 0
thiagoralves
That's awesome! Rest assured that I'm as excited (if not more) to release this as you guys are excited to get it. Just to be clear, it will take a little while to get EtherCAT on the v4 runtime, but it will come. The v4 runtime is also a complete rewrite, and we built the groundwork to have any type of protocol to be easily attached to it.
Reply 0 0
richw
Is there any kind of ETA for the V4 editor or runtime?
Reply 0 0
thiagoralves
v4 Editor release 4.1.0 is coming early November (early links will be available here for users to help flush bugs out). OpenPLC runtime v4 won't appear before December. Most likely January 2026
Reply 0 0
FutureHorizon
Did you get my PM with the project?
Reply 0 0
thiagoralves
I did, just took a little while to take a look at it, sorry! Thanks for the reminder
Reply 0 0
infopipe
Hi!
Could you provide a (rough) estimation for the release date? I'm planning to use OpenPLC Editor in class, and it would be much easier for the students, if they can use the debugger.
Thanks for the project! I stumbled over it just a few weeks ago and it's great. Really looking forward to using it in class.
Reply 1 0
thiagoralves
v4 Editor release 4.1.0 is coming early November (early links will be available here for users to help flush bugs out). OpenPLC runtime v4 won't appear before December. Most likely January 2026
.
Reply 0 0
infopipe
Great! Thanks for the reply!
Reply 0 0
thiagoralves
I have a question for everyone here. I just made a build that works, but has some bugs that we know of that still need to be fixed. Do you guys want me to put it here for you to start testing or is it better to wait until we clear all the bugs we know of, and then let you guys test it more to find the bugs we couldn't find? Let me know what you think
Reply 0 0
FutureHorizon
Sure, let's see it! :-)
Reply 1 0
Pedro Coimbra
Hello Tiago
First of all, congratulations on the excellent work, it's turning out fantastic.
 
I've been exploring OpenPLC V4 a bit, more specifically the ladder editor. I've come across some strange things that I'll describe now.
 
If I try to make a simple rung, everything seems fine.
Screenshot_20251029_181422.png
 
But if I try to do something more complex, like the example in the image below, which was done with version V3 of OpenPLC and is how most commercial IDEs work, things start to get a bit strange.
Screenshot_20251029_182521.png
 
This is how it looks in OpenPLCV4.
Screenshot_20251029_181323.png
We ended up with an inverted pyramid, doesn't look very good.
 
 
Even more problematic, I couldn't find a way to do the following example.
Screenshot_20251029_183249.png
 
For this, I suggest implementing "branch" elements, as Codesys and other IDEs do.
Screenshot_20251029_184458.png
 
 
I hope this has helped. Keep up the good work. Thank you.
Reply 0 0
thiagoralves
Hi @Pedro Coimbra thanks for the feedback. I'm aware of the inverted pyramid, and that unfortunately is an artifact of the tool we use to draw graphical elements on a web canvas. Obviously there has to be a way to fix this, but it is not straightforward (at least we haven't found an easy solution yet), and not worth the hassle at this time since it is just cosmetic.
 
As for the pulse example, you can draw it like this:
Untitled.png
 
I know it is not the most intuitive, but it works the same. The idea with this ladder is to force people to write less spaghetti code and simplify rungs. But I agree that some improvements could make it even better. I'll look once again on the branching pyramid artifact to see if there is something else we could do that we didn't notice before. And perhaps adding a feature to be able to move branch lines as well instead of just elements could be a good way to redraw the diagram in a simpler way.
Reply 0 0
Pedro Coimbra
Yes, you're right, I could have done it that way, but my point is that V4 takes away some flexibility compared to V3 (Beremiz), which let us do everything, and I saw examples that were a mess.
The example I gave wasn't that complicated, however sometimes we need to create even more complex rungs, and with OpenPLCv4 it becomes difficult to do.
A middle ground between V3 and V4 was great.
One last question:
When will the SFC editor be available?
Reply 0 0
thiagoralves
Yes, I agree. Finding that middle ground between simplicity and capability is hard. There are areas to improve indeed, and we will work towards the perfect balance.
 
As for SFC, well, I love SFC! But unfortunately it is not a very widely used language, so it is lower in our priority for now. It will come in the future, but we don't have a specific date yet.
Reply 1 0
Pedro Coimbra
I use SFC most of the time, only in very simple projects that I don’t.
SFC lets me create a more general state machine and then implement the details in the most convenient language (LD, ST, etc.).
It's also very easy to see how the program was made later on; the program flow is right in front of us.
Debugging in SFC is one of its strengths, especially in maintenance when a fault occurs.
Anyway, I'll wait, I'm patient... 😁
Thank you.
Reply 0 0
Reply