Knowledge Hub

Factora Academy

Knowledge Hub · Courses · IoT.Factora · Technical · 24 min

Industrial gateway MQTT and Modbus

A multi-vendor industrial gateway publishes numeric MQTT, or polls Modbus and publishes engineering units.

Introduction

What this covers

Three ways an industrial cellular gateway can sit in front of a PLC or a meter, and which of those ways Factora can ingest directly.

Why it matters on the floor

Pointing a Factora MQTT connector at a Modbus request and response topic stores gateway chatter as if it were a process value.

By the end you can

  • Describe the compact gateway and router families, and keep the vendor's remote-management cloud separate from Factora
  • Publish a native MQTT payload that carries a value and a message id on the Factora topic
  • Recognise a Modbus request and response topic as something that needs an adapter before Factora can store it

About 24 minutes. Prerequisites: Protocol map, so MQTT, Modbus, and the Factora topic are already distinct.

Industrial gateways (Modbus and cellular)

The hardware vendor is not decided. Use a certified industrial gateway when the plant already has PLCs, energy meters, or RS485 instruments. Multi-vendor hardware covers LoRaWAN, Modbus and 4G/LTE.

Roles

  • Serial gateway — Ethernet, RS232, RS485, dual SIM. Polls Modbus RTU and publishes MQTT or HTTPS.
  • Site router — Ethernet and LTE uplink for Modbus TCP devices and the plant LAN.
  • Remote management — the vendor’s own tool. It is not Factora.

Path A — numeric MQTT

The gateway publishes {"value": n} on the Factora device topic. Scale and offset stay on the gateway so Factora stores engineering units.

Path B — Modbus poll

The gateway polls the meter or PLC. Do not point the Factora MQTT connector at a vendor’s request/response topics and expect OEE to move. Publish the scaled number on the ingest topic.

Map register → Factora type (kW, A, rpm).

Create a free account or log in to save this lesson on your progress.

Check understanding

Progress is stored in this browser until you log in. Passing is 70%.

1. A gateway’s Modbus request/response topics are the same as Factora ingest topics.
2. RS485 on an industrial gateway is a reason to use it for meters rather than location tags.