farrasabyan
Hi There,

I am trying to run a program in openplc runtime with unipi 1.1 as my hardware. The hardware layer changers was completely succesfull to change and my program was succesfully compiled with no errors. When i was clicking start PLC on the dashboard, my interface just loading and refreshing for a sec and nothing has changed. My program status still stopped and when i was trying to do it again, it just appeared to be same condition. How can i fix this?
Error PLC.png
thiagoralves
After clicking on Start PLC try clicking on Programs to see if the interface refreshes
Reply 0 0
farrasabyan
The interface did refreshed but just in 1 sec and nothing changed after that. My Program still doesn't running when i was clicking Start PLC again. But i found something in openplc runtime log. The I2C was unable to active. I am not pro in programming. Can you tell me what's wrong and how to fix this?
Error PLC 2.png
Reply 0 0
thiagoralves
Did you load the I2C module into the kernel as instructed here? https://autonomylogic.com/docs/installing-openplc-runtime-on-linux-systems/
Reply 0 0
farrasabyan
I have load the i2c modul as instructed there anf it's written to load on raspi-config. Then i did enable i2c in raspi-config but still it won't work.
Reply 0 0
thiagoralves
I haven't played with a UniPi in a while. They recently updated their image to Debian Bookworm (their image was previously based on Buster) and this might have broken things. If you can get the old Buster image for the UniPi then most likely it will just work fine as per instructions.
Reply 0 0
Reply