What it is
Modbus is a communication protocol developed by Modicon in 1979 for use with its programmable logic controllers. It defines how devices exchange data over serial lines or, in its TCP variant, over standard Ethernet networks. The protocol uses a request/response model where a master device sends a request frame containing a device address, a function code specifying the operation, a data address, and any relevant data. The slave device at that address processes the request and returns a response. The protocol is intentionally minimal, which is why it became an open standard that manufacturers across the industry adopted without licensing costs.
Key points
- Master/slave architecture where one master polls one or more slaves for data or sends commands.
- Three main variants: Modbus RTU and ASCII for serial links, Modbus TCP for Ethernet networks.
- Communicates using function codes that define read, write, and diagnostic operations.
- No authentication, no encryption, and no message integrity verification in the base protocol.
- Still found in virtually every industrial sector, from energy and water to manufacturing and building automation.
Concrete example
A natural gas compressor station uses Modbus RTU over RS-485 to connect a PLC to a bank of pressure transmitters and valve controllers. An engineer also installed a serial-to-Ethernet converter to allow remote monitoring over the plant network. Because the converter simply bridges serial Modbus to Modbus TCP with no authentication, any device on the plant network can now issue write commands to the valve controllers, including commands to open or close valves independently of the PLC's control logic. The remote monitoring capability added connectivity without adding any access control.