IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
65
>
9.2.23
MQTT support
61168
The IoT Core supports the MQTT protocol. The protocol allows an MQTT client to communicate with
the IoT Core via an MQTT broker to request and receive data. The IoT Core can publish data via the
MQTT connection.
>
Configuring the MQTT command channel
61169
To enable MQTT communication, the user needs to activate and configure an MQTT command
channel.
Substructure:
connections/mqttConnection
Name
Description
Access
../type
Type of the connection (MQTT)
r
../status
Global MQTT status
r
../status/preset
Presetting of the MQTT status; Basic settings:
running
r
../MQTTSetup
Substructure for general MQTT settings
w
../MQTTSetup/QoS
Quality of Service of the MQTT communication
▪
0: QoS Level 0 - PUBLISH (without
confirmation)
▪
1: QoS Level 1 - PUBLISH > PUBREC
(one-time confirmation)
▪
2: QoS Level 2 - PUBLISH > PUBREC >
PUBREL > PUBCOMP (double confirmation)
rw
../MQTTSetup/version
MQTT version
r
../mqttCmdChannel
Substructure of the MQTT command channel
w
../mqttCmdChannel/type
Type of the MQTT command channel
r
../mqttCmdChannel/status
Status of the MQTT command channel
r
../mqttCmdChannel/status/preset
Presetting of the MQTT status; Basic setting:
stopped
r
../mqttCmdChannel/mqttCmdChannelSetup
Structure for settings of the command channel
w
../mqttCmdChannel/mqttCmdChannelSetup/brokerIP
IP address of the MQTT broker
rw
../mqttCmdChannel/mqttCmdChannelSetup/brokerPort
Port number of the MQTT broker
rw
../mqttCmdChannel/mqttCmdChannelSetup/cmdTopic
Designation of the MQTT topic
rw
../mqttCmdChannel/mqttCmdChannelSetup/defaultReplyTopic Standard response topic
rw
Applicable services:
Name
Description
../status/start
Enable MQTT
../status/stop
Deactivate MQTT
../status/reset
Reset MQTT
../mqttCmdChannel/status/start
Activate MQTT command channel
../mqttCmdChannel/status/stop
Deactivate MQTT command channel
../mqttCmdChannel/status/reset
Reset MQTT command channel