Open source Meter-Bus library: libmbus
We provide a free and open source library for the M-Bus (Meter-Bus) protocol. The M-Bus protocol is a standard for communicating with utility meters (electricity, water, heat, etc.). The libmbus package also contains a number of easy to use command line programs that can be used for probing M-Bus devices.
- Fairly complete implementation of the M-Bus protocol
- Command-line utility applications
- A handy XML representation of M-Bus data
- Built-in support for TCP/IP, UDP/IP and serial transport protocols
Open source MODBUS library: libmodbus
The MODBUS protocol is often used for communicating with various kinds of input/output devices. It is an old and simple protocol, but accurately fullfill its intended purpose of sending commands, setting and reading register values, etc., for devices on a local network. There are numerous MODBUS implementations predating the our libmodbus library - and many of them open source - but none that clearly separates the protocol parsing and transport mechanism. Our goal has therefore been to implement an MODBUS protocol that emphasize this separation, making it easy to add support for new transport protocols.
- The implementation covers the most commonly used parts of the MODBUS protocol
- Built-in support for TCP/IP and UDP/IP transport protocols
- Written in C
The IP I/O module
MODBUS UDP/IP device with:
- 4 digital inputs and 4 digital outputs
- 4 relays
- 4 DAC and 4 ADC
- 1 counter, 1 temperature sensor
- 1 USART and 1 Ethernet chip
- Open source libraries and protocols



