Siemens SIMATIC S7-1500 Function Manual page 181

Web server
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Web pages
3.20 API (Application Programming Interface)
Example 1
In the following example the user searches the root node of the CPU.
{
"mode": "children"
}
The following example shows a possible response from the server.
[
{
},
{
}
]
Example 2
In the following example, the user searches the descendants (children) of a data block.
{
"var": "\"MyDB\"",
"mode": "children"
}
The following example shows a possible response from the server.
[
{
},
{
}
]
180
"name": "TestDB",
"has_children": true,
"db_number": 2,
"datatype": "datablock"
"name": "GenUsrMsg_Ret",
"address": "%MW43",
"area": "M",
"datatype": "int"
"name": "Static_1",
"db_number": 1,
"datatype": "int"
"name": "Static_2",
"db_number": 1,
"datatype": "int"
Function Manual, 11/2019, A5E03484625-AG
Web server

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents