patch91484@hotmail.com

CJ2 Ethernet/IP connection issue

6 posts in this topic

I have an interesting problem.

I am using CX-Programmer to connect to a CJ2 over a VPN. If I set the connection to use FINS, everything works fine. If I set the connection to use Ethernet/IP, it times out almost instantly. I can plug straight into the CJ2 and use Ethernet/IP and that works. I've disabled my firewall to rule that out. I've wiresharked the connection and I don't see any packets when using Ethernet/IP (not even originating packets). I can of course see packets using FINS since that connection works.

I have also noticed that Sysmac Studio will connect to my NJs over the VPN, but I am unable to transfer or compare any of the Ethernet/IP connection settings. I'm thinking these two issues are related.

I'm running the latest version of CX-Programmer on a windows 10 64 bit laptop. Any ideas what this could be?

Share this post


Link to post
Share on other sites

For EtherNet/IP, do you have the default gateway in the PLC right pointing to the VPN router?  Are your PC and the PLC on the same subnet based on IP addresses?

Share this post


Link to post
Share on other sites

Yes the default gateway is pointing to the VPN router. The IPs of both the PLC and PC are on the same subnet.

I believe this would be required in order for the FINS ethernet connection to work, correct?

Share this post


Link to post
Share on other sites

One more detail that may be helpful. I just tried to connect using a virtual machine and it works. So I am running a windows 7 virtual machine on a windows 10 host. Running Cx-Programmer on the virtual machine, I can connect using Ethernet/IP (with the host machine connected to the VPN). If I try to run Cx-Programmer on the host, I can not connect using Ethernet/IP.

This leads me to believe cx-programmer isn’t using the correct network adapter (the VPN network adapter). I’m not sure what the remedy for that would be.

 

Thanks

Share this post


Link to post
Share on other sites

Sounds more like a firewall issue then...

Share this post


Link to post
Share on other sites

That is what I originally thought as well. I turned off all firewalls but the problem persists. I'm stumped on this one...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now