Have an Raspberry PI with Codesys RT.
This Raspberry is also VPN Server.
No i want to connect codesys 3,5 developement system by VPN to the Raspberry PI Codesys RT.
Now i cant reach Raspberry PI Codesys RT over VPN. Connection is well possible within the local network.
Is there basically additional software to connect by VPN, something like CODESYS Edge Gateway?
What i am doing wrong?
Thanks for any help
Dumpfbacke
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
you need to have 4.0.1.0 version (current version) on Raspberry PI side.
There the Edge Gateway is embedded.
Then it should work.
By the way more easier and comfortable is to use CODESYS Automation Server
for this. ( Remote login to your plc and use even the webvisu from anywhere)
This is for 2 plc's still free of charge.
I'm sure you will love it ( way easier than using VPN for doing this)
so you didnt have to install any edge or automationserver things....?
you did not to make any changings in communicationsettings to connect by VPN. So in your case no different between local net and VPN?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Nothing special at all. Since the VPN is a tunnel to the local network you wont notice any difference, except the latency compared to being in the local network.
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think you have 3 options:
1. Use your VPN with TCP/Blk driver -> just type your remote IP address in the right window in CODESYS.
2. install the update - then you have the Gateway on the remote PI, then you could add a new Gateway with the VPN IP address and scan the plc via this remote Gateway
3. If you use the Automation Server you will not need VPN at all - and from my point of view it is easier from handling and installation - and offer more features then just connecting by VPN
But sure it is up to you to decide which solution you will use.
Last edit: eschwellinger 2021-03-15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Have an Raspberry PI with Codesys RT.
This Raspberry is also VPN Server.
No i want to connect codesys 3,5 developement system by VPN to the Raspberry PI Codesys RT.
Now i cant reach Raspberry PI Codesys RT over VPN. Connection is well possible within the local network.
Is there basically additional software to connect by VPN, something like CODESYS Edge Gateway?
What i am doing wrong?
Thanks for any help
Dumpfbacke
Hi,
you need to have 4.0.1.0 version (current version) on Raspberry PI side.
There the Edge Gateway is embedded.
Then it should work.
By the way more easier and comfortable is to use CODESYS Automation Server
for this. ( Remote login to your plc and use even the webvisu from anywhere)
This is for 2 plc's still free of charge.
I'm sure you will love it ( way easier than using VPN for doing this)
Getting Started:
https://www.youtube.com/watch?v=iiPKyyO4M00&list=PLaws15OZmd7Uu2W23zX2w424aI3TrOfHf
Project & Apps:
https://www.youtube.com/watch?v=huh1r-1Cl_c&list=PLaws15OZmd7Uu2W23zX2w424aI3TrOfHf&index=3
Webvisu:
https://www.youtube.com/watch?v=Kyf9bCpPa6s&t=1s
Remote Login CODESYS:
https://www.youtube.com/watch?v=8KLywg51Xyk&t=119s
Last edit: eschwellinger 2021-03-14
ok, thanks
if i upgrade runtime to 4.0.1.0 my license will still be valid or i have to buy new one?
Thanks, dumpfbacke
Last edit: dumpfbacke 2021-03-14
license is version independent, work with all versions
Last spring i used Wireguard VPN to connect Codesys to the controller (RPi Zero) without any problems.
hi,
so you didnt have to install any edge or automationserver things....?
you did not to make any changings in communicationsettings to connect by VPN. So in your case no different between local net and VPN?
Nothing special at all. Since the VPN is a tunnel to the local network you wont notice any difference, except the latency compared to being in the local network.
I think you have 3 options:
1. Use your VPN with TCP/Blk driver -> just type your remote IP address in the right window in CODESYS.
2. install the update - then you have the Gateway on the remote PI, then you could add a new Gateway with the VPN IP address and scan the plc via this remote Gateway
3. If you use the Automation Server you will not need VPN at all - and from my point of view it is easier from handling and installation - and offer more features then just connecting by VPN
But sure it is up to you to decide which solution you will use.
Last edit: eschwellinger 2021-03-15
hi
after updating RT to 4.0.1.0 Option 1 and 2 is working no fine (see attached captures)
i dont like option 3...its hard to handel for me one more account.....-)
thanks, dumfpacke
option 1 and 2 working or not?
Option 3 do you need help to set it up? ;-)
option 1 and 2 is NOW working fine (after updating RT to version 4.0.1.0)
for option 3 - if i need to use it - you posted some youtube tutorials π
thanks