On this page
Logix CIP
Unconnected CIP tag read/write for controllers such as ControlLogix 1756-L82E and CompactLogix 1769-L33ER/5069-L306ER.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| ControlLogix 1756 (for example, 1756-L82E) | The controller must expose EtherNet/IP tag services. Set the route, backplane and slot for the actual CPU Ethernet port or chassis Ethernet module. |
| CompactLogix 5370 (for example, 1769-L33ER), 5380 (for example, 5069-L306ER) | Use the controller’s EtherNet/IP interface. Match tag external access, data type and scope to the variable configuration. |
Prepare accessible tags in Studio 5000
Logix CIP uses unconnected explicit EtherNet/IP tag services over TCP. Unconnected Send routes the request through the configured backplane and CPU slot. This entry has no Forward Open capacity, watchdog, multi-hop route editor or Logical mode. Choose ControlLogix CIP when those features are required.
Open the project matching the CPU and firmware in Studio 5000 Logix Designer. Confirm the first Ethernet interface’s IP, subnet, gateway and CPU slot. Allow TCP 44818 from the gateway. The Ethernet module’s address and the CPU slot are separate values; cyclic I/O assemblies are not required for this explicit tag connection.
-
Right-click Controller Organizer → Controller Tags → New Tag. Create a separate test tag
DemoValue, Type Base, Data Type DINT, with controller scope.
-
Set External Access to Read Only, or Read/Write for an approved writable test tag.
Noneblocks external access. An alias inherits its base tag’s access. Logix Designer can monitor a tag even when external applications cannot read it.
-
Download through the site’s normal change procedure. Record an online value in Monitor Tags, such as 1234, and confirm that controller logic does not overwrite the test tag. A controller tag uses
DemoValue; a program tag usesProgram:MainProgram.DemoValue. -
For an array, define a type such as
Samples : INT[10]and record known elements. Indices are zero-based: the final element is[9].
The original figures are from 1756-PM004L, I/O and Tag Data , pages 59 and 61; tag creation and access are described on pages 31–35 and 57–62. Names in the figures belong to the manufacturer’s example. 1756-PM020I, Data Access , pages 16–28, describes the symbolic Read Tag and Write Tag services.
Create the channel and device
Open Development Configuration → Collection Configuration and add a TCP client. Enter the actual first interface and port, for example 192.168.10.20:44818. This is an example, not a default PLC address. Generic channel TLS does not implement CIP Security. Serial, UDP and TCP server channels are unsupported here.

Create a Logix CIP device and select the channel. See Collection Configuration for common scheduling and permissions. Enable the channel and device after checking the controller endpoint and settings.

| Setting | Meaning and selection |
|---|---|
| Target slot | Default 0. The CPU’s actual backplane slot, not necessarily the Ethernet module’s slot. Byte storage accepts 0–255; actual hardware does not provide every value. |
| Backplane port | Default 1. The CIP backplane port segment, not a NIC number or TCP port. This entry exposes one backplane/slot pair; use ControlLogix CIP for multi-hop routes. |
| Maximum packet length | Default 200; valid 1–474 bytes. Budgets include encoded paths, services and estimated data. This is not a tag count. A large single tag does not gain automatic fragmented reads. |
| Read/write timeout | Default 3000 ms for a session or business request response. TCP connect timeout belongs to the channel. Fix explicit path, tag and access errors instead of extending this timeout. |
| Pre-frame delay | Default 0 ms before sending. Use only when the endpoint requires spacing; this is not cyclic I/O RPI. |
| Reverse string byte words | Default off in the UI. This entry does not apply the inherited switch to its connection; check actual bytes and layout instead. |
| Data order | Default DCBA, the entry’s little-endian conversion. Confirm with known DINT and REAL values. It cannot change the PLC tag’s declared type. |
| Failure retries | Default 3. Repeating persistent access, tag or route errors increases wasted time. |
| Read/write duty cycle | Default 3, minimum 1. Arrange one read after n writes under continuous write traffic; not a percentage or scan interval. |
| Write priority | Default off. Enabling allows a write to cancel an active read. Leave off for initial read-only collection. |


Variables and address fields
For a PLC DINT tag, enter DemoValue, select Int32, array length 1, and read-only access. Addresses such as D100 or N7:0 are not automatically translated into Logix tags. There are no additional variable plugin properties for this entry.

| Field | Effect and example |
|---|---|
| Tag path | One or more named segments. Adding a segment creates a member path, not another collection point: Motor and Speed become Motor.Speed. |
| Tag/member name | Exact engineering name and scope. A segment cannot contain .[];=. Use first segment Program:MainProgram and a second segment for its local tag. |
| Array indices | Element start, such as index 3 for Samples[3]; not a byte offset. One to three dimensions, each 0–65535 and within the PLC’s actual bounds. |
| Byte-order override | Inherits device DCBA when unset. Changes this variable’s conversion, not the CIP type or element count. |
| Encoding override | String decoding only; leave unset for numbers. String writes still construct UTF-8 bytes. |
| String byte length | Conversion capacity, default 100 bytes. Not a character count or an array length; the actual STRING layout and DATA capacity must match. |
| BCD override | Set only when the stored data uses that BCD representation. Leave unset for ordinary INT, DINT and REAL. |
| Variable string length override | Length-based string conversion by default. It cannot make another structure compatible or increase the endpoint’s capacity. |

| Engineering definition | Gateway configuration | Expected comparison |
|---|---|---|
| DemoValue : DINT = 1234, controller scope | DemoValue, Int32, length 1 | 1234 and advancing collection time. |
| Samples : INT[10], elements 3–5 = 100, 200, 300 | Samples[3], Int16, length 3 | Three ordered elements, within [9]. |
| Motor.Speed : REAL = 12.5 | Motor.Speed, Float, length 1 | 12.5 rather than the integer interpretation of its bits. |
| Counter : DINT in MainProgram | Program:MainProgram.Counter, Int32 | The intended program-local tag. |
| Ready : BOOL | Ready, Boolean, length 1 | Verify a scalar first; do not assume one wire byte per BOOL array element. |
Decimal has no CIP write-type mapping in this entry. Byte represents one byte; check signed conversion for negative SINT values. Configure supported scalar members of a UDT separately. Split large arrays into sections that fit the packet budget; this entry does not provide the connected driver’s automatic large-array fragmentation.
STRING layout
Reads require two structure-identification bytes + four LEN bytes + data, with LEN within the returned payload. Writes address .LEN and .DATA[0] separately using UTF-8 byte length; an empty string writes only LEN=0. These services are not an atomic update.
Confirm the actual STRING or custom type’s DATA capacity. Bytes and Unicode characters are different counts. Do not treat arbitrary integer arrays, fixed character areas, STRING arrays or UDTs as one String variable.
Compare known values
After enabling the confirmed field connection, check a scalar’s value, quality and advancing time in Live Variables. Then test small arrays and members. Use message, channel and device logs to distinguish Session, route, service and conversion errors. TCP or Session success alone does not prove tag access.
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.

Add a Logix CIP device on this channel with slot 0 and backplane 1. Add rate as Int32, length 1, read-only; keep DCBA data order. Enable collection and compare the live value with 534.

The example below reads rate=534, a DINT from the Logix software endpoint at 127.0.0.1:15018, using Int32 and length 1.

For this independent software test tag, change variable access to read/write, use the row’s Write action to enter 1234, wait for cyclic readback, then restore 534 and confirm. The image shows the actual 1234 readback. Field testing requires a separately approved test tag.

| Symptom | Check |
|---|---|
| TCP failure | First interface, subnet, route, firewall, TCP44818 and service availability. |
| Session works but tag fails | Backplane/CPU slot, External Access, exact name, scope and CIP status. |
| Partial/failed array | Actual bounds, start, count, 474-byte boundary and request budget; reduce the read size. |
| Incorrect value | Online engineering value, declared type, byte order, indices and controller logic overwriting it. |
| String error | Structure header, LEN, DATA capacity and UTF-8 byte count. |
| Write rejected or overwritten | External Access, gateway permissions and whether controller logic owns the value. |
Related links
- Collection Configuration: Common channels, devices, variables and intervals.
- ControlLogix CIP: Connected services, routes, browsing and fragmentation.
- Micro CIP: Micro800 entry with a different engineering workflow.