Skip to main content
Version: 7.9

Connecting to PLC-5

Inductive University

Connecting to PLC-5

Watch the video


ASCII data types from a PLC-5 are not supported by the Allen-Bradley PLC-5 driver

Connect to a Device

  1. Go to the Configure section of the Gateway webpage.
  2. Scroll down and select OPC-UA Server > Devices.
  3. On the Devices page, find the blue arrow and click on Create new Device.
  4. On the Add Device Step 1: Choose Type page, select Allen-Bradley PLC-5, and click Next.
  5. On the New Device page, leave all the default values and type in the following fields:
    • Name: PLC-5
    • Hostname: type the IP address for the PLC
  6. Click Create New Device. The Devices page is displayed showing the PLC-5 device is added to Ignition. The Status will show as Disconnected and then Connected.
  7. To see all the tags, navigate to the Configure section of the gateway, and click on Quick Client under OPC Connections. On the OPC Quick Client page, expand the folder matching the name used in step 5, and expand the Global folder to see available tags.

Device Connection Settings

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

General Settings

NameThe 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 Settings

HostnameThe Hostname value is the IP Address of the PLC-5 processor.The protocol that the PLC-5 processor supports is automatically detected. It will use either CSP protocol on port 2222 (0x8AE) or EthernetIP protocol on port 44818 (0xAF12).
Communication TimeoutAfter sending a request to the PLC-5 processor, the Communication Timeout setting is the amount of time in milliseconds to wait for a response before treating it as a failure.
Browse Cache TimeoutWhen the data table layout is read from the PLC-5 processor, the Browse Cache Timeout value is the amount of time in milliseconds to cache the results.
Connection PathThe Connection Path value is used to define the route of the PLC-5 processor to connect to. Currently routing through the ControlLogix Ethernet Communication Interface Module (1756-ENET) to the ControlLogix Data Highway Plus-Remote I/O Communication Interface Module (1756-DHRIO) and on to a PLC-5 processor of the DH+ network is supported. For a more in depth explanation of connection paths, see Allen Bradley Connection Paths Explained section.

More Information On Connection Path

The Connection Path format contains 4 numbers separated by commas. The first number is always 1 and tells the 1756-ENET module to route through the backplane. The second number is the slot number of the 1756-DHRIO module of the DH+ network the PLC-5 processor is connected to. The third number is the channel of the 1756-DHRIO module that the PLC-5 processor is connected to. Use 2 for channel A and 3 for channel B. The final and fourth number is the DH+ node number. This number is in octal and is the same as configured in the PLC-5 processor. See the ControlLogix Ethernet Communication interface Module User Manual for more information.

Connection Path Format: 1,<1756-DHRIO slot number>,<1756-DHRIO channel>,<DH+ node number>

The valid range for the 1756-DHRIO slot number is between 0 and 16 but depends on the chassis size. The 1756-DHRIO channel is either 2 for channel A or 3 for channel B. The DH+ node number range is from 00 to 77 octal.

Supported PLC-5 Connection Methods

  • PLC-5 L/20E, L/40E, L/80E direct
  • All PLC-5 processors connected through DH+ via the 1756-DHRIO module.