23.01.2020, 06:28
You might need to uncomment setslave() call and set correct slave id like this:
You can also run Wireshark on your PC together with Modbus Poll to see raw communication. This might help to find out correct settings.
Code:
mb:setslave(1)