Appendix A. Mqtt Json Format Of The Ua Series - ICP DAS USA UA-5200 Series User Manual

Iiot communication server
Hide thumbs Also See for UA-5200 Series:
Table of Contents

Advertisement

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"
} ]
}
UA-5200 Series User Manual V4.3
Name
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"
214
ICP DAS
Descriptions

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ua-5231m-3gwaUa-5231m-4geUa-5231Ua-5231m-4gcUa-5231m

Table of Contents