Siemens SIMATIC S7-1500 Function Manual page 182

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

Advertisement

Example 3
In the following example, the user requests information about a specific tag.
{
"var": "\"MyDB\".MyStruct.MyField",
"mode": "var"
}
The following example shows a possible response from the server.
[
{
}
]
Response structure
The following tables show the structure of server responses to successful requests.
PlcProgram_Browse_Response (Objekt-Array)
Name
Required
Name
Yes
address
No
read_only
No
has_children
No
db_number
No
Web server
Function Manual, 11/2019, A5E03484625-AG
"name": "MyDateTimeValue",
"db_number": 2,
"datatype": "date_and_time",
"array_dimensions": [
{
"start_index": 0,
"count": 3
}
]
Data type
string
string
bool
bool
integer
3.20 API (Application Programming Interface)
Description
Tag name; can be used as a string identifier for the field.
Address of the tag in STEP 7; only applicable for the tags in the
ranges M, I, Q, timer and counter and tags in non-optimized
data blocks.
The representation corresponds to the addresses in the watch
tables in the TIA Portal.
Query whether the tag is a read-only tag
The only valid value is "true".
If the tag is to be written, this attribute does not appear.
Query whether the tag is a structured tag with child tags
The only valid value is "true".
If the tag is an unstructured data type, this attribute is not dis-
played.
Numerical data block identifier;
appears at "datatype" = "datablock" and for each child element
of a data block (with corresponding data block number)
Web pages
181

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents