Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Connect to a 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 MicroLogix, and click Next.

     

  5. On the New Device page, leave all the default values and type in the following fields:
    Name: MLX
    Hostname: Enter IP address for the PLC, for example 10.20.7.77



  6. Click Create New Device.
  7. The Devices page is displayed showing the MicroLogix 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 MicroLogix folder which contains all the folders with the individual Tags.


On_this_page


Scroll html ignore
Iulink
Description
URLhttps://www.inductiveuniversity.com/video/connecting-to-micrologix?r=%2Fvideo%2Fsearch%2F%3Fq%3Dconnecting%20to%20Micrologix%26checked_videos%3D
NameConnecting to MicroLogix




Device Connection Settings

The General settings settings are common to all Allen-Bradley devices, and the 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

The Hostname value is the IP Address of the MicroLogix 1100 processor, MicroLogix 1400 processor or 1761-NET-ENI Ethernet interface. EthernetIP protocol on TCP port 44818 (0xAF12) is used to communicate to the listed devices.

Local Address
New_in
Version8.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. 

Communication TimeoutAfter sending a request to the MicroLogix processor, the Communication Timeout setting is the amount of time in msec to wait for a response before treating it as a failure.
Browse Cache TimeoutWhen the data table layout is read from the MicroLogix processor, the Browse Cache Timeout value is the amount of time in msec to cache the results.

Supported MicroLogix Connection Methods

  • MicroLogix 1100 and 1400 direct
  • MicroLogix 1100 and 1400 connected through 1761-NET-ENI
  • MicroLogix 1100/1400 connected through Spectrum Controls WebPort 500

Caution_friendly

MicroLogix 1200 and 1500 are not fully supported. Browsing is not available on these devices, so the 'Disable Processor Browse' advanced property will need to be set to True on the device connection.

Additionally, the MicroLogix driver can not access Input Parameters.



Note_friendly

Some Micrologix devices may get stuck in a 'Browse Pending' status. In this case setting the connection path property to 1,0 should resolve the issue.