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.

troubleshooting modbus script to control fornius inverter
#2
You have two connect calls, remove one of them. Then log the error returned by the write call:

Code:
r0, err = mb:writeregisters(40236, 0)
log(r0, err)

Same for all other registers.
Reply


Messages In This Thread
RE: troubleshooting modbus script to control fornius inverter - by admin - 10.04.2024, 07:15

Forum Jump: