MODBUS/UDP Packet Format |
The MODBUS/UDP packets are "encapsulated" inside a standard UDP (User Datagram Protocol) packet
The UDP payload is divided in three major fields which are
• | MBAP (MODBUS Application Protocol) |
• | FC (Function Code) |
• | MDP (MODBUS Data Payload) |
The MBAP and the FC code, together, represent the HEADER while the MDP field contains the data related to the request/response being issued