I am trying to set up a gateway to my raspberry pi (Revolution Pi to be exact), but when I "Scan Network" it doesn't appear.
My setup consist of an Azure Windows VM (I have a mac) with the latest CODESYS 3.5 and an OpenVPN connection to "OpenVPN Cloud". At the other end I have the Pi also connected to OpenVPN cloud.
I am able to SSH into the pi via the VPN, and equally I have been able to flash the CODESYS runtime to the pi. When I scan from the raspberry Pi window it appears.
However, when I cannot set up a "Gateway" - the Pi doesn't appear when i Scan the network. I've used "localhost" and the OpenVPN network adapter IP address (See screenshot)
Do you know what could be the issue here?
Hi, you need to Install the Edge gateway Plugin (Linux)from the CODESYS Store:
and deploy the armhf Edge Gateway to the Pi.
Do not forget to check if using the CODESYS Automation Server would be an option for that you could login via Automation Server to your plc / Rev Pi:
I followed the link to the Codesys edge gateway, but I'm not sure how to deploy the armhf Edge Gateway to the Pi?
Is this done via Update Raspberry Pi -> Install additional packages? (in which case I don't know where to find the .deb package file)
With regards to the Automation Server, is this a completely separate thing or is it needed for the edge gateway? I will probably try it, but I'm not a fan of the 40EUR monthly fee from next year.
after installing the package there is an own update command for the Edge Gateway.
Automation Server is an own separate product - which uses the Edge Gateway to login to the plc's.
It is worth to try - you could see the Webvisu
additional beside login to remote plc's with CODESYS.
Thanks for the quick replay. I'll try the Automation Server once I have the Edge Gateway up and running.
Unfortunately I've been unsuccessful so far. In the screen shot you've attached, you have the "Update Edge Gatway" option - this doesn't appear in my installation - I only have the "Update Rapsberry Pi option". I installed the Edge Gateway on my PC so I don't really understand why it doesn't appear.
did you install the Linux Edge using the shoping card in CODESYS?
Do not forget to restart CODESYS after the installation process.
Right, that explains my mistake. I've now installed the edge on
Unfortunately, I still can't find it when I "Scan Network" - any idea what I'm missing here?
login by ssh client (putty or any other) to the pi and check by using
'top' is the gateway is up and running
It seems to work now.
The error I made was to type in my PC's IP address as the gateway - instead of my Pi's address.
Now that I typed the Pi address in as the gateway it works.
Thanks so much for you help Edwin. Really appreciate it.
i am in the same situations, i have openvpn active: i can ping the pi and i can see the system info trough the "Update Edge Gateway" software included in codesys 3.5 sp16. If i go with putty to the pi i can open and execute the "top" command line, the result is ok the process "codesysedge.bin" is runnig as root user. In codesys develop (windows machine) i setup the gateway with the ip adress of pi but unfortunately, I still can't find it when I "Scan Network". Any idea what I'm missing here?
Hello, now i understand why it didn't work, i had to enable portforwarding for port 1217. i hope it can help someone.
sorry yes nissed to say this,
but isn't using CODESYS Automation Server an option for you, to have it much easier on
login in remote to you PI system by CODESYS?
Hi Edwin, I don't use Codesys Automation Server, I would have liked but 39.5 € per month for 5 PLCs from 2021 worries me. I use a server with openvpn and it works at a cost of 2.7 € per month. Sure Codesys Automation Server is amazing, but for now not for us, we hope that in the future the price becomes more affordable, thanks.
Log in to post a comment.