IFM AL1327 handleiding

125 pagina's
PDF beschikbaar

Handleiding

Je bekijkt pagina 61 van 125
IO-Link master with EtherNet/IP interface AL1327
61
{
"code":"request",
"cid": 1,
"adr":"/timer[1]/counter/datachanged/subscribe",
"callback":"tcp://192.168.50.59:1883/topic",
"codec":"csv0",
"data":{
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]
}
}
u Set the interval of the timer to 2 seconds:
Request:
{
"code":"request",
"cid":4712,
"adr":"/timer[1]/interval/setdata",
"data":{"newvalue":2000}
}
The cyclically sent notification has the following structure:
/timer[1]/counter/datachanged,6317,200,1,200,39,200,03B0
9.2.25.6 Example: Unsubscribing from a notification
Task: The existing subscription Example: Subscribing to notifications (Ò/59) is to be deleted.
Solution: Use the unsubscribe service to delete the subscription. For this purpose, the value of the
parameter "callback" in the request must be equal to the value of the existing subscription.
Request:
{
"code":"request",
"cid":4711,
"adr":"/timer[1]/counter/datachanged/unsubscribe",
"data":{
"callback":"http://192.168.0.4:80/temp"
}
}
9.2.25.7 Example: checking a notification
Task: Display information about the existing subscription Example: Subscribing to notifications
(Ò/59).
Solution: Use the service getsubscriptioninfo and the parameter values cid, "adr" and "callback" of the
existing subscription to retrieve the information.
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