
M-Bus addressing
Page 6/14
MID_M2000_BA_MB_02_1805
4.4
Setting primary address
The default (factory setting) primary address of the module is 0 (zero). You may
program any other primary address in the range of 1 to 250 by using the
standard M-Bus SND_UD command for primary address setting:
Request (values in hex):
68 06 06 68 73/53 PAddr 51 01 7A NewAddr ChkS 16
Answer (values in hex):
E5
PAddr: Current primary address of the device
NewAddr: New primary address to program
Please note that the primary address is immediately written in the non-volatile
flash memory of the module. However, since the write cycles of the flash
memory are limited, the maximum number of write accesses are limited to 20
per 24 hours. If there are more write accesses within a 24 hours interval, the
respective primary address is kept in RAM and will automatically be written to
the flash memory in 24 hours time.
4.5
Changing baud rate
By default (factory setting) the module is automatically set to detect the baud
rate of the incoming M-Bus request telegram. Usually it is not necessary to
change this setting. However, if it is desired to set a fixed baud rate, you may
use the standard M-Bus commands to do so:
Request (values in hex):
68 03 03 68 73/53 PAddr B8 ChkS 16
set baud rate to 300 baud
68 03 03 68 73/53 PAddr BB ChkS 16
set baud rate to 2400 baud
68 03 03 68 73/53 PAddr BD ChkS 16
set baud rate to 9600 baud
68 03 03 68 73/53 PAddr BF ChkS 16
set baud rate to auto baud
Answer to all of the above requests (values in hex):
E5
The acknowledged answer is always sent with the former baud rate. After
having sent the acknowledgement, the new baud rate becomes active.
Please note that the baud rate setting is not immediately written in the non-
volatile flash memory of the module but only:
•
On the cyclic 24 hours reset
•
Or if a set primary address command has been received and executed
•
Or if the command to write the configuration area to flash has been
received and executed.
Summary of Contents for ModMAG M2000
Page 15: ......