Home » Service & Support » Technical Documentation
Modbus RTU / TCP in Smart Instruments - Applications
Release time:2026-11-25 14:00:33 | Views:

Modbus is an application-layer messaging protocol at layer 7 of the OSI model, using a client/server (master/slave) request-reply mechanism. A serial de facto standard since 1979, it also runs over TCP/IP on the reserved port 502. Simple, open and royalty-free, it is widely used for data exchange between smart instruments, PLC/DCS systems and data acquisition. Based on the official Modbus specifications and instrument manuals, this article covers RTU/TCP frame structures, function codes, the register model and application boundaries.

I. Technical Positioning and Standards

ItemContent
Protocol layerApplication-layer messaging protocol at OSI layer 7, request/reply (client/server)
Serial versionsModbus RTU (binary) and Modbus ASCII (characters), over RS-485/RS-232
Ethernet versionModbus TCP, encapsulating the Modbus PDU in TCP/IP on reserved port 502
Secure versionModbus TCP Security (TLS plus X.509v3 certificates) on port 802
Core specificationsModbus Application Protocol Specification V1.1b3; Serial Line Protocol and Implementation Guide V1.02; Modbus Messaging Implementation Guide V1.0b
OrganizationModbus Organization (transferred from Schneider Electric in 2004, specifications free of charge)

Obtained via web search. Source: Modbus Organization official specification https://modbus.org/file/secure/modbusprotocolspecification.pdf (V1.1b3: OSI layer 7, port 502, function-code catalogue) and https://modbus.org/modbus-specifications/ (V1.02 serial specification, V1.0b TCP implementation guide), https://modbus.org/file/secure/modbussecurityprotocol.pdf (secure version port 802).

Instrument illustration, not the actual model
Instrument illustration, not the actual model; parameters subject to the official data sheet

II. RTU and TCP Frame Structures Compared

ItemModbus RTUModbus TCP
EncapsulationAddress (1 B) + function code (1 B) + data + CRC (2 B)MBAP header (7 B) + function code (1 B) + data
CheckCRC-16 (cyclic redundancy check)Handled by TCP/IP; no CRC in the frame
AddressingSlave address 1-247 (0 broadcast)Unit identifier plus IP address and port 502
Transaction IDNo explicit field, relies on request-reply orderMBAP carries transaction ID, protocol ID and length
Physical layerRS-485 two/four wire, or RS-232Ethernet (standard NICs, 10/100/1000 Mbit/s)
Typical baud rate9600 / 19200 / 38400 / 115200 etc.Determined by Ethernet bandwidth

Frame essentials: RTU mode expresses addresses, function codes and data as raw binary bytes and is more efficient than ASCII at the same baud rate (ASCII needs nearly twice the bits). TCP mode prefixes the standard Modbus PDU with a 7-byte MBAP header (transaction ID, protocol ID, length, unit identifier); function-code semantics are unchanged.

Obtained via web search. Source: Modbus Organization "An Introduction to Modbus" https://modbus.org/introduction-to-modbus (ASCII/RTU frame comparison, function codes and address ranges) and Modbus Application Protocol Specification V1.1b3 (MBAP, port 502).

III. Function Codes and Register Model

Function code (decimal)PurposeData object
01 / 05 / 15Read coils / write single coil / write multiple coilsBit outputs, 984 addressing 00001-09999
02Read discrete inputsRead-only bit inputs, 10001-19999
04Read input registersRead-only 16-bit analog values, 30001-39999
03 / 06 / 16Read holding registers / write single / write multiple registersRead/write 16-bit, 40001-49999
08 / 17 / 43Diagnostics / report slave ID / encapsulated interface transportSerial link or device identification
Exception responseFunction code with MSB set (0x80 + function code)Carries an exception code explaining the cause

Application basis: 984 addressing (starting at 1) is the original PLC convention; modern devices often use protocol addresses starting at 0, a one-count difference that must be checked against the instrument register map. Smart instruments typically map process variables, setpoints, alarm status and diagnostic codes into holding or input registers for periodic reading; write operations serve remote setpoints and configuration.

Obtained via web search. Source: Modbus Organization "An Introduction to Modbus" (https://modbus.org/introduction-to-modbus) and Modbus Application Protocol Specification V1.1b3 (https://modbus.org/file/secure/modbusprotocolspecification.pdf). Subject to the device register map.

IV. Implementation Boundaries in Smart Instruments

DimensionEngineering pointNotes
Physical layerRS-485 two-wire, 120 ohm terminators at both ends, shield grounded at one endVerify loading and biasing for long runs or many slaves
Parameter consistencyBaud rate, parity, stop bits and slave address identical network-wideAny mismatch silences the whole segment
Register mapSubject to the official instrument register tableThe same function code may carry different data across vendors
Update rateLimited by polling cycle and slave countCritical signals should not rely solely on Modbus polling for fast closed loops
SecurityStandard Modbus TCP has no authentication or encryptionUse the TLS version (port 802) or network segregation where needed
Instrument exampleFisher FIELDVUE DPC2K: Modbus RTU (RS-485, 9600-256000 baud, default 115200), Modbus TCP, HART-IPFrom Fisher data sheet D104786X0CN, a specific model example

Modbus defines only messages and the data model, not field installation details. When using RS-485 in hazardous areas, barrier/isolator parameters and cable constants must also be checked; Ex ia intrinsic safety is NOT Ex d flameproof and must never be mixed. Register definitions not published in product literature must be confirmed with the manufacturer and never guessed.

Instrument example from Fisher FIELDVUE DPC2K data sheet D104786X0CN / catalogue D104561X0CN (digital process controller, Modbus RTU 9600-256000 baud, default 115200, Modbus TCP, HART-IP). General rules from the Modbus Organization document numbers above.

V. Selection Guide and Common Configurations

Selection guide: first choose RTU (two-wire, long distance, multidrop) or TCP (Ethernet, high speed, easy integration) by site wiring. An RTU segment needs uniform baud/parity/addresses and terminators at both ends; TCP needs planned IP addresses, port 502 and gateways. Then obtain the register map from the manufacturer and confirm addresses and scaling of process and diagnostic data. In hazardous areas check IS parameters against the area classification and barrier certificate; where an approval cannot be found, state "unable to confirm, please verify with the manufacturer".

Common configurations: the instrument acts as a Modbus slave (RTU via RS-485 to a serial server or PLC master; TCP directly on Ethernet), while the host acts as a client periodically reading holding/input registers. Gateways provide transparent conversion between RTU and TCP. Slave addresses must be unique within one segment.

If you are planning Modbus communication for smart instruments, or want to check baud rates, register maps and termination, please send us the instrument list, communication distance and host interface. We can confirm the frame format and address table item by item against the official specification.

Orders & Inquiries

Baoman Industrial Technology (Chengdu) Co., Ltd
Tel: +86 028-60220547 | Email: info@bit-cd.com
Address: Room 1108, Building A, Tingbiao Central Plaza, No. 158 Erxianqiao East Road, Chenghua District, Chengdu, Sichuan Province, China

The information above is not guaranteed to remain valid at all times. Subsequent changes will not be notified separately. Please confirm the latest information at the time of inquiry.