Skip to content

Polling over Modbus RTU - continuous CRC errors #45

@tfboy

Description

@tfboy

I'm trying to obtain data from an Aira heat pump which has an existing and operational data connection between itself and a Carlo Gavazzi ET340 energy meter.

I've tapped into the Modbus bus and have found the communication settings used - 19200 baud, 8 bits, even parity...

However, I get continuous CRC errors, for example:

14.05.2025 09:57:07.113 'Port' Info: Start polling
14.05.2025 09:57:07.113 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:07.298 'Device' Rx: 02 03 28 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 44 DA 02 03 2B D3 00 14 BD EB 02 03 28 32 34 30 38 30 37 31 30 38 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4C BC 
14.05.2025 09:57:07.299 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:08.075 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:08.267 'Device' Rx: 02 03 08 47 00 B6 41 02 03 26 00 00 00 00 00 00 01 18 00 72 00 06 F5 F8 00 00 0E 30 0B B8 0B B8 00 00 10 92 10 B3 12 51 79 12 25 0B B8 00 00 0A DF 
14.05.2025 09:57:08.269 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:09.076 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:09.252 'Device' Rx: 14 04 00 34 00 02 32 C0 14 04 04 14 00 00 FA 7D 
14.05.2025 09:57:09.252 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:10.077 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:10.144 'Device' Rx: 02 03 28 32 34 30 38 30 37 31 30 38 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4C FE 00 14 BD EB 
14.05.2025 09:57:10.145 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:11.078 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:11.251 'Device' Rx: 14 04 00 00 00 06 72 CD 14 04 0C 09 A1 00 00 00 00 00 00 00 00 00 00 5A 5A 
14.05.2025 09:57:11.253 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:12.080 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:12.189 'Device' Rx: 02 03 2B 70 00 14 4D C9 
14.05.2025 09:57:12.190 'Device' Error: Not correct response. Requested unit (unit) is not equal to responsed
14.05.2025 09:57:13.082 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:13.220 'Device' Rx: 02 06 07 CF 00 00 B8 B2 02 06 07 CF 00 00 B8 B2 
14.05.2025 09:57:13.222 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:14.082 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:14.267 'Device' Rx: 14 04 00 0C 00 06 B2 CE 14 04 0C 01 80 00 00 00 00 00 00 00 00 00 00 14 B9 
14.05.2025 09:57:14.268 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:15.082 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:15.236 'Device' Rx: 02 03 2B 98 00 14 CD FD 
14.05.2025 09:57:15.237 'Device' Error: Not correct response. Requested unit (unit) is not equal to responsed
14.05.2025 09:57:16.085 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:16.205 'Device' Rx: 02 03 08 33 00 14 B7 99 
14.05.2025 09:57:16.206 'Device' Error: Not correct response. Requested unit (unit) is not equal to responsed
14.05.2025 09:57:17.085 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:17.283 'Device' Rx: 14 04 00 34 00 02 32 C0 14 04 04 14 00 00 FA 7D 
14.05.2025 09:57:17.284 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:18.084 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:18.190 'Device' Rx: 02 03 28 32 34 30 38 30 37 31 30 38 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4C BC 
14.05.2025 09:57:18.191 'Device' Error: Not correct response. Requested unit (unit) is not equal to responsed
14.05.2025 09:57:19.085 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:19.283 'Device' Rx: 02 03 2B 98 00 14 CD FD 02 03 28 31 30 30 30 37 35 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 AE BB 
14.05.2025 09:57:19.284 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:20.085 'Device' Tx: 01 03 00 00 00 0A C5 CD 
14.05.2025 09:57:20.283 'Device' Rx: 02 03 08 47 00 B6 41 02 03 26 00 00 00 00 00 00 01 18 00 72 00 06 F5 F8 00 00 0E 30 0B B8 0B B8 00 00 10 92 10 A4 12 51 79 12 25 0B B8 00 00 44 6B 
14.05.2025 09:57:20.284 'Device' Error: RTU. Wrong CRC
14.05.2025 09:57:20.742 'Port' Info: Finish polling

Now I don't think it's necessarily a problem with the ModbusTools application, probably just some strange communication setting. But I have no idea how to troubleshoot.
Can you offer any advice?

Many thanks for this amazing looking open source software BTW!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions