Connecting to Micro800 | Ignition User Manual (2024)

Connecting to Micro800 | Ignition User Manual (1)

Connecting to Micro800

Watch the video


New in

8.1.39

The Micro800 driver supports communication with the following Allen-Bradley Micro800 PLCs via EtherNet/IP over TCP/IP:

  • Micro820
  • Micro850
  • Micro870

Data Types

The driver supports the following data types:

  • DATE (Milliseconds since Unix epoch)
  • TIME (Represents duration in milliseconds)
  • BOOL
  • SINT
  • INT
  • DINT
  • LINT
  • USINT
  • UINT
  • UDINT
  • ULINT
  • REAL
  • LREAL
  • STRING (UTF-8 encoding, max limit of 80 characters)
  • BYTE
  • WORD
  • DWORD
  • LWORD

Connect to a Micro800 Device

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

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

    Connecting to Micro800 | Ignition User Manual (2)

  3. On the Devices page, click on Create new Device.

  4. Select Allen-Bradley Micro800 Driver, and click Next.

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

    • Name: Micro800
    • Hostname: Enter IP address for the device.

    Connecting to Micro800 | Ignition User Manual (3)

  6. Click Create New Device.

  7. The Devices page is displayed showing the Micro800 device was added to Ignition. The Status will show as Disconnected and then Connected.

    Connecting to Micro800 | Ignition User Manual (4)

  8. To see all the tags, go to OPC Client > Quick Client in the Config section. On the OPC Quick Client page expand the Micro800 device folder to view browsable tags.

    note

    Not all tags will be visible in the Quick Client. See the Browsing section for more info.

Device Connection Settings

General

GeneralDescription
NameThe device name.
DescriptionThe device description.
EnabledIf true, attempts connection to the device. Default is true.

Connectivity

ConnectivityDescription
HostnameHostname or IP address of the controller or ethernet module.
PortPort to connect to on the remote device.
Local AddressAddress of network adapter to connect from.
TimeoutMax amount of time to wait, in milliseconds, for responses from the processor.
Max Concurrent RequestsControls both the max number of concurrent unconnected requests and the max number of concurrent connected requests (and therefore CIP connections) allowed.

Advanced

AdvancedDescription
Write Priority RatioThe number of write requests to execute for every read request when an abundance of both types are queued up for execution.
Automatic RebrowseMonitors for tag changes and automatically initiates a re-browse when detected. If this is disabled, tags will only be browsed when connecting and reconnecting.
CIP Connection SizeThe CIP connection size to use during Forward Open requests.
CIP Connection TimeoutTarget timeout, in milliseconds, for CIP connections and RPI.
Write Priority RatioThe number of write requests to execute for every read request when an abundance of both types are queued up for execution.

Browsing

The driver supports browsing global variables. However, not all global variables are exposed by the PLC via browse request, including:

  • UDTs and system-defined structures
  • BOOL data type arrays
  • Arrays with non-zero starting indices

Despite this limitation, these global variables can still be made browsable in Ignition using the supplementary Addresses page. This page allows users to import global variables from a CSV file downloaded from Connected Components Workbench.

Downloading the CSV file from Connected Components Workbench

  1. Open Connected Components Workbench and load the Micro800 project.

  2. Right-click on the controller in the Project Organizer pane and select Export > Variables.

    Connecting to Micro800 | Ignition User Manual (5)

  3. Select a suitable download location and change the file format to Comma Separated Values.

  4. Click Save.

Loading the CSV file into Ignition

  1. Navigate to the Config section of the Gateway webpage.

  2. Select OPC UA > Device Connections.

  3. Locate the Micro800 device connection and click the More dropdown and select Addresses.

  4. Click the Load Configuration File button and choose the CSV file obtained from Connected Components Workbench.

  5. Click Load. Entries for variables that can be imported should populate the page.

    Connecting to Micro800 | Ignition User Manual (6)

  6. Click Save Configuration. These variables should now be visible as nodes in the OPC Browser or Quick Client.

    Connecting to Micro800 | Ignition User Manual (7)

note

The Micro800 driver is designed to work with individual variables exported from the Connected Components Workbench and cannot directly read Function Blocks.

caution

To prevent conflicting definitions with tags that can be browsed, only global variables that are not exposed via browsing the device can be specified on this page. This is determined based on the variable’s name, data type, dimensions, etc. For CSV files, any global variable not meeting this condition will be automatically filtered out on import, and for manual entry, filtering will occur on save. The com.inductiveautomation.ignition.drivers.micro800.util.tags.GlobalVariableCsvParser logger can be set to TRACE to determine what was filtered out.

Addressing

In most cases, you shouldn’t need to worry about OPC Item Paths as they’re provided through the device browse or file import. The only exception is if global variables are manually being added to the Addresses page (not recommended). In which case, the rules are:

  • Paths must match with the global variable names in Connected Components Workbench.
  • Paths must resolve to an atomic data type (or an array of an atomic data type), i.e. keep “drilling” down until it’s not a structure.

For example, consider this UDT in Connected Components Workbench:

Connecting to Micro800 | Ignition User Manual (8)

To manually expose this UDT as a browsable node in OPC Browser or Quick Client, the paths need to be specified in the Addresses page like so:

Connecting to Micro800 | Ignition User Manual (9)

Bit-Level Addressing

For bit-leveling addressing, append a period and the bit index to the OPC Item Path. This is applicable for all numerical data types. The bit index must be within range of the addressed variable’s data type. Examples:

  • MyUint.1 (First bit of MyUint)
  • MyByteArray[0].7 (7th bit of the 0th array element inside MyByteArray)
  • MyUdtInstance.MyDint.11 (11th bit of the member tag, MyDint, inside the UDT, MyUdtInstance)

Performance Considerations

Due to limitations with how the Micro800 series implements the communication protocol, there are limited opportunities for tag read/write optimizations, as implemented in other drivers. For this reason, subscriptions containing unused tags should be avoided whenever possible as well as subscriptions with unnecessarily fast rates. The Max Concurrent Requests setting can be adjusted to allow the Micro800 Driver to send multiple requests at the same time which can greatly improve throughput. However be wary that increasing this value too high may yield diminishing returns or negatively impact the performance of the PLC.

Connecting to Micro800 | Ignition User Manual (2024)
Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated:

Views: 5663

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.