16
© Softing Industrial Automation GmbH
dataFEED Gateway - User Manual
Enable MQTT
This flag specifies whether the MQTT connection will be activated or not.
Saving and applying settings
1.
Click the
Save
button to save your settings.
A hint will appear reminding you that the application of some other settings is pending:
2.
Click at this link. Your settings will be applied.
Depending on the number of modified settings this process may take some time before being completed.
3.
A message in the upper window part will inform you about the successful modification(s).
4.3.1 MQTT Topic Settings
The
MQTT Topic Settings
view allows to configure the settings of the topics to be published to the MQTT Broker.
MQTT Topic Configuration
The following settings are provided:
MQTT Root Topic (Topic Prefix)
The specified root topic is added as a prefix to all MQTT Topic names which are going to be published.
If this setting is not empty, than a trailing slash (
/
) is inserted between the root topic and the automatically
generated topic name.
Hierarchy
The following hierarchy options are supported:
o
Full PLC hierarchy
The hierarchy of PLC symbols is translated into a corresponding MQTT hierarchy below the Root Topic.
o
Flattened PLC hierarchy
The PLC symbols are flattened into just one MQTT hierarchical level below the Root Topic.
o
Suppressed PLC symbols
The PLC symbol names are not used in the MQTT Topic namespace.
Use this setting, if the MQTT Broker allows only to publish to one single MQTT Topic name.
MQTT Suffix Topic
The specified suffix topic is appended at the end to each MQTT Topic which is going to be published.
Depending on the requirements of your MQTT Broker and your application, you may need to begin the suffix
topic with a leading slash (
/
).
MQTT QoS
The following MQTT QoS options are available:
o
Level 0
An MQTT message is published with the safety of the current TCP connection.
o
Level 1
An MQTT message is repeated in the next TCP connection, if the delivery of the message in the current
TCP connection fails.
o
Level 2
The MQTT protocol uses the confirmation of confirmations to ensure that a message is delivered exactly
once.