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
Kang
 
Will this version support structure and array data monitoring and forcing value in debug mode? I have not yet seen any related release information regarding this topic.
 
I can see that you remove beta in 4.1.0, which means it would be stable enough for using, right?
Reply 0 0
thiagoralves
Yes for all your questions! You can download it from here https://openplc.discussion.community/post/private-v4-1-0-release-13742179?trail=15
 
As said in the topic, this version still has bugs (especially with structure forcing), so it is still in beta. But the purpose is that the community helps us in this private beta to capture all possible bugs so we can release the most stable version there is
Reply 0 0
hjbleier
thiagoralves is there a plan to support BACnet and OPC-UA along side Modbus just like Codesys does? I have already been contributing monthly via the patreon, dude if you guys get OPC-UA natively like Codesys that alone would be huge. In codesys all you got to do is define all of your variable like normal then at the end you just select add objects then symbols and click Suppot OPC UA features and you got a running OPC-UA server on the PLC. If you can get OPC-UA setup like that and give an option to do BACnet like Codesys Bacnet SL, dude name the price you want monthly on patreon!
Reply 0 0
thiagoralves
@hjbleier Hey man! Yeah, OPC-UA is coming to the runtime v4!! Not sure about BACnet though. It might come in the future as well. We have some other fieldbus priorities at the moment to get remote IO support (EtherNet/IP and EtherCAT).
Reply 2 0
hjbleier
@hjbleier Hey man! Yeah, OPC-UA is coming to the runtime v4!! Not sure about BACnet though. It might come in the future as well. We have some other fieldbus priorities at the moment to get remote IO support (EtherNet/IP and EtherCAT).
Sweet! Yeah BACnet will be huge for integrating with BMS systems, but yes I agree OPC-UA, EtherNet/IP, EtherCAT, and ProfiNet are way more important for PLCs. Keep up the awesome work, I love the new editor it is so nice and runs great on Linux. Since 4.0.3beta I have been using it on all of my projects now. I love it! I like the ability to jump on any modern computer regardless of OS and I can just open my projects right up is so amazing. Thank you to everyone that has put work into making all of this happen.
Reply 1 0
danielptr
Hi! Will there be an option to debug the program (view variables, animated rungs) without the OpenPLC Runtime webserver? I understand that the base architecture of the V4 editor is different than the V3, but I liked how straightforward the simulation process was in the earlier version.
Reply 0 0
thiagoralves
Hi! Will there be an option to debug the program (view variables, animated rungs) without the OpenPLC Runtime webserver? I understand that the base architecture of the V4 editor is different than the V3, but I liked how straightforward the simulation process was in the earlier version.
I plan on adding simulation, but given the v4 architecture, it is significantly harder to add it than it was on v3. The v4 architecture is web based, so the best way to have a "built-in simulation" is by having a web-based runtime as well, which means we will have to write yet another runtime just for the simulation.
Reply 1 0
thiagoralves
Sweet! Yeah BACnet will be huge for integrating with BMS systems, but yes I agree OPC-UA, EtherNet/IP, EtherCAT, and ProfiNet are way more important for PLCs. Keep up the awesome work, I love the new editor it is so nice and runs great on Linux. Since 4.0.3beta I have been using it on all of my projects now. I love it! I like the ability to jump on any modern computer regardless of OS and I can just open my projects right up is so amazing. Thank you to everyone that has put work into making all of this happen.
Thanks @hjbleier !! I'm glad you're enjoying the new v4 editor. We are enjoying building it as well, and I honestly believe that this is becoming the best PLC editor ever, even among commercial IDEs. Now that you've mentioned the fact that you love how it works on all OSes the same way, I believe you will get even more excited with this new thing we are building. Check it out:
 
The Autonomy Edge is a new platform that allows users to collaborate on PLC projects, share PLC projects and program PLCs using just a browser. It is still a work-in-progress and is not ready for the public yet (well, this is the first time I'm "announcing" it publicly), but I would love if you guys check it out and provide your opinions on it. You can upload the projects you've been working on and then work remotely from any device with a browser 🙂
Reply 2 0
Kang
 
I can see that editor V4 is using JavaScript instead of Python like in editor V3.
Can I know the reason why you changed the coding language?
Reply 0 0
thiagoralves
 
I can see that editor V4 is using JavaScript instead of Python like in editor V3.
Can I know the reason why you changed the coding language?
It just made sense to us. Python was not built for creating GUIs. There are a lot of issues on v3 that are inherently connected to Python and wxPython. Instead of fighting with that trying to make it work, we decided to rewrite everything from scratch on v4 using a more suitable platform for GUI and web development. The bonus that came with that choice is that the editor now runs perfectly fine on macOS, Windows, Linux, and any browser 🙂
Reply 3 0
reim
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.
Hi,
 
thank you for your great work on OpenPLC!
 
Here in Germany, SFC is very common in industrial control, and at our vocational school we use OpenPLC 3 as a PLC in class. SFC is a regular part of our curriculum.
I would be very happy if SFC could be supported in a future OpenPLC 4.x release, whenever it fits into your plans.
 
Thanks again for all your efforts.
 
H.R.
 
Reply 2 0
thiagoralves
Thanks H.R. I also appreciate SFC, so I’m holding it a bit because once we implement it, I want it to be the best SFC editor ever made 🙂
Reply 1 0
KevinLi
@thiagoralves Hi Thiagoralves, First of all, thank you very much for your work and selfless dedication. I have also learned a lot of knowledge in this project, and now I have a small request that you can consider: (1) adding variable comments display in the programming interface, so that programming work can be more clear when there are many variables, like the following (displaying comments directly near variables or placing the cursor on variables can also be realistic) (2) The current use of global variables is somewhat complex, and after being defined in the resource file, they need to be declared in the subroutine. I am not sure if there is a good way to simplify the use of all variables. I hope to receive your reply, thank you!1.jpg2.jpg
Reply 0 0
alfredogerman3
Excellent work Thiago & everyone!!
 
Looking forward to testing it, cheers!!!
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.

@Pedro Coimbra Finally this pyramid issue is now fixed!!

Check the screenshot below:
 
Screenshot 2025-12-03 at 3.20.20 PM.png
 
You can also test it on our web editor at Autonomy Edge (https://autonomy-edge.com).
Reply 2 0
Reply