I am trying to remotly connect to Festo PLC(cpx-e-cec-m1 to be exact). My setup consists of CODESYS 3.5.16.10 and an OpenVPN connection to OpenVPN server.
At the other side I have Raspberry Pi4 with Edge Gateway for Linux(3.5.16.10) and Festo PLC.
I am able to connect to remote Gateway and Festo PLC is also active, but when I click connect CODESYS returns "connection failed" error. All ports on Festo PLC are forwarded.
Do you know what could be the issue here?
Thanks,
Alex
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
..so you mean:
You could scan the Festo plc via remote Gateway on the PI?
then I would try addition the option to add the ip adress on the right side, when you use the EdgeGateway. ( If you scan - and use the scan result to login /name of the plc / plcadress - xthe UDP driver is used to login in compare if you write the IP address of the festo plc on the right side - TCP driver is involved to connect)
Beside this - I would give CODESYS Automation server a try - the easiest way to do the same as you want to archive with the VPN connection.
With many more advantages beside just login by CODESYS ;-)
Yes, I can scan Festo PLC via remote Edge Gateway on the Pi.
And, yes, I've tried both ways: default scan(UDP), and plc_ip:11740(plc is also visible and with "green status")
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I am trying to remotly connect to Festo PLC(cpx-e-cec-m1 to be exact). My setup consists of CODESYS 3.5.16.10 and an OpenVPN connection to OpenVPN server.
At the other side I have Raspberry Pi4 with Edge Gateway for Linux(3.5.16.10) and Festo PLC.
I am able to connect to remote Gateway and Festo PLC is also active, but when I click connect CODESYS returns "connection failed" error. All ports on Festo PLC are forwarded.
Do you know what could be the issue here?
Thanks,
Alex
..so you mean:
You could scan the Festo plc via remote Gateway on the PI?
then I would try addition the option to add the ip adress on the right side, when you use the EdgeGateway. ( If you scan - and use the scan result to login /name of the plc / plcadress - xthe UDP driver is used to login in compare if you write the IP address of the festo plc on the right side - TCP driver is involved to connect)
Beside this - I would give CODESYS Automation server a try - the easiest way to do the same as you want to archive with the VPN connection.
With many more advantages beside just login by CODESYS ;-)
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
Especially to use the Webvisu on a mobile phone is a big benefit. (without having the procedure to login by vpn before)
Add Users:
https://help.codesys.com/webapp/_cas_add_user;product=codesys_automation_server;version=1.14.0.0
Webvisu:
https://www.youtube.com/watch?v=Kyf9bCpPa6s&t=1s
Remote Login CODESYS:
https://www.youtube.com/watch?v=8KLywg51Xyk&t=119s
you just could test/evaluate/use this for free - up to two plc's are free of charge.
Last edit: eschwellinger 2022-05-11
Thanks for your answer!
Yes, I can scan Festo PLC via remote Edge Gateway on the Pi.
And, yes, I've tried both ways: default scan(UDP), and plc_ip:11740(plc is also visible and with "green status")
must work, but last try is to use current version of the EdgeGateway on PI4, no other idea at the moment.
Last edit: eschwellinger 2022-05-11
extract the current version (debian package) inside of the store package and deploy it to your Pi4.