IMDHMIControls LibraryShop main store

Explainer

Point I/O RPI delays behind a robot SearchL position offset

Controllers and I/O Published 6 min read By IMDHMI controls team

Short answer

The SearchL offset is total delay times search speed, not the RPI alone. The network chain here is 6 ms — a 2 ms sensor, a 1 ms input filter, a 3 ms RPI worst case — which is 1.2 mm at 200 mm/s; the reported 30 mm means roughly 144 ms sits beyond the network. Run the connection point-to-point at 3 ms, keep the filter at its default, and back out the residual delay with a two-speed search test.

Three discrete I/O modules on a DIN rail with lit channel indicators and green screw terminal blocks
On this page
  1. Every millisecond in the chain is position
  2. What the EtherNet/IP connection contributes
  3. Why the reported offset is larger than the network
  4. The decision for this cell
  5. Questions asked

The position a SearchL move reports is set by every millisecond between the part crossing the sensor's threshold and the robot recording the event, multiplied by the search speed. In the worked cell here — a time-of-flight sensor wired to a 1734-IB4 input on a 1734-AENT adapter, talking EtherNet/IP into an IRC5 through the controller's integrated switch — the Point I/O side of that chain totals about 6 ms. At a 200 mm/s search that is 1.2 mm, while the reported offset is about 30 mm. That gap is the whole answer: the adapter and filter decide only about a millimeter of the error, and the rest has to be measured at the speed you run and cancelled in the program or removed by slowing the search.

Every millisecond in the chain is position #

A search move records a time and converts it into position, so the conversion is fixed: offset in millimeters equals speed in mm/s multiplied by delay in seconds. At the fast search speed of this cell, one millisecond of delay works out to 0.2 mm of offset. Every element between sensor and record adds to the delay, and nothing in the chain cancels another element's share. The Point I/O side prices out like this:

Delay source Delay Offset at 200 mm/s
Sensor output switching, as specified 2 ms 0.4 mm
1734-IB4 input filter, at its default 1 ms 0.2 mm
EtherNet/IP update, worst case (one full RPI) 3 ms 0.6 mm
Network chain total 6 ms 1.2 mm

The worst case for the update row is one full RPI, because a transition that just misses a packet waits for the next one. At 25 mm/s the same network chain is worth 0.15 mm, which is why the slower search reported about 2 mm of offset while the fast one reported about 30 mm — and why neither number can come from the network alone.

What the EtherNet/IP connection contributes #

The RPI sets how often the adapter and the controller exchange I/O data, and the page on how the Requested Packet Interval works in Logix controllers follows one such update end to end. For this cell, the reported working pairing in front of the IRC5 is 3 ms, point-to-point, connection priority high: at 1 ms, on multicast, the connections dropped repeatedly. That value is aggressive, not conservative — the adapter user manuals (1734-UM011, 1734-UM014) enter 50 ms in their setup walkthroughs, and the rack-optimization example in 1734-UM018 is 20 ms — so 3 ms already sits at the fast end of what this kind of adapter is configured with in practice.

Multicast versus point-to-point is not cosmetic. A multicast connection sends each update to a group address so several consumers can share one stream; a point-to-point connection sends it only to the one consumer. This cell has exactly one consumer, the robot, behind the controller's integrated three-port switch, so point-to-point keeps the updates on one port and takes group traffic off a very small switch. Choosing the number is a freshness-versus-load trade, the one the guide on optimizing RPI in Logix controllers works through for the controller side of the same kind of connection; where more devices end up sharing that network, the planning in designing a 1734-AENT Point I/O fiber ring on EtherNet/IP is the same kind of topology work that keeps the search input's stream predictable.

Why the reported offset is larger than the network #

Worked from the reported numbers, taken on RobotWare 5.15 over the original multicast connection that was also dropping connections: the fast search's 30 mm converts to 30 mm ÷ 200 mm/s = 0.15 s, so about 150 ms elapsed between the part dropping out of range and the position being recorded. The Point I/O chain accounts for 6 ms of that, worth 1.2 mm. The remainder is 150 ms − 6 ms = 144 ms, which at the fast speed works out to 28.8 mm — call it 29 mm that no adapter setting can recover.

The slow search sharpens the picture. Its reported 2 mm converts to 2 mm ÷ 25 mm/s = 80 ms. If the true delay were a constant 150 ms, the slow search would have shown 0.15 s × 25 mm/s = 3.75 mm; if it were a constant 80 ms, the fast search would have shown 16 mm. The reported pair sits between those, so the delay is not one constant: a fixed part — sensor, filter, update — and a speed-scaled part, whatever the robot does while finishing the record, are both present. That is exactly why the two-speed test works: run the search against a feature at a known position at two speeds, divide each error by its speed, and the delay splits into its fixed and speed-scaled shares.

Two candidates hold the remaining time. The robot side: every consumer samples on its own schedule rather than continuously — a PLC reads its inputs once per pass, the structure described in what the PLC scan cycle does in each pass, and a motion task in front of a search condition is the same kind of sampling rhythm ahead of the record. The sensor side: the 2 ms figure is the electrical output switching, not the optical measurement; a time-of-flight sensor re-measures range on its own cycle, and if that cycle runs to tens of milliseconds it dominates everything in the table above. Check the sensor's range-update rate before blaming the adapter.

The decision for this cell #

Ordered from the fix that costs nothing to the one that needs a measurement run:

  1. Rebuild the connection to the reported working shape: point-to-point, connection priority high, RPI 3 ms, configuration assembly 102, output assembly 100, input assembly 103, 1 byte in and 1 byte out, exclusive ownership. A search that runs on a connection that keeps re-establishing is measuring the reconnections, not the part.
  2. Fence the search move: set the search target behind the expected surface but inside a soft or mechanical limit, and treat a lost I/O connection as a fault rather than a condition that never arrives — on the original multicast setting this connection dropped often enough to leave the robot searching blind.
  3. Leave the 1734-IB4 input filter at its shortest setting; every millisecond added there converts straight to position, and a filter longer than the sensor's assertion time can swallow the signal.
  4. Verify the sensor's range-update rate, not just its output switching spec; if the measurement refreshes slower than the network chain, no RPI change will show up in the result.
  5. Search as slow as cycle time allows: at 25 mm/s the whole network chain is 0.15 mm of offset, the cheapest accuracy available in this cell.
  6. Cancel the residual: search one feature at a known position at the running speed, take the error, and subtract it as an offset on the stored position in the RAPID program. Repeat the measurement whenever the speed, the sensor or anything else in the chain changes; the network's share stays small and repeatable, and everything above it is what your own measurement says.

Questions asked

Why did a 1 ms RPI drop the connections to the 1734-AENT?

That pairing is reported from a working cell, not a published minimum: at 1 ms the connections were lost repeatedly, at 3 ms point-to-point they held. Two checks go with it: the adapter takes one exclusive owner, so no second controller may hold an owner connection while the robot searches, and point-to-point sends each update only to that one consumer, keeping the traffic off the other ports of the robot's switch.

How much SearchL offset does each millisecond of delay cost?

Offset in mm equals search speed in mm/s times delay in ms, divided by 1000. At 200 mm/s that is 0.2 mm per millisecond, so the 6 ms network chain in this cell is worth 1.2 mm; at a quarter of that speed it is 0.025 mm per millisecond. Work the formula at the speed you actually search at, because the same chain shrinks in proportion to speed.

Should the input filter be raised to ignore noise from the time-of-flight sensor?

No. An input filter delays every transition by its setting, and on a search move that delay converts to position directly: this module's filter tops out at 65 ms, which alone would add 13 mm at the cell's fast search speed. A filter longer than the sensor's assertion time can also swallow the signal entirely. Suppress noise at the sensor or in the program and keep the filter at its shortest setting.

Would wiring the search sensor to the robot controller's own inputs be faster?

Yes, and it is the cleanest fix if the sensor serves nothing else. A controller-native input deletes the input module and the EtherNet/IP leg from the chain, leaving only the sensor's switching time and the robot's own input stage. Keep the Point I/O rack when the signal must also reach a PLC, a logger or a visualization client over the network, and re-run the two-speed measurement after any rewiring, because the input stage you land on has its own delay.

Keep reading

  • Troubleshooting

    Sizing a Generic Ethernet Module connection for WAGO 750 I/O

    Enter the Generic Ethernet Module connection from the coupler's process image: input assembly instance 107 sized to input-image bytes plus one, output assembly instance 101 sized to the output-image bytes exactly, configuration assembly instance 1 at size 0, Comm Format SINT, and the remaining settings at their defaults. The 750-352 orders analog data before digital, so build both byte maps from the coupler's image view and round the totals once, never slot by slot.

    Controllers and I/O

  • Selection guide

    Using a MicroLogix 1100 as a remote I/O station over EtherNet/IP

    Yes, when the station benefits from local logic and the LCD: you get 10 digital inputs, 6 digital outputs, two 10-bit voltage analog inputs and up to four expansion cards, reached over EtherNet/IP by explicit messaging one request at a time. Pick a conventional I/O adapter instead when you need cyclic implicit I/O or current inputs finer than about 19.5 µA per count.

    Controllers and I/O

  • Explainer

    Designing a 1734-AENT Point I/O fiber ring on EtherNet/IP

    Yes — enable IGMP snooping on all seventeen switches: the input data a 1734-AENT adapter produces is multicast, so without it every switch floods the ring and all sixteen adapters reject each other's packets. Full-duplex switching ends collisions but not congestion, each fiber span must meet its own optic's distance limit, and ring recovery must beat four times the RPI.

    Industrial networks