Introduction
With the advent of the Industry 4.0 era, IoT technology is changing our production and lifestyle at an unprecedented speed. This article introduces a cross-platform industrial IoT gateway solution developed based on .NET 6.
The Industrial Internet of Things (IIoT) has become the link between the physical world and the digital world. In this network, the industrial IoT gateway acts like an intelligent traffic officer, directing the busy data traffic between devices and cloud systems.
Next, this article will explain how this solution works, the benefits it brings, and how to easily integrate it into existing production environments.
What is an Industrial IoT Gateway?
An Industrial IoT Gateway (IIoT Gateway) is a hardware device or software program that serves as a bridge between local devices (such as PLCs, barcode scanners, robots, CNC machines, customized upper computers, etc.) and cloud systems (such as IoT platforms, SCADA systems, MES systems, etc.).
All data flowing from devices to the cloud, and data sent from the cloud to devices, is transmitted through the IoT gateway, as shown in the figure below:

Project Introduction
The IoT Gateway solution is built on .NET 6 and supports cross-platform deployment.
Through an intuitive visual configuration interface, you can easily connect to various devices and systems (such as PLCs, barcode scanners, CNC machines, serial devices, upper computers, OPC Server, OPC UA Server, MQTT Server, etc.), achieving bidirectional data communication with ThingsBoard, IoTSharp, or your own IoT platform (MES, SCADA).
It provides a simple driver development interface and supports edge computing capabilities, providing strong support for data processing and analysis.
Project Features
Southbound
-
Supports Siemens PLC, Mitsubishi PLC, Modbus, Omron PLC, OPCUA, OPCDA, ABPLC, MT machine, Fanuc CNC
-
Driver support extension
-
Supports device data writing

-
Supports change upload and timed archiving

Northbound
Third-party platforms like Thingsboard and IoTSharp
Telemetry and attribute upload
RPC reverse control
Services
Built-in MQTT service (1888,1888/mqtt), supports websocker-mqtt, directly connects to your MES, SCADA, etc.

Built-in OpcUA (opc.tcp://localhost:62541/Quickstarts/ReferenceServer), your devices can also communicate with other devices via OPCUA

Built-in ModbusSlave (simulated device), port 503
Display Effect
Websocker without refresh

3D Digital Twin Demo



Project Guide
Protocol Conversion
Through visual configuration, easily connect to any of your devices and systems (such as PLCs, barcode scanners, CNC, databases, serial devices, upper computers, OPC Server, OPC UA Server, Mqtt Server, etc.).
Cloud Connection
Built-in MQTT server, OPCUA server, easily interact with MES, SCADA data. Supports IoTSharp, ThingsBoard, and other private cloud platforms. Supports RPC commands, reverse data writing.
Hardware Support
Cortex-A72, 1.5GHz ARM v8 64-bit CPU; emmc, 4G full network support, Wi-Fi, 232, 485, HDMI, SD card expansion, multiple network ports, multiple USB, Bluetooth 5.0, ADC, relay, buzzer, IO; currently supports 9-36V DC wide voltage input.
Enterprise Edition
Vue front-end, time-series database, full collection driver, rule engine, low-code reports, web configuration, etc.
Documentation
The documentation includes basic, advanced, and hardware information.

-
Any CPU architecture, such as Arm, Arm64, Armv6, X64, X86, LoongArch64 -
Most systems, such as win7-win11, ubuntu, debian, openwrt, and other linux systems, are not limited to the hardware devices I provide.
-
Performance monitoring: CPU, memory, disk, and other host metrics monitoring
-
Hardware interaction: analog quantity collection, relay control, IO, etc.
-
Virtual LAN: Using VPN technology to build a cloud local area network, achieving remote networking of multiple gateway devices, enabling collaborative acquisition and control of device data; supports gateway subordinate unconnected devices to pass through, remote debugging, remote upgrading of PLCs, etc.
-
Virtual remote serial port: capable of passing through serial port capabilities, can pass remote serial devices to the developer’s local machine; developers can complete remote gateway serial device development and debugging locally.
-
Network, firewall, routing: supports web scanning WiFi, configuring network interfaces to modify IP, etc.; web configuration of firewall and routing rules
-
Web terminal: access the terminal via the web, no longer need HDMI and network cables
-
Web file transfer: supports uploading and downloading files to the gateway via the web

Online Experience
1. Access Address
http://online.iotgateway.net
Username: admin
Password: iotgateway.net
2. Homepage

3. Collection Configuration

4. Gateway Configuration

Project Address
GitHub:https://github.com/iioter/iotgateway
Gitee:https://gitee.com/iioter/iotgateway
Documentation Address:http://iotgateway.net/docs/intro
Finally
If you find this article helpful, please give it a thumbs up! Your support is my motivation to continue sharing knowledge. If you have any questions or need further assistance, feel free to leave a message. You can also join the WeChat public account [DotNet Technology Craftsman] community to exchange ideas with other technology enthusiasts and grow together!
Author: Little Code Craftsman
.NET 8 Cross-Platform High-Performance Edge Collection Gateway
.NET Free Open Source Industrial IoT Gateway
IoTSharp: Open Source IoT Platform Based on .NET 6.0
Why C#+WPF is the First Choice for Industrial Control Upper Computer Development
Did you gain something? Feel free to share it to benefit more people
Follow DotNet Technology Craftsman to improve technical strength together



