I have deployed Codesys application on Raspberry Pi and it runs there automatically when RPi starts. All is OK so far.
Now I have added some feature to the project and want to update it on RPi, but the problem is that I have physically no possibility to connect to Rpi with Codesys and install this update.
So I need to export the app from Codesys and manually copy it to RPi SD Card. Can someone help me with that?
I need following info:
- Which file(s) in the project is a compiled execution app for RPi?
- Where to copy it on SD Card?
- Is it possible to do it by taking the SD Card out of RPi and opening it on Windows PC, or I need to copy over Network SMB?
Thanks. Would be glad to see this way of update in the documentation, as I haven't found it there.
from my point of view to use CODESYS Automation Server for this task is the
best and easiest solution.
The only precondition is to have on PI side network a device with Internet access.
I would give this a try.
remote Login with CODESYS to your PI:
Webvisu via Server:
Sure if you need the harder way ( in case you have no retains and no additional application generated files:
You could not access this path (/var/opt/codesys/PlcLogic/Application) by access the SD card under Windows,
if you want to do this:
you need to copy the files later from /boot/ ( this is what you see when you plug the SD card to your Windows pc -> /var/opt/codesys/PlcLogic/Application
Hope this helps.
Thanks Edwin. Harder way seems the right to go for me. Just question about persistent variables. Will they be lost?
But actually if CODESYS Automation Server is going to stay free - I will try it. Do I just need Internet connection on my Codesys RPi?
a) if you have retains - Application.ret needed to be copied too.
b) Either a internet connection on the PI (you need to install the EdgeGateway arm hf on the PI), or if there is any other device in the network with internet connection - install the Edgegateway there.
Log in to post a comment.