31.12.2020, 12:44
(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