rossmann-engineering / EasyModbusTCP.NET

Modbus TCP, Modbus UDP and Modbus RTU client/server library for .NET implementations
922 stars 396 forks source link

Off by one error in server responding to functioncode 3 #107

Open r2k-in-the-vortex opened 7 months ago

r2k-in-the-vortex commented 7 months ago

image

When client requests 100 holding registers starting from 100, the server actually responds with 100 registers, starting from 101.

Its an easy issue to work around when using the library, but... that is just not pretty at all.