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
Pedro Coimbra
Looking awesome, I will give it a try. Great job.
Thanks
Reply 1 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
Hello everyone.
 
We are working hard to wrap up v4.1.0 release to be launched officially this month along with our new website and cloud platform Autonomy Edge. If you have found any bugs on the private beta release, PLEASE PLEASE PLEASE submit it here so we can get it fixed: https://github.com/Autonomy-Logic/openplc-editor/issues
 
I want this OpenPLC release to be the best there is, and I can’t do it without your help!
Reply 3 0
kalain
Hello everyone.
 
We are working hard to wrap up v4.1.0 release to be launched officially this month along with our new website and cloud platform Autonomy Edge. If you have found any bugs on the private beta release, PLEASE PLEASE PLEASE submit it here so we can get it fixed: https://github.com/Autonomy-Logic/openplc-editor/issues
 
I want this OpenPLC release to be the best there is, and I can’t do it without your help!
Maybe a beta 2 would help to reactivate curiosity and debugging ? !
Reply 1 0
Mudbone
Does this mean that Nextion HMI’s will be accessible via the Arduino extension and the Serial library?
Reply 0 0
thiagoralves
Does this mean that Nextion HMI’s will be accessible via the Arduino extension and the Serial library?
OpenPLC v4 does not have Arduino extension anymore. Instead it allows you to write C/C++ function blocks. You should be able to write a block to control your Nextion HMI using C/C++ with Arduino API on OpenPLC v4 similarly to how you could do it using Arduino Extension on v3
Reply 2 0
PAJ27
Hi
Experimenting with the OpenPLC 4.1 using a new PicoW

Here is the first attempt - it can not find the PicoW, that it found earlier on Com17

 
Sorry my mistake - forgot to press the BootSel button on the PicoW, now works as expected in terms of uploading, if however I try to debug the Editor reports that it can't "verify the MD5 with target : Opening COM17: File not found" and halts the debugging
Reply 0 0
thiagoralves
Hi
Experimenting with the OpenPLC 4.1 using a new PicoW

Here is the first attempt - it can not find the PicoW, that it found earlier on Com17

 
Sorry my mistake - forgot to press the BootSel button on the PicoW, now works as expected in terms of uploading, if however I try to debug the Editor reports that it can't "verify the MD5 with target : Opening COM17: File not found" and halts the debugging
Under Device -> Configuration (on the project tree) did you select the right port for your Pico?
Reply 0 0
PAJ27
Ok, I had to re-cycle power on the PicoW - then I got the Debug.
 
I will try a New project - just to verify
 
Phil
Reply 1 0
PAJ27
Uhm, having some issues when trying to rename an ST code file - it will let me alter the name, but NOT save it - always returns to 'main'
Reply 0 0
thiagoralves
Uhm, having some issues when trying to rename an ST code file - it will let me alter the name, but save it - always returns to 'main'
Can you add your issue to https://github.com/Autonomy-Logic/openplc-editor/issues so we can get it in line to be fixed please?
Reply 0 0
liuxy
Hello, is it true that OpenPLC Runtime v4 can no longer enable the Modbus function?
[203128%2F9616968%2Fmceclip0]
Reply 0 0
malasa37
Hi, will there no longer be an option to download the old version?
Reply 0 0
malasa37
[203128%2F9617117%2Fmceclip0]


I have started testing and I am currently modifying the source code to suit my needs. I had made significant progress in the older version, specifically:
  1. I expanded the virtual memory (MW) for ESP32 from 20 to 150, increasing the number of read and write points.
  2. Since TX0 and RX0 share the same lines as the CP2102, I moved the Modbus RTU to TX2 and RX2.
  3. With these and a few other minor adjustments, I created my own hardware: WNG-PLCV1.0.
Today, I can see that the OpenPLC team has done an amazing job. It works incredibly fast now, and I’ve encountered almost no issues. I am still figuring out where to add the virtual memory points in this new version, but I’ll solve that as I continue using it. I’ve been working with FBD (Function Block Diagram) and haven't had any problems; I plan to check the Ladder logic side next.
Regarding the RS485 EN pin: you might notice it is set to 1 in the screenshot. To save pins, I used TX0 (Pin 1) for the EN signal, and my tests show it works perfectly.
I haven't officially released V1.0 of my custom PLC yet, but I will share more information soon. For V1.1, I am planning to add more I/Os and Ethernet support. I am also considering adding two RS485 ports—one dedicated as a Slave and the other as a Master. I had come a long way with the old version, but I absolutely love this new interface, speed, and quality. The old UI was quite tedious, but this is excellent. Great job, and best regards!
Reply 1 0
FutureHorizon
I am also testing the new python functionality. I wanted to run the project on the Controllino Maxi, but python is not suppoted on that device, so I wanted to install the OpenPLC runtime v4, but the installation fails, installing as native linux:
System: Kubuntu 25.10
 
Compiling with make (using 4 cores)...
[ 23%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/plc_main.c.o
[ 23%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/utils/utils.c.o
[ 23%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/utils/log.c.o
[ 30%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/utils/watchdog.c.o
[ 38%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/image_tables.c.o
[ 46%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/plc_state_manager.c.o
[ 53%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/plcapp_manager.c.o
[ 61%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/scan_cycle_manager.c.o
[ 69%] Building C object core/src/CMakeFiles/plc_main.dir/drivers/plugin_driver.c.o
[ 76%] Building C object core/src/CMakeFiles/plc_main.dir/drivers/plugin_config.c.o
[ 84%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/unix_socket.c.o
[ 92%] Building C object core/src/CMakeFiles/plc_main.dir/plc_app/debug_handler.c.o
/home/service/openplc-runtime/core/src/plc_app/unix_socket.c: In function ‘unix_socket_thread’:
/home/service/openplc-runtime/core/src/plc_app/unix_socket.c:206:5: error: too many arguments to function ‘clo
se_unix_socket’; expected 0, have 1
206 |     close_unix_socket(server_fd);
     |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~~
In file included from /home/service/openplc-runtime/core/src/plc_app/unix_socket.c:14:
/home/service/openplc-runtime/core/src/plc_app/unix_socket.h:10:6: note: declared here
  10 | void close_unix_socket();
     |      ^~~~~~~~~~~~~~~~~
/home/service/openplc-runtime/core/src/plc_app/unix_socket.c: At top level:
/home/service/openplc-runtime/core/src/plc_app/unix_socket.c:210:6: error: conflicting types for ‘close_unix_s
ocket’; have ‘void(int)’
210 | void close_unix_socket(int server_fd)
     |      ^~~~~~~~~~~~~~~~~
/home/service/openplc-runtime/core/src/plc_app/unix_socket.h:10:6: note: previous declaration of ‘close_unix_s
ocket’ with type ‘void(void)’
  10 | void close_unix_socket();
     |      ^~~~~~~~~~~~~~~~~
make[2]: *** [core/src/CMakeFiles/plc_main.dir/build.make:219: core/src/CMakeFiles/plc_main.dir/plc_app/unix_s
ocket.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:106: core/src/CMakeFiles/plc_main.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
ERROR: Compilation failed
ERROR: Build process failed!
Please check the error messages above for details.

//-----------------------------------------------------------------
 
First impressions are good, there are a few quirks that I noticed, but I would not classify them as bugs, but rather opportunities for future polishing.
 
1) In FBD, the ability to move connection lines between blocks would be nice, to provide more clarity on where connections go, as the can overlap with no option to separate them. Current behavior is that the are equally long and will overlap if moving the receiving block below the second input in the FBD.
Here is an example:
[203128%2F9617184%2Fmceclip0]
 
Regarding python functionality, is there some documentation on how to use it or does it follow the concepts of the psm?
If wanting to use python libraries, do they have to be copied to a specific location or can the system modules be used?
 
Another missing feature would be an plcopenxml and codesys xml importer. Only an exporter is available, but I am not sure what use it is when there is no import function? Or what, did I miss something?
Reply 0 0
thiagoralves
Hello, is it true that OpenPLC Runtime v4 can no longer enable the Modbus function?
[203128%2F9616968%2Fmceclip0]
Modbus is enabled on your project for v4. We only let this section there for compatibility with the old runtime. On v4 you can use Modbus by clicking on the blue + button on the project tree and selecting server (for Modbus slave) or remote io (for Modbus master).
Reply 0 0
Reply