MQTT
11.4.2
JSON Encoding of Single ADI Datasets
Single ADI Datasets are encoded as follows:
{
"<ADI name>" : {
"Timestamp" : <Timestamp of the dataset>
}
Example of JSON encoding of a single ADI:
{
"Single ADI" : {
"Timestamp" : 1526643062
}
Example of JSON encoding of a variable ADI:
{
"Variable ADI" : {
"Timestamp" : 1526643062
}
Example of JSON encoding of an array ADI with 3 elements:
{
"Array ADI" : {
},
"Timestamp" : 1526643062
}
Anybus CompactCom 40 EtherNet/IP IIoT Network Guide
"Value" : <ADI value>
},
"Value" : true
},
"Value" : "String value"
},
"Value" : [ 1, 2, 3 ]
94 (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