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.

Write Multiple Registers at once
#5
(31.12.2020, 12:04)admin Wrote: This is not possible via profile, you have to use a script instead

Humm OK

Something like this ?

Have you got some documentation about the writeregisters method ?
Code:
require('luamodbus')
mb = luamodbus.tcp()
mb:open('192.168.0.1', 502)
mb:connect()

mb:writeregisters(???)

mb:close()


I have other TCP slaves via mapper. This script will be Event based. Can the communications work in parallel without trouble ?

Thank you
Reply


Messages In This Thread
Write Multiple Registers at once - by iJAF - 31.12.2020, 09:52
RE: Write Multiple Registers at once - by iJAF - 31.12.2020, 12:44

Forum Jump: