A Modbus CRC error (some tools say "checksum error", "invalid CRC" or "CRC mismatch") tells you something useful: a reply did come back, but it was damaged on the way. That is better news than a plain timeout: the device is alive, and the problem is almost always the wiring or one setting.
This guide explains what the CRC is, why it fails, and how to find the cause on site, step by step, for Modbus RTU on RS-485 and through serial gateways.
What is a Modbus CRC error?
A Modbus CRC error means the 2-byte check value at the end of an RTU frame does not match the bytes before it. The receiver recalculates the CRC over the frame it got, compares it with the CRC that was sent, and if they differ, it throws the whole frame away.
Every Modbus RTU frame looks like this:
| Part | Size | Example (read 2 holding registers from address 1, unit 1) |
|---|---|---|
| Unit ID (slave address) | 1 byte | 01 |
| Function code | 1 byte | 03 |
| Data | 0 to 252 bytes | 00 01 00 02 |
| CRC | 2 bytes, low byte first | 95 CB |
The CRC is a 16-bit cyclic redundancy check defined in the Modbus over Serial Line specification (V1.02). The calculation starts with a register at 0xFFFF and uses the polynomial 0xA001. Only the 8 data bits of each character go into the CRC. Start bits, stop bits and the parity bit do not. The result goes out low byte first, which is the opposite of the register values themselves.
Two facts from the specifications explain most of what you see in the field:
- The device stays silent when the request has a bad CRC. The Modbus Application Protocol specification says that if a server detects a communication error (parity, CRC), it returns no response. The master then waits until its timeout runs out.
- The master throws away a reply with a bad CRC. Depending on the software, you see "CRC error", "checksum error", or simply "timeout / no response".
So a CRC problem can show up under two names. If your tool says "timeout" but you can see the device's TX LED blinking, think CRC. (Modbus TCP has no CRC field at all; a CRC error on a "TCP" link means RTU is somewhere in the chain, see Step 6.)
A worked example: what one bad bit does
Here is a real reply from the simulator's AHU controller. The master asked unit 1 for holding registers 1 and 2, which hold "Return air temp" as a float32 (ABCD order):
01 03 04 41 B1 83 56 5F 26
│ │ │ └──────────┘ └───┘
│ │ │ data CRC (low byte first)
│ │ └ byte count = 4
│ └ function 03
└ unit 1
41 B1 83 56 as a float32 is 22.19 °C. Now imagine a burst of noise flips one single bit, so 41 B1 becomes 41 31. The value becomes 11.09 °C, a reading that looks perfectly believable on a BMS screen.
The CRC saves you. For the damaged frame the correct CRC would be 5E CE, but the frame still carries 5F 26, so the master rejects it instead of showing 11.09 °C. Never "turn off CRC checking" to make the error go away: the CRC error is the symptom, the cause is on the wire or in the settings. (Check float conversions yourself with the free Modbus register converter.)
Modbus CRC error causes: the short list
Most CRC and checksum errors come from one of the causes below. The "pattern" column is the fastest clue.
| Cause | Typical pattern | Where to look |
|---|---|---|
| Parity or stop bits mismatch | Every frame fails, or replies are garbage | Serial settings in master and device |
| Missing termination on a long or fast bus | Errors grow with baud rate and cable length | 120 Ω at both ends of the trunk |
| Termination in the middle, or too many terminators | Errors on some devices, not others | Count the resistors on the bus |
| No biasing (idle state undefined) | First bytes of a frame wrong, random errors | Pull-up/pull-down resistors, usually at the master |
| Noise from VFDs, motor cables, contactors | Errors come and go with the equipment running | Cable route, shield, separate trays |
| No common (0 V / GND) wire | Random errors, worse with distance | Third conductor between all devices |
| Two masters on one bus | Errors only when the BMS or PLC also polls | Collisions: only one master allowed |
| Gaps inside a frame | Large reads fail, small ones work | USB adapter, gateway, slow PC |
| Gateway in the wrong mode | Every request fails | Modbus TCP vs RTU over TCP setting |
| Wrong CRC byte order in custom code | Every frame you build fails | Your own script or PLC block |
The rest of this article goes through them in the order that finds the fault fastest.
How to fix a Modbus CRC error, step by step
Step 1: Check baud rate, parity and stop bits on both sides
Start with the settings, because they cost nothing to check. Every device on an RTU bus must use the same baud rate, data bits, parity and stop bits as the master.
A baud rate mismatch usually gives a plain timeout. A parity or stop bit mismatch is sneakier: bytes can arrive almost right, so frames fail the CRC check or the adapter flags parity errors that software reports as checksum errors.
The Modbus over Serial Line specification makes even parity the default, and says that if no parity is used, a second stop bit should take its place, so every character is 11 bits long. In practice many devices ship with 8N1 (no parity, 1 stop bit), and a lot of BMS integrations use 19200 8E1 or 9600 8N1. Read the device's display or manual; do not assume.
In ModLens, open Devices → Edit on your RTU connection. Baud rate, parity, data bits and stop bits sit next to each other, so you can compare them with the device's settings screen line by line. Here the "RS-485 meter bus" connection is set to 19200, Even, 8 data bits, 1 stop bit (8E1).

If one device uses different settings from the others, change that device: one bus, one set of serial settings.
Step 2: Check termination on the RS-485 trunk
Termination means one resistor across A and B at each physical end of the trunk, and nowhere else. It absorbs the signal at the cable ends so it does not bounce back and corrupt the next bits.
The common value is 120 Ω, which matches the impedance of typical twisted-pair RS-485 cable. Many devices and USB adapters have a built-in terminator switched by a DIP switch or jumper. The two classic mistakes are:
- No termination at all. Often fine at 9600 baud on a short bus, until someone raises the speed or extends the cable.
- Termination on in every device. Five 120 Ω terminators put about 24 Ω across the line; levels drop and far devices get damaged frames.
Quick check with a multimeter: power everything off and measure the resistance between A and B. Two 120 Ω terminators in parallel read about 60 Ω. About 120 Ω means only one end is terminated. Much less than 60 Ω means too many terminators (or a short). Biasing resistors can shift the reading a little, so treat these as rough figures.
For cable types, wire colours and layouts, see the RS-485 wiring guide.
Step 3: Check biasing (failsafe) on the idle line
When nobody transmits, an RS-485 line must sit in a defined state. Without biasing, the idle line floats, and the receivers can read noise as random bits. The usual symptom: the first byte or two of a frame are wrong, so the CRC fails, while the rest looks fine on a sniffer.
The Modbus over Serial Line specification describes one pair of biasing resistors for the whole bus, a pull-up on one line and a pull-down on the other, with a value between 450 Ω and 650 Ω. It is usually placed at the master. Many USB to RS-485 adapters and gateways have a "bias" or "failsafe" switch; many field devices do not.
Bias once per bus, not in every device. If errors got worse after you added termination in Step 2, check the bias: termination loads the line and can pull a weakly biased idle state into the undefined zone.
Step 4: Check the common wire, shield and cable route
RS-485 is differential, but it still needs a common reference. A and B must stay within the transceiver's common-mode range relative to each device's ground. Without a third wire (0 V, GND, COM, "C" or "REF" on the terminals), ground differences between panels push the signal out of range and frames get damaged, often randomly.
Check:
- Common wire connected to every device that has a terminal for it.
- Shield earthed at one point only, unless the device maker says otherwise.
- Cable route away from power. VFD motor cables in the same tray are a classic source of intermittent CRC errors: they appear when the fans start and disappear at night.
- Daisy chain, not star. Long stubs create reflections that termination cannot fix.
For length, the specification gives 1,000 m for the trunk at up to 9600 baud with AWG26 or thicker cable; faster means shorter. Near that length, try a lower baud rate first.
Step 5: Make sure there is only one master
Modbus RTU allows exactly one master per bus. If a BMS controller, a PLC and your laptop all poll the same RS-485 line, their requests collide. Collisions produce garbled frames, and garbled frames fail the CRC.
The classic case: a laptop with a USB adapter connected to a running BMS bus "just to read one value", or a gateway that is still polling while you test. If errors appear only when the BMS is online, stop the other master or test on an isolated segment, with the site's agreement.
Step 6: Check the gateway mode (Modbus TCP vs RTU over TCP)
A serial gateway must be set to the same mode as your software. Gateways either convert Modbus TCP to RTU (rebuilding the frame and CRC) or pass RTU frames transparently over TCP (RTU over TCP, raw or tunnel mode). If both sides disagree, the frames do not match.
Here ModLens talks to the simulator, which speaks plain Modbus TCP, through a connection set to RTU over TCP. The simulator cannot read the RTU frames, no valid reply comes back, and ModLens shows "No response from unit 1 (timeout)".

Set the same connection to Modbus TCP, read the same block, and the values appear: address 0 reads raw 143 (Supply air temp, int16 ×0.1 = 14.3 °C), and addresses 1–2 read 22.19 as a float32 ABCD (Return air temp), highlighted in green as a realistic value.

The rule: if nothing ever comes back through a gateway, swap the mode before you touch the wiring. The full explanation is in Modbus RTU over TCP vs Modbus TCP.
Step 7: Look for gaps inside frames (large reads fail, small ones work)
In RTU, a frame must arrive as one continuous stream. The specification says that if the silence between two characters is longer than 1.5 character times, the receiver declares the frame incomplete and discards it. Frames are separated by at least 3.5 character times of silence.
With 11 bits per character, these times are:
| Baud rate | 1 character | 1.5 characters (max gap inside a frame) | 3.5 characters (gap between frames) |
|---|---|---|---|
| 9600 | 1.146 ms | 1.72 ms | 4.01 ms |
| 19200 | 0.573 ms | 0.86 ms | 2.005 ms |
| Above 19200 | fixed values in the spec | 750 µs | 1.75 ms |
Such gaps can come from a USB adapter, a busy gateway or a slow device. The symptom: reading 2 registers works, reading 60 fails. Longer frames give more chances for a gap and more bits for noise to hit.
What helps: read smaller blocks (in ModLens, Advanced: device limits → Max registers per read splits large reads automatically; 125 is the standard maximum, 32 or 64 is a safe test value), add a pause between requests (20 to 100 ms is a reasonable test range), or try another USB adapter, since poor automatic direction control can garble the start of replies.

Step 8: Measure the error rate before and after each fix
Do not trust one good read. Intermittent CRC errors need numbers. Poll the same registers for a few minutes and count errors before and after each change.
ModLens shows a counter on each device card in Devices: requests, average response time and errors. Here the gateway connection from Step 6 shows 1 request, average 2032 ms, 1 error. The 2-second response time is the timeout (1 s) plus one retry: nothing valid came back on either attempt.

A healthy RS-485 bus runs for hours without an error. One error every few hundred requests means a marginal problem (bias, noise, termination). For faults that only appear at certain times, log values to CSV for a day or a week and match the gaps with plant events; see Modbus data logger.
Some devices keep their own counter: function code 08 (Diagnostics), sub-function 0x0C "Return Bus Communication Error Count", returns the CRC errors seen since the last restart. Function 08 is optional and many devices do not support it.
Common mistakes when chasing CRC errors
- Swapping A and B "to see if it helps". Reversed A/B usually gives no response at all, not CRC errors. If you get CRC errors, the polarity is probably right; look at termination, bias and noise.
- Adding termination everywhere. One resistor at each end of the trunk. More is worse.
- Blaming the device first. Test it alone on a short cable: if it works there, the device is not the problem.
- Building CRC bytes in the wrong order. If you write your own code (Python, Arduino, a PLC function block), remember the CRC goes out low byte first. For
01 03 00 00 00 0Athe CRC value is0xCDC5, sent asC5 CD. - Raising the timeout to hide errors. It helps slow gateways, not corrupted frames.
Troubleshooting a Modbus CRC error with ModLens
The method works with any Modbus master. In ModLens: compare serial settings in Devices → Edit, read a small block then a large one in Explorer, lower Max registers per read or add a Pause between requests under Advanced, and watch the error counter on the device card. A damaged reply is discarded, as the specification asks, and shown as "No response" with a checklist. Practise without hardware on the free Modbus simulator; the install and user guide covers RTU setup, and the free 14-day trial includes every Pro feature.
FAQ
What causes a Modbus CRC error?
A CRC error means the frame arrived damaged. The usual causes are on the RS-485 wiring: missing or extra termination resistors, no biasing on the idle line, noise from VFDs or motor cables, a missing common wire or long stubs. The rest are settings: a parity or stop bit mismatch, two masters on one bus, or a serial gateway set to the wrong mode.
Is a CRC error the same as a checksum error?
Yes, in Modbus RTU they mean the same thing: RTU uses a 16-bit CRC as its checksum. Modbus ASCII uses an LRC instead, which some tools also call a checksum.
Why does my Modbus device not answer when there is a CRC error?
The Modbus specification tells a device to stay silent when a frame has a communication error such as a bad CRC or parity. The master then waits until its timeout runs out, so a damaged request shows up as a timeout.
How is the Modbus RTU CRC calculated?
It is a CRC-16 that starts at 0xFFFF and uses the polynomial 0xA001, calculated over every byte of the frame from the unit ID to the last data byte. Only the 8 data bits of each character count, not parity or stop bits. The 2-byte result is sent low byte first: for the request 01 03 00 00 00 0A, the CRC bytes on the wire are C5 CD.
Does Modbus TCP use a CRC?
No. Modbus TCP frames have no CRC field; they rely on Ethernet and TCP error checking. CRC errors on a "TCP" link mean RTU is in the chain, usually a serial gateway, possibly set to a different mode than your software.
Can a wrong termination resistor cause CRC errors?
Yes. Without termination, signals reflect at the cable ends, which matters more at high baud rates and on long cables. Too many terminators load the line and weaken the signal. The usual setup is one 120 Ω resistor at each end of the trunk, which reads about 60 Ω between A and B with the power off.
Why do I get CRC errors only on large reads?
Long frames have more bits for noise to hit and more chances for a gap between characters. In RTU, a gap longer than 1.5 character times inside a frame makes the receiver discard it. Read smaller blocks (for example 32 registers instead of 125), add a short pause between requests, or try a different USB to RS-485 adapter.