Primitive Source wrote:
So i have been using my Pi for weeks successfully uploading a controlling programme and webvisu, talking to my Arduino Mega as a Modbus TCP/IP slave and this has been perfect
. Then the other day Codesys just would not connect to the Pi. I can update the Runtime, this seems to load up to the pi, the Pi runs up to 25% on the CPU, the RX/TX lights on the Pi and the Arduino are flashing, but I when I type in the Pi's IP address in the Device section of codesys, it times out the first time, then I can't see the pi in the scan tree and just cannot connect or find the pi.
I tried formatting my Pi and reinstalling Raspian but I am getting the same problem.
Any ideas what could be wrong here?
Generallay if you write unstable things this kind of error will occur.
You need to delete application in your rpi.
follow this instructions,
1) sudo su //for administration
2) cd /root //go to the root folter
3) cd PlcLogic //go to the PlcLogic folter
4) cd Application //go to the Application folder
5) rm Application.app //delete Application.app
6) reboot rpi
7) update rpi via codesys
I hope it will work