I am trying to remotly connect to Festo PLC(cpx-e-cec-m1 to be exact). My setup consists of CODESYS 22.214.171.124 and an OpenVPN connection to OpenVPN server.
At the other side I have Raspberry Pi4 with Edge Gateway for Linux(126.96.36.199) 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?
..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 ;-)
Project & Apps:
Especially to use the Webvisu on a mobile phone is a big benefit. (without having the procedure to login by vpn before)
Remote Login CODESYS:
you just could test/evaluate/use this for free - up to two plc's are free of charge.
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.
extract the current version (debian package) inside of the store package and deploy it to your Pi4.
Log in to post a comment.