Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
465 stars 174 forks source link

Getting crcMismatch error while reading holding registers #237

Closed dhruti1997 closed 5 years ago

dhruti1997 commented 5 years ago

I am trying to read data from a Secure Meter via Modbus RTU. I am using a system with the following configurations:

OS: Linux Mint 19.1 Tessa 64-bit Node.js version: 8.10.0 NPM version: 3.5.2

I am using the ReadHoldingRegister example and here is my output:

{ '0': <Buffer 01> } { '0': <Buffer 84 01 82 c0> } { '0': { err: 'crcMismatch', message: 'the response payload does not match the crc' } } { '0': null }`