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.

Reading 8 coil points as a 1 byte in Modbus
#4
Check if you have mb:setslave(0) in your code. You don't have to set the slave ID to 1 lower but the coil/register addresses. Script already has correct reading address 8 instead of 9.
Reply


Messages In This Thread
RE: Reading 8 coil points as a 1 byte in Modbus - by admin - 22.12.2021, 12:35

Forum Jump: