IO-Link master with EtherCAT interface DataLine 4 ports IP 65 / IP 66 / IP 67
41
>
Example: output subtree
61149
Task:
Output all direct sub-elements of the node
firmware
.
Solution: Use the service gettree to output the required subtree (root node: firmware, sub-levels to be
shown: 1)
•
Request:
{
"code":"request",
"cid":4711,
"adr":"gettree",
"data":{
"adr":"firmware",
"level":1}
}
•
Response:
{
"cid":4711,
"data":{
"identifier":"firmware",
"type":"structure",
"profiles":[
"software","software/uploadablesoftware"],
"subs":[
{
"identifier":"version","type":"data","profiles":["parameter"],
"format":{"type":"string","namespace":"json","encoding":"UTF-8"}},
{
"identifier":"type","type":"data",
"format":{"type":"string","namespace":"json","encoding":"UTF-8"}},
{
"identifier":"install","type":"service"},
{
"identifier":"factoryreset","type":"service"},
{
"identifier":"signal","type":"service"},
{
"identifier":"container","type":"data",
"format":{"type":"binary","namespace":"json","encoding":"base64"}},
{
"identifier":"reboot","type":"service"}]
},
"code":200
}