Hello,
I am a newbie with Structure Text and something happened during my testing.
I was doing a WHILE loop and my best guess is that I created an infinite loop and my raspberry is now messed up...
After downloading the program and RUN -> I got response that there is no connection.
I am not able to establish a connection between codesys (my computer) and raspberry via "gateway".
Ping is going through anyway and I can access PI with SSH.
So how can I stop the program, or can I just delete the program somehow...
/edit:
Just to add, before this everything worked always OK.
I tried to access the files now via FileZilla FTP, but can not connect. Don't know if this is related problem or not.
Thanks,
-Juha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
I would recommend to Login by ssh (use putty for this).
then execute:
sudo -s
rm /root/app*
(this removes the boot application)
then a restart of the plc is needed
sudo service codesyscontrol stop
sudo service codesyscontrol start
BR
Edwin
Thank you Edwin,
Tried the commands above, but "No such file"...
root@raspberrypi:/home/pi# rm /root/app
rm: cannot remove β/root/appβ: No such file or directory
"app*" I need to replace with my application name or just type like that?
//EDIT: Okay, got it running when realize the application name was the default "Application.app" not my project name...
Another thing I realized now is that it is still not possible to connect from codesys to Pi by IP-address, but only with that "target name" = [0001.A067].
Beside that got it working again, THANK YOU!
BR,
Juha
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am a newbie with Structure Text and something happened during my testing.
I was doing a WHILE loop and my best guess is that I created an infinite loop and my raspberry is now messed up...
After downloading the program and RUN -> I got response that there is no connection.
I am not able to establish a connection between codesys (my computer) and raspberry via "gateway".
Ping is going through anyway and I can access PI with SSH.
So how can I stop the program, or can I just delete the program somehow...
/edit:
Just to add, before this everything worked always OK.
I tried to access the files now via FileZilla FTP, but can not connect. Don't know if this is related problem or not.
Thanks,
-Juha
Hi,
I would recommend to Login by ssh (use putty for this).
then execute:
sudo -s
rm /root/app*
(this removes the boot application)
then a restart of the plc is needed
sudo service codesyscontrol stop
sudo service codesyscontrol start
BR
Edwin
Thank you Edwin,
Tried the commands above, but "No such file"...
root@raspberrypi:/home/pi# rm /root/app
rm: cannot remove β/root/appβ: No such file or directory
"app*" I need to replace with my application name or just type like that?
//EDIT: Okay, got it running when realize the application name was the default "Application.app" not my project name...
Another thing I realized now is that it is still not possible to connect from codesys to Pi by IP-address, but only with that "target name" = [0001.A067].
Beside that got it working again, THANK YOU!
BR,
Juha