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:
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?