51
ifm
Device Manual IO-Link Master with PROFINET interface CabinetLine 8 Ports IP 20 (AL1900)
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 AL1900 for the representation in the
LR SMARTOBSERVER.
Solution:
Change the parameter [Application Tag] with the setdata service to the value [AL1900].
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":"AL1900"}
}
Return object:
{"cid":4711,"code":200}