IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
64
•
Product name of the IO-Link Devices an IO-Link port X02
•
cyclic input data of the IO-Link Devices an IO-Link port X02
•
Operating temperature of the IO-Link master.
Solution:
Subscribe to the required data using the subscribe service.
•
Request:
{
"code":"request",
"cid":4711,
"adr":"/timer[1]/counter/datachanged/subscribe",
"data":{
"callback":"ws:///myTopic",
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/productname",
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]}
}
If the notifications are to be transmitted via the existing WebSocket connection, but without a special
data sink, the callback parameter is not required.
•
Request:
{
"code":"request",
"cid":4711,
"adr":"/timer[1]/counter/datachanged/subscribe",
"data":{
"datatosend":[
"/iolinkmaster/port[2]/iolinkdevice/productname",
"/iolinkmaster/port[2]/iolinkdevice/pdin",
"/processdatamaster/temperature"]}
}