IFM AL1327 handleiding

125 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 64 van 125
AL1327 IO-Link master with EtherNet/IP interface
64
Configuring the MQTT command channel
Make sure that the MQTT broker can be reached and that the selected port of the MQTT broker
is released for data transfer.
The wildcards “+” and “#” are not supported in topic names.
Substructure: connections/mqttConnection/mqttCmdChannel
Available data points:
Name Description Value range Access
../type Type of the command channel mqtt: MQTT command channel
(default)
ro
1
../status Status of the command channel init: [init] state
stopped: [stopped] state
running: [running] state (default)
error: [error] state
ro
1
../status/preset Preset channel state running: RUN state (default) ro
1
../mqttCmdChannelSetup Substructure for settings of the com-
mand channel
--
../mqttCmdChannelSetup/brokerIP IP address of the MQTT broker e.g. 3.69.1.9 rw
2
../mqttCmdChannelSetup/broker-
Port
Port number of the MQTT broker e.g. 1883 rw
2
../mqttCmdChannelSetup/cmd-
Topic
Designation of the MQTT topic e.g. myTopic rw
2
../mqttCmdChannelSetup/de-
faultReplyTopic
Standard response topic e.g. stdTopic rw
2
1
Read only
2
Read and write
Applicable services:
Name Description
../status/start Start the MQTT command channel
../status/stop Stop the MQTT command channel
../status/reset Reseit the MQTT command channel
Example: Configure and activate MQTT command channel
Task: Configuring and activating the MQTT command channel (IP address of the MQTT broker):
192.168.82.100, port: 1883, topic: abc, standard response topic: xyz, Quality of Service: Level 2)
Solution:
u Check whether MQTT broker can be reached and the port has been released.
u Set QoS level.
Request:
{
"code":"request",
"cid":1,
"adr":"/connections/mqttConnection/MQTTSetup/cmdChannel/QoS/setdata"
"data":{"newvalue":2}
}
u Activate MQTT connection
Request:

Bekijk gratis de handleiding van IFM AL1327, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.

Productinformatie

MerkIFM
ModelAL1327
CategorieNiet gecategoriseerd
TaalNederlands
Grootte10357 MB