
10 IIoT functionality
10.3 REST API
10.3.5 Example: Reading ISDU
ISDU read request
[
{"ix":5,"subix":0},
{"ix":18,"subix":0},
{"ix":19,"subix":0},
{"ix":20,"subix":0}
]
Response
{
"message":"OK",
"data":
[
{"ix":5,"subix":0,"status":-1,"eventcode":32785},
{"ix":18,"subix":0,"data":[79,68,83,49,48,76,49,46,56,47,76,65,54,44,50,
48,48,45,77,49,50],"status":0},
{"ix":19,"subix":0,"data":[53,48,49,50,57,53,51,53],"status":0},
{"ix":20,"subix":0,"data":[100,105,115,116,97,110,99,101,32,115,101,110,
115,111,114],"status":0}
],
"status":0}
10.3.6 Example: Writing ISDU
ISDU write request
[
{"ix":24,"subix":0,"data":[97,98,99,100,101,102]},
{"ix":9,"subix":0,"data":[97,97,97,97,97,98]}
]
Response
{
"message":"OK",
"data":[
{"ix":24,"subix":0,"status":0},
{"ix":9,"subix":0,"eventcode":32785,"status":-1}
],
"status":0}
Manual EtherCAT®
Version 1.1 04/2021
125