M-BUS-1 / User Manual
30
Revision 10 - 27 May 2019
CONVERTER M-BUS-1 RECEIVES PACKETS OF THE FOLLOWING TYPES
1.
Real-time clock adjustment
–
send by application on LoRaWAN port 4
Size in bytes
Field description
1 byte
Packet type, this packet == 255
8 bytes
The value in seconds for which you need to adjust the time.
Can be positive or negative
2.
Query of readings log
Size in bytes
Field description
1 byte
Packet type, this packet == 2
1 byte
Type of request ("0" - interrogate all connected meters, "1" -
interrogate the meter by serial number)
4 bytes
Serial number of the meter
Upon receiving this package, the converter will perform an extraordinary polling of all
connected meters (request type = 0) and alternately send packets with current readings for
each of them or interrogate only one device by serial number (request type = 1).
3.
Output on command
Size in bytes
Field description
1 byte
Packet type, this packet == 3
1 byte
Output no. (1 - 2)
1 byte
Output on time in seconds (1
–
255, 0
–
forever on).
4.
Converter operation in transparent mode
Size in bytes
Field description
1 byte
Packet type, this packet == 4
array
Data
Upon receiving this packet, M-BUS-1 will transfer the data contained in it to the M-BUS
interface (depending on the model). If the external device connected via M-BUS interface
answers within the timeout specified in the M-BUS-1 settings, the response will be transferred
to the LoRaWAN network as one or more type 3 packets.
When using the on/off commands of the outputs and working in
transparent mode, the converter must power by an external power source
(operate as a class C device)
The LoRa data transfer technology places restrictions on the maximum packet size,
depending on the data rate at which the packet is transmitted. In this regard, the packet size
sent to the device should not exceed 51 bytes. If you want to send a larger packet, the external