We have an ecomat cr721s controller and a display connected to a raspbian device with ethernet cable to lan port.
This interface is configured with a static ip address in the same range as the controller.
The raspbian device is connected to the internet with a sim card.
I can establish a ssh session with putty to the raspbian device from my client pc and set up ssh tunneling. After this I can connect to a webvisu.htm page and see the display. (ssh tunnels port 8080 to display.ipaddres:8080/webvisu.htm)
We are having trouble using Codesys (V3.5 SP11) to find the cr721s controller.
Any tips would be helpful. I am not the person who programs the controller, but the it'er who needs to set up the connection.
Thanks in advance.
(Hope I have supplied enough information, but otherwise please ask for more info...)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would recommend to install the Edgegateway on your Raspberry PI
then add this new Gateway in CODESYS an do the scan of the IFM controller by this added Gateway.
Meanwhile, I have been able to install the gateway on the device, so the setup is now:
Client pc -> ssh to linux gateway device -> ethernet to controller (interface in same network range as controller).
-> ssh tunneling of port 8080 to 192.168.82.6:8080 for webvisu
With this I'm able to view the webvisu page.
-> ssh tunneling of port 1217 to 192.168.82.247:1217 for scanning of controller
-Not sure if this is the way to do it...
It was my understanding I would be able to find the controller in codesys once I installed the gateway software on the gateway device. But I am still unable to find the controller when scanning the network.
I think I've managed to find the device. In codesys I can add a favorite device which uses port 11740. I then added local port forward in putty for port 11740.
So 'scan network' does not find the controller, I have to manually specify the ip...
I will check with our plc programmer if he can work with this connection in the same way as if he was directly connected over ethernet.
Thanks for the help so far.
One question though, would this have worked without the edgegateway installed?
Good afternoon,
We have an ecomat cr721s controller and a display connected to a raspbian device with ethernet cable to lan port.
This interface is configured with a static ip address in the same range as the controller.
The raspbian device is connected to the internet with a sim card.
I can establish a ssh session with putty to the raspbian device from my client pc and set up ssh tunneling. After this I can connect to a webvisu.htm page and see the display. (ssh tunnels port 8080 to display.ipaddres:8080/webvisu.htm)
We are having trouble using Codesys (V3.5 SP11) to find the cr721s controller.
Any tips would be helpful. I am not the person who programs the controller, but the it'er who needs to set up the connection.
Thanks in advance.
(Hope I have supplied enough information, but otherwise please ask for more info...)
I would recommend to install the Edgegateway on your Raspberry PI
then add this new Gateway in CODESYS an do the scan of the IFM controller by this added Gateway.
https://store.codesys.com/codesys-edge-gateway-for-linux.html#System%20Requirements
Hope you have a Pi2,Pi3 or PI4 then the Gateway will work on Pi side.
BR
Edwin
Unfortunately I'm unable to install the package from command line, getting syntax error. Is it possible to install this from command line?
I would also like to know why the original setup with ssh tunnel is not working.
Can anyone help me understand?
Thanks in advance
Hi,
just install it via CODESYS, then restart CODESYS and deploy the Gateway to your Raspberry PI.
https://help.codesys.com/webapp/_eglnx_install_gateway;product=codesys_edge_gateway_for_linux;version=3.5.15.0
BR
Edwin
Last edit: eschwellinger 2021-04-19
Hi again and goodmorning,
Meanwhile, I have been able to install the gateway on the device, so the setup is now:
Client pc -> ssh to linux gateway device -> ethernet to controller (interface in same network range as controller).
-> ssh tunneling of port 8080 to 192.168.82.6:8080 for webvisu
With this I'm able to view the webvisu page.
-> ssh tunneling of port 1217 to 192.168.82.247:1217 for scanning of controller
-Not sure if this is the way to do it...
It was my understanding I would be able to find the controller in codesys once I installed the gateway software on the gateway device. But I am still unable to find the controller when scanning the network.
Am I still missing something?
Greetings and thanks,
Dominiek
Last edit: dtimperman 2021-05-19
Hello again,
I think I've managed to find the device. In codesys I can add a favorite device which uses port 11740. I then added local port forward in putty for port 11740.
So 'scan network' does not find the controller, I have to manually specify the ip...
I will check with our plc programmer if he can work with this connection in the same way as if he was directly connected over ethernet.
Thanks for the help so far.
One question though, would this have worked without the edgegateway installed?