JSON 66 (258)
10.2 JSON Objects
10.2.1 ADI
info.json
GET adi/info.json[?callback=<function>]
This object holds information about the ADI JSON interface. This data is static during runtime.
Name Data Type Note
dataformat Number 0 = Little endian
1 = Big endian
(Affects value, min and max representations)
numadis Number Total number of ADIs
webversion Number Web/JSON API version
JSON response example:
{
"dataformat": 0,
"numadis": 123,
"webversion": 1
}
data.json
GET adi/data.json?offset=<offset>&count=<count>[&callback=<function>]
GET adi/data.json?inst=<instance>&count=<count>[&callback=<function>]
These object calls fetch a sorted list of up to <count> ADIs values, starting from <offset> or <in-
stance>. The returned values may change at any time during runtime.
Request data:
Name Data Type Description
offset Number Offset is the “order number” of the first requested ADI.
The first implemented ADI will always get order number 0.
<count> number of existing ADI values will be returned. I.e. non-
existing ADIs are skipped.
inst Number Instance number of first requested ADI.
<count> number of ADI values is returned. A null value will be re-
turned for non-existing ADIs
count
String Number of requested ADI values
callback Number Optional.
A callback function for JSONP output.
Response data:
Name Data Type Description
—
Array of Strings Sorted list of string representations of the ADI value attributes
JSON response example (using offset):
[
"FF",
"A201",
"01FAC105"
]
Anybus
®
CompactCom
™
40 PROFINET IRT Network Guide SCM-1202-023 EN 1.8