MQTT data point definitions
The MQTT interface is used to send and receive data from and to MQTT brokers. The MQTT data point definition table defines all MQTT topics that are used within the project.
File location
<WorkspaceDirectory>\DataFiles\xio.Mqtt.DatapointDefinitions.dat
Col# | Parameter | Description | Scope | Unit | Mandatory / default value |
---|---|---|---|---|---|
1 | Broker Name | The name of the broker to which this topic belongs to. This name must be same as it is used within the broker definition. | string | none | mandatory |
2 | Broker Path | The path of the broker to which this topic belongs to. This path must be same as it is used within the broker definition. | string | none | empty |
3 | Topic | MQTT topic name within the broker. | string | none | mandatory |
4 | Data type | The type of the data point. | BOOL, STR, BYTE, CHAR, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, FLOAT, DOUBLE, DATE, TIME | none | STR |
5 | Access mode | The access rights of the data point. Allowed values are R (read-only), W (write-only), RW (read and writable). | R, W, RW | none | RW |
6 | Persistent | If enabled, the last known data point value is restored after server start up. | true/false | none | false |
7 | Synchronize | If enabled, the value is synchronized with the backup server if used. | true/false | none | true |