I am new to codesys and raspberry pi. I'd like to ask if there are any specific commands to control raspberry's plc program execution. How can I stop, for example, raspberry from executing a plc program that is downloaded on it.
Thank you!
BR
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2018-05-14
Originally created by: tremontem@gmail.com
Alternatively, if you just want to stop outputs, you can modify the behavior of outputs while in Stop. Found in the Device- PLC Settings configuration.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys,
Can someone inform where in a raspberry pi are stored the codesys programs? IΒ΄ve been training the use of a RPI as PLC, which works pretty well, however while both the RPI and PC (running codesys) remain connected to the same network. The question is: how to run the codesys program downloaded to the RPI as a stand alone device (disconnected from the PC)?
Thanks!
Kreis
Last edit: kreisfilho 2023-08-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
I am new to codesys and raspberry pi. I'd like to ask if there are any specific commands to control raspberry's plc program execution. How can I stop, for example, raspberry from executing a plc program that is downloaded on it.
Thank you!
BR
Hi,
stopping/starting the plc:
sudo /etc/init.d/codesyscontrol stop
sudo /etc/init.d/codesyscontrol start
or
sudo systemctl stop codesyscontrol
sudo systemctl start codesyscontrol
BR
Edwin
Originally created by: tremontem@gmail.com
Alternatively, if you just want to stop outputs, you can modify the behavior of outputs while in Stop. Found in the Device- PLC Settings configuration.
Hi guys,
Can someone inform where in a raspberry pi are stored the codesys programs? IΒ΄ve been training the use of a RPI as PLC, which works pretty well, however while both the RPI and PC (running codesys) remain connected to the same network. The question is: how to run the codesys program downloaded to the RPI as a stand alone device (disconnected from the PC)?
Thanks!
Kreis
Last edit: kreisfilho 2023-08-23
/var/opt/codesys/PLCLogic
as soon you have dowloaded the project to the Pi it will run the bootapplication no connection to the pc is needed anymore
Last edit: eschwellinger 2023-08-24