Skip to Content
On this page

Micro CIP

EtherNet/IP tag read/write for Micro800 Micro850 and Micro870 controllers.

Compatible devices and models

Device series / model examplesConnection requirements
Micro850, Micro870 (2080 series)Use an Ethernet port with CIP Symbolic tag access and allow external access to the target variables. This plugin uses tag names; MicroLogix N7/B3 file-table addresses belong to a different protocol.

Prepare the Micro800 endpoint

Micro CIP uses unconnected symbolic EtherNet/IP tag services over TCP for Micro850/Micro870 controllers providing those services. It does not use MicroLogix DF1/PCCC file tables such as N7:0. A Micro800 family name alone does not establish Ethernet tag-server support.

Use Connected Components Workbench (CCW) for Micro800 engineering. Do not apply Studio 5000 chassis or External Access screenshots to CCW.

  1. Open the project matching the controller. Confirm its Ethernet IPv4 address, subnet, gateway and address assignment method. Prevent an unexpected BOOTP/DHCP address change when using a known fixed endpoint; check the online address rather than only the offline project.
  2. Select an externally readable basic variable from the controller’s global variables. Record its external name, type, scope and online value. Start with an independent DemoValue : INT, for example 1234, and confirm symbolic access for the actual firmware. Local and system variables are not automatically published global tags.
  3. Download through the site’s change procedure and monitor the actual value. Open write access only for an approved test variable and check that controller logic does not overwrite it. Gateway permissions cannot override controller restrictions.
  4. Allow TCP 44818 from the gateway to the actual controller interface. Symbolic access does not require assigning Modbus registers or creating a Modbus mapping.

Check the model and firmware against Rockwell 2080-UM002, Micro830, Micro850, and Micro870 Programmable Controllers . Retain the site’s CCW network and variable definitions. UI names, publication conditions and STRING layouts must follow that CCW/firmware version.

Configure Ethernet in CCW

Select Controller → Ethernet in the device configuration tree and keep Port State = Enabled. Obtain IPv4 address automatically using DHCP, selected below, requests an assigned address. For a fixed endpoint, select Configure IPv4 address and settings and enter IPv4 Address, Subnet Mask and Gateway Address. For example, use 192.168.10.30, 255.255.255.0 and the actual router address according to the site’s network plan; the gateway TCP client then connects to 192.168.10.30:44818. The controller’s Gateway Address is its router, not the collection application’s IP address.

CCW Controller - Ethernet port enable, DHCP and static IPv4 settings

Source: Rockwell 2080-UM002R-EN-E (September 2025), pages 71–72. The IPv4/IPv6 groups shown apply to CCW 23 or later with project version 23 for Micro850/Micro870 Lx0E controllers. Use the corresponding Ethernet page for IPv4 on other versions. Download through the site’s change procedure and confirm the online address before connecting the gateway.

Check the global variable table in CCW

Expand the Micro850 controller in Project Organizer and open Global Variables. Enter Name, Data Type and, when required, Initial Value; monitor the running value after going online. The manufacturer example below uses UDINT_FromA of type UDINT, which maps to UInt32 in the gateway. The DemoValue : INT example on this page maps to Int16. Use the variable name rather than its Alias or Comment as the address.

CCW Micro850 global variable Name, Data Type and Initial Value columns

Source: Rockwell 2080-RM001F-EN-E (November 2016), page 247, CCW Micro850 example.

Create a TCP client and Micro CIP device

Open Development Configuration → Collection Configuration and add a TCP client. Enter the actual controller address, for example 192.168.10.30:44818, not a presumed factory address. This entry supports active TCP clients only. Generic SSL wrapping is not CIP Security.

Micro CIP TCP client and controller address, Chinese interface

Create a Micro CIP device on that channel. Enable the channel and device after checking the actual address, services and variables. See Collection Configuration for common scheduling, logging and permissions.

Selecting Micro CIP and its TCP channel

SettingMeaning and selection
Target slotDefault 0. Target slot field in the port/slot path; do not apply 1756 chassis rules to Micro800. Start at 0 and verify the endpoint requirement. Byte storage 0–255 is not a model compatibility range.
Backplane portDefault 1. Port byte, not a NIC number or TCP port. There is no multi-hop RoutePath editor here.
Maximum packet lengthDefault 200; valid 1–474 bytes. Budgets include encoded paths, services and estimated response data, not register counts. Large tags do not gain automatic fragmented reads.
Read/write timeoutDefault 3000 ms for session/business responses. TCP connect timeout is separate. Fix explicit service/tag errors rather than extending it.
Pre-frame delayDefault 0 ms before sending; not RPI or a collection interval.
Reverse string byte wordsDefault off in the UI. This entry does not apply the inherited switch to its connection.
Data orderDefault DCBA, little-endian conversion. Verify known INT and REAL values; it does not change declared types.
Failure retriesDefault 3. Correct persistent name, permission, type and path errors first.
Read/write duty cycleDefault 3, minimum 1. Arrange one read after n writes under continuous write traffic; not a percentage.
Write priorityDefault off. Allows writes to cancel active reads; leave off for initial read-only collection.

Micro CIP path, packet and runtime properties

Micro CIP runtime and format properties

Map a global variable to its address

For an externally readable CCW variable DemoValue : INT = 1234, enter DemoValue, choose Int16, array length 1, read-only. The symbolic name is not a description, a file-table address or an automatically assigned Modbus register.

An INT global tag configured as an Int16 scalar

There are no extra variable plugin properties for this entry.

Address fieldPurpose and limit
Tag pathSegments form one path: Machine and Speed become Machine.Speed. The endpoint must actually expose that member; editor support alone does not establish Micro800 structure compatibility.
Tag/member nameActual external name. A segment cannot contain .[];=. Do not add a Studio 5000 Program: prefix unless the endpoint explicitly publishes it.
Array indicesElement start, such as Samples[3], within the actual declared bounds. Encoding range is 0–65535. Configure the element count separately in Array Length.
Byte-order overrideInherits device DCBA when unset. Changes conversion, not the CIP type or element count.
Encoding overrideString read decoding; numeric variables leave it unset. Writes still construct UTF-8 bytes.
String byte lengthDefault conversion capacity 100 bytes. Not characters or array elements; layout conditions below still apply.
BCD overrideLeave unset for ordinary INT, DINT and REAL. Use only when stored data actually uses that representation.
Variable string length overrideLength-based conversion by default. Cannot convert another Micro800 STRING layout into a Logix-compatible structure.

Micro CIP segments, indices and conversion overrides

Actual endpoint definitionGateway configurationCompare
DemoValue : INT = 1234DemoValue, Int16, length 11234 and advancing time.
Counter : DINT = 123456Counter, Int32, length 1The complete 32-bit integer.
Temperature : REAL = 12.5Temperature, Float, length 112.5 with the actual IEEE type.
Published INT array Samples, elements 3–5 = 100,200,300Samples[3], Int16, length 3Ordered values and bounds, after confirming firmware array-path support.
Ready : BOOLReady, Boolean, length 1Verify a scalar before BOOL arrays.

Decimal has no CIP write-type mapping. Byte represents one byte; signed SINT interpretation needs checking. Structures, BOOL arrays, large arrays and special types require separate verification on the actual controller.

Verify STRING layout first

Current reads require two structure-identification bytes + four LEN bytes + data. LEN must fit the returned payload. Writes address .LEN and .DATA[0] using UTF-8 byte length; empty strings write only LEN=0. These are entry-specific requirements, not a definition of every Micro800 STRING.

Use String only when the actual engineering type and raw response match. Different length headers, members or storage layouts cannot be repaired by changing the generic length or reverse switch. STRING arrays and over-capacity writes are outside the scalar example.

Verify and troubleshoot

After enabling the confirmed field connection, compare CCW’s online value with Live Variables, quality and advancing collection time. Start with INT, then DINT, REAL and small arrays. Message/channel/device logs distinguish TCP, Session, service and conversion failures. An open port does not establish symbolic tag access.

Micro CIP saved variable list

LogixHost software-server example

Use the EthernetIPSharp LogixHost example . Keep its V32.11 identity and server creation code. Replace its tag initialization with the following, set the listener to await adapter.ListenAsync(IPAddress.Loopback, 15018);, and update the console address message to match.

logix.Tags.AddTag("flag", LogixDataTypes.BOOL).Write(0, true); logix.Tags.AddTag("intValue", LogixDataTypes.INT).Write(0, (short)1234); logix.Tags.AddTag("rate", LogixDataTypes.DINT).Write(0, 534); logix.Tags.AddTag("temperature", LogixDataTypes.REAL).Write(0, 72.5f); var counts = logix.Tags.AddTag("counts", LogixDataTypes.INT, elementCount: 10); for (int i = 0; i < counts.ElementCount; i++) counts.Write(i * counts.ElementSize, (short)(100 + i)); logix.Tags.AddTag("Program:MainProgram", LogixDataTypes.DINT); logix.Tags.AddTag("Program:MainProgram.ProgramCounter", LogixDataTypes.DINT).Write(0, 2026); var template = logix.Tags.AddTemplate("STRING", new TemplateMember("LEN", LogixDataTypes.DINT), new TemplateMember("DATA", LogixDataTypes.SINT, LogixDataTypes.StringMaxLength)); var textTag = logix.Tags.AddTag("TextTag", template); var bytes = System.Text.Encoding.UTF8.GetBytes("A中"); textTag.SetData(BitConverter.GetBytes(bytes.Length)); textTag.SetData(bytes, LogixDataTypes.StringDataOffset);

Run dotnet run --project tests/LogixHost/LogixHost.csproj from the project root and leave the console open. Press Ctrl+C to stop. The original program uses a fixed port 44818; edit the listener before running it. Adding numeric command-line arguments to that original program does not change its port.

The server listens on loopback 127.0.0.1:15018. The initialization sets rate : DINT = 534, intValue : INT = 1234, temperature : REAL = 72.5, flag : BOOL = true, and counts : INT[10] to 100–109. TextTag contains UTF-8 A中 with a 4-byte LEN; program tag ProgramCounter is 2026. Use the address below when the gateway and server run on the same computer.

Gateway TCP client targeting LogixHost at 127.0.0.1:15018

Select Micro CIP on this TCP client and keep DCBA data order. Add intValue / Int16 / length 1, temperature / Float / length 1 and counts[3] / Int16 / length 3. These names belong to the software example; use the actual global-variable names created in CCW for a controller.

Micro CIP software intValue variable, Int16, length 1

The example below uses a Logix software tag server at 127.0.0.1:15018: INT intValue=1234, REAL temperature=72.5, and three INT elements from counts[3] returned [103,104,105].

Micro CIP reading software INT, REAL and an indexed INT array

SymptomCheck
TCP failureOnline IP, DHCP/BOOTP, subnet, routes, firewall and TCP44818.
Session works but tag failsFirmware symbolic service, published global name, scope and access; do not use MicroLogix file tables.
Wrong value or signINT/Int16, DINT/Int32, REAL/Float, byte order and controller logic.
Partial/failed arrayDimensions, start/count, request budget and 474-byte boundary; automatic continuation is not guaranteed.
STRING failureActual structure identifier, LEN, members and DATA capacity.
Ineffective writeExternal write conditions, gateway permission and controller logic overwriting the value.