IFM AL1325 handleiding
Handleiding
Je bekijkt pagina 63 van 121

IO-Link master with EtherNet/IP interface AL1325
63
u Set standard response topic.
Request:
{
"code":"request",
"cid":5,
"adr":"/connections/mqttConnection/mqttCmdChannel/mqttCmdChannelSetup/
defaultReplyTopic/setdata",
"data":{
"newvalue":"stdTopic"
}
}
Example: Publishing the temperature to an MQTT broker
Task: The temperature of the unit is to be published to an MQTT broker every 5 seconds (MQTT
broker: 192.168.82.100, port: 1883, topic: myTopic).
Solution:
u Setting the interval of the timer
Request:
{
"code":"request",
"cid":1,
"adr":"/timer[1]/interval/setdata",
"data":{
"newvalue":5000
}
}
u Publishing the temperature to an MQTT broker
Request:
{
"code":"request",
"cid":2,
"adr":"/timer[1]/counter/datachanged/subscribe",
"data":{
"callback":"mqtt://192.168.82.100:1883/myTopic",
"datatosend":["processdatamaster/temperature"]
}
}
Response:
{
"cid":2,
"code":200
}
9.2.25.4 Example: Subscribing to notifications
Task: Every 0.5 seconds, the current values of the following parameters are to be sent regularly to a
network server with the IP address 192.168.0.4/temp.
• cyclic IO-Link input data of the IO-Link device at IO-Link Port 2
• Operating temperature of the IO-Link master.
Bekijk gratis de handleiding van IFM AL1325, 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
| Merk | IFM |
| Model | AL1325 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 9966 MB |







