Connecting PLC to Ignition through 1783-NATR

Attempting to connect a PLC (192.168.0.1) to Ignition through a 1783-NATR using a rule. The Rule has public IP address of 172.29.1.81 to private IP address 192.168.0.1. I'm able to connect but I'm not seeing the normal options inside Ignition Designer like I would when connecting to PLC directly.
image
Line 1 Depal is a similar PLC that I'm able to interface with how I would want and then Line 1 PDC is the PLC going through the NATR.


I've set them up the same way through the Ignition Browser but maybe this is where my fault is?

Is the PDC PLC an older model/firmware (pre-v21), and do you have a gateway IP set in the PLC to point back to the NATR private IP of the device? (I think that may be required, but don't recall).

2 Likes

Yep. It's required.

2 Likes

I have the gateway IP address set to 192.168.0.100. Set the rule to look at the gateway on the NATR. I've tried putting the different combinations of the IP addresses in Hostname, Local Address and Connection Path.

You need to delete the Local Address and Connection Path (leave them both blank), then make sure your slot number is correct (0 if it's CompactLogix, otherwise make sure the slot number matches the physical slot number - 0-based numbering of course).

I'm assuming your Ignition Gateway is on the 172.29.1.x network?

For the NATR, if the public IP is set to 172.29.1.81, you'll need to find what the private IP of the NATR is set to. If it's set to 192.168.0.100 and your PLC is 192.168.0.1, you'll get into the network configuration of your PLC and set the Gateway IP address (this isn't talking about the Ignition Gateway, but a network gateway/router) to 192.168.0.100. You'll want to make sure the sub net mask on the PLC is also 255.255.255.0 (just assuming this, but if the last 0 is anything but 0 or 128, it could be a problem also). Your subnet for the private side of the NATR needs to match that of the PLC also.

Might help to show a screenshot of the network configuration of the NATR and PLC to see if there's anything we can see wrong on them.

Is Ignition pointing at the NATR WAN port, and the PLC on the DLR ports?

Have you configured NAT?

What subnet is the gateway using?

What subnet is the NATR WAN port using?

These two above must be routable to each other.

What subnet are the NATR DLR ports using?

What subnet is the actual PLC using?

These latter two must be routable to each other.

Here is an example from a working setup.

Public Network:
image

Private network:

Advanced Network:
image

NAT:

Igniiton Device:

How it shows up in RSLinx:
image

PLC port setup (Note the gateway address points to the NATR's private IP:
image

3 Likes

Adding one Note, also maybe will be needed to add a PORT in the CUSTOMS rules for the NAT entry of the PLC, as example for OMRON you have to add 9600 as tcp/ip port if not, it will answer a ping but will never connect from ignition/CX software, check example image.

1 Like