Easy Modbus · plain-English Modbus reference

How do I find an unknown Modbus device's baud rate and parity?

Updated 18 September 2026

Short answer

You cannot ask a serial Modbus device what its settings are — there is no discovery, so you try the combinations that actually occur in the wild until one answers. That is fewer than it sounds: baud is almost always 9600 or 19200, framing is almost always 8N1 or 8E1, and the unit ID is usually 1. Hold the framing steady, sweep the two common baud rates first, and the moment a read succeeds you have found all three at once.

Why you have to guess at all

An RS-485 chain has no way to announce its serial settings, and every device on it must already agree on them. If the settings in your tool do not match, the bytes are misread and you get silence or a CRC error, never a helpful “wrong baud rate” message. So the job is to narrow the guess to the combinations that are actually used.

The short list that covers almost everything

SettingTry in this order
Baud rate9600, 19200, then 38400, 4800, 115200, 2400
Framing (data/parity/stop)8N1, then 8E1, then 8O1, 8N2
Unit ID1, then a sweep of 1–16, then up to 32

That is 6 baud × 4 framings × a small ID sweep — a few dozen combinations at most, and the first two of each cover the large majority of equipment. You will usually land in the first handful.

A method that does not drive you mad

  1. Change one thing at a time. Fix framing at 8N1 and unit ID at 1, then step through baud rates. If nothing, switch framing to 8E1 and step the baud rates again.
  2. Watch for the shape of the reply. Total silence usually means the baud or framing is wrong. Garbled bytes or intermittent CRC errors mean you are close — often the right baud with the wrong parity.
  3. Once anything answers, stop. A single successful read fixes baud, framing and a working unit ID in one go. Then sweep unit IDs at those settings to find the others on the chain.
  4. Isolate if you can. If several devices share the line and replies collide, unplug all but one while you hunt.

Where to shortcut the guessing

Before sweeping, spend two minutes looking for the answer: the device's own display or settings menu, the DIP switches (often the unit ID in binary), the commissioning paperwork, or the vendor's manual — the defaults are usually printed there. See what is a Modbus unit ID? for reading DIP switches.

Easy Modbus reaches serial equipment through a network gateway rather than a bare RS-485 cable, so the baud rate and framing are set on the gateway, and the app hunts the unit ID with a Find unit IDs sweep. If you are wiring straight into RS-485 with a USB adapter, a Windows master is the tool for the baud/framing hunt — see TCP, RTU or RS-485 — which do I have?