Most plant data still arrives on two wires, not Ethernet. A serial Modbus logger has limits an Ethernet one does not — and those limits, not the software, decide how often you can actually sample. This page covers the arithmetic, the realistic intervals, and how to read the line when a device goes quiet.
Modbus RTU, ASCII and TCP · Windows 10/11 · One-time license
Modbus TCP lets a logger open a socket per device and read them in parallel. RS-485 does not. Everything on the line takes turns, and the turns cost time.
An RS-485 segment is half duplex with a single master. The logger sends one request, waits for the reply, then sends the next. There is no overlapping and no queueing on the device side. That single fact produces almost every surprise people hit when they set up serial logging:
A Modbus RTU character is 11 bits on the wire: one start bit, eight data bits, one parity bit and one stop bit. From that, the cost of a read is arithmetic rather than opinion.
A Read Holding Registers request is always 8 bytes. The reply is 5 bytes of framing plus 2 bytes per register. Between frames the standard requires a silent interval of 3.5 character times. On top of that sits the device turnaround — the time the slave itself needs before answering, typically 5–20 ms on meters and drives.
The table assumes a 10 ms turnaround. Your devices may be faster or slower, but the shape does not change.
| Baud | 10 registers | 25 registers | 50 registers | 125 registers |
|---|---|---|---|---|
| 9 600 | 52 ms | 86 ms | 143 ms | 315 ms |
| 19 200 | 31 ms | 48 ms | 77 ms | 163 ms |
| 38 400 | 20 ms | 29 ms | 43 ms | 86 ms |
| 57 600 | 17 ms | 23 ms | 32 ms | 61 ms |
| 115 200 | 13 ms | 16 ms | 21 ms | 35 ms |
Reading 125 registers at 9 600 baud costs 315 ms; reading 10 costs 52 ms. Six times the data for six times the time — but one read of 50 registers is far cheaper than five reads of 10, because each read pays the framing and turnaround cost again. If your registers sit in a contiguous block, read the block.
Twenty energy meters, ten registers each, one RS-485 segment. How often can this be logged?
A one-second interval has zero margin: any retry or slow device pushes the cycle past its own deadline. Set 2 s and the line stays healthy.
One second becomes comfortable, with room for the occasional retry. For most metering work this is the sweet spot.
Sub-second logging is available — if every device on the segment supports the rate and the cable run is short enough to carry it cleanly.
Raising the baud rate is almost always cheaper than re-cabling. But it is a segment-wide decision: every device on the line has to be reconfigured, and long or poorly terminated runs that worked at 9 600 can start producing CRC errors at 115 200. Change it, then watch the error count for an hour before trusting it.
Devices do not have to share one interval. In ModbusManager each poll window keeps its own, so a meter you only need every 30 seconds does not have to be read at the rate of the drive next to it. The scheduler runs whichever window is due first and serialises everything onto the one connection.
Gaps in a logged series almost always come from the line, not the logger. The failure mode tells you where to look — if you can see the raw bytes.
| What you see | What it means | Where to look |
|---|---|---|
| No reply at all | The device never saw a frame it recognised. | A/B swapped, baud rate, parity and stop bits, wrong unit ID, device not powered. |
| CRC errors | Bytes arrive but corrupted — the frame is damaged in transit. | Missing 120 Ω termination, long stubs, no bias resistors, VFD noise on an unshielded run, or a baud rate the cable cannot carry. |
| Exception reply | The device answered correctly and refused the request. | Wrong register address, off-by-one base (40001 vs 0), unsupported function code, or too many registers in one read. |
| Intermittent gaps | The line works but the cycle overruns its interval. | Interval shorter than one full cycle, one slow device dragging the rest, or a retry storm from a marginal connection. |
| One device times out, all get slow | The master waits out the full timeout before moving on. | Remove the offender from the poll list or lower its timeout. A single 1000 ms timeout adds a whole second to every cycle. |
The Serial Monitor shows the request and reply bytes as they go out and come back, with timing. That is the difference between knowing which of the five rows above you are in and guessing at it — and on a commissioning visit, guessing is expensive.
Once data is in the historian, the rest works the same as for Ethernet devices: trend charts, selectable time ranges, CSV export. See Modbus data logger software for the logging features, timestamps and export formats, or the Modbus scanner if you do not yet know which unit IDs are on the line. Two settings decide how much of it you keep: see logging interval and deadband. And when the run is done, logging Modbus data to CSV covers getting the file out without the Excel surprises.
Full Pro edition, no credit card. If the line is difficult, the Serial Monitor will tell you why before you commit to anything.
Download Pro trial — free 14 daysWindows 10/11 · 14-day trial · Pro from $119 one-time
We use Google Analytics cookies to see how the site is used. You can accept or decline — declining keeps analytics off. See our Privacy Policy.