JSON 71 (258)
enum.json
GET adi/enum.json?inst=<instance>[&value=<element>][&callback=<function>]
This object call fetches a list of enumeration strings for a specific instance.
The ADI enum strings are static during runtime.
Request data:
Name Data Type Description
inst Number Instance number of the ADI to get enum string for.
value Number Optional. If given only the enumstring for the requested <value> is
returned.
callback String Optional. A callback function for JSONP output.
Response data:
Name Data Type Description
string String String representation for the corresponding value.
value Number Value corresponding to the string representation.
JSON response example:
[
{
"string": "String for value 1",
"value": 1
},
{
"string": "String for value 2",
"value": 2
},
{
...
}
]
Anybus
®
CompactCom
™
40 PROFINET IRT Network Guide SCM-1202-023 EN 1.8