COM/DAT User Manual

User Manual 51 < back to the table of contents > 12.3.1 Structure of the MQTT Topic The MQTT topic consists of a freely definable topic prefix, a fixed topic name “dat_data”, and the name of the DAT-Module. The input field for the topic prefix is shown in Figure 52: Input window for configuring the MQTT host. Instructions on how to change the name of a DAT-Module can be found in Chapter 7.5 Edit Configuration. Additionally, data from the COM-Module is transmitted under the topic name “com_data”. Figure 54 illustrates the structure of the topic and how it is sent to the MQTT host. Figure 53: Structure of MQTT topic. COM1 is connected to two DAT-Modules, COM2 to one DAT-Module DAT-00:00:01 DAT-00:00:02 DAT-00:00:03 MQTT Prefix: COM1 Module Name: com- modulname-1 MQTT Broker COM1/com_data/com-modulname-1 /data_data/DAT-00:00:01 /DAT-00:00:02 COM2/com_data/com-modulname-2 /data_data/DAT-00:00:03 MQTT Prefix: COM2 Module Name: com- modulname-2

RkJQdWJsaXNoZXIy MTAxNzE=