
Vega SI-22 / User Manual
26
Revision 08 – 15 September 2020
5 COMMUNICATION PROTOCOL
This part describes the SI-22 data exchange protocol with LoRaWAN network.
In fields consisting of several bytes, the little-endian byte order is used
VEGA SI-22 PULSE COUNTER TRANSMITS THE FOLLOWING TYPES OF PACKETS
1.
Packet with current readings, sent regularly or by event on LoRaWAN port 2
Size in bytes
Field description
Data type
1 byte
Packet transmitting reason
uint8
1 byte
Battery charge, %
uint8
4 bytes
This packet time (unixtime UTC)
uint32
2 bytes
Temperature in
°
С multiplied by 10 (sign value)
int16
4 bytes
Input 1 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
uint32
4 bytes
Input 2 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
uint32
4 bytes
Input 3 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
uint32
4 bytes
Input 4 reading (depending on the type – number of pulses or
status: 0 – open, 1 - closed)
uint32
1 byte
Temperature is out of range («0» - NO, «1» - OUT OF RANGE)
uint8t
1 byte
Low temperature threshold (from -128
°
С to +127
°
С)
int8t
1 byte
High temperature threshold (from -128
°
С to +127
°
С)
int8t
If thermistor is not connected to the pulse counter (contacts «Therm» and
«
»), in the «Temperature» field will be sent an -1000 °C value for
breakage or fault indication
When thermistor has a short circuit, in the “Temperature” field the value -
1270 °C will transmit
The counter has internal clock and calendar; time and date on which are preset on the
factory and it may be corrected during exploitation. Forming of packets with the current
readings is going on for the time moments, which is multiple to the set data collection period:
•
1 hour period: the readings of the beginning of the current hour are sent;
•
6 hours period: 00:00, 06:00, 12:00, 18:00 readings are sent;
•
12 hours period: 00:00, 12:00 readings are sent;
•
24 hours period: the readings of 00:00 of the current day are sent.