Page 55 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
represents alarm data and recovery represents recovery data)
Historical data identifier: character "retransmit", followed by "enable"
The data collected during the network disconnection will be temporarily stored in the device, and will be
redistributed when the network is restored. The "retransmit" field is used to identify the historical data.(it is
necessary to check enable mqtt data supplementary transmission function in the configuration software)
Payload data format in device subscription message
(The topic of the King Pigeon 2.0 platform downstream publish message is called "device serial number/sensor ID",
so the device subscribe topic needs to add the wildcard "/+" in order toreceive the data sent by the platform to
achieve control)Subscribe topic: device serial number /+(corresponding to the data filled in the subscribe topic item
on the configuration software)
{
"sensorDatas":
[
{
"
sensorsId
": 211267,
//
Platform sensor ID
"
switcher
":1,
//
Data type and value
"
flag
":"DO1"
//
Read write identification
}
],
"
down
":"down"
Platform downlink message identification
}
Note:
Platform sensor ID: character is "sensorid", followed by ID number (ID is automatically generated by platform)
Data type and value: it can be divided into:
1. Switch data: the character is "switcher", followed by "0" or "1" (0 for open, 1 for closed)
2. Numerical data: the character is "value", followed by "specific value"
Read / write identifier: the character is "flag", followed by "read / write ID representing IO data point"
Platform downlink message identification: the character is "down", followed by "down", which means that
this is the platform downlink data.
Device I/O data point read and write flag
Data name
Read write flag
type of data
Description
DIN Switch input
DI1~DI16
Switcher
0 is open, 1 is closed
DO Switch output
DO1~DO16
Switcher
0 is open, 1 is closed
AI Analog input
AI1~AI8
Value
True value = original value
RTD Temperature value
TEMP1~TEMP8
Value
True value = original value
AO Analog output
AO1~AO2
Value
True value = original value
DIN Pulse count value
COUNT1~COUNT12
Value
True value = original value
DO1 Pulse count
DOCNT1
Value
True value = original value
DO1 Pulse frequency
DOCNT2
Value
True value = original value