08/08/2025
Bosch Rexroth | Library | Engineering

M-Bus SDK library for ctrlX I/O

The M-Bus (Meter Bus) technology is utilized for reading metering devices such as water, gas, and electricity meters in accordance with European standards EN 13757-2 (Physical and Link Layer) and EN 13757-3 (Application Layer).

The CXA_MBus library should be used in conjunction with the ctrlX I/O XI531001 1Ch. M-Bus master communication module (R911423593). The ctrlX I/O XI531001 can operate either locally on a ctrlX CORE or decentrally with a bus coupler and can communicate with up to 50 M-bus devices.

The CXA_MBus library contains the essential basic services for getting started with M-Bus technology. These services include raw data communication, bus scanning and addressing. Additionally, there is an extended section known as the M-Bus SDK, which serves as a toolbox for utilizing existing function blocks or creating custom solutions for M-Bus devices.

The M-Bus SDK offers specific function blocks for M-Bus devices and is open source. The library includes a template for the "IH_MBUS_SDK" function block, including comments to assist you to create your own function blocks. The template features a standard "state machine", error handling and M-Bus communication handling. The library will be continuously updated to incorporate additional function block tailored to specific M-Bus devices. This means that some function blocks for certain M-Bus devices are already included, providing additional guidance to help you navigate the SDK and develop your own solutions.

Please contact Bosch Rexroth or your designated representative if you wish to utilize the CXA_MBus_SDK library or if you are interested in contributing your function blocks to Bosch Rexroth.

3
Categories
Engineering
Communication
PLC
Platform
ctrlX OS
Vendor
Bosch Rexroth AG

Latest published/updated articles