49
ifm
Operating Instructions IO-Link Master with PROFINET interface DataLine 4 Ports IP 65 / IP 66 / IP 67 / IP 69K (AL1301)
05 / 2018
Configuration
IoT Core
>
Example: Read several parameter values of the IO-Link master simultaneously
17310
Task:
The following current values are to be read by the IO-Link master. Temperature, serial number
Solution:
Read the current parameter values using the getdatamulti service (data point temperature:
/processdatamaster/termperature; data point serial number: /deviceinfo/serialnumber)
Request object:
{
"code":10,
"cid":4711,
"adr":"/getdatamulti",
"data":{"datatosend":["/processdatamaster/temperature","/deviceinfo/serialnumber"]
}
}
Return object:
{
"cid":4711,
"data":{"processdatamaster/temperature":{"code":200,"data":44},
"deviceinfo/serialnumber":{"code":200,"data":"000174210147"}},
"code":200
}
>
Example: Change name of the IO-Link master
10987
Task:
Set the name of the IO-Link master to AL1301 for the representation in the
LR SMARTOBSERVER.
Solution:
Change the parameter [Application Tag] with the setdata service to the value [AL1301].
The data point of the parameter [Application Tag] in the device description object is
/devicetag/applicationtag.
Request object:
{
"code":10,
"cid":4711,
"adr":"/devicetag/applicationtag/setdata",
"data":{"newvalue":"AL1301"}
}
Return object:
{"cid":4711,"code":200}