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
Jim Warren
This is great news, can't wait to have a play.
Reply 0 0
splinegear
Looking forward to the 4.1 release. Is there any bug tracker to report issues with 4.0.6 is that no longer in play.
I'm guessing https://github.com/thiagoralves/OpenPLC_Editor is the v3 release? or is there a branch that includes the v4 work?
Thanks!
Splinegear
Reply 0 0
thiagoralves
Looking forward to the 4.1 release. Is there any bug tracker to report issues with 4.0.6 is that no longer in play.
I'm guessing https://github.com/thiagoralves/OpenPLC_Editor is the v3 release? or is there a branch that includes the v4 work?
Thanks!
Splinegear
The v4 editor is a complete rewrite, so it has its own repository: https://github.com/Autonomy-Logic/openplc-editor
Reply 1 0
ticoale
Captura de tela 2025-11-01 184828.png
 
na opção ladder o bloco mov, o out esta no lugar do eno, tem outra forma de fazer ?
Reply 0 0
thiagoralves
This is a bug, we are fixing it in the next release
Reply 0 0
ticoale
is possible add function block SCALE ?  
I tried to create a block in ST but it didn't work.
R_A := I_MAX_IN - I_MIN_IN;
R_B := I_MAX_OUT - I_MIN_OUT;
R_C := (I_MIN_IN * I_MAX_OUT) - (I_MAX_IN * I_MIN_OUT);
IF R_B <> 0.0 THEN RESULTADO := ((R_A * IN_PV) + R_C) / R_B;
ELSE
 RESULTADO := 0.0; END_IF;
Reply 0 0
thiagoralves
Yes, you can create function blocks in Structured Text, or any other IEC language
Reply 0 0
ticoale
hi thiagoalves, I have a project in the Arduino IDE, Modbus RTU, and I have a reset button that, when pressed for 10 seconds, sets the default address to 247. I started migrating my project to OpenPLC because of the ease of understanding and modifying the code, but the Modbus address is a constant. Is it possible to make it a Modbus register, editable via communication? An option to choose between a constant or a Modbus register would be ideal.
Reply 0 0
thiagoralves
That’s not a simple thing to implement, as it would require quite a bit of refactoring. Perhaps your best bet is to implement your own Modbus code as an Arduino Function Block (on v4.1.0 release)
Reply 0 0
ticoale
I understand. However, for example, in Modbus, having a constant address or an internal system address like %QW500 really requires significant engineering. A compiler would need to generate code for each EPROM area of the Atmel chips. I'm not sure if other models work the same way, but in all cases, the EPROM area would require several adaptations to make this register function as a latch. I'll wait for the next updates. I'm really enjoying the project, congratulations!
Reply 1 0
thiagoralves
For all of you that asked for early access to v4.1.0, here it is: https://openplc.discussion.community/post/private-v4-1-0-release-13742179?trail=15#post1343500541
Reply 0 0
ticoale
[203128%2F9558844%2Fmceclip0]
 
[203128%2F9558845%2Fmceclip0]
 
Hi tiagoalves, I'm having trouble creating a simple ladder logic problem; am I doing something wrong?
Reply 0 0
thiagoralves
Your program needs to be called “main” otherwise it won’t compile
Reply 0 0
ticoale
Very good, now I'm trying to simulate moves with the analog input of an Arduino Nano. I also tried forcing a value, but the register value doesn't appear. Is there any way to show this value? I checked the debug option, but it didn't work.
 
[203128%2F9558973%2Fmceclip0]
 
I don't know if this question has already been asked.
Reply 0 0
thiagoralves
On the variables table there is a debug icon in front of every variable. Click on it and the variable will be added to the debugger panel
Reply 0 0
Reply