MC100
Mobile programmable gateway
MC Technologies GmbH, Kabelkamp 2, 30179 Hannover, Germany
Tel: +49511 67 69 99-0, Fax: +49511 67 69 99-150, Website & Shop: www.mc-technologies.net, Email: info@mc-technologies.net
68
18 MBus
The MC100 terminal/gateway can be used with an additional module to receive M-Bus
packets from various sensors (heat cost allocators, electricity meters ...).
Setting up the MBUS module
The internal module for M-Bus is connected to a serial interface of the MC100.
Communication specifications
depending on the device, Probably
2400bd
8 data bits, no parity, 1 stop bit
Using libmbus
On the MC100, libmbus and certain programs for communication with Mbus are installed.
Those are:
• mbus-serial-request-data-multipli-reply
• mbus-serial-request-data
• mbus-serial-scan
• mbus-serial-scan-secondary
• mbus-serial-set-address
• mbus-serial-select-secondary
• mbus-serial-switch-baudrate
Using the parameter -h, short user information is shown for each of the programs and the
parameters are explained.
A list of all connected devices
mbus-serial-scan -b 2400 /dev/ttymxc2
Requesting data from device 10:
mbus-serial-request-data -b 2400 /dev/ttymxc2
10