by dezsoe » Wed Apr 24, 2024 6:42 am
You call 2 functions: Read_Coils (1) and Write_MultipleCoils (15), but none of them is supported by the board. In its manual you can find that function 3, 6 and 16 are supported, which are: Read_Holding_Registers, Write_Single_Register and Write_Multiple_Registers. The last (Write_Multiple_Registers) is not always supported, see the manual.