20.01.2020, 13:28
Try reading raw values via a script, change IP/port as needed:
Code:
require('luamodbus')
mb = luamodbus.tcp()
mb:open('192.168.1.100', 502)
res, err = mb:connect()
if res then
-- mb:setslave()
r1, r2 = mb:readregisters(197, 2)
log(r1, r2)
else
log('connect failed', err)
end
mb:close()