BiancoRoyal/node-red-contrib-modbus

CRC Error reported, but the reponse has correct CRC

cbscpe2 opened this issue · 1 comments

Which node-red-contrib-modbus version are you using?

5.26.0

What happened?

When requesting the Serial Number of a Carlo Gavazzi ET112 modbus read/flex getter report a CRC error even so the CRC seems to be correct

Server

Modbus-Server Node

How can this be reproduced?

Read the serial number registers of the ET112 always reports a CRC Error

What did you expect to happen?

Report success as the message seems to be ok

Other Information

Here is the trace output from the Modbus done with a RS458 -> Serial Adapter and using a Logic-8 Logic analyzer using the Async Serial Analyzer

2.821799000000000,'1' (0x01),,
2.822840000000000,'3' (0x03),,
2.823881000000000,P (0x50),,
2.824923000000000,'0' (0x00),,
2.825965000000000,'0' (0x00),,
2.827006000000000,'7' (0x07),,
2.828044000000000,'21' (0x15),,
2.829083000000000,'8' (0x08),,

2.972549000000000,'1' (0x01),,
2.973595000000000,'3' (0x03),,
2.974642000000000,'14' (0x0E),,
2.975688000000000,'0' (0x00),,
2.976734000000000,0 (0x30),,
2.977781000000000,'0' (0x00),,
2.978827000000000,9 (0x39),,
2.979874000000000,'0' (0x00),,
2.980920000000000,5 (0x35),,
2.981966000000000,'0' (0x00),,
2.983013000000000,3 (0x33),,
2.984059000000000,'0' (0x00),,
2.985106000000000,0 (0x30),,
2.986152000000000,'0' (0x00),,
2.987198000000000,9 (0x39),,
2.988245000000000,'0' (0x00),,
2.989291000000000,W (0x57),,
2.990338000000000,'198' (0xC6),,
2.991384000000000,'220' (0xDC),,

Unfortunately, I had to find out, the RS485 Adapter is damaged. Probably killed it when I moved it from the Raspi, where it was working well, to the server with Node Red.