Skip to main content

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

name string  User-friendly device name Yes

 



description string Description of a device No

 



device_alias string Alphanumeric string to identify a device Yes


enable boolean Enabling/disabling a device No 1 0 1
protocol string Protocol to be used. Yes
mbus serial, mbus tcp
scan_rate_ms integer All reads and writes will be executed within the timeframe in milliseconds. No 10000


poll_delay_ms integer Minimum time delay in milliseconds to wait
before sending any data on port.
No 200


timeout_ms integer Timeout of waiting for an incoming response in milliseconds Yes
0 60000
address integer Device address Yes


device string Communication port Yes (for serial)
PORT1 PORT2
baudrate integer

Communication speed, baud/s

No (for serial)

9600

300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200

databits integer

Data bit count for communication

No (for serial )

8

6

9

stopbits integer

Stop bit count for communication

No (for serial)

1

1

2

parity

string

Communication parity option

No (for serial)

none

none, even, odd

serial_close_delay
integer Delay before closing the serial connection. No (for serial) 400

ip string The IP address of the TCP slave device Yes (for TCP).


port integer

TCP communication port

Yes (for TCP)


0 65535
M-Bus parameters for the Signals tab
Parameter

Type

Description

Required

Default value

(when not specified)

Range

Min

Max

signal_name

string

User-­friendly signal name

Yes



device_alias

string

Device alias from a Devices tab

Yes



signal_alias

string

Unique alphanumeric name of the signal to be used

Yes



enable

boolean

Enabling/disabling of an individual signal

No 1

0

1

log

integer

Enable logging in the event log

No 0



number_type string Type of a number (FLOAT, DOUBLE, DIGITAL, etc.) Yes


job_todo

string

Tag job as single or multiple comma-separated OBIS codes

Yes



tag_job_todo string Tag sub job Yes