IFM AL1921 handleiding
Handleiding
Je bekijkt pagina 93 van 135

IO-Link master with EtherNet/IP interface AL1921
93
Parameter
Mandatory
field
Data type Description
duration Optional STRING Duration of the notification activity
• lifetime: login remains permanently active, also after restarting the
unit
• uptime: login is active until the next restart of the device
• once: send only one notification, user must unsubscribe immediately
Return ("data" field): none
Notification format: JSON
{
"code":"event",
"cid":4711,
"adr":"",
"data":{
"eventno":"EventNo",
"srcurl":"SrcURL",
"payload":{
"eventurl":{"code":EventStatus,"data":EventData},
"datapointurl_1":{"code":DataStatus_1,"data":DataValue_1},
"datapointurl_2":{"code":DataStatus_2,"data":DataValue_2},...
}
}
}
Notification format: CSV
SrcURL,EventNo,EventStatus,EventData,DataStatus_1,DataValue_1,DataStatus_2,DataVal
ue_2,...
• SrcURL: Source of the event (data point on which subscribe command was listed)
• EventNo: Event number
• EventStatus: Status code of the event
• EventData: Event data
• DataStatus_1: Status code of the 1st element in the datatosend list
• DataValue_1: Value of the 1st element in the datatosend list
• DataStatus_2: Status code of the 2nd element in the datatosend list
• DataValue_2: Value of the 2nd element in the datatosend list
11.1.3.24 Service: unsubscribe
Name: unsubscribe
Description: The service deletes an active notification. The provided values for “cid” and “callback”
must be identical with the values of the notification registration (subscribe). If the value “DELETE” is
provided in the callback, all active subscriptions will be deleted.
Request (“data” field):
Parameter
Mandatory
field
Data type Description
callback Mandatory STRING Destination address for notifications; URL formats:
• JSON: http://ipaddress:port/path
• JSON: ws:///path
• JSON: mqtt://ipadress:port/topic
• CSV: tcp://ipaddress:port/path
• DELETE: all active notifications are deleted
Bekijk gratis de handleiding van IFM AL1921, 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 | AL1921 |
| Categorie | Niet gecategoriseerd |
| Taal | Nederlands |
| Grootte | 11184 MB |







