You have a factory floor with 200 sensors, 15 PLCs from three different vendors, and a cellular connection to the cloud. Every minute, those devices generate megabytes of raw data — temperature readings, motor vibration patterns, tank levels, alarm states. Sending all of it to the cloud costs bandwidth, adds latency, and creates a dependency on network availability that your production line cannot afford.

Edge computing on 5G routers addresses this by processing data locally, at the device level, before anything goes over the cellular link. This article explains what device-level edge computing means, how it differs from carrier-side MEC, and why pairing a 5G router with an edge gateway matters for industrial IoT deployments.

Edge Computing on 5G Routers: A Device-Level Definition

Edge computing on a 5G router means running data processing logic directly on the industrial networking device at your site — not in a remote data center and not inside a telecom operator's network. The router or gateway sitting in your control cabinet becomes both the connectivity layer and a compute node.

This is different from Multi-Access Edge Computing (MEC), which places compute resources inside the carrier's 5G network infrastructure, as defined by ETSI MEC standards. MEC requires operator participation, specific 5G core integration, and is typically available only in certain geographic areas. Device-level edge computing works with any cellular connection — 4G LTE or 5G — and gives you full control over what runs at the edge, when, and how.

The key distinction: with device-level edge computing, your data processing happens on hardware you own and manage, sitting next to your PLCs and sensors. No carrier involvement required.

How Device-Level Edge Computing Works

An industrial 5G router or gateway with edge computing capability performs several functions locally:

Local Data Acquisition

The gateway connects to field devices — PLCs, sensors, meters, inverters — through serial interfaces (RS232, RS485) and Ethernet. It reads register values, status flags, and measurement data using industrial protocols like Modbus RTU, Modbus TCP, OPC UA, or EtherNet/IP.

Protocol Conversion

Field devices speak a mix of protocols. A Siemens PLC talks Profinet. A Yokogawa meter speaks Modbus RTU. A Mitsubishi PLC uses its own MC protocol. The edge gateway translates all of these into a common format — typically MQTT or HTTP — for cloud upload. This protocol bridging is one of the most valuable functions of an edge gateway, because it eliminates the need for separate protocol converters at each site.

Data Filtering and Preprocessing

Instead of forwarding every raw reading, the gateway applies rules: discard duplicate values, aggregate measurements into 5-minute averages, trigger an alert only when a value exceeds a threshold for more than 30 seconds. This reduces the volume of data sent over the cellular link, which directly cuts connectivity costs.

Custom Edge Applications

Gateways with a Python development environment let you write and deploy custom logic directly on the device. A script can monitor vibration data from a motor, calculate a rolling RMS value, and trigger a local alert when the trend exceeds a baseline — all without sending raw waveform data to the cloud.

Why 5G Changes the Edge Computing Equation

5G connectivity changes what is practical at the edge in three ways:

Factor 4G LTE 5G NR
Peak downlink ~150 Mbps (Cat-4) to ~600 Mbps (Cat-12) Up to 3.4 Gbps (Sub-6 + mmW)
Round-trip latency 30-50 ms typical 5-10 ms typical (URLLC capable)
Connection density ~100K devices/km² Up to 1M devices/km²

Higher bandwidth means richer data streams — high-resolution vibration spectra, video feeds for visual inspection, or large log files — can reach the edge gateway without bottlenecking. Lower latency means control loops that previously required a local wired connection can now operate over 5G with acceptable round-trip times. And 5G's network slicing capability (defined in 3GPP standards) lets you prioritize critical edge traffic over background data uploads.

Dual-SIM support, available on routers like the InHand IR624, adds another layer: if the primary carrier drops, the router fails over to a secondary SIM, maintaining the 5G link that feeds the edge gateway. Edge processing continues uninterrupted because the gateway runs independently of which carrier is active.

Edge Computing vs Cloud-Only: What Changes for Industrial IoT

Moving from a cloud-only architecture to edge + cloud changes four operational outcomes:

1. Latency

Cloud-only means every sensor reading travels to a data center, gets processed, and a response comes back. For a simple threshold check, that round trip adds 100-300 ms. On the edge, the same check happens in under 10 ms because the data never leaves the site.

2. Bandwidth and Cost

A factory with 200 sensors reporting at 1 Hz generates roughly 17 MB of raw data per hour. Across 50 sites, that is 850 MB per hour — every hour, every day. With edge filtering that sends only aggregated summaries every 5 minutes, you can cut that volume by 90% or more. On metered cellular plans, this directly reduces monthly costs.

3. Data Sovereignty

Some industrial data cannot leave the premises — proprietary production recipes, safety-critical control data, or customer information under NDA. Edge computing keeps that data local. Only non-sensitive summaries or alerts go to the cloud for remote monitoring.

4. Offline Resilience

When the cellular link drops — and it will, whether from carrier maintenance, signal interference, or SIM issues — a cloud-only system goes blind. An edge gateway continues acquiring data locally, buffering it in on-device storage, and uploading it when connectivity returns. This gap-free data record matters for compliance audits and post-incident analysis.

Real-World Use Cases for 5G Router Edge Computing

Injection Molding Machine Monitoring

In a deployment documented by InHand Networks, an IG502 edge gateway connects to injection molding machine controllers to collect temperature, pressure, and lubricant level data in real time. The gateway filters and preprocesses the data locally before transmitting it to a remote management platform via 4G. Maintenance teams access the processed data through a cloud dashboard to monitor machine health and schedule preventive maintenance.

SCADA Data Preprocessing at Remote Pump Stations

Water utilities operate dozens of remote pump stations connected via cellular. An edge gateway at each station acquires flow rate, pressure, and pump status via Modbus, applies local threshold rules, and sends only exception alerts and hourly summaries to the central SCADA system. This approach, covered in more detail in our article on water treatment SCADA connectivity, reduces the cellular data load while maintaining real-time alarm capability.

Predictive Maintenance with Local Anomaly Detection

A Python script running on the edge gateway monitors vibration sensor data from rotating equipment. It calculates a rolling RMS value every 10 seconds and compares it against a learned baseline. When the trend deviates beyond a set threshold, the gateway sends a maintenance alert — without transmitting the raw vibration waveform to the cloud. Engineers receive the alert with enough time to schedule intervention before failure.

Protocol Bridging for Legacy Equipment

Many factories have equipment that predates IoT — older PLCs speaking proprietary serial protocols, energy meters using DLT645, or CNC machines with vendor-specific communication. An edge gateway with broad protocol support translates these into standard MQTT messages, making legacy equipment accessible to modern cloud platforms without replacing the machines themselves.

Key Capabilities to Look For in an Edge Computing 5G Router

When evaluating a 5G router or gateway for edge computing, check these six areas:

Capability Why It Matters
Processing power Determines what you can run locally. Look for ARM Cortex-class CPU, sufficient RAM (256MB+), and flash storage for app deployment.
Protocol breadth The more protocols supported natively, the fewer external converters needed. Modbus RTU/TCP and OPC UA are the minimum; EtherNet/IP, MC, and IEC 104 cover most industrial environments.
Python/app development A Python environment lets engineers write custom data processing logic without vendor-specific SDKs. Check whether the platform supports containerized deployment.
Cloud platform integration Native connectors to AWS IoT, Azure IoT Hub, or ThingsBoard reduce integration effort. Without these, you build custom MQTT bridges.
Dual-SIM failover Maintains the cellular link during carrier outages. Essential for unattended sites where a network drop means lost data.
Industrial-grade design Wide operating temperature (-20°C to +70°C minimum), DIN-rail mounting, EMC immunity (IEC 61000-4), and metal enclosure for harsh environments.

InHand IR624 and IG502: A 5G + Edge Computing Stack

InHand's product line separates the two layers — connectivity and compute — into distinct devices that work together:

IR624: The 5G Connectivity Layer

The IR624 is a 5G/4G industrial router built on the Qualcomm SDX62 platform. It delivers 5G NR (SA/NSA) with downlink speeds up to 3.4 Gbps and uplink up to 900 Mbps. Key specs:

  • Dual-band Wi-Fi 5 (802.11ac) with up to 867 Mbps at 5 GHz
  • 4× Gigabit Ethernet ports with WAN/LAN/VLAN support
  • Dual-SIM failover for carrier redundancy
  • VPN: IPSec and L2TP for secure backhaul
  • Serial: 1× RS232 + 1× RS485 with Modbus RTU-to-TCP bridge
  • Operating temperature: -20°C to +70°C, IP30, DIN-rail mountable
  • Certified by Verizon, AT&T, and T-Mobile for US deployment

The IR624 handles the transport layer — getting data in and out of the site over 5G — and includes a Modbus RTU-to-TCP bridge for basic protocol conversion.

IG502: The Edge Compute Layer

The IG502 is a programmable edge gateway built for local data processing. Key specs:

  • ARM Cortex-A8 processor, 600MHz, up to 512MB DDR3 RAM, 8GB eMMC Flash
  • Python development environment for custom edge applications
  • 80+ industrial protocols: Modbus RTU/TCP, OPC UA Client/Server, EtherNet/IP, ISO on TCP, Mitsubishi MC, FINS UDP, IEC 104, DLT645, BACnet, and more
  • Cloud integration: AWS IoT, Azure IoT, ThingsBoard
  • VPN: OpenVPN and IPSec
  • Dual-SIM failover
  • DeviceLive cloud management for batch device management

The IG502 handles the compute layer — acquiring data from field devices, running local processing logic, and uploading filtered results to the cloud.

How They Work Together

In a typical deployment, the IR624 provides 5G backhaul connectivity while the IG502 handles local data acquisition and processing. The IG502 connects to PLCs and sensors via serial and Ethernet, runs protocol conversion and data filtering locally, and sends processed data to the cloud through the IR624's 5G link. Both devices are managed through InHand's DeviceLive cloud platform, which provides batch configuration, remote firmware updates, and real-time device status monitoring.

This separation matters because it lets you upgrade each layer independently. When a new 5G modem standard arrives, you swap the router. When you need more edge processing power, you upgrade the gateway. You are not locked into a single monolithic device.

Challenges and Considerations

Device-level edge computing is not a silver bullet. Several factors warrant consideration:

Resource Constraints

An industrial gateway is not a server. With 600MHz CPU and 512MB RAM, the IG502 can handle data filtering, protocol conversion, and lightweight Python scripts. It cannot run large neural network models or process high-resolution video streams. For heavy AI inference, you need a dedicated edge AI platform with an NPU — the gateway handles data routing, not deep learning.

Security at the Edge

Every device sitting in a remote cabinet is a potential attack surface. Use VPN tunnels (IPSec or OpenVPN) for all cloud communication, disable unused ports, enforce strong passwords, and keep firmware current. The IEC 62443 framework provides a structured approach to OT security that applies to edge devices.

Managing Distributed Deployments

A fleet of 200 edge gateways across 200 sites means 200 Python scripts to update, 200 firmware versions to track, and 200 configuration sets to maintain. A cloud management platform like DeviceLive is not optional — it is a requirement for any deployment beyond a handful of sites.

When Edge Computing Is Not the Right Choice

If your application requires historical data analysis across months of records, complex machine learning model training, or cross-site correlation, the cloud is still the right place for that work. Edge computing handles real-time, site-local processing. It does not replace the cloud — it reduces what the cloud needs to handle.

The Bottom Line

Edge computing on 5G routers moves data processing from the cloud to the device. For industrial IoT deployments, this means lower latency, reduced cellular data costs, better data sovereignty, and resilience during network outages. The practical implementation pairs a 5G router (like the IR624) for high-bandwidth connectivity with an edge gateway (like the IG502) for local protocol conversion, data filtering, and custom Python applications.

If you are planning an industrial IoT deployment, evaluate whether your sites need local processing or just connectivity. For simple data pass-through, a 5G router alone is enough. For protocol conversion, data filtering, or custom logic at the site, an edge gateway is worth the additional investment.

To explore InHand's 5G router and edge gateway products, visit the IR624 product page or the IG502 product page, or read more about how these products fit into smart factory connectivity architectures.

FAQ

What is the difference between edge computing on a router and MEC?

MEC (Multi-Access Edge Computing) places compute resources inside the carrier's network infrastructure, managed by telecom operators. Edge computing on a router runs processing directly on the industrial device at your site. MEC requires carrier participation and specific 5G core integration. Device-level edge computing works with any cellular connection and gives you full control over what runs at the edge.

Can I run AI models on an industrial 5G router?

Basic routers like the IR624 focus on connectivity and data transport. For AI inference, you need an edge gateway with sufficient processing power. The InHand IG502 features an ARM Cortex-A8 processor with up to 512MB RAM and a Python development environment, which supports lightweight data processing and rule-based analytics. For heavy AI workloads, dedicated edge AI platforms with NPUs are more appropriate.

How does edge computing reduce IoT data costs?

Edge computing filters and aggregates data locally before sending it over the cellular network. Instead of transmitting every raw sensor reading, the gateway sends processed summaries, alerts, or batches at scheduled intervals. This reduces cellular data consumption, which directly lowers monthly connectivity costs for large-scale deployments with hundreds of remote sites.

What protocols does the InHand IG502 support for edge data acquisition?

The IG502 supports over 80 industrial protocols including Modbus RTU and TCP, OPC UA Client and Server, EtherNet/IP, ISO on TCP, Mitsubishi MC, FINS UDP, HostLink, PPI, DLT645-2007, and IEC 104. This breadth lets it acquire data from PLCs, meters, and field devices across mixed-vendor environments without additional protocol converters.

Do I need both a 5G router and an edge gateway?

It depends on your processing needs. If your application only requires network connectivity, a 5G router like the IR624 is sufficient. If you need local protocol conversion, data filtering, or custom logic running at the site, pair the router with an edge gateway like the IG502. Many deployments use the IR624 for 5G backhaul and the IG502 for local data processing.