How to get sensor data without changing the PLC

Maintenance, energy and IT teams need sensor values that today stop at the control cabinet or are not measured at all. This guide compares six ways to get those values into IT and shows which ones leave the PLC untouched.

The short answer

You can get sensor data into IT without touching the PLC by adding an IP data path beside the control system. For a new measuring point, an off-the-shelf 4-20 mA, 0-10 V or digital sensor connects to periNODE, a Single Pair Ethernet adapter that publishes the value over MQTT and REST as its own network device. For a sensor already wired to the PLC, periSNOOP, an in-line loop monitor, reads the loop in passing and sends a copy to IT while the PLC keeps its measurement.

Two ways to get sensor data without changing the PLC. A: a new, off-the-shelf 4-20 mA sensor connects to a periNODE 4-20mA sensor interface, where the IP data path starts. It publishes over MQTT via hybrid SPE cable and a field switch to an MQTT broker and IT systems. B: an installed transmitter the PLC uses stays in its loop. A periSNOOP loop monitor keeps the loop running to the PLC and sends a digitised copy over hybrid SPE to the same broker and IT systems.
Two starting points, one way to get sensor data without changing the PLC. A new measuring point gets an off-the-shelf sensor and an adapter with its own data path. An installed sensor on the PLC keeps its loop while an in-line monitor sends a copy to IT. Shown with MQTT; the devices also offer REST.

How sensor data reaches IT today

The usual architecture sends every reading through the control system first. A transmitter is wired to a PLC input, the value is mapped into the program, and a server or gateway in the cabinet makes it available to IT, typically over OPC UA.

That made sense when the control network was designed. Its job is to run the machine reliably, and it does that well. Data for the rest of the company came later, collected from wherever the PLC happened to hold it.

And many values that maintenance or energy teams want are not measured at all, because adding a sensor has meant adding a PLC input.

Where it gets difficult

Each new data point becomes a change to the control system. Even a value the PLC will never act on needs an input, a mapping, a test and a sign-off from the people responsible for the machine.

In a plant with machines from different builders and different controllers, that work repeats on every line, often with a different integrator each time. So requests wait, and the plant keeps measuring things nobody outside the cabinet can see.

Control data and information data are different

Some values belong to the control system: anything the PLC needs to run the machine, or anything that depends on deterministic timing. Others are only needed by maintenance, energy management, quality or analytics. Control data has a control architecture. Information data does not have to inherit it.

A quick way to compare the options is to ask where the first IP address sits. Every route ends in an IP network somewhere. Where that address sits shows where protocol translation happens, how much depends on the control system, and what has to change when you add the next data point. Several routes publish over MQTT, so the protocol alone does not tell them apart. The location of the address does.

The options compared

There are six common ways to get a sensor value into IT, and all of them work. They differ in where the first IP address sits, what changes in the PLC and what you add to the installation. The right one depends on whether the control system needs the value and on what is already installed.

Scroll sideways for all columns.

RouteWhere the first IP address sitsWhat changes in the PLCWhat you addBest fit
Through the PLC (analogue input, OPC UA)At the PLCProgram change and revalidationNothing newValues the control program needs
Gateway reading the PLC or fieldbusAt the gateway in the cabinetThe value must already be in the PLC or fieldbusA gatewayProtocol conversion for data already in the controller
IO-Link master (with an analogue converter for 4-20 mA)At the masterNone, if the master publishes to IT directly1A converter per sensor and a masterNew lines with IO-Link sensors specified
Remote I/O station with MQTT or RESTAt the I/O stationNone2An I/O station with sensors wired to itMany signals concentrated at one point
Adding a new networked sensorIn the new sensorNoneA new sensor with an Ethernet interfaceMeasurements where such a sensor exists
Single Pair Ethernet adapter or in-line loop monitorAt the adapter or monitor beside the sensorNoneAn off-the-shelf sensor with an adapter, or a monitor in an existing loop, plus a field switch or media converterNew measuring points and existing PLC loops, mixed fleets, monitoring data

The “Best fit” column is editorial judgement, not a sourced claim.

Sources

  1. IO-Link masters publishing to IT directly: ifm IO-Link master with IoT core and MQTT interface; Balluff BNI00 IO-Link masters. Analogue to IO-Link: ifm analogue-to-IO-Link converters.
  2. Remote I/O with MQTT and REST: Murrelektronik MVK Pro and IMPACT67 Pro.

Which route fits which sensor

  • The PLC needs the value to run the machine. Keep it in the PLC. If IT needs it too, put periSNOOP in the 4-20 mA loop: the loop keeps controlling, and the value goes to IT.
  • A new 4-20 mA measuring point. Add an off-the-shelf 4-20 mA sensor with periNODE 4-20mA.
  • A new 0-10 V measuring point. Add an off-the-shelf 0-10 V sensor with periNODE 0-10V.
  • Machine states or counts for OEE. Read an existing digital signal, such as a running contact, or add a standard switching sensor, such as a proximity or photoelectric sensor, with periNODE GPIO.
  • Modbus RTU devices. Use periNODE Modbus.
  • A new line with IO-Link sensors already specified. Use the IO-Link master.
  • Long runs, process areas or hazardous areas. 100BASE-T1 covers machine and building distances, and Perinet has measured up to 180 m on installed Cat 5e cable. For kilometre runs or process plants, look at 10BASE-T1L; for hazardous areas, Ethernet-APL. Perinet devices are not ATEX-rated and are not Ethernet-APL devices.

Choosing between periNODE variants? All four periNODE adapters side by side.

Not sure which route fits your machine?
Tell us which sensors you have and what the PLC depends on. An engineer will suggest the simplest route.

Discuss your architecture

The last few metres

What gets installed is small. The adapter or loop monitor sits next to the sensor and connects over one hybrid Single Pair Ethernet cable (periLINE), which carries 100BASE-T1 data and 24 V DC. The cable runs to a periSWITCH field switch, or to a periSTART media converter on a standard Ethernet port.

Each device announces itself on the network under its own hostname, is configured in a browser, and publishes its values over MQTT or REST. The PLC and its program stay as they are.

Two things to plan for. The devices use link-local IPv6 addresses, so the MQTT broker sits on the same network segment, or a periMICA edge computer on that segment forwards the data to a broker elsewhere. And the devices support mutual TLS: if you enable it, the broker needs to accept client certificates.

Where this is used

Where Perinet fits

Perinet makes the devices for the last route in the comparison table: periNODE adapters and the periSNOOP loop monitor, connected over periLINE to periSWITCH or periSTART. They suit new measuring points that you don't want to wire through the PLC, and installed PLC loops where IT needs a copy of the value. If the PLC needs the value, or a new line already specifies IO-Link, one of the other routes may suit you better.

Frequently asked questions

If the sensor is wired to a PLC, insert an in-line loop monitor such as periSNOOP into its 4-20 mA loop. It reads the loop in passing and publishes the value over MQTT or REST, while the PLC keeps its measurement and its program stays as it is. For a measurement you don't have yet, add an off-the-shelf 4-20 mA sensor with a Single Pair Ethernet adapter such as periNODE 4-20mA.

Capture the signals OEE needs, such as running, stopped and part counts, at the machine and send them to the OEE software over a separate data path. A digital adapter such as periNODE GPIO reads existing digital signals, such as a running contact, or standard switching sensors you add, such as proximity or photoelectric sensors, and publishes their states over MQTT, so the PLC program and the control network stay as they are.

IO-Link masters and remote I/O stations publish to IT from a central point that the sensors are wired to. The alternative is to put the network interface beside each sensor. A Single Pair Ethernet adapter or loop monitor provides the IP address and publishes over MQTT and REST itself, with no master or I/O station in between. Which fits depends on whether the sensors are new or installed, and how spread out they are.

For machines and buildings, 100BASE-T1 is usually enough. Perinet has measured up to 180 m on installed Cat 5e cable, and most sensors sit within tens of metres of a cabinet. 10BASE-T1L is designed for runs of up to about a kilometre in process plants, at 10 Mbit/s, and Ethernet-APL builds on it for hazardous areas.

No. The approach is built on published standards: IEEE 802.3bw for the link, IEC 63171-6 for the connector, IPv6 and TLS for transport, and MQTT and REST for data. Any broker, historian or cloud platform that speaks MQTT or REST can receive the values, with no proprietary driver or middleware on the IT side.

Perinet products are available worldwide through DigiKey and in Europe through Farnell. ZentinelMDS is Perinet's integration and sales partner for Spain, Portugal and Latin America. For project quantities and engineering support, contact Perinet in Berlin directly. The partner page lists all current distribution and integration partners.

Planning a sensor-data retrofit?

Tell us what sensors you have, what controls them today and where the data needs to go. We will suggest the route that fits, without unnecessarily changing the control system. No sales call unless you want one.

Download the application note (PDF)

PRN100921: PLC versus periSNOOP for sensor data monitoring.