ali bütün
Hi everyone,
I am using the OpenPLC Editor on a Windows PC to develop my project. I can successfully connect to my Raspberry Pi CM4 via its IP address, compile the code, and run it directly from the editor.
However, I want my PLC program to start automatically every time the Raspberry Pi boots up, without needing to manually start it from the Windows Editor.
I have seen the program.st file in the directory, but I am not sure how to use it or configure the runtime for autostart. Could someone guide me on the correct steps to ensure the compiled program remains persistent and runs on power-up?
Thank you in advance!
Reply 0 0
thiagoralves
From your description I’m assuming you’re using runtime v3. If that’s the case, you need to open the runtime v3 webserver on your browser (http://pi-address:8080), go to settings and select start in run mode
Reply 1 0
ali bütün
Thank you for your response.
I will use this method with Runtime v3. Do you know if a similar option will be available in Runtime v4 in the future?
Reply 0 0
thiagoralves
Runtime v4 does that already by default. There is no need to tweak any settings.
Reply 1 0
Reply