IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
42
>
Example: Read several parameter values of the IO-Link master simultaneously
33840
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/temperature; data point serial number: /deviceinfo/serialnumber)
•
Request:
{
"code":"request",
"cid":4711,
"adr":"/getdatamulti",
"data":{"datatosend":["/processdatamaster/temperature","/deviceinfo/serialnumber"]
}
}
•
Response:
{
"cid":4711,
"data":{"processdatamaster/temperature":{"code":200,"data":44},
"deviceinfo/serialnumber":{"code":200,"data":"000174210147"}},
"code":200
}
>
Example: Browsing device description
61150
Task:
List all elements with the designation "status" and the profile "runcontrol".
Solution:
Use the service querytree to browse the device description with the parameters "status"
(name) and "runcorntrol" (profile)
•
Request:
{
"cid":4711,
"adr":"querytree",
"code":
"
request",
"data":{
"
profile":"runcontrol",
"name":"status"}
}
•
Response:
{
"cid":4711,
"data":{
"adrList":[
"device/connections/mqttConnection/status",
"device/connections/mqttConnection/mqttCmdChannel/status"]},
"code":200
}
>
DNS support
61151
The IoT Core supports the Domain Name System (DNS) service. Instead of the concrete IP address,
the corresponding host name can be used in requests. DNS can be used both for addressing the IoT
core and for addressing network participants.
>