JSON
metadata2.json
GET adi/metadata2.json?offset=<offset>&count=<count>[&callback=<function>]
GET adi/metadata2.json?inst=<instance>&count=<count>[&callback=<function>]
This is an extended version of the metadata function that provides complete information about
the ADIs. This extended version is needed to describe more complex data types such as
Structures.
The information provided is a transparent representation of the attributes available in the host
Application Data object (FEh). See the Anybus CompactCom 40 Software Design Guide for
more information about the content of each attribute.
The ADI metadata is static during runtime.
Request data:
Name
offset
inst
count
callback
Response data:
Name
instance
numelements
datatype
descriptor
name
min
max
default
numsubelements
elementname
Anybus CompactCom 40 EtherNet/IP Network Guide
Data Type
Description
Number
Offset is the "order number" of the first requested ADI.
The first implemented ADI will always get order number 0. Meta-
data objects for <count> number of existing ADI will be returned. I.
e. non-existing ADIs are skipped.
Number
Instance number of first requested ADI.
Metadata objects for <count> number of ADI values are returned.
A null object will be returned for non-existing ADIs
String
Number of requested ADI values
Number
Optional.
A callback function for JSONP output.
Data Type
Description
-
Number
-
Array of umbers
Array of
Array of datatypes.
Numbers
For Structures and Variables, each array element defines the data
type of the corresponding element of the instance value. For Ar-
rays, one array element defines the data type for all elements of
the instance value.
Array of descriptors.
For Structures and Variables, each array element defines the de-
scriptor of the corresponding element of the instance value. For
Arrays, one array element defines the descriptor for all elements
of the instance value.
May be NULL if no name is present.
String
Hex formatted string, see
information.
May be NULL if no minimum value is present.
String
Hex formatted string, see
information.
May be NULL of no maximum value is present.
String
Hex formatted string, see
information.
May be NULL of no default value is present.
Array of
For Structures and Variables each array element defines the num-
Numbers
ber of subelements of the corresponding element of the instance
value.
May be NULL if not present.
Array of Strings
Array of names, one for each instance value element.
May be NULL if not present.
Hex Format Explained, p. 71
Hex Format Explained, p. 71
Hex Format Explained, p. 71
SCM-1202-031 -EN 1.6
57 (218)
for more
for more
for more
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers