IFM AL1325 handleiding
Handleiding
Je bekijkt pagina 64 van 121

AL1325 IO-Link master with EtherNet/IP interface
64
The following options are additionally available:
via WebSockets (ws://): Example: Using WebSockets
via MQTT (mqtt://): Example: Configuring the MQTT command channel (Ò Example: Configure
and activate MQTT command channel/61)
Solution:
u Subscribe to the required data using the subscribe service.
• Request:
{
"code":"request",
"cid":4711,
"adr":"/timer[1]/counter/datachanged/subscribe",
"data":{
"callback":"http://192.168.0.4:80/temp",
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]
}
}
u Set the timer to 500 ms.
• Request:
{
"code":"request",
"cid":4712,
"adr":"/timer[1]/interval/setdata",
"data":{
"newvalue":500
}
}
• Response:
{
"cid":4712,
"code":200
}
• Notification (Format: JSON)
{
"code":"event",
"cid":4711,
"adr":"",
"data":{
"eventno":"6317",
"srcurl":"/timer[1]/counter/datachanged",
"payload":{
"/timer[1]/counter":{"code":200,"data":1},
"/processdatamaster/temperature":{"code":200,"data":39},
"/iolinkmaster/port[2]/iolinkdevice/pdin":{"code":200,"data":"03B0"}
}
}
}
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 |







