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.

Possible bug in modbus reading
#5
Yes, the script does not work right now, the device (through a TCP/RTU gateway) doesn't respond and goes straight to timeout

Code:
require('luamodbus') mb = luamodbus.tcp() mb:open('192.168.100.98', 502) mb:connect() mb:setslave(7) value, err = mb:readregisters(40056) log(value, err) mb:close()
Reply


Messages In This Thread
RE: Possible bug in modbus reading - by Ceros2112 - Yesterday, 13:53

Forum Jump: