This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

M-bus problem
#5
I tried connecting the caleffi meter to the /dev/RS485-2 port as a result i don't get the scan table and still no data

Code:
require('mbus')

mbus.init('/dev/RS485-2', 9600 ,"half")


res, err = mbus.scan(1 , 10, 1)
log(res)
log(err)
log(mbus.getdata(7))

log:
Code:
m-bus 17.05.2023 12:38:53
* table:
m-bus 17.05.2023 12:38:53
* nil
m-bus 17.05.2023 12:38:55
* arg: 1
  * nil
* arg: 2
  * string: failed to send/receive frame
Reply


Messages In This Thread
M-bus problem - by Andrea Becagli - 17.05.2023, 10:10
RE: M-bus problem - by Daniel - 17.05.2023, 10:20
RE: M-bus problem - by Andrea Becagli - 17.05.2023, 10:26
RE: M-bus problem - by admin - 17.05.2023, 10:27
RE: M-bus problem - by Andrea Becagli - 17.05.2023, 10:39
RE: M-bus problem - by Daniel - 17.05.2023, 10:43
RE: M-bus problem - by admin - 17.05.2023, 10:58

Forum Jump: