How Modbus works
Modbus TCP lets a SCADA system read sensors and write set-points on PLCs. It has no authentication at all - industrial networks must be isolated and firewalled.
Layer: Application (OSI layer 7) · Port: 502 · Transport: TCP · Format: Function code + registers · Standard: Modbus TCP spec
Modbus packet flow
- Modbus Client → PLC: Read Holding Registers (fn 3) addr 0-9
- Modbus PLC → Client: Response: 10 registers (temperature, pressure…)
- Modbus Client → PLC: Write Single Register (fn 6) setpoint=75
- Modbus PLC → Client: Echo - write confirmed
Other protocols: HTTP · WebSocket · QUIC · SMTP · IMAP · POP3 · FTP · SMB · WebRTC · SIP · RTSP · RTMP · MQTT · PPPoE