Skip to main content
Version: 3.2

EtherNet/IP I/OI/O EtherNet/IP I/O Integration Guide

Exchange cyclic class 1 I/O with an EtherNet/IP adapter: its input assembly in, your output assembly out, on a fixed interval.

Status
Beta
Role
Scanner of one class 1 I/O connection
Transports
TCP 44818 to open · UDP 2222 for the cyclic data
Operations
Read Inputs · Write Outputs
Triggers
Watch Inputs, on change or every sampling interval

An EtherNet/IP adapter, such as an I/O block, a drive or a Yaskawa MPiec motion controller, offers input and output assemblies: blocks of bytes it exchanges with one scanner on a fixed interval. MaestroHub is that scanner. It opens the cyclic connection with one Forward_Open on TCP 44818; from then on the device sends its input assembly every input interval over UDP 2222, and MaestroHub sends the output assembly back on its own interval. A pipeline fires when the inputs change, reads the latest input image, and writes named fields of the outputs. This guide covers the connection and its three kinds, the field lists that give the bytes their names, the three function types, and how the matching nodes and trigger fit into the Pipeline Designer.

Beta

What stands behind the connector today:

  • Its protocol layer was tested against OpENer v2.3, an open-source EtherNet/IP adapter stack, in two layouts: OpENer's own sample application, and the assembly layout of a Yaskawa MPiec.
  • On OpENer's sample connection point it was compared with two other open-source scanners, EIPScanner and eeip.py.
  • Wireshark's ENIP and CIP dissectors read every session the tests recorded.
  • Its codec was broken on purpose, one way at a time, to prove that the tests notice, and it was fuzzed.

What is not proven yet:

  • It has not been run against a real device: no MPiec and no other hardware.
  • Multicast inputs through real switches with IGMP snooping. The tests ran on a container network, which is not such a switch.
  • The byte order an MPiec uses inside its image.
  • Short intervals on a real device. OpENer keeps time in 10 ms ticks and cannot keep a shorter interval, so 10 ms, the shortest interval MaestroHub asks for, is the finest the tests reach.

Overview​

The EtherNet/IP I/O connector provides:

  • Three connection kinds: exclusive owner, input only and listen only
  • Run and Idle: the outputs say Idle until a pipeline first writes them, then Run; Idle again before the connection closes
  • Inputs point-to-point or by multicast, on one UDP socket shared by every connection of one MaestroHub
  • Every input datagram checked: its connection, sender, size and sequence count; the dropped ones counted
  • Field lists over the images with the PLC types, including CIP's SINT, USINT, LINT and ULINT
  • An optional electronic key and configuration assembly, and a preset for the Yaskawa MPiec
  • Large_Forward_Open for images over 505 bytes of outputs or 509 bytes of inputs, chosen automatically
  • Watch Inputs trigger: start a pipeline when the input image changes, or every sampling interval, never once per datagram

Terms used in this guide​

TermMeaning
Scanner and adapterThe two ends of an I/O connection. The scanner (the originator) opens it; the adapter (the target) offers the data. MaestroHub is the scanner; the I/O block, drive or motion controller is the adapter.
AssemblyA block of bytes an adapter exchanges, numbered by its instance. The input assembly is what the device produces (its inputs to MaestroHub), the output assembly what it consumes. Some devices also take a configuration assembly, sent once when the connection opens. The device's manual or EDS file lists them and their sizes.
ImageThe bytes of one assembly as they travel. The input image arrives from the device, the output image goes to it. A field list names the values inside an image.
Class 1 (implicit) connectionA cyclic I/O connection: once it is open, both ends send their data on a fixed interval over UDP, without being asked.
RPIThe requested packet interval: how often each end sends. The input interval (T->O, target to originator) and the output interval (O->T) are set separately.
Timeout multiplierHow many intervals may pass without data before the connection counts as lost.
Exclusive ownerA connection that sends the outputs and receives the inputs. A device takes one exclusive owner per output assembly.
Input onlyA connection that receives the inputs and sends only a heartbeat. It can run beside an owner.
Listen onlyA connection that receives the multicast inputs another connection opened, and sends only a heartbeat.
HeartbeatWhat an input only or listen only connection sends instead of outputs: on every output interval, a datagram that carries only its sequence count, to a heartbeat instance of the device.
Run/IdleA header in front of the outputs. Run lets the device act on the output bytes; Idle tells it the scanner is idle. The inputs carry no such header.
Forward_OpenThe request on TCP 44818 that opens the connection. It names the assemblies, the sizes, the intervals and the kind of connection. A Large_Forward_Open is the same request for images a Forward_Open cannot describe; a Forward_Close closes the connection.
Electronic keyAn optional part of the Forward_Open that names the vendor, device type, product code and revision the device must have. A device that does not match refuses the connection.
Point-to-point and multicast inputsThe device sends its inputs either to MaestroHub's address alone, or to a multicast group that several receivers share.
Sequence countA counter the device sends with each input image (the class 1 sequence count). A datagram whose count has not advanced carries no new data.

This connector or the EtherNet/IP connector​

Both connectors reach the device on TCP 44818, and they do different jobs. The EtherNet/IP connector reads and writes the tags of Allen-Bradley Logix and Micro800 controllers by name, on request. This connector reads no tags: it opens one cyclic connection to an adapter's assemblies and exchanges their bytes every interval. For Logix tags by name, use the EtherNet/IP connector.

What happens on connect​

  1. The UDP socket. Every EtherNet/IP I/O connection of one MaestroHub shares one UDP socket on port 2222, opened by the first of them. When another program on the MaestroHub host holds that port, the connection is refused with a message that says so; see Troubleshooting.
  2. The session. MaestroHub opens a TCP connection to the adapter's Host and Port and registers an EtherNet/IP session on it.
  3. A Forward_Close first, when needed. If an earlier opening of this connection ended without a Forward_Close the device confirmed, MaestroHub sends one now, so that the new Forward_Open does not meet the old connection.
  4. The Forward_Open. It names the input assembly, the output (or heartbeat) assembly and, when set, the configuration assembly with its data; both sizes; both intervals; the timeout multiplier; point-to-point or multicast inputs; and the electronic key, when set. It asks for the scheduled priority in both directions. When the inputs exceed 509 bytes or the outputs 505, a Large_Forward_Open is sent instead. Connection Timeout bounds reaching the device and getting its answer.
  5. The cyclic data. Once the device accepts, MaestroHub sends the first outputs (or heartbeat) at once and then every output interval, from UDP port 2222. The device's answer gives the intervals it will keep, and MaestroHub keeps to them. For multicast inputs, MaestroHub joins the group the device names, on the network interface it reaches the device through.

MaestroHub names itself in every Forward_Open with the originator vendor ID 0x9999 (the value the library of the EtherNet/IP connector uses; MaestroHub holds no ODVA vendor ID) and an originator serial number derived from the connection's ID. The serial is the same after every restart and different for two connections, so a device that lets a scanner take back outputs whose connection timed out recognises the same connection after a restart.

While the connection runs​

  • Every input datagram is checked: it must carry this connection's ID, come from the device's address, have the agreed size, and be newer than the last one accepted. A datagram that fails a check is dropped and counted. The connection's metrics count the datagrams it sent and the input datagrams it accepted.
  • The input image is kept when it changes, and with the first image of each opening. Read Inputs and the Watch Inputs trigger use it and never ask the device; a write changes the output image the next cycle carries.
  • The TCP session stays open while the data runs on UDP: MaestroHub sends a NOP on it every 30 s, and the health check reads the device's Identity status over it. The cyclic data does not depend on the session; if it breaks, the next request opens a new one.
  • The connection is lost when no input arrives within the input interval × the Timeout Multiplier; the first input after an opening is given at least 10 s. MaestroHub then sends a Forward_Close for whatever the device may still hold, and the platform opens the connection again, with the same originator every time. Each Watch Inputs trigger fires once for the outage, with quality bad.

Run and Idle​

An exclusive owner's outputs say Idle until a pipeline first writes them, and Run from then on: Run lets the device act on the bytes, so it is said only once a pipeline has written them.

  • When the connection is stopped, MaestroHub says Idle for one output interval, then sends the Forward_Close, so the device takes its idle action rather than the one it takes on a connection that closed. The next start begins from an image of zeros, Idle until written.
  • When the connection is lost and the platform opens it again, Run and the output image stay as they were. Only stopping the connection resets them.
  • Input only and listen only connections send a heartbeat, which has no Run/Idle header.
After a reconnect the outputs carry on

A lost connection that comes back sends the outputs it had, with Run if they said Run: the device acts on the last values written as soon as the connection is back. Stop the connection to make the outputs say Idle and start again from zeros.

Connection Configuration​

Creating an EtherNet/IP I/O Connection​

Navigate to Connections → New Connection → EtherNet/IP I/O and fill in the form. The Functions, Scaling and Health tabs unlock after the connection is saved.

1. Profile Information​

FieldDefaultDescription
Profile Name-A descriptive name for this connection profile (required). Must be unique across all connections.
Description-Optional description for this connection
Labels-Key-value pairs to categorize and organize the connection

Example Labels

  • line: filler-3: Production line
  • device: mpiec-axis-controller: Specific adapter
  • environment: production: Deployment environment

2. Connection​

FieldDefaultMeaning
Host(required)The adapter's host name or IP address, e.g. 192.168.1.50
Port44818EtherNet/IP TCP port of the adapter, 1 to 65535. 44818 is the standard port. The cyclic data always uses UDP 2222
Connection KindexclusiveOwnerexclusiveOwner = MaestroHub drives the outputs and receives the inputs; the device takes one owner. inputOnly = receive the inputs beside an owner, sending only a heartbeat. listenOnly = receive the multicast inputs another connection opened, sending only a heartbeat
Connection Timeout10sMaximum time to reach the adapter and get its answer to the Forward_Open (1s to 2m)

What each kind needs:

Connection KindSendsReceivesNeeds
exclusiveOwnerThe output image, with the Run/Idle headerThe inputsAn Output Size, and no other owner of the output assembly
inputOnlyA heartbeat, to the heartbeat instance named as Output AssemblyThe inputs, point-to-point or by multicastOutput Size 0
listenOnlyA heartbeat, to the heartbeat instance named as Output AssemblyThe multicast inputs another connection openedOutput Size 0, Multicast Inputs on, and the connection that opened the inputs already open

A listen only connection with Multicast Inputs off is refused when it is saved, with that reason. A write on an input only or listen only connection is refused: only an exclusive owner sends outputs.

EtherNet/IP I/O connection form, Assemblies tabEtherNet/IP I/O connection form, Assemblies tab

The connection form with the assemblies of a Yaskawa MPiec

3. Assemblies​

FieldDefaultMeaning
Input Assembly(required)The assembly instance the device produces (its inputs to MaestroHub, T->O), 1 to 65535. From the device's manual or EDS file: 101 on a Yaskawa MPiec
Input Size(required)Size of the input assembly in bytes, without the sequence count, 1 to 1452. Over 509 bytes the connection is opened with a Large_Forward_Open
Output Assembly(required)The assembly instance the device consumes, 1 to 65535: the outputs of an exclusive owner (111 on a Yaskawa MPiec), or the heartbeat instance of an input only or listen only connection (128 and 129 on an MPiec)
Output Size0Size of the output assembly in bytes, without the sequence count and the Run/Idle header, 0 to 1448. Required for an exclusive owner; 0 for input only and listen only, which send a heartbeat. Over 505 bytes the connection is opened with a Large_Forward_Open
Configuration Assembly0The configuration assembly instance, for a device that needs one, 0 to 65535. 0 = none: the request names no configuration instance, as most devices (the MPiec included) expect
Configuration DataemptyBytes sent to the configuration assembly with the Forward_Open, as hex (01 00 0A 00), at most 400. Empty = none. Needs a configuration assembly

The sizes are those of the data alone: MaestroHub adds the 2-byte sequence count, and in front of the outputs the 4-byte Run/Idle header. They must be the sizes the device has; a device refuses a connection whose sizes differ from its own, and its refusal names its own size (see Refusals by the device). Class 1 data is never split across datagrams, so one datagram must fit one Ethernet frame: hence 1452 bytes of inputs and 1448 of outputs at most.

The Yaskawa MPiec preset. A Yaskawa MPiec motion controller offers, as the MP2300Siec EDS lists them:

WhatAssemblySize
Inputs (T->O)101128 bytes
Outputs of an exclusive owner (O->T)111128 bytes
Heartbeat of an input only connection128-
Heartbeat of a listen only connection129-
Configuration assemblynone-

The Yaskawa MPiec Preset button in the connection form fills these in for the selected connection kind; it leaves the host, the timing and the electronic key as they are. The MPiec needs no electronic key. The sizes must be what the controller is configured for; change them if its I/O is set up with other sizes. To key the connection to an MP2300Siec, set Vendor ID 44 (Yaskawa) and Product Code 128.

4. Timing​

FieldDefaultMeaning
Input Interval100msRequested packet interval for the inputs (T->O): how often the device sends them. 10 ms to 1 minute, in whole milliseconds. 10 ms is the shortest; ODVA's tests use 100 ms
Output Interval100msRequested packet interval for the outputs or the heartbeat (O->T): how often MaestroHub sends them. 10 ms to 1 minute, in whole milliseconds
Timeout Multiplier44, 8, 16, 32, 64, 128, 256 or 512. The connection is lost after this many input intervals without data, on both ends. 4 is ODVA's test default
Multicast InputsoffAsk the device to send its inputs to a multicast group, so several receivers share one stream. Works on the device's own subnet only. Listen only needs it

With the defaults, 400 ms without an input (100 ms × 4) ends the connection, and the platform opens it again.

Multicast inputs reach only receivers on the device's own subnet: a device refuses off-subnet multicast. The device must send them to UDP port 2222; an answer that names another port is refused. A device can also require a multicast input to use the interval its other receivers already use.

5. Electronic Key​

FieldDefaultMeaning
Vendor ID0The vendor ID the device must have (44 is Yaskawa), 0 to 65535
Device Type0The device type of its Identity object, 0 to 65535. 0 = any
Product Code0The product code of its Identity object (128 on an MP2300Siec), 0 to 65535. 0 = any
Major Revision0The major revision, 0 to 127. 0 = any
Minor Revision0The minor revision, 0 to 255. 0 = any
Accept Compatible RevisionsoffAccept any minor revision at or above the one named, with the same major revision, instead of exactly that one

The key is sent when any of its fields is set; a field left 0 is not compared. A device that does not match refuses the Forward_Open and names the part that differs. Accept Compatible Revisions needs a key to apply to: turned on while every key field is 0, it is refused when the connection is saved.

On the Scaling tab the connection is exclusive: one MaestroHub instance holds it, because the adapter takes one owner of its outputs and sends its inputs to the address that opened the connection.

Testing the Connection​

Click Test Connection at the bottom of the form to try the current settings before saving. It opens the I/O connection for real, of the kind you chose: the Forward_Open, then a read of the device's Identity status over the TCP session, then (for an exclusive owner) Idle for one output interval, and the Forward_Close. The test writes nothing, so an exclusive owner's outputs say Idle throughout. Because it is a real connection, it meets the same rules as a saved one: an exclusive owner is refused while another owner holds the outputs, and listen only needs the connection that opened the multicast inputs to be open.

Once the connection runs, its health check reads the device's Identity status again and reports the round trip. It needs the connection open, with its inputs arriving.

Function Builder​

Creating EtherNet/IP I/O Functions​

After the connection is saved:

  1. Open the connection and navigate to the Functions tab
  2. Click New Function to open the function type selection dialog
  3. Choose Watch Inputs, Read Inputs or Write Outputs
  4. Fill the Basic tab (name, description, labels) and the Configuration tab (operation-specific parameters)
  5. Use the Test button to run the function against the live connection before saving. Testing a Write Outputs function changes the outputs the device receives, and from then on they say Run. Testing a Watch Inputs function returns what the trigger would deliver now: the latest image, with every field of the list in changed
EtherNet/IP I/O function typesEtherNet/IP I/O function types

One trigger, one read and one write

The field list​

An image is a run of bytes; what they mean is set by the device, in its manual or EDS file, and nothing in the protocol describes it. A field list names the values inside an image, so that a pipeline reads axis1Position instead of bytes 0 to 3. Each item of the list is one field:

KeyMeaning
nameThe key of the value in the result (required). Each name is used once
offsetThe byte the field starts at, counted from 0 (required)
typeOne of the types below, in either letter case. Empty = WORD
bit0 to 7: which bit of the byte at offset, for a BIT. Only a BIT names a bit
lengthThe size in bytes, for a STRING
byteOrderlittle (the CIP default) or big: the order of the bytes of a number longer than one byte. Some devices put their registers in the image high byte first
TypeBytesValue
BITOne bit of a bytetrue or false
USINT10 to 255
SINT1-128 to 127
WORD20 to 65535
INT2-32768 to 32767
DWORD40 to 4294967295
DINT4-2147483648 to 2147483647
LINT8A 64-bit signed whole number
ULINT8A 64-bit unsigned whole number
REAL4A 32-bit floating-point number
LREAL8A 64-bit floating-point number
STRINGlengthText (UTF-8). A read drops the zero bytes after the text

For example, three fields of an MPiec's input image:

[
{ "name": "axis1Position", "offset": 0, "type": "REAL" },
{ "name": "axis1Ready", "offset": 4, "type": "BIT", "bit": 0 },
{ "name": "faultCode", "offset": 6, "type": "WORD" }
]
  • Every field must lie inside the image. When a function is saved, only the list's own shape is checked (names, types, bits, lengths). Whether each field fits is checked when the function runs, against the connection's Input Size (Watch Inputs, Read Inputs) or Output Size (Write Outputs): a field past the end is refused, with its bytes and the image's size.
  • Fields may overlap, for example a WORD and a BIT of one of its bytes. A write that sets overlapping fields applies them in the order of the list.
  • Without a field list, Watch Inputs and Read Inputs give the raw bytes only. Write Outputs needs one. To write a whole byte as it is, name it as a USINT field.

What a write takes, by type:

TypeValue
BITtrue or false, 1 or 0, or the text "true", "false", "1", "0", "on", "off"
USINT, SINT, WORD, INT, DWORD, DINT, LINT, ULINTA whole number within the type's range, or the same number as text. A fraction, or a number outside the range, is refused
REAL, LREALA number, or the same as text. A REAL must be within the range of a 32-bit float
STRINGText of at most length bytes in UTF-8. The rest of the field is filled with zero bytes

Watch Inputs (enipio.inputs)​

Purpose: Starts a pipeline when the device's input image changes, or every sampling interval. This function type is a pipeline trigger: see Pipeline Integration and the EtherNet/IP I/O Trigger node.

ParameterDefaultMeaning
FieldsemptyThe layout of the input image, to decode it by name; see The field list. Empty: the raw bytes only, and any byte that changes fires
Fire Onchangechange = when the image (or a field of the list) changes. interval = every sampling interval, with the latest image, changed or not
Sampling Interval1sHow often the trigger fires when Fire On is interval (10ms to 1h)

A Watch Inputs function is a subscription, opened once with its saved configuration, so it takes no ((parameters)): one is refused when the function is saved.

The device sends its input assembly every input interval, and most of those images are the same as the one before: at a 10 ms interval that is a hundred images a second. So the trigger never fires once per datagram:

  • With Fire On change and a field list, it fires when one of the listed fields changes. It compares only what the fields cover, a BIT field its one bit and any other field its bytes: a change anywhere else does not fire it. Without a field list, any byte that changes fires it.
  • With Fire On interval, it fires every Sampling Interval with the latest image, whether or not it changed. While the connection is not open, nothing fires.

Each event's payload:

{
"inputs": { "axis1Position": 1043.25, "axis1Ready": true, "faultCode": 0 },
"raw": "0068824401000000",
"changed": ["axis1Position"]
}
  • raw is the whole input image as hex, two digits a byte (the example is an 8-byte image, to keep it short).
  • inputs holds every field of the list by name, and changed the names of the fields that differ from the image the trigger's previous event carried; the first event lists every field. Both are present only with a field list. With Fire On interval, changed can be empty.

When the inputs stop and the connection is lost, the trigger fires once per outage with quality bad and the cause under error; see the EtherNet/IP I/O Trigger node.

Read Inputs (enipio.read.inputs)​

Purpose: Returns the input image that arrived last, decoded by the field list when you give one, with its sequence count and how long ago it came. Nothing is sent to the device: the image is the one the cyclic connection keeps up to date.

ParameterDefaultMeaning
FieldsemptyThe layout of the input image, to decode it by name; see The field list. Empty: the raw bytes only
Timeout30sBound on this operation (1s to 1h)

Every datagram that carries the image refreshes it, changed or not: receivedAt is when a datagram last carried the image, and ageMs how long ago that was, under the input interval on a working connection. A read succeeds only while the connection is open, that is while the device's inputs keep arriving within the timeout. Right after a lost connection is opened again, until the device's first new image arrives, a read can return the image from before the loss; its receivedAt says when that was. A read before the device's first image fails with the device has not sent an input image on this connection yet.

The result keys are listed on the EtherNet/IP I/O Nodes page.

Write Outputs (enipio.write.outputs)​

Purpose: Sets named fields of the output image MaestroHub sends every output interval; the next cycle carries them to the device.

ParameterDefaultMeaning
Fields(required)The layout of the output image; see The field list
Values(required)The fields to set, by name: {"speedSetpoint": 1500, "start": true}. Every value is checked first; if one does not fit, nothing changes. Supports ((paramName)) templates
Timeout30sBound on this operation (1s to 1h)
Write Outputs function parametersWrite Outputs function parameters

A Write Outputs function whose values are the ((speed)) and ((start)) parameters, filled by the pipeline

The write rules:

  • Only the named fields change. The rest of the image keeps its last value; the image starts as zeros.
  • All or nothing. Every value is checked first: a name the field list does not have, or a value its type cannot hold, refuses the whole write and changes nothing.
  • The first write says Run. From the first write on, the outputs say Run, which lets the device act on them; before it they say Idle. See Run and Idle.
  • Success means the next cycle carries the image. UDP gives no receipt: the device does not confirm a cycle.
  • Writing the same values twice leaves the device in the same state. changed is then empty.
  • Only an exclusive owner writes. A write on an input only or listen only connection is refused.
A write happens when the node runs, or not at all

A write is never buffered for later delivery: the outputs travel over UDP, which has no acknowledgement, and an image sent later would act on the device out of its time. A pipeline run started by a late (replayed) input does not execute the write unless the node allows late input. A write that failed may be run again by the node's Retry on Fail: setting the same fields twice leaves the device in the same state. A write refused for its field list or a value is not retried.

Using Parameters​

The Values field supports ((parameterName)) placeholders; they appear in the Function Parameters block, where you set each one's type, whether it is required, and a default. For example, Values {"speedSetpoint": ((speed)), "start": ((start))} writes the node's speed and start parameters to those two fields. A text value goes in quotes: {"recipeName": "((recipe))"}.

Pipeline Integration​

Use the functions you configure here as nodes inside the Pipeline Designer. Read Inputs and Write Outputs are connector nodes, and Watch Inputs functions drive the trigger node:

  • EtherNet/IP I/O Read Inputs (connected.enipio.read.inputs): executes an enipio.read.inputs function
  • EtherNet/IP I/O Write Outputs (connected.enipio.write.outputs): executes an enipio.write.outputs function
  • EtherNet/IP I/O Trigger (trigger.enipio): starts a pipeline when the input image an enipio.inputs function watches changes, or every sampling interval
EtherNet/IP I/O node in the pipeline designerEtherNet/IP I/O node in the pipeline designer

The Read Inputs node with its connection and function

For node-level details (output structure, execution settings), see the EtherNet/IP I/O Nodes and EtherNet/IP I/O Trigger pages.

For orchestration strategies that mix EtherNet/IP I/O with other data sources, see the Nodes page.

Common Use Cases​

Starting a pipeline when an axis reports ready​

A Watch Inputs function with a field list that names the axis's ready bit ({"name": "axis1Ready", "offset": 4, "type": "BIT", "bit": 0}) and Fire On change. The pipeline runs when a listed field changes, and a Condition node on $trigger.result.inputs.axis1Ready decides what to do. Bytes outside the list, such as a position that moves every cycle, do not fire it.

A drive's speed and fault code to a historian or the UNS​

A Watch Inputs function with Fire On interval and a Sampling Interval of 1s, routed to a historian or the Unified Namespace. The pipeline runs once a second with the latest image, however short the input interval, so the storage rate is yours to choose.

Setpoints and start bits from a pipeline​

A Write Outputs function with parameters ({"speedSetpoint": ((speed)), "start": ((start))}) fed from an MES or an operator form, with a Condition node checking the range first. The same function with a faultReset bit writes true to request a reset and false to clear it again.

Watching I/O another controller owns​

When a PLC already owns the device's outputs, MaestroHub can still receive its inputs: an input only connection beside the owner, or, when the owner's inputs are multicast, a listen only connection that shares that stream. Neither sends outputs, so the owner keeps sole control.

Troubleshooting​

Error Reference​

The texts below leave out the enipio: that most messages start with.

What you seeMeaningRetried?
the UDP port for EtherNet/IP I/O is in use by another program on this computer (:2222): …Another program on the MaestroHub host holds UDP port 2222No: free the port. The connection is marked failed at once; the platform keeps trying in the background
the device at … cannot be reached: …Nothing answers on TCP at the Host and PortYes
the EtherNet/IP session with … could not be opened: …Something answered on the port but did not open an EtherNet/IP sessionYes
open the EtherNet/IP I/O connection to …: … followed by a refusalThe device refused the Forward_Open; see Refusals by the deviceAs the refusal says
no input from the device for 400ms (the connection's timeout; at least 10s before the first input of an opening)The connection was lost: no input arrived within the input interval × the timeout multiplierThe platform opens the connection again
the device sends its multicast inputs to port …; this MaestroHub receives I/O on port 2222The device is set to send its multicast inputs to another UDP portYes; it opens once the device sends to 2222
the device accepted multicast inputs but did not say which multicast address it sends them toThe device's answer named no multicast addressYes
the multicast group … cannot be joined on …The MaestroHub host could not join the group on the interface it reaches the device throughYes
not connected to the EtherNet/IP adapter at …The connection is not openYes, after reconnect
the device has not sent an input image on this connection yetA read, or a test of Watch Inputs, before the device's first input imageYes
only an exclusive owner connection sends outputs: this connection is … and sends a heartbeatA write on an input only or listen only connectionNo
fields is required: the layout of the output image, to set its fields by nameA write without a field listNo
field "…": bytes 126..129 are outside the image of 128 bytesA field of the list lies past the end of the imageNo
no such field "…" in the imageValues names a field the list does not have. Nothing changedNo
field "mode": 300 is outside 0..255A value does not fit its field's type. Nothing changedNo
values is required: …, values is empty: …, values must be an object of field names and values, …Values is missing, empty, or not an object of names and valuesNo
the field name "…" is given twice, field "…": "…" is not a data type (…), field "…": bit 8; a bit of a byte is 0..7, field "…": a STRING needs its length in bytes, field "…": only a BIT names a bit, fields[0] (…): byteOrder "…": want little or bigThe field list is not valid; the function is refused when it is savedNo

"Retried?" says whether the node's Retry on Fail setting sends the request again, or for a connection error whether the platform keeps opening the connection. A request MaestroHub refuses before anything changed gives the same answer every time, so it is not retried.

The connection itself is refused when it is saved with:

What you seeWhat to change
outputSize is required for an exclusive owner: the size of the output assembly in bytesSet Output Size, or choose input only
the connection is input only: it sends no outputs, only a heartbeat, so its output size is 0 (or listen only)Set Output Size to 0 for input only and listen only
listen only receives the inputs another connection opened, by multicast; turn multicast inputs onTurn on Multicast Inputs
configuration data needs a configuration assembly instanceSet Configuration Assembly, or clear Configuration Data
… bytes of configuration data; at most 400 are sentShorten Configuration Data
configData must match pattern …Write Configuration Data as hex bytes, two digits each (01 00 0A 00)
keyCompatible is on but no field of the electronic key is set, so no key is sent: set the key (at least its major and minor revision), or turn it offSet the key's fields, or turn off Accept Compatible Revisions

Refusals by the device​

A refused Forward_Open reads open the EtherNet/IP I/O connection to <host>:<port>: <what it means> (<service> refused: CIP status 0x01/0x<code>, <name>), for example another controller owns these outputs; only one owner is allowed. Use input only, or remove the other owner (Forward_Open refused: CIP status 0x01/0x0106, ownership conflict). Most refusals carry the general status 0x01 (connection failure) and an extended status that says why:

Extended statusWhat you seePermanent?
0x0100 connection in use or duplicate Forward_Openthis scanner already holds the connection, often a stale one from before a restart; it is retried until the device has let the old one goNo
0x0103 transport class and trigger combination not supportedthe device does not offer a cyclic class 1 connection on these assembliesYes
0x0106 ownership conflictanother controller owns these outputs; only one owner is allowed. Use input only, or remove the other ownerNo
0x0107 target connection not foundthe device has no such connection; it is already closedYes
0x0108 invalid network connection parameterthe device does not accept the connection type, priority or fixed size asked forYes
0x0109 invalid connection sizethe sizes differ from the device's, or the run/idle setting does not matchYes
0x0110 target for connection not configuredthe device is not ready for this connection: listen only needs an owner first, or the device needs configuration dataNo
0x0111 RPI not supportedthe device does not accept this intervalYes
0x0112 RPI value(s) not acceptablethe device does not accept this interval (a multicast input must use the interval its other receivers use)Yes
0x0113 out of connectionsthe device has no free connectionNo
0x0114 vendor ID or product code mismatchthe device is not the vendor or product the electronic key names; fix the key or turn keying offYes
0x0115 device type mismatchthe device is not the device type the electronic key names; fix the key or turn keying offYes
0x0116 revision mismatchthe device is not the revision the electronic key names; fix the key or turn keying offYes
0x0117 invalid produced or consumed application paththese assembly numbers are not a connection the device offersYes
0x0118 invalid or inconsistent configuration application paththe configuration assembly is wrong, missing or not wanted (on a Yaskawa 263IF-01 this code means the RPI is too small)Yes
0x0119 non-listen only connection not openedlisten only needs another owner of the inputs firstNo
0x011A target object out of connectionsthe device has no free connection on these assembliesNo
0x011B RPI is smaller than the production inhibit timethe device does not accept this intervalYes
0x0121 invalid O->T network connection prioritythe device does not accept the priority asked for on outputsYes
0x0122 invalid T->O network connection prioritythe device does not accept the priority asked for on inputsYes
0x0123 invalid O->T network connection typethe device does not accept point-to-point or multicast on outputs as askedYes
0x0124 invalid T->O network connection typethe device does not accept point-to-point or multicast on inputs as asked; try the other oneYes
0x0125 invalid O->T network connection redundant ownerthe device does not accept the redundant-owner settingYes
0x0126 invalid configuration sizethe configuration data is not the size the device expectsYes
0x0127 invalid O->T network connection sizethe output size differs from the device's, or the run/idle setting does not matchYes
0x0128 invalid T->O network connection sizethe input size differs from the device'sYes
0x0129 invalid configuration application paththe configuration assembly is wrong, missing or not wantedYes
0x012A invalid consuming application paththe output (or heartbeat) assembly number is not one the device offersYes
0x012B invalid producing application paththe input assembly number is not one the device offersYes
0x012F inconsistent application path combinationthese assembly numbers are not a connection the device offersYes
0x0132 null Forward_Open function not supportedthe device does not take this kind of requestYes
0x0133 connection timeout multiplier not acceptablethe device does not accept this timeout multiplierYes
0x0203 connection timed outthe traffic stopped (cable, device or network)No
0x0204 unconnected request timed outthe device did not answer the Forward_Open in timeNo
0x0301 no buffer memory availablethe device is short of memory for this connection; a longer interval may helpNo
0x0302 network bandwidth not available for datathe network or the device is short of bandwidth; a longer interval may helpNo
0x0315 invalid segment in connection paththe path holds a segment the device refuses (for example a configuration instance it does not have, or a key format it does not know)Yes
0x0316 Forward_Close service connection path mismatchthe Forward_Close named another path than the Forward_OpenYes
0x0813 not configured for off-subnet multicastmulticast inputs only reach scanners on the device's subnet; use point-to-point or put MaestroHub on the same subnetYes

A size refusal (0x0126, 0x0127, 0x0128) adds the device's own size: The device's size is N bytes, which counts the 2-byte sequence count and, for outputs, the 4-byte run/idle header. For an exclusive owner, the Output Size to set is that number less 6 (0x0127), and the Input Size is that number less 2 (0x0128).

Other general statuses a Forward_Open or Forward_Close can meet:

General statusWhat you seePermanent?
0x02 resource unavailablethe device is short of resources for the requestNo
0x04 path segment errorthe device could not read the request's pathYes
0x05 path destination unknownthe device has no such objectYes
0x08 service not supportedthe device does not support this requestYes
0x09 invalid attribute valuethe device refused the configuration dataYes
0x0C object state conflictthe device is not in a state to take the requestNo
0x0F privilege violationthe device refused the request: it did not come from the connection's originatorYes
0x10 device state conflictthe device is not in a state to take the requestNo
0x13 not enough datathe device found the request too shortYes
0x14 attribute not supportedthe device does not have that attributeYes
0x15 too much datathe device found the request too longYes
0x16 object does not existthe device has no such objectYes
0x26 path size invalidthe device could not read the request's pathYes

A permanent refusal names something the device does not have or does not take: assemblies, sizes, an interval, a key, a kind of connection. The same request meets it again, so the connection is marked failed on the first attempt; the platform keeps trying in the background, so a change on the device heals it. Change the setting the refusal names. The others clear by themselves or by a change elsewhere (another owner leaves, a stale connection times out, a connection becomes free, the traffic returns), and the platform keeps opening the connection until they do. A status not in these tables is treated as one that may clear.

Connection Issues​

SymptomPossible CauseSolution
Every EtherNet/IP I/O connection fails with the UDP port for EtherNet/IP I/O is in useAnother program on the MaestroHub host, such as another EtherNet/IP scanner or a second MaestroHub, holds UDP port 2222Free the port: every EtherNet/IP I/O connection of one MaestroHub shares it, and the cyclic data always uses it
The Forward_Open is accepted, then the connection is lost with no input from the device for 10s, again and againNo input datagram reaches MaestroHub: UDP 2222 is blocked between the device and MaestroHub, or multicast inputs do not reach the hostOpen UDP 2222 both ways between the device and MaestroHub. For multicast inputs, check that MaestroHub is on the device's subnet, or turn Multicast Inputs off
Multicast inputs are refused with 0x0813, or never arriveMaestroHub is on another subnet than the deviceTurn Multicast Inputs off (point-to-point), or put MaestroHub on the device's subnet
A listen only connection keeps failing with 0x0119 or 0x0110The connection whose multicast inputs it receives is not openOpen that connection first (an exclusive owner or input only connection with Multicast Inputs on, from MaestroHub or another scanner). The listen only connection keeps trying and opens once it is
An exclusive owner keeps failing with 0x0106Another controller owns the output assembly; a device takes one owner per output assemblyUse input only beside that owner, or remove the other owner
After a MaestroHub restart the connection fails with 0x0100 for a whileThe device still holds the connection from before the restartWait: it is retried until the device has let the old one go
The connection is refused with a size refusal (0x0127, 0x0128)Input Size or Output Size differs from the device'sSet the size the refusal names, less the headers (see Refusals by the device)
The device does not act on the outputsThe outputs still say Idle: no pipeline has written them since the connection startedWrite them once; from the first write on they say Run
A value reads wrongThe field's offset, type or byte order does not match the device's layoutCheck the layout in the device's manual or EDS file; for a device that puts its registers high byte first, set the field's byteOrder to big
The trigger does not fireFire On is change and the listed fields do not change, or the field list does not fit the input image (the subscription is refused with the field's error)Check that the list names the bytes that change and fits Input Size, or use Fire On interval
A read's ageMs is often above the input intervalDatagrams from the device arrive late or are lost on the wayCheck the network between the device and MaestroHub; the connection is lost once no input arrives for the input interval × the Timeout Multiplier