JSON
9.2
JSON Objects
9.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
dataformat
numadis
webversion
JSON response example:
{
"dataformat": 0,
"numadis":
"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
<instance>. The returned values may change at any time during runtime.
Request data:
Name
offset
inst
count
callback
Response data:
Name
—
JSON response example (using offset):
[
"FF",
"A201",
"01FAC105"
]
JSON response example (using inst):
Anybus CompactCom 40 EtherNet/IP IIoT Network Guide
Data Type
Note
Number
0 = Little endian
1 = Big endian
(Affects value, min and max representations)
Number
Total number of ADIs
Number
Web/JSON API version
123,
Data Type
Description
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.
Number
Instance number of first requested ADI.
<count> number of ADI values is returned. A null value will be returned
for non-existing ADIs
String
Number of requested ADI values
Number
Optional.
A callback function for JSONP output.
Data Type
Description
Array of Strings
Sorted list of string representations of the ADI value attributes
54 (244)
SCM-1202–069 1.9 en-US
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers