Download Print this page

Anybus CompactCom 40 Network Manual page 61

Ethernet/ip iiot
Hide thumbs Also See for CompactCom 40:

Advertisement

JSON
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
inst
value
callback
Response data:
Name
string
value
JSON response example:
[
{
"string": "String for value 1",
"value": 1
},
{
"string": "String for value 2",
"value": 2
},
{
...
}
]
Anybus CompactCom 40 EtherNet/IP IIoT Network Guide
Data Type
Description
Number
Instance number of the ADI to get enum string for.
Number
Optional. If given only the enumstring for the requested <value> is
returned.
String
Optional. A callback function for JSONP output.
Data Type
Description
String
String representation for the corresponding value.
Number
Value corresponding to the string representation.
59 (244)
SCM-1202–069 1.9 en-US

Advertisement

loading
Need help?

Need help?

Do you have a question about the CompactCom 40 and is the answer not in the manual?

Questions and answers