Closed raymondbh closed 4 months ago
Ok, I figured it out, seems the client unitiIdentifier set to 0xFF in the sample does not work. I set it to 0 and it was fine :)
//var unitIdentifier = 0xFF; var unitIdentifier = 0x00;
Thank you for pointing that out, I just fixed it
Just testing your modbus library (that looks very good at first glance), but I just get "TCP connection closed unexpectedly" what ever I do. Tried two different computers and added firewall rules and everything I can think of...
SampleServerClientRTU seems to work just fine :)