Description

Learn how to connect to a ControlLogix through another ControlLogix Gateway using ENBT.

Video recorded using: Ignition 8.3

Transcript

(open in window)

[00:00] In this lesson, I'll demonstrate how to connect to an Allen-Bradley ControlLogix PLC through another ControlLogix gateway using ENBT. This is important when you have PLCs on two different subnets and Ignition is only on one of those subnets. By chaining the PLCs together, Ignition will be able to talk to both PLCs at the same time. Before getting started, I'd like to walk through this diagram of an example set up with two PLCs connected via ENBT from Ignition. This routes into the first ControlLogix PLC through an ENBT module. Then it goes out of a separate ENBT module and into a second ControlLogix PLC, and then it goes to its processor. We can tell Ignition how to navigate this with a connection path. Connection paths will be unique to a setup, so let's look at a table that describes how to build one, and we can make the path for this diagram. The first number in the connection path is always going to be a 1, and that means to move to the back plane of the first device. The second number is going to be the slot number of the module that we want to move to.

[01:06] This example has another ENBT module in slot number three, so the second number in the connection path is a three. The third number is the exit port or the channel of that module. In this case, the ethernet port is port 2. The fourth number is going to depend on the module we're connecting to in the target PLC. This will either be a controlnet address, a DH+ station number, or in the case of this lesson, an IP address of an ENBT module. The IP address here is 192.168.0.56. The fifth number is going to be 1 again to move to the back plane of the second device. And finally, the sixth number is going to be the processor number or the slot number of the module to move to. In this example, the target is the processor in slot 0. Now that we've walked through building a connection path, I'll show you what it actually looks like to do this in Ignition. On my gateway webpage, I'll go to the connections section, expand devices, and click connections.

[02:05] Then I'll click Create Device connection. The PLC that I want to connect to is a ControlLogix gateway on a firmware version greater than 21. So I'll choose the Allen-Bradley Logix driver. I'll need to give the connection a name. I'll just call mine "ControlLogix ENBT". Next, I need to specify the host name or IP address of the ControlLogix gateway. In other words, the first PLC of the two I'm working with. I'll leave the default port value. Then I need to find the connection path property. I'm not gonna have the same exact path as the example we looked at earlier, but I can build mine using the same process and with the information that's specific to my setup, my first number is going to be a 1 to move to the back plane of my gateway. Then my ENBT module is in slot number 2. The ethernet exit port is port 2. Then the fourth number is the IP address of the ENBT module for the second device, which in my case is 10.20.4.65, and then I need to move to the back plane of the second device, which means I put a 1 and finally I'll move to the processor in slot 0.

[03:10] Now that I have my specific connection path configured, I can click create device connection. Once my device status says connected, I'll head over to my designer, browse my devices, find the new connection, and I can confirm that I'm seeing my tag values.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.