CIP EtherNet/IP
CIP EtherNet/IP Logix tags (the Site Runtime EtherNet-IP).
| Property | Value |
|---|---|
| Console protocol id | cip-ethernet-ip |
| Site Runtime plugin | EtherNet-IP |
| Transport | Ethernet (TCP/UDP) |
| Read | yes |
| Write | yes — through approved writes |
| Subscribe | — |
| Device families | ControlLogix, CompactLogix |
| Default group interval | 100 ms |
| Maturity | Production: complete driver (connection handling, address forms, batching, read and write) |
Create the device
- Open Connectivity → Devices and click Add device.
- Pick CIP EtherNet/IP in the protocol list.
- Choose the Site Runtime that can reach the device, fill the connection parameters below and click Create & connect.
- Add a group (poll interval) and tags with the address formats below. See Devices and Groups and tags for the full walk-through.
Connection parameters
Every field the Console shows for this protocol. Required fields must be set before the device can be saved.
| Parameter | Type | Default | Range / options | Required | Description |
|---|---|---|---|---|---|
Target PLC IP Addresshost | string | — | max 30 chars | yes | |
Target PLC Portport | int | 44818 | 1 – 65535 | yes | |
PLC CPU Slotslot | int | 0 | 0 – 255 | yes |
Tag addresses and data types
Supported data types: INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, BIT, BOOL, STRING, WORD, DWORD, LWORD. The Console validates each tag address against the pattern for its data type before it is saved:
| Data types | Address pattern (regular expression) |
|---|---|
INT8 UINT8 INT16 UINT16 INT32 UINT32 INT64 UINT64 FLOAT DOUBLE BIT BOOL STRING WORD DWORD LWORD | |
Addressing and notes
Address syntax and examples
The address is the symbolic tag name of the controller. There is no register number.
| Address | Meaning |
|---|---|
Temperature | Controller-scoped tag |
Program:MainProgram.Counter | Tag inside a program (program-scoped) |
Motor1.Speed | Member of a structure (UDT) |
Recipe[3] | Array element 3 |
Matrix[1,2] | Two-dimensional array element (at most three indexes) |
Tank1.Level | A member of the tag Tank1 |
tag:Temperature | The same as Temperature. The prefix tag: is removed. |
Rules (checked when the device loads the tag):
- No spaces. At most 128 characters in total and 40 in each name segment.
- No leading or trailing
.and no... - The type list has no STRING. Use the type of the controller tag: BOOL, SINT (INT8), INT, DINT (INT32), LINT (INT64), REAL (FLOAT), LREAL (DOUBLE). USINT, UINT, UDINT and ULINT are the unsigned types.
- Program-scoped tags need the
Program:<name>.prefix. A bare name is looked up in the controller scope.
Endianness
Not applicable. EtherNet/IP carries typed values in the controller's own format.
Typical settings
| Setting | Typical |
|---|---|
| Target PLC IP Address | IP of the controller or the communication module |
| Target PLC Port | 44818 |
| PLC CPU Slot | 0 (the slot of the CPU in the chassis; for CompactLogix it is the CPU, 0) |
The connection test opens an EtherNet/IP session (RegisterSession). It does not read a tag. The default poll group interval is 100 ms in the schema. Use 500 to 1000 ms for process values.
Common errors
| Symptom | Cause | Fix |
|---|---|---|
Test succeeds, tags bad | The tag name does not exist, or the controller does not expose it. | Copy the exact name from the project. Names are case insensitive in Logix, but must match the spelling. |
| Program tag not found | Missing Program: prefix. | Use Program:MainProgram.TagName. |
| "CIP tag name must not contain spaces" | A space in the address. | Remove it. |
| Wrong value type | Type does not match the controller tag. | Use the controller data type. |
| Connection fails | Wrong slot, or the module is not the CPU's route. | Use the CPU slot, usually 0. |
| Write refused | The tag is read-only in the controller (external access). | Set external access to Read/Write in the project. |