Enser45 / nmodbus

Automatically exported from code.google.com/p/nmodbus
0 stars 0 forks source link

IModbusSerialMaster.ReadWriteMultipleRegisters generates an invalid CRC. #76

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Sending a command with IModbusSerialMaster.ReadWriteMultipleRegisters  
produces a invalid CRC. The MessageFrame of ReadWriteMultipleRegistersRequest 
is generated wrong because ProtocolDataUnit works with Properties which are 
null.

What is the expected output? What do you see instead?
Expected: 01 17 00 26 00 02 00 26 00 02 04 00 00 00 00 CC C5
Wrong message: 01 17 00 26 00 02 00 26 00 02 04 00 00 00 00 40 2E 

What version of the product are you using? On what operating system?
NModbus_net 3.5_1.11.0.0

Original issue reported on code.google.com by schm...@gmail.com on 9 Mar 2015 at 1:32