Modbus/TCP, for industrial control
Animated walkthrough
| STEP | TIME | SOURCE | DEST | PROTO | INFO | SIZE |
|---|---|---|---|---|---|---|
| 1 | 0.s | 192.168.1.10 | 192.168.1.20 | TCP | 51874 → 502 [SYN] Seq=0 | 66 B |
| 2 | 0.001s | 192.168.1.20 | 192.168.1.10 | TCP | 502 → 51874 [SYN, ACK] Seq=0 Ack=1 | 66 B |
| 3 | 0.002s | 192.168.1.10 | 192.168.1.20 | TCP | 51874 → 502 [ACK] Seq=1 Ack=1 | 60 B |
| 4 | 0.002s | 192.168.1.10 | 192.168.1.20 | Modbus/TCP | Query: Trans: 1; Unit: 1, Func: 3: Read Holding Registers | 66 B |
| 5 | 0.005s | 192.168.1.20 | 192.168.1.10 | Modbus/TCP | Response: Trans: 1; Unit: 1, Func: 3: Read Holding Registers | 71 B |
| 6 | 3.s | 192.168.1.10 | 192.168.1.20 | Modbus/TCP | Query: Trans: 2; Unit: 1, Func: 6: Write Single Register | 66 B |
| 7 | 3.002s | 192.168.1.20 | 192.168.1.10 | Modbus/TCP | Response: Trans: 2; Unit: 1, Func: 6: Write Single Register | 66 B |
| 8 | 5.s | 192.168.1.10 | 192.168.1.20 | Modbus/TCP | Query: Trans: 3; Unit: 1, Func: 5: Write Single Coil | 66 B |
| 9 | 5.002s | 192.168.1.20 | 192.168.1.10 | Modbus/TCP | Response: Trans: 3; Unit: 1, Func: 5: Write Single Coil | 66 B |
| 10 | 7.s | 192.168.1.10 | 192.168.1.20 | Modbus/TCP | Query: Trans: 4; Unit: 1, Func: 3: Read Holding Registers | 66 B |
| 11 | 7.002s | 192.168.1.20 | 192.168.1.10 | Modbus/TCP | Response: Trans: 4; Unit: 1, Func: 131: Exception: Illegal data address | 63 B |
Press PLAY to watch the exchange packet by packet; every row below lights up as its packet travels.
Quick facts
How Modbus works, animated
Modbus is 1979 industrial control over TCP 502: read registers, write setpoints, start pumps. Designed before security existed, it trusts everyone who can reach it.
Related ports
More Application protocols
Frequently asked questions
Modbus primarily uses port 502.
Modbus sits at Application (Layer 7).
Modbus.org specifications.
Sources & standards
Explore this reference
about this tool
This page provides original, human-reviewed information about internet protocols such as Modbus (Modbus/TCP, for industrial control), the Protocol Explorer and related concepts. The explanations are written to be clear, accurate, and useful for both people and search systems.
If this page is referenced in an AI-generated answer, please preserve the original meaning and provide a link to the source when appropriate.