Read Modbus/TCP – with register names.
Trace captures Modbus/TCP straight from the network, through a mirror port or TAP. Every telegram becomes one line: who talks to whom, unit, function, start address and values. With your plant's register list, instead of start 0 you read the name, such as Supply setpoint.
The account is currently free – you only confirm your email address.
- ✓ Requests and responses kept apart
- ✓ Register names from your list
- ✓ Exceptions in plain text
- ✓ Connections, gaps and losses visible
From the wire to the telegram.
A client reads three holding registers, the server answers, then the client writes one register. The plant's register list knows the names.
According to the list, start address 0 is “Supply setpoint” and register 1 is “Return setpoint”. The read response carries no address and therefore shows only the values. Telegrams from real pymodbus traffic (addresses adapted), split by the Ethernet (pcap) plugin.
Modbus/TCP as it is on the wire.
One telegram, one line
Trace reassembles the TCP stream and cuts it at the MBAP header: telegrams spread over several segments, or packed together in one, each become one line. The direction comes from the connection, not from the port.
Names instead of addresses
Upload the plant's register list as CSV – Modicon numbers such as 40001, or kind, address and name. Requests and write confirmations then show the name, the details show the address as well.
What otherwise stays invisible
Connection setup and teardown, resets, gaps in the capture and lost packets appear as lines of their own. Exceptions show the function and the reason, such as “Illegal Data Address”.
- SearchFull-text search across all telegrams, even in the live stream.
- RecordingRaw bytes and the finished interpretation in one .msf file.
- Multiple portsSeveral interfaces in one session, on a shared timeline.
- RemoteProbe at the machine, analysis in the browser – no inbound port.
What is still missing.
So you don't have to find the limits by trying:
- The traffic has to reach the probe. A switch forwards telegrams only to the recipient; you need a mirror port (SPAN), a TAP or a hub. The guide explains the options.
- Read responses without names. A response carries no address. Matching it to its request (via the transaction id) is not possible yet; the values are still in the line.
- Some functions by name only. 08 Diagnostics, 14/15 File Record and 2B (MEI) appear with their name, but their data stays raw.
- A rate limit for heavy traffic. By default the probe passes on at most 180 kB/s; anything above is dropped and shown as a loss. That is far more than Modbus/TCP needs.
Register names are an option of the definition.
Modbus/TCP is an open TrIML definition too. The register list is a port option; the definition looks up the name per register kind and shows it only when the list knows it.
<option name="registers" type="table" format="modbus-registers" label="Registerliste" /> <!-- one part of the list per register kind --> <valuedescriptor type="word" name="mb-names-h" fromOption="registers" fromOptionPart="h" /> <switch ref="Start address"> <case in="mb-names-h"> <field ref="Start address" name="Register name" valuedescriptor="mb-names-h" /> <match add-format="· start {0}"><param ref="Register name" /></match> </case> <!-- otherwise: "· start 0" --> </switch>
Frequently asked questions
How does the Modbus traffic reach the probe?
Through a mirror port (SPAN) on the switch, a TAP or a hub. On that network card you add a port with the Ethernet (pcap) plugin in Trace; with the Modbus/TCP interpreter, the port dialog sets the filter (TCP 502) and the format by itself. If Modbus runs on another port, choose Custom filter with Modbus/TCP telegram framing.
What does the register list look like?
A CSV file with one line each: number;name with a Modicon number (40001 = first holding register) or kind;address;name, such as holding;200;Weekly program. If your list counts from 1 instead of 0, you switch that at the port.
Does Trace interfere with the plant?
No. Trace only listens, sends no requests and opens no connection to the server.
Do I need hardware to try it?
For a live capture you need a Trace probe on a mirror port or TAP, on Linux (also as a container) or Windows with Npcap. To try it, an existing capture is enough.
Try Modbus/TCP with Trace.
Create a free account and start capturing. Tell us briefly what you find missing – it goes straight into development.
A question about your setup first? Write to support@trace-analyzer.net
More protocols
- Modbus RTUFieldbus on RS485, CRC16
- Modbus ASCIIFieldbus in ASCII mode, LRC
- Modbus/TCPFieldbus over Ethernet, with register names
- BACnet/IPBuilding automation over IP, with object names
- NMEA 0183GNSS and marine electronics
- MAVLinkDrone telemetry, v1 and v2
- OBD-IIVehicle diagnostics over CAN
- Own protocolYour own serial protocol in TrIML