I have a wireless router and a display (from CrossControl) that runs Codesys and web visualization set up. The wireless router and display are connected to each other via an ethernet cable. I am able to connect to the wireless router with my PC's wifi (or phone wifi), then open a browser and type in an address to view exactly what is on the display wirelessly through this wifi connection.
Is it possible to do this same thing, but remotely over the internet instead? I'm thinking I would have to have the same physical setup, but the with wireless router somehow connected to the internet? I'm a beginner in networking, so please bare with me if my terminology is incorrect.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There are also integrated products ([Display] + WebVisu + cellular modem + [WLAN] + VPN) that allow for exactly this usage with no external router (same automotive grade as CrossControl).
Else you need to set up a VPN between your display (or at least your router) and your PC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you guys know how to physically wire the display up? For example, does the display simply have to be connected to a router (wired or wireless) with an ethernet cable and the router has to be connected to internet somehow?
I personally want to try both ways, VPN and Codesys automation server, but I want to start with VPN. Is it similar to remote access to a computer at home? Or do I have to use port forwarding? I'm not sure if I'm using the correct networking terminology since I am not good at networking yet.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@RoryLDM automation server is already released with this new feature.
and yes port forwarding is needed for VPN
With Automation server this task to see you webvisu is easy - start here: https://help.codesys.com/webapp/_cas_fi ... on=1.7.0.0
You need to install the EdgeGateway on the same device in your case. (maybe you need to ask CrossControl for asistance on doing this)
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Would you be able to explain a little on how to use use VPN and port forwarding to access a display remotely through the internet? Or any other technologies I need?
With Codesys automation server, can I still access the display PLC if the display is NOT connected to the same local network? For example, if the display is connected to a wifi router using ethernet cable somewhere else? How would I do that?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
you should find this in your router documentation.
Forward port 8080 ( this is used by the webvisu by default)
Zitat:
With Codesys automation server, can I still access the display PLC if the display is NOT connected to the same local network? For example, if the display is connected to a wifi router using ethernet cable somewhere else? How would I do that?
yes this will work!
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
you should find this in your router documentation.
Forward port 8080 ( this is used by the webvisu by default)
yes this will work!
BR
Edwin
How would "find" the display using Codesys Automation Server over the public network?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I watched the video, but I am wondering how to physically connect up the CrossControl display so that it can accessed via the internet and for the Codesys Automation Server to detect it?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
you need to install the Edge Gateway either to the Crosscontrol plc or use a Edgedevice which is in the same network.
The Edgedevice does the connection to the CODESYS Automation server (Edge Gateway installed on Crosscontrol too).
The Edge Gateway is available for:
- Windows
- Linux amd64 and i386
- Arm
Do you know which OS is on the Crosscontrol plc?
You could do the first test, with adding just a Raspberry pi or BeagleBone to the same network and use this as Edge Gateway.
(you need to install this: https://store.codesys.com/cas/codesys-e ... 20versions and deploy the armhf on the PI or Beaglebone.
Later I would recommend in your case to install the Edge to the Crosscontrol device if possible, but depends on your environment.
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edwin Schwellinger hat geschrieben:
Hi,
you need to install the Edge Gateway either to the Crosscontrol plc or use a Edgedevice which is in the same network.
The Edgedevice does the connection to the CODESYS Automation server (Edge Gateway installed on Crosscontrol too).
The Edge Gateway is available for:
- Windows
- Linux amd64 and i386
- Arm
Do you know which OS is on the Crosscontrol plc?
You could do the first test, with adding just a Raspberry pi or BeagleBone to the same network and use this as Edge Gateway.
(you need to install this: https://store.codesys.com/cas/codesys-e ... 20versions and deploy the armhf on the PI or Beaglebone.
Later I would recommend in your case to install the Edge to the Crosscontrol device if possible, but depends on your environment.
BR
Edwin
Hi, Edwin,
Sorry for the late reply. The CrossControl PLC runs a Linux OS. We checked with CrossControl and they said that they can run Codesys Automation Server. I suppose if I want to run the server to connect a PC and a display remotely, I would have to connect them on the same network using a VPN?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have a wireless router and a display (from CrossControl) that runs Codesys and web visualization set up. The wireless router and display are connected to each other via an ethernet cable. I am able to connect to the wireless router with my PC's wifi (or phone wifi), then open a browser and type in an address to view exactly what is on the display wirelessly through this wifi connection.
Is it possible to do this same thing, but remotely over the internet instead? I'm thinking I would have to have the same physical setup, but the with wireless router somehow connected to the internet? I'm a beginner in networking, so please bare with me if my terminology is incorrect.
Thanks.
Hi,
there is one impressive option beside using VPN:
https://www.youtube.com/watch?v=Kyf9bCpPa6s
BR
Edwin
There are also integrated products ([Display] + WebVisu + cellular modem + [WLAN] + VPN) that allow for exactly this usage with no external router (same automotive grade as CrossControl).
Else you need to set up a VPN between your display (or at least your router) and your PC.
When will become available?
Do you guys know how to physically wire the display up? For example, does the display simply have to be connected to a router (wired or wireless) with an ethernet cable and the router has to be connected to internet somehow?
I personally want to try both ways, VPN and Codesys automation server, but I want to start with VPN. Is it similar to remote access to a computer at home? Or do I have to use port forwarding? I'm not sure if I'm using the correct networking terminology since I am not good at networking yet.
Thanks.
Hi,
@RoryLDM automation server is already released with this new feature.
and yes port forwarding is needed for VPN
With Automation server this task to see you webvisu is easy - start here:
https://help.codesys.com/webapp/_cas_fi ... on=1.7.0.0
You need to install the EdgeGateway on the same device in your case. (maybe you need to ask CrossControl for asistance on doing this)
BR
Edwin
Snap, thanks. For some reason I thought that it was not yet available.
Would you be able to explain a little on how to use use VPN and port forwarding to access a display remotely through the internet? Or any other technologies I need?
With Codesys automation server, can I still access the display PLC if the display is NOT connected to the same local network? For example, if the display is connected to a wifi router using ethernet cable somewhere else? How would I do that?
Thanks.
Hi,
you should find this in your router documentation.
Forward port 8080 ( this is used by the webvisu by default)
yes this will work!
BR
Edwin
How would "find" the display using Codesys Automation Server over the public network?
Hi,
watch this video
https://www.youtube.com/watch?v=Kyf9bCpPa6s
BR
Edwin
Hi, Edwin,
I watched the video, but I am wondering how to physically connect up the CrossControl display so that it can accessed via the internet and for the Codesys Automation Server to detect it?
Thanks.
Hi,
you need to install the Edge Gateway either to the Crosscontrol plc or use a Edgedevice which is in the same network.
The Edgedevice does the connection to the CODESYS Automation server (Edge Gateway installed on Crosscontrol too).
The Edge Gateway is available for:
- Windows
- Linux amd64 and i386
- Arm
Do you know which OS is on the Crosscontrol plc?
You could do the first test, with adding just a Raspberry pi or BeagleBone to the same network and use this as Edge Gateway.
(you need to install this: https://store.codesys.com/cas/codesys-e ... 20versions and deploy the armhf on the PI or Beaglebone.
Later I would recommend in your case to install the Edge to the Crosscontrol device if possible, but depends on your environment.
BR
Edwin
Hi, Edwin,
Sorry for the late reply. The CrossControl PLC runs a Linux OS. We checked with CrossControl and they said that they can run Codesys Automation Server. I suppose if I want to run the server to connect a PC and a display remotely, I would have to connect them on the same network using a VPN?
Hi,
no this is not needed.
Just set up the Automation Server according the fist steps:
https://help.codesys.com/webapp/_cas_first_steps;product=codesys_automation_server;version=1.7.0.0
install the Edge Gateway ... upload the project to the Automation Server - deploy the application to the plc - open the Webvisu
If you need some help on doing this please let me know.
Regards
Edwin
Last edit: eschwellinger 2020-02-29