Using Linux PC as M-Bus Master
by helpful_user from LinuxQuestions.org on (#4PXY0)
Hello,
I'm trying to communicate with sensor meter over the RS-485 interface, without any prior knowledge of M-BUS.
Sensor meter : http://www.sanyoutech.com/En/ShowPro...p?ArticleID=80
This unit is connected to a RS-485 converter to my PC running Ubuntu 16.04 LTS.
But I'm having trouble understanding the M-Bus interface. Googling around suggests that M-Bus system uses its own physical and data link layer. This would mean that you need M-Bus supported hardware to communicate?
In the data sheet of my sensor meter there was an communication example :
01 03 0098(0062H) 0002 26069(65D5)
ADD COM PV1 COUNTS CRC
So I'm thinking that i can echo this to my /dev/ttyUSB0 and expect a response? Needles to say this did not work :)
If anyone has any tips or knowledge for using M-Bus with Linux PC, I would be very thankful.


I'm trying to communicate with sensor meter over the RS-485 interface, without any prior knowledge of M-BUS.
Sensor meter : http://www.sanyoutech.com/En/ShowPro...p?ArticleID=80
This unit is connected to a RS-485 converter to my PC running Ubuntu 16.04 LTS.
But I'm having trouble understanding the M-Bus interface. Googling around suggests that M-Bus system uses its own physical and data link layer. This would mean that you need M-Bus supported hardware to communicate?
In the data sheet of my sensor meter there was an communication example :
01 03 0098(0062H) 0002 26069(65D5)
ADD COM PV1 COUNTS CRC
So I'm thinking that i can echo this to my /dev/ttyUSB0 and expect a response? Needles to say this did not work :)
If anyone has any tips or knowledge for using M-Bus with Linux PC, I would be very thankful.