MODBUS
MODBUS
Modbus is a protocol for exchanging data between electronic devices. In PacketTracer, we support TCP/IP Modbus which allows communication between modbus client and server over Ethernet.
Modbus Client and Server
Modbus communication utilizes a client-server architecture where clients request information from a server.

In the illustration above, a ModbusServer is started on a PC. This ModbusServer will be listening to connection requests from another ModbusClient.

A ModbusClient is started on another PC. This ModbusClient will try to make a connection with a ModbusServer at the IP Address 1.1.1.1 and send request when the connection is established between the two devices.
JavaScript API
Examples
| Sample File | Description |
|---|---|
modbus.pkt |
This file demonstrates how a Modbus Client communicates with a Modbus Server. Users can run the Modbus Server and Modbus Client programs to observe the Modbus traffic between them once a TCP connection is established. |
Current Modeling Limitations
Packet Tracer only supports Modbus TCP/IP which runs over Ethernet. Modbus RTU is not supported.
Modbus packet can be viewed in simulation when a Modbus Client and Modbus Server communicate. The packet does not show all of Modbus data fields.
Packet Tracer does not support standard Modbus functions and registers. It’s up to users to define it in the json data that is being sent between Modbus Client and Modbus Server.