UA-5200 Series User Manual V4.3 ICP DAS
214
Appendix A. MQTT JSON Format of the UA Series
MQTT JSON Example & Format Descriptions:
{
"Variable" : [ {
"Name" : "Bool_R[0]",
"Attribute" : "R",
"Datatype" : "Bool",
"Value" : 0,
"Quality" : "Uncertain"
}, {
"Name" : "Short_R[0]",
"Attribute" : "R",
"Datatype" : "Int16",
"Value" : 0,
"Quality" : "Uncertain"
}, {
"Name" : "Short_R[1]",
"Attribute" : "R",
"Datatype" : "Int16",
"Value" : 0,
"Quality" : "Uncertain"
}, {
"Name" : "Short_R[2]",
"Attribute" : "R",
"Datatype" : "Int16",
"Value" : 0,
"Quality" : "Uncertain"
}, {
"Name" : "Short_RW[2]",
"Attribute" : "RW",
"Datatype" : "Int16",
"Value" : 0,
"Quality" : "Uncertain"
} ]
}
Name
Descriptions
Variable
The array name of JSON.
Its structure includes several
member data as below.
Name
The member name of the array
element
Attribute
The member attribute of the array
element:
“R” : can read
“W” : can write
”RW” : can read and write
Datatype
The member
’s data type of the
array element:
"Bool"
"Int8"
"UInt8"
"UInt16"
"Int16"
"UInt32"
"Int32"
"UInt64"
"Int64"
"Float"
"Double"
"String"
Value
The member
’s current value of
the array element
Quality
The member
’s current status of
the array element:
"Uncertain"
"Good"
"Bad"
Содержание UA-5200 Series
Страница 13: ...UA 5200 Series User Manual V4 3 ICP DAS 13 1 5 Appearance UA 5231...
Страница 14: ...UA 5200 Series User Manual V4 3 ICP DAS 14 UA 5231M...
Страница 15: ...UA 5200 Series User Manual V4 3 ICP DAS 15 UA 5231M 3GWA 4GE 4GC...
Страница 225: ...UA 5200 Series User Manual V4 3 ICP DAS 225 The LINE APP messages received on the mobile phone...