MQTT Configuration
The MQTT functionality of the Anybus CompactCom is disabled by default. Implement the attribute #1 (MQTT mode) in the MQTT host object (E2h), instance #1, to enable it.
The MQTT host object provides the possibility to configure the Last will message and to provide publication options per publication.
The Network Configuration object (04h) offers a set of instances to configure the connection to the MQTT broker and also a base topic used for publications. These instances, which also are available via the internal web page, are summarized in the table below.
Parameter | Instance No. (in Network Configuration Object) | Default |
---|---|---|
Broker URL | 50 | Empty string |
Client Identifier | 51 | Empty string |
Keep Alive (s) | 52 | 60 |
Broker Username | 53 | Empty string |
Broker Password | 54 | Empty string |
Base Topic | 55 | Empty string |
Quality of service | 56 | 0 |
Secure MQTT | 57 | Disable |