HBQ Technology
Industrial IoT microGateway Gateway IoT công nghiệp

uGW32 microGatewayuGW32 microGateway Micro I/O Industry GatewayGateway Công nhiệp nhỏ gọn

Compact industrial IoT gateway for analog 4–20 mA, digital I/O, and RS485 Modbus sensors. Uplink via WiFi or Ethernet to HBQconnect or a configured MQTT/HTTP server — with local web configuration and CSV bulk sensor import. Gateway IoT công nghiệp nhỏ gọn cho analog 4–20 mA, I/O số và cảm biến RS485 Modbus. Truyền dữ liệu qua WiFi hoặc Ethernet lên HBQconnect hoặc máy chủ MQTT/HTTP đã cấu hình — cấu hình web tại chỗ và nhập cảm biến hàng loạt qua CSV.

5–30V DC PowerNguồn DC
4DI+2DO Rev2 I/OI/O Rev2
RS485 IsolatedCách ly
MQTT Cloud UplinkKết nối Cloud
uGW32 microGateway
Section 01
General OverviewTổng quan chung

The uGW32 microGateway is a compact, multi-parameter industrial IoT device designed to measure and monitor signals from standard industrial I/O interfaces — including analog current loops (4–20 mA), digital inputs and outputs, and RS485 Modbus serial sensors.

uGW32 microGateway là thiết bị IoT công nghiệp đa thông số, nhỏ gọn, dùng để đo và giám sát tín hiệu từ các giao diện I/O tiêu chuẩn — bao gồm vòng dòng analog (4–20 mA), ngõ vào/ra số, và cảm biến serial RS485 Modbus.


uGW32 front

Collected data is transmitted wirelessly over WiFi or through Ethernet (RJ45) to HBQ's cloud monitoring platform (HBQconnect) or a configured MQTT/HTTP server. The device can also be configured locally via the HBQ Mobile App using Bluetooth Low Energy (BLE).

Dữ liệu thu thập được truyền qua WiFi hoặc Ethernet (RJ45) lên nền tảng giám sát đám mây HBQconnect hoặc máy chủ MQTT/HTTP đã cấu hình. Thiết bị cũng có thể cấu hình tại chỗ qua ứng dụng HBQ Mobile bằng Bluetooth Low Energy (BLE).

The device is housed in a white ABS enclosure for DIN-rail mounting in industrial panels. Body size: 110 × 55 × 45 mm. Hardware revision: Rev2.0 (13-pin field connector).

Thiết bị dùng vỏ ABS trắng, lắp thanh ray DIN trong tủ điện. Kích thước thân: 110 × 55 × 45 mm. Phần cứng: Rev2.0 (connector hiện trường 13 chân).

uGW32
uGW32 microGateway · Rev2
uGW32 ports
2-pin power · RJ45 · USB-C
Section 02
Key FeaturesTính năng chính
Wide Power Input RangeDải nguồn rộng
Accepts 5–30 VDC / 0.5 A. Compatible with most industrial power supplies.Chấp nhận 5–30 VDC / 0.5 A. Tương thích hầu hết nguồn công nghiệp.
Triple ConnectivityKết nối ba chế độ
WiFi and Ethernet for cloud uplink; BLE for on-site device configuration and commissioning via the HBQ Mobile App.
Flexible I/OI/O linh hoạt
Rev2 connector: 2× AI (4–20 mA), 4× DI (opto), 2× DO (opto), 1× isolated RS485 Modbus, VSEN 12 V sensor supply.Connector Rev2: 2× AI (4–20 mA), 4× DI (opto), 2× DO (opto), 1× RS485 Modbus cách ly, VSEN 12 V cấp cảm biến.
On-site Alarm OutputCảnh báo tại chỗ
Digital outputs (DO) can trigger local alarms, relays, or actuators based on configurable threshold rules.
Open Cloud PlatformNền tảng cloud mở
Configurable MQTT / HTTP endpoints (e.g. HBQconnect, ThingsBoard). Integration must be verified per server auth and payload.Cấu hình endpoint MQTT / HTTP (ví dụ HBQconnect, ThingsBoard). Tích hợp cần kiểm thử theo auth và payload của từng server.
Data LoggingGhi dữ liệu cục bộ
On-device data logging is supported. Capacity and retention are not published — confirm with HBQ for your project.Hỗ trợ ghi dữ liệu trên thiết bị. Dung lượng và thời gian lưu chưa công bố — xác nhận với HBQ theo dự án.
Operating TemperatureNhiệt độ hoạt động
0 °C to 50 °C — suitable for typical indoor industrial panels and enclosures.0 °C đến 50 °C — phù hợp tủ điện / panel trong nhà công nghiệp thông thường.
Easy Web ConfigurationCấu hình Web dễ dàng
Configure via any standard web browser over Ethernet — no proprietary software required.
Section 03
ApplicationsỨng dụng
  • Temperature & humidity monitoring — server rooms, pharmaceutical storage, industrial cold rooms
  • Water infrastructure — pressure, flow rate, and pump monitoring at water treatment plants
  • Smart agriculture — soil quality parameters (pH, moisture, nutrients) in precision farming
  • Construction & environmental — vibration, noise levels, and air quality at construction sites
  • Energy & power monitoring — current, voltage, and power quality in industrial facilities
  • Wastewater & chemical monitoring — COD, SS, ammonia, T-N at treatment plants
  • Giám sát nhiệt độ & độ ẩm — phòng server, kho dược phẩm, kho lạnh công nghiệp
  • Hạ tầng nước — áp suất, lưu lượng, giám sát bơm tại nhà máy xử lý nước
  • Nông nghiệp thông minh — pH, độ ẩm, dinh dưỡng đất trong nông nghiệp chính xác
  • Xây dựng & môi trường — rung, tiếng ồn, chất lượng không khí tại công trường
  • Giám sát năng lượng & điện — dòng, áp, chất lượng điện trong nhà máy
  • Nước thải & hóa chất — COD, SS, ammonia, T-N tại trạm xử lý
Section 04
System ArchitectureKiến trúc hệ thống
Field Sensors & Devices
Analog Sensor
AI · 4–20 mA
Modbus Device
RS485 · RTU
DI / DO Signal
Digital I/O
↓↓↓
uGW32 microGateway
Data acquisition · Edge processing · Alarm output
WiFi / Ethernet
MQTT · HTTP
Bluetooth BLE
Config only
HBQconnect Cloud MQTT / HTTP / HBQconnect
Real-time monitoring · Alarms · History
HBQ Mobile App iOS · Android
Device configuration only
Section 05
Technical SpecificationsThông số kỹ thuật
Parameter Specification
Model uGW32
Power Supply 5 – 30 VDC / 0.5 A
Analog Input (AI) 2 × 4–20 mA current loop
Hardware revision Rev2.0 — 13-position field connector (P1)
Digital Input (DI) 4 × optocoupler-based (DI1–DI4)
Digital Output (DO) 2 × optocoupler-based (DO1–DO2); load rating confirm with HBQ
Sensor Power Supply VSEN: 12 VDC (continuous current: contact HBQ)
Serial Port 1 × isolated RS485 (Modbus RTU Master) — A / B / GND_ISO
WiFi IEEE 802.11 b/g/n, 2.4 GHz (external antenna)
Ethernet 10/100 Mbps, RJ45 connector
Bluetooth BLE (Bluetooth Low Energy) — device configuration only
Cloud Protocol MQTT (primary); HTTP REST (optional)
Cloud Platform Configurable MQTT/HTTP endpoints (HBQconnect, ThingsBoard, or custom) — verify integration per project
Operating Temperature 0 °C to 50 °C
Enclosure Material White ABS plastic
Dimensions (H × W × D) 110 × 55 × 45 mm
Mounting DIN-rail
Antenna External (included)
LED Status Indicator Yes (see Section 7)
Configuration Interface Web browser via Ethernet RJ45
Data Logging Supported
uGW32 dimensions 110 × 55 × 45 mm
Mechanical drawing — 110 × 55 × 45 mmBản vẽ cơ khí — 110 × 55 × 45 mm
ℹ Note
CAD/DXF on request: contact@hbqsolution.com. Do not use pre-Rev2 10-pin connector photos for wiring. CAD/DXF theo yêu cầu: contact@hbqsolution.com. Không dùng ảnh connector 10 chân (pre-Rev2) để đấu dây.
Section 06
I/O Connections (Rev2)Đấu nối I/O (Rev2)
6.0 Field connector P1 — full pin mapConnector hiện trường P1 — sơ đồ chân

Rev2 uses a 13-position green pluggable terminal. View orientation: looking straight into the terminal openings. Official signal names below — do not use abbreviated yellow sticker text (VS, DG, …) as the wiring table.

Rev2 dùng terminal xanh 13 vị trí. Hướng nhìn: trực diện vào lỗ terminal. Tên tín hiệu chính thức bên dưới — không dùng chữ tắt trên tem vàng máy (VS, DG, …) làm bảng đấu dây.

uGW32 Rev2 P1 pin mapping
Pin Signal DescriptionMô tả
1RS485_BRS485 B
2RS485_ARS485 A
3GND_ISOIsolated RS485 referenceMass RS485 cách ly
4DO2Digital Output 2
5DO1Digital Output 1
6DI4Digital Input 4
7DI3Digital Input 3
8DI2Digital Input 2
9DI1Digital Input 1
10AGNDAnalog groundMass analog
11SEN24–20 mA Analog Input 2
12SEN14–20 mA Analog Input 1
13VSEN12 V sensor supplyNguồn cảm biến 12 V
ℹ Note
Separate port face: 2-pin DC power, RJ45 Ethernet, USB-C (service/programming). Do not mirror the pin diagram. Mặt cổng riêng: nguồn 2 chân, RJ45 Ethernet, USB-C (service/programming). Không lật/mirror sơ đồ chân.
6.1 Analog Input (4–20 mA)

Connect 4–20 mA transmitters to SEN1 / SEN2 with return on AGND. VSEN provides 12 V to power external transmitters (continuous current: confirm with HBQ).

Đấu transmitter 4–20 mA vào SEN1 / SEN2, hồi về AGND. VSEN cấp 12 V cho transmitter ngoài (dòng liên tục: xác nhận với HBQ).

Terminal Signal Description
Pin 10 AGND Analog GND
Pin 11 SEN2 4–20 mA Analog Input 2
Pin 12 SEN1 4–20 mA Analog Input 1
Pin 13 VSEN 12 V sensor supply
ℹ Tip
Use shielded cable in noisy environments. Wiring diagram: use Section 6.0 pin map (Rev2).
6.2 Modbus RS485

Isolated RS485 for Modbus RTU Master. Terminate the bus with 120 Ω at both ends for long cables.

RS485 cách ly cho Modbus RTU Master. Đầu cuối bus 120 Ω hai đầu khi cáp dài.

Terminal Signal Description
Pin 1 RS485_B RS485 B
Pin 2 RS485_A RS485 A
Pin 3 GND_ISO Isolated reference
⚠ Important
Do not connect RS485 terminals to a powered RS232 port — this can permanently damage the device. Match A/B polarity to the slave nameplate.
ℹ Tip
Use twisted-pair shielded cable in noisy environments.
6.3 Digital Input (DI)

Four optocoupler-based digital inputs (DI1–DI4) on the Rev2 connector.

Bốn ngõ vào số opto (DI1–DI4) trên connector Rev2.

Terminal Signal Description
Pin 6 DI4 Digital Input 4
Pin 7 DI3 Digital Input 3
Pin 8 DI2 Digital Input 2
Pin 9 DI1 Digital Input 1
ℹ Note
Exact DI voltage range: confirm with HBQ before design-in. Do not exceed the approved limit.
6.4 Digital Output (DO)

Two optocoupler-based digital outputs (DO1–DO2) for local alarm / actuator mapping. Load voltage/current rating: confirm with HBQ.

Hai ngõ ra số opto (DO1–DO2) cho cảnh báo / actuator tại chỗ. Rating tải: xác nhận với HBQ.

Terminal Signal Description
Pin 4 DO2 Digital Output 2
Pin 5 DO1 Digital Output 1
Section 07
LED Status IndicatorsĐèn báo trạng thái
LED Behavior Meaning Action Required
Short Pulse (5s) Operating normally. Connected to Cloud. None.
Slow Blink (1.5s) Initializing or connecting to WiFi. Wait for device to connect.
Medium Blink (0.3s) WiFi connected, connecting to MQTT Server. Wait for device to connect.
Fast Blink (0.1s) Network error (WiFi/Ethernet disconnected). Check credentials or network cable.
Solid ON (1.5s) Operation failed (Invalid configuration). Check your command/input.
Quick Double Blink Operation successful (Settings saved). None.
Double Blink (1.5s cycle) Idle / Initialization mode. Configure network settings.
ℹ Note
In normal operation (Connected), the LED stays OFF and only emits a very short pulse every 5 seconds (Heartbeat) to indicate the device is active.
Section 08
Network & ConnectivityMạng & kết nối
8.1 WiFi8.1 WiFi

Supports IEEE 802.11 b/g/n at 2.4 GHz using an external antenna. Connect to any standard WPA2-secured access point. Place the device within line-of-sight of the router or use the external antenna to improve reception inside enclosed panels.

Hỗ trợ IEEE 802.11 b/g/n băng tần 2.4 GHz với ăng-ten ngoài. Kết nối điểm truy cập WPA2 tiêu chuẩn. Đặt thiết bị trong tầm nhìn router hoặc dùng ăng-ten ngoài trong tủ kín.

8.2 Ethernet8.2 Ethernet

A 10/100 Mbps Ethernet RJ45 port provides wired LAN connectivity for environments where WiFi is unreliable or restricted. The Ethernet port is also used for web-based device configuration (see Section 10).

Cổng Ethernet RJ45 10/100 Mbps cung cấp kết nối LAN có dây khi WiFi không ổn định. Cổng này cũng dùng để cấu hình web (xem Mục 10).

8.3 Bluetooth Low Energy (BLE)8.3 Bluetooth Low Energy (BLE)

BLE enables a direct, short-range connection (up to ~10 m) between the uGW32 and the HBQ Mobile App, used exclusively for device setup and configuration. BLE does not support real-time monitoring or local data access. Use cases include:

BLE cho phép kết nối trực tiếp tầm gần (~10 m) giữa uGW32 và ứng dụng HBQ Mobile, chỉ dùng để cài đặt và cấu hình. BLE không hỗ trợ giám sát thời gian thực. Các trường hợp dùng:

  • Initial device configuration and network setup during installation
  • On-site parameter adjustment and calibration
  • Quick commissioning without a laptop or Ethernet cable
  • Cấu hình ban đầu và thiết lập mạng khi lắp đặt
  • Hiệu chỉnh thông số tại chỗ
  • Commissioning nhanh không cần laptop hoặc cáp Ethernet
ℹ Noteℹ Lưu ý
WiFi, Ethernet, and BLE operate independently and can all be active simultaneously. WiFi, Ethernet và BLE hoạt động độc lập và có thể bật đồng thời.
Section 09
Software & Cloud PlatformPhần mềm & nền tảng Cloud
cloud_dashboard
HBQconnect Cloud
Web Dashboard · MQTT · HBQconnect
A customized IoT dashboard based on HBQconnect Cloud Server — also compatible with configured MQTT/HTTP servers after integration testing.Bảng điều khiển IoT dựa trên HBQconnect Cloud — tích hợp MQTT/HTTP sau khi kiểm thử theo từng server.
  • Real-time sensor charts and gauges
  • Multi-device management
  • Configurable alarm rules and notifications
  • Historical data export (day / month / year)
  • Role-based user access control
  • Biểu đồ và đồng hồ cảm biến thời gian thực
  • Quản lý nhiều thiết bị
  • Quy tắc cảnh báo và thông báo cấu hình được
  • Xuất dữ liệu lịch sử (ngày / tháng / năm)
  • Phân quyền người dùng theo vai trò
Mobile app
HBQ Mobile App
iOS · Android · BLE Configuration
A companion mobile app for on-site device configuration via Bluetooth BLE. Does not support real-time monitoring or local data storage.Ứng dụng di động để cấu hình tại chỗ qua Bluetooth BLE. Không hỗ trợ giám sát thời gian thực hoặc lưu dữ liệu cục bộ.
  • Connect directly via Bluetooth BLE
  • Configure WiFi, MQTT server, and sensor parameters
  • Adjust alarm thresholds and calibration on-site
  • View device status and connection health
  • Works without internet — BLE only
  • Kết nối trực tiếp qua Bluetooth BLE
  • Cấu hình WiFi, MQTT và thông số cảm biến
  • Điều chỉnh ngưỡng cảnh báo và hiệu chuẩn tại chỗ
  • Xem trạng thái thiết bị và kết nối
  • Hoạt động không cần Internet — chỉ BLE
ℹ Accessℹ Truy cập
For cloud platform credentials and mobile app download links, contact contact@hbqsolution.com or visit web.hbqsolution.com. Để lấy tài khoản cloud và link tải ứng dụng, liên hệ contact@hbqsolution.com hoặc truy cập web.hbqsolution.com.
Section 10
Ethernet Web Configuration GuideHướng dẫn cấu hình Web qua Ethernet

The uGW32 microGateway features a built-in, responsive web interface for easy configuration and diagnostics directly from any browser over a local Ethernet connection. Connect the gateway's RJ45 port to your PC or local switch, power on the device, and log in with your credentials.

uGW32 microGateway có giao diện web tích hợp, hỗ trợ cấu hình và chẩn đoán trực tiếp từ trình duyệt qua kết nối Ethernet cục bộ. Cắm cổng RJ45 vào PC hoặc switch, bật nguồn thiết bị và đăng nhập bằng tài khoản của bạn.

⚠ Initial Security Warning⚠ Cảnh báo bảo mật ban đầu

Always change the default administrator password on your first login under the System Config tab to secure the device from unauthorized access on the local network.

Luôn đổi mật khẩu quản trị mặc định ngay lần đăng nhập đầu tiên tại tab System Config để bảo vệ thiết bị khỏi truy cập trái phép trên mạng nội bộ.

10.1. Live Telemetry Monitoring10.1. Giám sát telemetry thời gian thực

The monitoring dashboard displays the real-time operational status of all I/O interfaces, system telemetry, and network connections. It is the primary window for operational validation and signal checkouts.

Bảng giám sát hiển thị trạng thái vận hành theo thời gian thực của mọi giao diện I/O, telemetry hệ thống và kết nối mạng. Đây là cửa sổ chính để kiểm tra tín hiệu và xác nhận vận hành.

  • Analyze Analog Signals (AI1, AI2): View exact current loop values in mA and their mapped physical measurements (e.g., pressure, temperature).
  • Track Digital Inputs (DI1, DI2): Real-time high/low logic indicator for isolated digital status tracking.
  • Monitor Outputs & Network: Verify actual DO1/DO2 relay states, real-time wireless RSSI levels, and the gateway's continuous Uptime.
  • Phân tích tín hiệu Analog (AI1, AI2): Xem giá trị dòng mA và đại lượng vật lý đã quy đổi (áp suất, nhiệt độ,…).
  • Theo dõi Digital Input (DI1, DI2): Chỉ báo logic cao/thấp theo thời gian thực cho ngõ vào số cách ly.
  • Giám sát ngõ ra & mạng: Kiểm tra trạng thái DO1/DO2, cường độ WiFi RSSI và thời gian hoạt động (Uptime) của gateway.
Live Telemetry Monitoring
10.2. Digital Output & Actuator Control10.2. Điều khiển ngõ ra & cơ cấu chấp hành

Enables manual override and testing of physical digital outputs. Highly useful during setup for testing connected warning lights, sirens, valves, or relays.

Cho phép điều khiển cưỡng bức và kiểm tra ngõ ra số. Rất hữu ích khi lắp đặt để thử đèn cảnh báo, còi, van hoặc rơ-le.

  • Select Target Channel: Choose the specific output (DO1 or DO2) to command.
  • Toggle Control Mode: Switch from automatic rule-based execution to manual override mode.
  • Execute Commands: Slide the virtual switch to trigger the output state ON or OFF instantly.
  • Chọn kênh đích: Chọn ngõ ra cần điều khiển (DO1 hoặc DO2).
  • Chuyển chế độ: Chuyển từ chạy tự động theo quy tắc sang điều khiển thủ công.
  • Thực thi lệnh: Gạt công tắc ảo để bật/tắt ngõ ra ngay lập tức.
Relay and Actuator Control
10.3. RS485 Modbus RTU Configuration10.3. Cấu hình đọc Modbus RTU RS485

Configure the gateway to poll industrial sensors, PLCs, or meters on the RS485 bus. The gateway operates as a Modbus Master, polling mapped registers automatically. Up to 20 sensors per slave ID can be defined manually or imported in bulk via CSV (see Section 10.4).

Cấu hình gateway để quét cảm biến công nghiệp, PLC hoặc đồng hồ trên bus RS485. Gateway hoạt động ở chế độ Modbus Master, tự động đọc các thanh ghi đã ánh xạ. Tối đa 20 cảm biến cho mỗi Slave ID có thể nhập thủ công hoặc nhập hàng loạt qua CSV (xem Mục 10.4).

  • Manual Entry: Add each sensor row with name, Modbus address, data type, register type, endianness, bit offset, and enable state.
  • Bulk CSV Import: Click Import CSV on the Polling Configuration tab to load a pre-built register map from a spreadsheet.
  • Apply & Save: Click Apply All to push rows to RAM, then Save All to Flash to persist after power cycle.
  • Nhập thủ công: Thêm từng dòng cảm biến với tên, địa chỉ Modbus, kiểu dữ liệu, loại thanh ghi, endian, bit offset và trạng thái kích hoạt.
  • Nhập CSV hàng loạt: Bấm Import CSV trên tab Polling Configuration để tải bản đồ thanh ghi từ file bảng tính.
  • Áp dụng & Lưu: Bấm Apply All để đẩy cấu hình vào RAM, sau đó Save All to Flash để lưu vĩnh viễn.
Modbus Polling Config
10.4. CSV Bulk Sensor Import (V2.1)10.4. Nhập cảm biến hàng loạt qua CSV (V2.1)

The Polling Configuration tab includes an Import CSV button that loads up to 20 RS485 sensor definitions at once. Firmware V2.1 requires a strict 7-column header and validates each row before appending to the current list.

Tab Polling Configuration có nút Import CSV để tải tối đa 20 cấu hình cảm biến RS485 cùng lúc. Firmware V2.1 yêu cầu dòng tiêu đề 7 cột chính xác và kiểm tra từng dòng trước khi thêm vào danh sách hiện tại.

⚠ Required CSV Header⚠ Dòng tiêu đề CSV bắt buộc

Row 1 must be exactly:

Dòng đầu tiên phải chính xác:

Name,Address,Type,RegType,Endian,BitOff,Active

Import WorkflowQuy trình nhập

  • Prepare the file: Use Sensor_Import_Template_V2.1.csv as a starting point. Lines starting with // are ignored.
  • Import CSV: On Polling Configuration, click 📁 Import CSV and select your file. If sensors already exist, choose OK to clear the list first or Cancel to append.
  • Apply All: Push every row to gateway RAM. The web UI pauses background polling during this step.
  • Save All to Flash: Persist the configuration so it survives reboot and power loss.
  • Chuẩn bị file: Dùng Sensor_Import_Template_V2.1.csv làm mẫu. Các dòng bắt đầu bằng // sẽ bị bỏ qua.
  • Import CSV: Tại tab Polling Configuration, bấm 📁 Import CSV và chọn file. Nếu đã có cảm biến, chọn OK để xóa danh sách cũ hoặc Cancel để thêm tiếp.
  • Apply All: Đẩy toàn bộ dòng cấu hình vào RAM của gateway. Giao diện web tạm dừng polling nền trong bước này.
  • Save All to Flash: Lưu cấu hình để giữ lại sau khi khởi động lại hoặc mất điện.

Column ReferenceTra cứu các cột

ColumnCột FieldTrường DescriptionMô tả
1Name Sensor label (max 20 chars: a-z, A-Z, 0-9, _, -). Used in monitoring and MQTT.Tên cảm biến (tối đa 20 ký tự: a-z, A-Z, 0-9, _, -). Dùng trong giám sát và MQTT.
2Address Modbus register address — hex (0x0001) or decimal (1).Địa chỉ thanh ghi Modbus — hex (0x0001) hoặc thập phân (1).
3Type Data type index — see table below.Chỉ số kiểu dữ liệu — xem bảng bên dưới.
4RegType 0 = Holding (FC 03), 1 = Input (FC 04).0 = Holding (FC 03), 1 = Input (FC 04).
5Endian Byte order for 32-bit types only (Type 2, 3, 4). Use 0 for 16-bit and Boolean.Thứ tự byte — chỉ cho kiểu 32-bit (Type 2, 3, 4). Kiểu 16-bit và Boolean để 0.
6BitOff Bit position 0–15. Only used when Type = 5 (Boolean).Vị trí bit 0–15. Chỉ dùng khi Type = 5 (Boolean).
7Active 1 = enabled, 0 = disabled.1 = bật, 0 = tắt.

1. Data Type (Column 3 — Type)1. Kiểu dữ liệu (Cột 3 — Type)

ValueGiá trị TypeKiểu NotesGhi chú
0Uint16Unsigned 16-bit integer (1 register)Số nguyên không dấu 16-bit (1 thanh ghi)
1Int16Signed 16-bit integer (1 register)Số nguyên có dấu 16-bit (1 thanh ghi)
2Uint32Unsigned 32-bit integer (2 registers)Số nguyên không dấu 32-bit (2 thanh ghi)
3Int32Signed 32-bit integer (2 registers)Số nguyên có dấu 32-bit (2 thanh ghi)
4FloatIEEE 754 32-bit float (2 registers) — common for process sensorsSố thực IEEE 754 32-bit (2 thanh ghi) — thường dùng cho cảm biến quy trình
5BooleanSingle bit read — set BitOff columnĐọc 1 bit — cấu hình cột BitOff

2. Register Type (Column 4 — RegType)2. Loại thanh ghi (Cột 4 — RegType)

ValueGiá trị RegisterThanh ghi ModbusModbus
0Holding RegisterRead/write area (Function Code 0x03)Vùng đọc/ghi (Function Code 0x03)
1Input RegisterRead-only area (Function Code 0x04)Vùng chỉ đọc (Function Code 0x04)

3. Byte Order (Column 5 — Endian)3. Thứ tự byte (Cột 5 — Endian)

Applies only to 32-bit types (Type 2, 3, 4).Chỉ áp dụng cho kiểu 32-bit (Type 2, 3, 4).

ValueGiá trị FormatĐịnh dạng DescriptionMô tả
0ABCDBig-endian (default)Big-endian (mặc định)
1CDABWord swapHoán đổi word
2BADCByte swapHoán đổi byte
3DCBALittle-endianLittle-endian

Sample CSV FileVí dụ file CSV

Name,Address,Type,RegType,Endian,BitOff,Active
Nhiet_Do,0x0001,4,0,0,0,1
Do_Am,0x0002,0,1,0,0,1
Trang_Thai_Bom,0x0005,5,0,0,1,1

Trang_Thai_Bom reads bit 1 from Holding register 0x0005 as a Boolean status flag.Trang_Thai_Bom đọc bit 1 từ thanh ghi Holding 0x0005 như cờ trạng thái Boolean.

ℹ Tipsℹ Mẹo

Maximum 20 active sensors per Modbus slave. If the header row does not match exactly, the import is rejected with an error dialog. After changing sensor names, review Alert rules — missing sensors are auto-disabled on Apply All.

Tối đa 20 cảm biến đang bật cho mỗi Slave Modbus. Nếu dòng tiêu đề không khớp chính xác, import sẽ bị từ chối. Sau khi đổi tên cảm biến, kiểm tra lại quy tắc Cảnh báo — cảm biến không tồn tại sẽ tự tắt khi Apply All.

10.5. Edge Threshold Alarm Rules10.5. Quy tắc cảnh báo ngưỡng tại biên

Define automated local logic rules. The gateway executes these limits at the edge, allowing instant local alarm activation even during internet dropouts.

Định nghĩa quy tắc logic cục bộ tự động. Gateway thực thi tại biên, kích hoạt cảnh báo tức thì ngay cả khi mất Internet.

  • Target Specific Inputs: Choose any Analog channel or polled Modbus register as the monitoring source.
  • Define High/Low Limits: Set precise numerical thresholds to trigger warnings or safety responses.
  • Map Alarm Output & Delays: Bind rules to automatically trigger DO1/DO2 and define delay filters to prevent false alarms.
  • Chọn nguồn giám sát: Kênh Analog hoặc thanh ghi Modbus đã quét.
  • Đặt ngưỡng trên/dưới: Thiết lập ngưỡng số chính xác để kích hoạt cảnh báo hoặc an toàn.
  • Ánh xạ ngõ ra & trễ: Gán quy tắc kích DO1/DO2 và thời gian trễ lọc nhiễu.
Edge Threshold Alerts
10.6. WiFi & Ethernet Networking10.6. Cài đặt mạng WiFi & Ethernet

Configure the physical interfaces linking the gateway to the cloud. Supports dual failover options for redundant internet routing.

Cấu hình giao diện vật lý kết nối gateway lên cloud. Hỗ trợ chuyển đổi dự phòng giữa WiFi và Ethernet.

  • Set WiFi SSID & Pass: Search for local industrial 2.4 GHz Access Points and input secure security keys.
  • Ethernet Configuration: Enable DHCP to automatically obtain IP addresses or set Static IP, Netmask, and DNS servers.
  • Save & Reboot: Commit the networking configuration to initiate secure handshakes with the gateway's routing switch.
  • Cài WiFi SSID & mật khẩu: Quét mạng 2.4 GHz và nhập khóa bảo mật.
  • Cấu hình Ethernet: Bật DHCP hoặc đặt IP tĩnh, subnet mask và DNS.
  • Lưu & khởi động lại: Lưu cấu hình mạng để gateway kết nối ổn định.
WiFi and Ethernet Configuration
10.7. Cloud Server & MQTT Connection10.7. Kết nối Cloud & MQTT

Establish the main uplink channel for telemetry data sync. Connects the gateway directly to cloud brokers like HBQconnect or public servers.

Thiết lập kênh uplink chính đồng bộ telemetry. Kết nối gateway tới broker cloud như HBQconnect hoặc máy chủ công cộng.

  • Enter Broker Credentials: Define host URL or IP, and port (standard 1883 or encrypted SSL/TLS 8883).
  • Input Authentication: Enter the unique Client ID, Username, and Password allocated by your system administrator.
  • Map Topic Mappings: Define custom JSON telemetry publish and command subscription topics to match your system.
  • Nhập thông tin Broker: URL/IP và cổng (1883 hoặc SSL/TLS 8883).
  • Xác thực: Client ID, Username và Password do quản trị cấp.
  • Ánh xạ Topic: Topic publish telemetry và subscribe lệnh điều khiển.
MQTT Server Connection
10.8. System Diagnostics & Utilities10.8. Chẩn đoán & tiện ích hệ thống

Access primary device utilities and maintenance options. Crucial for hardware setup, updating settings, and backup management.

Truy cập tiện ích và bảo trì thiết bị: cài đặt phần cứng, cập nhật cấu hình và sao lưu.

  • Time & NTP Synchronization: Sync with global NTP servers and set local offsets to secure exact telemetry timestamps.
  • Firmware & Configuration Backups: Backup active configurations to local storage or upgrade system software via Over-The-Air (OTA).
  • Reboot & Admin Control: Trigger system reboot or update administrator passwords for robust device-level security.
  • Đồng bộ NTP: Đồng bộ thời gian với máy chủ NTP để timestamp chính xác.
  • Sao lưu & firmware: Backup cấu hình hoặc nâng cấp firmware qua OTA.
  • Khởi động lại & quản trị: Reboot hệ thống hoặc đổi mật khẩu admin.
System Configuration and Utilities