Appendix Vii:the Json Format For The Communication With Iot Platform - ICP DAS USA PMC-523 Series User Manual

Power meter concentrator
Table of Contents

Advertisement

ICP DAS PMC-523x/PMC-224x/PMD Series User Manual
Appendix VII:The JSON format for the communication with IoT
PMC/PMD supports the functions to publish the JSON format messages to
Microsoft Azure and IBM Bluemix IoT Cloud platforms, and also subscribe/receive
the JSON format messages from IoT Cloud platform to change the value of the
output channel of I/O modules or power meter modules that are connected to
PMC/PMD. The following lists the detailed information of JSON format message
with PMC/PMD.
 Message format
{
"msg_type"
:
"if_type"
: It indicates the connection interface between PMC/PMD and
"com_port"
: "3" indicates the connection interface between PMC/PMD and
Platform
"CHANNEL_UPDATE"
"CHANNEL_OUTPUT" If PMC/PMD receives the
the power meter or I/O module where the channel resides. The
following table shows the code and the interface it represents.
0
1
2
the power meter or I/O module is COM port 3. "4" indicates
the connection interface between PMC/PMD and the power
meter or I/O module is COM port 4. If the connection
interface is XV-Board or Ethernet, please ignore this field.
The "CHANNEL_UPDATE"
type of message indicates the
message published by
PMC/PMD to inform IoT
Cloud platform the update of
the power data or I/O channel
data.
message in the type of
"CHANNEL_OUTPUT", then
PMC/PMD will perform the
task to change the value of the
output channel.
XV-Board
COM Port
Ethernet
324

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pmc-224 pmd series

Table of Contents