tomknotts
I am having a problem with the current openplc runtime.
 
I load a program and run it and everything works fine. But if i stop the PLC i am no longer able to restart it until i go into the program menu, select the program i want and then launch it. at this point i am able to start it again.
 
Before i could start and stop the plc as many times as i wanted without issue.
 
I am running windows 11 and have tried this in both edge and chrome with the same results.
 
Any help would be great
Reply 0 0
ShaneD
I am having the same issue. Was there a resolution?
Reply 0 0
thiagoralves
Are you sure the runtime hasn’t started? Sometimes just the UI glitches a little bit and won’t update the status. After starting it again, click on other tabs, like programs, or monitoring, and check if the status at the top has updated
Reply 0 0
ShaneD
Thank you sir for answering. The web page locks up and I have to re-boot the PC to get back to a working web page. Sometimes I'll get a pop-up that says the page cannot be reached, try again later (or something to that effect). Thanks again
Reply 0 0
thiagoralves
This is really odd. I can’t reproduce this on my end. What is your runtime release version (from the login screen)? Try uploading the blink example from the editor (file -> examples) and check if your runtime locks up the same way. If it doesn’t, then perhaps your program is getting into an infinite loop or something. Are you using PSM, slave devices, or some other odd runtime configuration?
Reply 0 0
ShaneD

Release: 2025-02-06

I have a Python on Linux PSM (which hasn't changed since I got the new release) and I have one slave (Modbus RTU). I'll check for loops. Thank you
Reply 0 0
thiagoralves
Most likely your PSM driver is locking up at some point. So when you try to stop the runtime, it doesn’t stop all the way through because the PSM thread is locked up. That’s just an assumption, but quite likely to be your problem. Try removing your PSM code and check if it still happens
Reply 0 0
Reply