I have several RPi running Codesys and I would like to know if I could update my PLC software (running with codesyscontrol service) without the Codesys Development System on my working station.
The idea is to run a shell script on the RPi that stop codesyscontrol, then it could copy some files to change the PLC software (or something else) and then restart codesyscontrol service.
Is it possible?
Best regards,
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2018-01-25
Originally created by: Viacheslav Mezentsev
Yes, it is possible. You need something like this:
will update the plc runtime Version and bootprojekt runs imidiately in the new version... if already on the system running before the update
To update your application means-> update the content of /var/opt/codesys/PlcLogic/ (which are the application files)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nice Script, but how do you save the boot project as a PlcLogic.zip file.
I can only save the file as a Application.app file which I can not open as a zip-file ???
I am doing as discribed in the online help.
Best regards.
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have several RPi running Codesys and I would like to know if I could update my PLC software (running with codesyscontrol service) without the Codesys Development System on my working station.
The idea is to run a shell script on the RPi that stop codesyscontrol, then it could copy some files to change the PLC software (or something else) and then restart codesyscontrol service.
Is it possible?
Best regards,
Vincent
Originally created by: Viacheslav Mezentsev
Yes, it is possible. You need something like this:
PlcLogic.zip created manually using Codesys (save boot application).
Hi,
why not just use the official way to do this?
sudo dpkg -i codesyscontrol_arm_raspberry_V3.5.12.0.de
will update the plc runtime Version and bootprojekt runs imidiately in the new version... if already on the system running before the update
To update your application means-> update the content of /var/opt/codesys/PlcLogic/ (which are the application files)
BR
Edwin
Hey,
Sorry for the delay and but thank you for your answer.
I will try it soon when I have the opportunity.
Vincent
Hi Viacheslav
Nice Script, but how do you save the boot project as a PlcLogic.zip file.
I can only save the file as a Application.app file which I can not open as a zip-file ???
I am doing as discribed in the online help.
Best regards.
Peter