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.

Modbus write multiple registers
#1
Hello!

fw 20160927
  
Modbus
Code:
if not mb then
    mbproxy = require('mbproxy')
    mb = mbproxy.new()
end
mb:setslave(4)

res, err = mb:writemultipleregisters(46165, o1, o2, o3)
if err then log(err); end

Quote:Logs: *string: Illegal function



What not so?
Reply


Messages In This Thread
Modbus write multiple registers - by Alferov - 17.02.2017, 18:18

Forum Jump: