Page
14
of
60
©
2019 Radiocrafts AS
MBUS User Manual (ver 2.01)
MBUS USER MANUAL
The required M-Bus mode is configured by setting the module in configuration mode and entering appropriate
UART commands. The following modes are supported:
Table 4
– M-Bus mode overview
M-Bus Mode
Set
Comments
S1/S2
short preamble
MBUS_MODE = 0
PREAMBLE_LENGTH = 0
The RF channel (channel 11) and data rate
(32.768 kchip/s) are set internally in the
module according to the S mode, and will
override any settings in the RF_CHANNEL
and RF_DATA_RATE configuration
registers. This setting can also be used for
T2 mode slave receive and master transmit.
S1/S2
long preamble
MBUS_MODE = 0
PREAMBLE_LENGTH = 1
T1
MBUS_MODE = 1
The RF channel (channel 12), data rate
(100 kchip/s) and preamble length are set
internally in the module according to the T
mode, and will override any settings in the
RF_CHANNEL, RF_DATARATE and
PREAMBLE_LENGTH configuration
registers. This setting can also be used for
T2 mode slave transmit and master receive.
T2 slave
MBUS_MODE = 2
NETWORK_ROLE = 0
The RF channel (channel 11 or 12), data rate (32.768
or 100 kchip/s) and preamble length are set internally
in the module according to the T2 mode and the
selected Network Role, either being a Slave
(NETWORK_ROLE = 0) or a Master
(NETWORK_ROLE = 1), and change according to
receive/transmit. It will override any setting in the
RF_CHANNEL configuration register.
T2 master
MBUS_MODE = 2
NETWORK_ROLE = 1
R2
RF_CHANNEL = 1-10
MBUS_MODE = 4
The data rate (4.8 kchip/s) and preamble length are
set internally in the module according to the R mode.
C1
MBUS_MODE = 9
C2
MBUS_MODE = 8
C1+T1
MBUS_MODE = 10
The RF channel, data rate and preamble length are
set internally in the module
C1+T2
MBUS_MODE = 11
N1
MBUS_MODE = 17
N2
MBUS_MODE = 16
The module supports automatic generation of the Wireless M-Bus frame, that is:
-
Preamble ( synchronisation)
-
Adding the first block (C-field and address/manufacturing ID)
-
CRC
-
Postamble
The RF signal is Manchester coded or "3 out of 6" coded for increased signal integrity (S and T modes).
The default M-
Bus mode is entered and stored in the modules’ non-volatile memory (MBUS_MODE). The M-Bus
mode can also be changed using the
‘G’ command.
The default C-
field is entered and stored in the modules’ non-volatile memory (CONTROL_FIELD). The C-field can
also be changed using the
‘F’ command (volatile memory).
The default Manufacturer ID and unique meter Address is entered and stored in the modules’ non-volatile memory.
The destination address (or module address) can also be changed using the
‘T’ command. Using the ‘T’ command,
the address is not stored in non-
volatile memory. To do a permanent change, use the ‘M’ command.