MQTT Machine Simulator

Publish machine simulation data to any MQTT broker and test how your MES, SCADA or IoT platform consumes it. MaConSim manages broker connections and a hierarchical topic tree, and publishes live or simulated values with per-topic QoS, retain and publish interval.

Back to the product overview.

MQTT broker topic hierarchy in MaConSim: factory/dev topics with signal type, QoS, retain flag and live field values

How the MQTT integration works

  1. Create a broker tree — a connection to an MQTT broker with host, port (default localhost:1883), optional credentials, TLS toggle, client ID, keep-alive and birth/last-will messages.
  2. Build a topic tree from slash-separated topic paths, e.g. {plant}/{machine}/{data-channel} such as factory-berlin/press-1/spindle-temperature.
  3. Configure each topic: signal type (status, telemetry, event, alarm, metrics, command), QoS level (0/1/2), retain flag, publish interval and a data source.
  4. Start the broker runtime. MaConSim publishes the configured topics; MaConSim’s own broker accepts client connections on port 1883 (plain) or 8883 (TLS).

MQTT capabilities

Typical use cases

Technical details

Aspect Detail
Default ports 1883 (plain), 8883 (TLS) — configurable per broker tree and in docker-compose.yml
QoS 0, 1 or 2 per topic (default 1)
Retain Optional per topic
Authentication Optional username/password; TLS optional
Birth / last will Optional topic + message on connect / unexpected disconnect
Plant export Broker configurations and topics are exported; passwords are omitted and must be re-entered after import
Deployment Desktop app and Docker

FAQ

Does MaConSim run its own MQTT broker or connect to an external one? Both. You configure a broker connection per broker tree — point it at your own broker or at MaConSim’s default localhost:1883. MaConSim exposes its broker ports (1883 plain / 8883 TLS) so external MQTT clients can subscribe directly.

Is TLS supported? Yes — enable TLS/SSL on the broker tree and use port 8883 by default.

Can topics publish dynamic simulation data? Yes — each topic field can use a static value, a database reference to live machine data, or a simulation (sine, sawtooth, random, …).

Technical documentation

Read the MQTT chapter of the User Manual: MQTT and the shared Data Source Configuration.

Related: OPC UA simulator · Machine Simulation · REST API.

Download the free version.

Download Area

Or schedule a demo.

Schedule Demo