We have been using last years the Codesys in WIN10, having the PC as the interface for the H/W of the PLC I/O's, so far so good. In this case, the PC is installed remotely, and its IP is normally routed through the wired network (eg. 10.20.30.40 ).
However, we are carrying out tests with the I/O's of the PLC in another architecture, now embedded in an SBC (RPI3), and its IP is distinct from the external network, as it is located in another network adapter (USB/ETH) in the internal network ( 192.168.1.x ). We obviously uninstalled the Codesys runtime from the PC in this new approach.
Separately, both options worked normally with the PLC I/Os, which attests that there are no system impediments. However, it is not clear how the access to the RPI through the PC should be done, would it be necessary to implement a PROXY, Portfowarding ? Is there any tutorial on this ?
Hi, I quite appreciate your help, it is seemingly exactly what we need. However I could not find any concise tutorial explainig the whole step-by-step, but only split videos covering specific issues. Could I ask you for a link explainig how to do that ?
Last edit: alrcastro 2021-11-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
An issue we just came accross is that, according to what we've found, sounds like the Edge Gateway do not performs a straight connection P2P between our Engineering tool and the gateway itself, but rather a cloud-based access trhought the CODESYS Automation Server; the End application on the factory side have restrictions regarding third parties connections.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
no could do both is possible. Server optional.
Step by Step-
1.Install the Standalone Gateway Setup
(https://store.codesys.com/de/codesys-edge-gateway-for-windows.html) on your Windows 10PC
2. Add the new Gateway in CODESYS:
Hi there,
We have been using last years the Codesys in WIN10, having the PC as the interface for the H/W of the PLC I/O's, so far so good. In this case, the PC is installed remotely, and its IP is normally routed through the wired network (eg. 10.20.30.40 ).
However, we are carrying out tests with the I/O's of the PLC in another architecture, now embedded in an SBC (RPI3), and its IP is distinct from the external network, as it is located in another network adapter (USB/ETH) in the internal network ( 192.168.1.x ). We obviously uninstalled the Codesys runtime from the PC in this new approach.
Separately, both options worked normally with the PLC I/Os, which attests that there are no system impediments. However, it is not clear how the access to the RPI through the PC should be done, would it be necessary to implement a PROXY, Portfowarding ? Is there any tutorial on this ?
Thanks in advance,
Andre.
Not bumping the thread, just adding an overview of the issue.
The original topology:
[ PC(WIN10) : Codesys runtime ] <=> Engineering Tool
The wanted topology:
[ RPI3(Linux) : Codesys runtime ] <=> [ PC(WIN10) : Portfowarding(?) ] <=> Engineering Tool
just install the Edge Gateway on the Windows PC, nothing else. Then add this Gateway in CODESYSban scan the PI via this new added Gateway
Last edit: eschwellinger 2021-11-18
Hi, I quite appreciate your help, it is seemingly exactly what we need. However I could not find any concise tutorial explainig the whole step-by-step, but only split videos covering specific issues. Could I ask you for a link explainig how to do that ?
Last edit: alrcastro 2021-11-19
An issue we just came accross is that, according to what we've found, sounds like the Edge Gateway do not performs a straight connection P2P between our Engineering tool and the gateway itself, but rather a cloud-based access trhought the CODESYS Automation Server; the End application on the factory side have restrictions regarding third parties connections.
no could do both is possible. Server optional.
Step by Step-
1.Install the Standalone Gateway Setup
(https://store.codesys.com/de/codesys-edge-gateway-for-windows.html) on your Windows 10PC
2. Add the new Gateway in CODESYS:
Last edit: eschwellinger 2021-11-19
Thank you again for your ever kind help.