GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

IIoT data path

What an Industrial Intelligent Gateway Does in IoT Data Acquisition

The industrial intelligent gateway is the box between your sensors and the IoT middle platform. This page explains what it converts, buffers and filters, and where the design breaks down. Read it if you are specifying hardware, or if you machine the enclosures and brackets that hold it.

Protocol conversionEdge filteringStore-and-forwardEnclosure machining
Industrial intelligent gateway for IoT data acquisition with remote operation and maintenance
Where the data starts

What an Industrial Intelligent Gateway Actually Sits Between

A plant floor speaks many languages at once. A CNC machine may output Modbus RTU over RS-485 at 19,200 baud. A power meter speaks Modbus TCP. A vibration sensor sends 10 kHz samples over a proprietary bus. The IoT middle platform above them usually accepts one thing: structured messages over MQTT, HTTP or OPC UA. Someone has to translate. That someone is the industrial intelligent gateway.

The gateway is not a router and not a PLC. A router moves packets; it does not care what they mean. A PLC closes a control loop in single-digit milliseconds. The gateway sits in the middle: it reads tags, maps them to a common namespace, timestamps them, and publishes upward. Typical cycle times run from 100 ms to a few seconds, which is fine for monitoring and useless for motion control.

That distinction decides most hardware choices. If you need deterministic control, buy a PLC. If you need to know what 40 machines did in the last shift, and you need that data in one schema, you need a gateway. Mixing the two jobs in one box is where projects stall.

One more boundary. The gateway owns the edge of the OT network. Everything below it is trusted and flat. Everything above it should pass through a DMZ. Put the gateway on both sides and you have built a bridge through your firewall.

Mechanism

How Data Acquisition Works from Sensor to Middle Platform

Acquisition starts with polling or subscription. Polling reads a register list on a fixed schedule: every 500 ms, read 120 holding registers from each of 30 inverters. Subscription listens instead, which suits event-driven devices such as smart breakers. Polling is simpler to debug. Subscriptions scale better when tag counts climb past a few thousand.

The second stage is normalization. Raw values arrive as integers with scaling factors: 3,412 counts equals 341.2 V, signed 16-bit, gain 0.1. The gateway applies scale, offset and unit conversion, then writes one canonical tag name. Do this at the edge and the middle platform receives volts, not counts. Skip it and every dashboard author rebuilds the same math.

Then comes buffering. Networks drop. A switch reboots. Store-and-forward keeps the last hours or days of readings in local flash and replays them in order once the link returns. Size the buffer from tag count times sample rate times outage length. A 2,000-tag line at 1 Hz for an 8-hour outage needs roughly 58 million samples, so compression or deadband filtering matters more than raw disk size.

Finally, publishing. MQTT with QoS 1 is the common choice. Messages carry a device ID, a timestamp from an NTP-synced clock, quality flags and the value. If the gateway clock drifts, the middle platform will store good data under wrong times, and no amount of analytics fixes that later.

Boundaries

Sampling Rate, Bandwidth and Where the Design Breaks

Bandwidth is easy to underestimate. A single 3-axis accelerometer sampled at 25.6 kHz produces 76,800 values per second. At 16 bits each, that is about 1.2 Mbit/s before overhead, for one sensor. Route that through a cellular link and you will burn the data plan in days. Vibration work belongs on a local analyzer or a gateway that reduces to features such as RMS and crest factor before it sends anything.

Determinism is the second limit. Linux-based gateways schedule tasks in software. Jitter of 20-50 ms is normal, and it gets worse under load. If a downstream control loop needs 5 ms, the gateway cannot supply it. Use the gateway for coordination and logging, and keep hard timing in drives and PLCs.

The third limit is protocol coverage. Vendor dialects differ: byte order swaps, non-standard function codes, undocumented registers. Two devices that both claim Modbus TCP can still need different map files. Budget integration time per device model, not per device. Ten identical drives take one map. Ten different models take ten.

Environment sets the last boundary. A gateway in a die-casting cell sees 45 °C ambient, oil mist and vibration. Rated temperature is measured at the terminal, not inside a sealed cabinet. Derate, and give the enclosure real thermal path.

Hardware

The Mechanical Side: Enclosure, DIN Rail and Thermal Path

Gateways usually ship as DIN-rail modules or as board-level units that need a housing. Both need the same three things: mounting stiffness, heat path and connector access. A stamped 1.5 mm sheet metal bracket is fine for a fixed cabinet. A cast or machined housing is better when the unit rides on a moving arm or an outdoor pole.

Thermal design decides field life more often than the electronics do. A fanless gateway rated to 60 °C assumes free air around the fins. Put it in a sealed IP66 box in the sun and the internal air can sit 20 °C hotter. Vent it, or move the heat into the enclosure wall with an aluminum plate. Machined aluminum heat spreaders with flatness held to ±0.05 mm give consistent contact with thermal pads.

Connector cutouts are a machining tolerance problem, not a cosmetic one. M12 and M8 panel connectors need the keyway clocked correctly, or the cable will not seat. A 0.2 mm offset on a Ø12 mm cutout is enough to bind the thread. We hold ±0.005 mm on hole position for control housings so that gaskets compress evenly and IP ratings survive the first cable pull.

If the gateway mounts on a machine frame, keep the bracket stiff. A 200 mm cantilever in 1.5 mm steel will flex at the connector and fatigue the solder joints. Step up to 3 mm, or add a formed rib.

Engineering meaning

What This Means for the Middle Platform and for Reporting

The middle platform gets what the gateway gives it. If the gateway sends one message per change, the platform stores events. If it sends a full snapshot every second, the platform stores time series. Both work, but they answer different questions. Events answer when something changed. Snapshots answer what the average was. Decide before the first tag is mapped.

Data quality flags matter more than most teams expect. Mark a value stale when the poll fails. Mark it bad when the device returns an error code. Without flags, a frozen sensor reads as a steady process, and the trend looks perfect while the machine is down.

Time synchronization is the quiet failure. Drift of two seconds between two gateways makes cross-line correlation useless. Run NTP against one plant source, and check the offset monthly. If a gateway has no network time at all, expect trouble after every power cycle.

Finally, provisioning. A gateway with 400 tags and no template is a manual job that takes days per unit. Build a device profile once, store it as a file, and push it. Rollout speed depends on that file, not on the hardware.

Selection criteria

Edge Filtering vs Cloud-Side Processing: Which Fits Your Line

Same data, two places to reduce it. Pick by link quality and tag volume.

CriterionFilter at the gatewayProcess at the middle platform
Link reliabilityWeak or metered cellular, satelliteStable fiber or plant LAN
Tag volumeAbove 5,000 tags, send changes onlyBelow 1,000 tags, send everything
Latency needAlarm within 200 ms on siteDashboards refreshed every minute
Bandwidth costMetered SIM, per-GB billingFlat-rate internal network
Historical depthLocal ring buffer, 8-72 hoursFull retention in the platform
Skill to maintainEdge scripts, device-side rulesServer-side pipelines and SQL
Upgrade riskFirmware push touches many boxesCentral change, one deployment
Best fitRemote pumps, wind, mobile assetsOne plant, dense wired network

Choose by link and tag count, not by spec sheet

Pick an edge-filtering industrial intelligent gateway when the link is metered or unstable and tag counts run high. Pick a plain protocol converter when you have a stable plant LAN, under 1,000 tags and a platform team that prefers to compute centrally. Neither choice fixes a drifting clock or a missing device profile.

FAQs

Questions Engineers Ask Before Buying

Can one industrial intelligent gateway replace a PLC?

No. A gateway reads and publishes data on a 100 ms to seconds scale. A PLC closes control loops in single-digit milliseconds with deterministic timing.

Keep both. Let the PLC own safety and motion, and let the gateway report what the PLC already knows.

How many tags can one gateway handle?

It depends on poll rate and protocol, not on a headline number. As a working figure, a mid-range unit polls about 5,000 tags per second across a few protocols.

Past that, switch to change-of-value reporting or split the load across two gateways by area.

What buffer size do we need for store-and-forward?

Multiply tag count by sample rate by the longest outage you expect. A 2,000-tag line at 1 Hz for 8 hours needs about 58 million samples.

Apply deadband filtering first. It often cuts stored volume by 80% or more on slow process data.

Does the gateway enclosure affect the IP rating?

Yes. The rating belongs to the assembled box, including gaskets, cutouts and cable glands. A correctly machined cutout with a matching gland keeps the seal.

An oversized hole or a burr on the sealing face will leak in the first washdown.

How do we keep timestamps consistent across many gateways?

Run NTP from one plant source and point every gateway at it. Check the offset monthly and after firmware updates.

If a gateway buffers during an outage, replay with original timestamps, not with the time of replay.

Do we need an NDA before sharing machine data or drawings?

For hardware drawings and enclosure files, yes, that is normal practice. We work under NDA on request and treat uploads as confidential.

Send the enclosure model, connector list and flatness callouts, and we will quote from those.

Send Us the Enclosure, We Will Quote the Metal

Upload a STEP file and a connector list. You get a quotation and a free DFM review within 12 hours, with tolerances and finishes marked on the drawing.

12-hour quote100% inspectionNo minimum order quantity

Follow

More Process Notes

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC