Skip to end of metadata
Go to start of metadata


Note: This driver is optimized for Logix family devices with firmware version 21+, but supports earlier firmware versions with significantly reduced performance.

Connect to an Allen-Bradley Logix Device

  1. Go to the Config section of the Gateway Webpage.
  2. Scroll down and select OPC UA > Device Connections.

     
     
  3. On the Devices page, find the blue arrow and click on Create new Device.
  4. Select Allen-Bradley Logix Driver, and click Next.



  5. Fill in the following fields:

    Name: CLX
    Hostname: type the IP address for the PLC, for example 10.20.1.54.

    Leave the default values in the remaining fields.



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


  8. 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.

On this page ...

IULocgo


Connecting to ControlLogix v21






Driver Implementation

One noteworthy implementation of the Logix driver is how boolean arrays are handled. Boolean arrays items are browsed as members of a 32-bit DWORD. Thus, a BOOL[64] in the PLC is implemented as DWORD[2] in the driver. 

Below is a table representing how members of a boolean array items are mapped in the PLC, compared to the Logix driver's implementation. 

PLC MappingDriver Implementation
boolTag[0]
boolTag[0].0
boolTag[31]
boolTag[0].31
boolTag[32]
boolTag[1].0
boolTag[63]
boolTag[1].31


Device Connection Settings

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

General

Name

The user-defined name for this Device. The name chosen will show up in OPC Item Paths and under OPC-UA Server > Devices of the Configure page of the Gateway. 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.

Connectivity

Hostname

This is the IP Address of the ControlLogix Ethernet module (1756-ENET) to route through to connect a ControlLogix processor. EthernetIP protocol on TCP port 44818 (0xAF12) is used to communicate to ControlLogix processors.

Port

Port to connect to the remote device.

TimeoutAfter sending a request to the ControlLogix processor, the Communication Timeout setting is the amount of time in msec to wait for a response before treating it as a failure.
Max 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 your communications with the device.
Slot NumberThe Slot Number value is the zero based ControlLogix chassis slot number of the ControlLogix processor to connect to.

Advanced

Automatic Rebrowse



Monitor for tag additions and UDT changes and automatically initiate a re-browse when detected. If this is disabled tags will only be browsed when connecting and reconnecting. (Default is true.)



Identity Request Frequency

The following feature is new in Ignition version 8.1.3
Click here to check out the other new features
Frequency, in milliseconds, that the request to read CIP Identity Object attributes occurs at. (Default is 5,000.)

CIP Connection Size

The CIP connection size to use during Forward Open requests. (Default is 500.)


Related Topics ...


  • No labels