rossmann-engineering / EasyModbusTCP.NET

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

Holding register above 40100 gives error. #15

Closed Rahul828086 closed 5 years ago

Rahul828086 commented 5 years ago

Hello, I am using easy modbus to read register from modbus register but after 40100 it gives invalid register error. Where as I have the data in register even above 40100. Please help me. With this.

rossmann-engineering commented 5 years ago

I think that the prefix "4" in your case means that it refers to a "Holding Register"

That means you should read Holding Register "100". Some Devices address the Modbus Registers in that way.

Rahul828086 commented 5 years ago

Even if I send it as 100, it gives me error as above. anything more than 99 gives me error.