I've followed all the steps to set up the Rapberry PI Runtime on an R-PI.
In Codesys v3.5 SP18 I can see my PI and "System Info" shows that all is well.
Now I am trying to install the licence for the PI that I just bought.
Folling the instructions online I bring up the licence manager, select Device, then Softcontainer. When the "Select Device" dialog appears, I cannot see my R-PI.
I see one Gateway "Gateway-1" and when I click "Scan network" nothign is found.
Yet, I can see my Raspberry PI in the "Raspberry PI" tab and "System Info" etc all return valid results.
How can I find my device in "Licence manager" ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Are you sure that the runtime is still up and running?
check with ssh and 'top'.
If so I would install the edge gateway on your PI and add this to CODESYS..as Gateway 2 and try to license that way.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your quick reply.
Using TOP I think can see what is happening.
The runtime starts when I use CODESYS on my WIndows PC to start it on the R-PI, but it only runs for a short while (about 35 seconds or so).
I captured the system log on the PI during a full cylce (from pressing start in CODESYS to it terminating on the PI) which shows this:
The runtime gets stopped when the session gets cleaned up. Hmm.
I'm not sure what's going on there. There's nothign else in the system log to indicate why the runtime won't stay running. I will try to see if I can start it manually on the PI.
UPDATE Running /etc/init.d/controlsys start from a terminal has the same effect - it runs for just 30 seconds and exits. I'm try to find a log...
Last edit: kennymillar 2023-03-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But still stops after jusyt 30 seconds.
I have rebooted the R-PI and get the same results.
Something is causing the runtime to terminate after just 30 seconds. Not sure what :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I finally figured it out - the current R-PI Runtime isn't compatible with the latest Raspbian build. I got this working by downloading the Legacy build of raspbian and skipping the upgrade step. Now it works and I have the device licenced.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've followed all the steps to set up the Rapberry PI Runtime on an R-PI.
In Codesys v3.5 SP18 I can see my PI and "System Info" shows that all is well.
Now I am trying to install the licence for the PI that I just bought.
Folling the instructions online I bring up the licence manager, select Device, then Softcontainer. When the "Select Device" dialog appears, I cannot see my R-PI.
I see one Gateway "Gateway-1" and when I click "Scan network" nothign is found.
Yet, I can see my Raspberry PI in the "Raspberry PI" tab and "System Info" etc all return valid results.
How can I find my device in "Licence manager" ?
Are you sure that the runtime is still up and running?
check with ssh and 'top'.
If so I would install the edge gateway on your PI and add this to CODESYS..as Gateway 2 and try to license that way.
Thanks for your quick reply.
Using TOP I think can see what is happening.
The runtime starts when I use CODESYS on my WIndows PC to start it on the R-PI, but it only runs for a short while (about 35 seconds or so).
I captured the system log on the PI during a full cylce (from pressing start in CODESYS to it terminating on the PI) which shows this:
The runtime gets stopped when the session gets cleaned up. Hmm.
I'm not sure what's going on there. There's nothign else in the system log to indicate why the runtime won't stay running. I will try to see if I can start it manually on the PI.
UPDATE Running /etc/init.d/controlsys start from a terminal has the same effect - it runs for just 30 seconds and exits. I'm try to find a log...
Last edit: kennymillar 2023-03-21
The end of the /tmp/codesyscontro.log shows this:
But still stops after jusyt 30 seconds.
I have rebooted the R-PI and get the same results.
Something is causing the runtime to terminate after just 30 seconds. Not sure what :-(
I finally figured it out - the current R-PI Runtime isn't compatible with the latest Raspbian build. I got this working by downloading the Legacy build of raspbian and skipping the upgrade step. Now it works and I have the device licenced.