The beta Micro800 driver must be installed with the latest Ignition 8.1.38 Nightly (dated Feb 2nd or later) and is capable of running on all editions of Ignition. The driver supports communication with the following Allen-Bradley Micro800 PLCs via EtherNet/IP over TCP/IP:
The driver supports the following atomic Micro800 data types:
- DATE (numerical value representing milliseconds since Unix epoch)
- TIME (numerical value representing milliseconds)
- STRING (UTF-8 encoded string with a max length of 80 characters)
Navigate to the Config section of the Gateway webpage.
Select OPC UA > Device Connections.
Click on Create new Device.
Select Allen-Bradley Micro800 Driver then click Next at the bottom of the page.
Configure the below fields
- Hostname (the IP address or hostname of the Micro800 device)
Click Create New Device at the bottom of the page.
The driver supports browsing global variables. However, not all global variables are exposed by the PLC via browse request. Notably these include:
- 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 via 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 CCW
- Open Connected Components Workbench and load the Micro800 project
- Right click on the controller in the Project Organizer pane and select Export > Variables.
- Select a suitable download location and change the file format to Comma Separated Values File.
- Click Save.
Loading the CSV file into Ignition
- Navigate to the Config section of the Gateway webpage.
- Select OPC UA > Device Connections.
- Locate the Micro800 device connection and click the More dropdown and select Addresses.
- Click the Load Configuration File button and choose a CSV file obtained from Connected Components Workbench.
- Click Load. Entries for variables that can be imported should populate the page.
- Click Save Configuration. These variables should now be visible as nodes in the OPC Browser or Quick Client.
Note: to prevent conflicting definitions with the 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.
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 CCW
- 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 CCW:
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:
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.7(7th bit of the 0th array element inside MyByteArray)
MyUdtInstance.MyDint.11(11th bit of the member tag, MyDint, inside the UDT, MyUdtInstance)
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.
8.1.38 Nightly (dated Feb 2nd or later)