# 28 M-Bus ### Overview M-Bus or Meter-Bus is a protocol for the remote reading of water, gas, or electricity meters. M-Bus is also usable for other types of consumption meters, such as heating systems or water meters. The M-Bus interface is made for communication on two wires, making it cost-effective. M-bus over TCP is also supported. When configured, meters will deliver the data they have collected to a WCCLite RTU that is connected at periodic intervals (scan\_rate\_ms) to read all utility meters. ### Configuration ##### M-Bus parameters for *Device* tab
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
namestring User-friendly device nameYes
descriptionstringDescription of a deviceNo
device\_aliasstringAlphanumeric string to identify a deviceYes
enablebooleanEnabling/disabling a deviceNo101
protocolstringProtocol to be used.Yes mbus serial, mbus tcp
scan\_rate\_msintegerAll reads and writes will be executed within the timeframe in milliseconds.No10000
poll\_delay\_msintegerMinimum time delay in milliseconds to wait before sending any data on port.No200
timeout\_msintegerTimeout of waiting for an incoming response in millisecondsYes 060000
addressintegerDevice addressYes
devicestringCommunication portYes (for serial) PORT1PORT2
baudrateintegerCommunication speed, baud/s No (for serial) 9600 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200
databitsintegerData bit count for communication No (for serial ) 8 6 9
stopbitsintegerStop bit count for communication No (for serial) 1 1 2
paritystring Communication parity option No (for serial) none none, even, odd
serial_close_delay
integerDelay before closing the serial connection.No (for serial)400
ipstringThe IP address of the TCP slave deviceYes (for TCP).
portintegerTCP communication port Yes (for TCP) 065535
##### M-Bus parameters for the *Signals* tab
**Parameter** **Type** **Description** **Required **Default value** (when not specified) **Range**
Min Max
signal\_namestring User-­friendly signal name Yes
device\_aliasstring Device alias from a Devices tab Yes
signal\_aliasstring Unique alphanumeric name of the signal to be used Yes
enableboolean Enabling/disabling of an individual signal No10 1
loginteger Enable logging in the event log No0
number\_typestringType of a number (FLOAT, DOUBLE, DIGITAL, etc.)Yes
job\_todostring Tag job as single or multiple comma-separated OBIS codes Yes
tag\_job\_todostringTag sub jobYes