gsplash Posted February 2, 2015 Report Share Posted February 2, 2015 Hey there im new to plc programming and I have tried to make an application witch could control the plc remotely . Ethernet ethernet = new Ethernet("*REMOTE_IP*", 20256, EthProtocol.TCP, 3, 3000); Now when im on the same network[same router] as the plc everything goes fine but once I try to reach it from a different network Im getting an exception at this part. I have opened the 20256 and 20257 ports on the router and it still didnt worked. any idea what might be wrong ? is there a chance that the plc it self reject the remote connection ? *PLC model - V1040-T20B Thanks in advanced Quote Link to comment Share on other sites More sharing options...
Saragani Posted February 3, 2015 Report Share Posted February 3, 2015 Can you ping the IP? Can you trace route it? Can you reach the PLC using Visilogic? Maybe you should configure a NAT on the router the PLC is connected to. Quote Link to comment Share on other sites More sharing options...
gsplash Posted February 6, 2015 Author Report Share Posted February 6, 2015 Thanks for trying to help and sorry for the late answer,There was an issue with port forwarding everything is ok now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.