08.11.2018, 15:00
You might have wrong register address or multiple scripts try to access RS-485 bus at the same time. You should really use profiles.
To debug your problem log both return values:
To debug your problem log both return values:
Code:
res, err = mb:writeregisters(11410, 130)
log ("Result1 = ", res, err)