Skip to main content
Version: 8.1

Connecting to CompactLogix

note

This driver is made for CompactLogix firmware up to version 20.18.

Inductive University

Connecting to Legacy CompactLogix

Watch the video

Connect to an Allen-Bradley CompactLogix Device​

  1. Go to the Config section of the Gateway Webpage.

  2. Scroll down and select OPC UA > Device Connections.

    Connect to AB CompactLogix Step 2

  3. On the Devices page, find the blue arrow and click on Create new Device.

  4. Select Legacy Allen-Bradley CompactLogix, and click Next.

    Connect to AB CompactLogix Step 4

  5. On the New Device page, leave all the default values and type in the following fields:

    • Name: CompactLogix
    • Hostname: type the IP address for the PLC, for example 10.20.4.55.

    Connect to AB CompactLogix Step 5

  6. Click Create New Device. The Devices page is displayed showing the CompactLogix device is added to Ignition. The Status will show as Disconnected and then Connected.

    Connect to AB CompactLogix Step 6

  7. To see all the Tags, go to OPC Client > Quick Client in the Config section. On the OPC Quick Client page, expand the CompactLogix folder and in the Global folder you can see all the tags.

Device Connection Settings​

The General settings are common to all Allen Bradley devices, and the Connectivity settings are device dependent.

General Settings​

NameDescription
NameThe user-defined name for this Device. The Device Name must be alphanumeric.
DescriptionThe user-defined description for the device. This is only used as a note to differentiate between devices.
Enable DeviceOnly devices that are enabled appear in Connections > Devices of the Status page of the Gateway and thus have their Tags available for use. Default is true.

Connectivity Settings​

NameDescription
HostnameThis is the IP Address of the Ethernet module to route through to connect a CompactLogix processor.
Local Address​
New in 8.1.8
The local address to connect from when establishing a TCP connection. If left blank, then the driver will simply pick an available address.
TimeoutThe timeout settings refer to the communication between the device driver and the OPC-UA server and usually can be left at their default values.
Connection PathThe Connection Path value is used to define the route to connect to the processor. The Connection Path format contains 4 numbers separated by commas. The first number is always 1 and tells the Ethernet module to route through the backplane. The rest of the numbers vary by device type, for a more in depth explanation of connection paths, see Allen Bradley Connection Paths Explained section.
Concurrent RequestsThe number of requests that Ignition will try to send to the device at the same time. Increasing this number can sometimes help with your request throughput, however increasing this too much can overwhelm the device and hurt communications with the device.

Advanced​

NameDescription
Disable Automatic BrowseDisables the automatic browse setting. Default is false.
Show String ArraysDisables the Show String Arrays setting. Default is false.
Status Request Poll RateControls the poll rate for status requests, in milliseconds. Default is 1,000.