IMDHMIControls LibraryShop main store

Explainer

Why PROFINET PROFIBUS and Modbus are four separate protocols

Industrial networks Published 7 min read

Short answer

PROFINET, PROFIBUS, Modbus RTU and Modbus TCP are four separate combinations of protocol and transport: PROFINET and Modbus TCP ride Ethernet, PROFIBUS and Modbus RTU ride RS-485 serial. An S7-1200 serves each on a different interface — the onboard PROFINET port for Ethernet traffic, serial modules for Modbus RTU, a fieldbus module for PROFIBUS — so the partner's port decides the method, not one blended protocol.

On this page
  1. A protocol and its transport are two separate choices
  2. The four pairings side by side
  3. Why the names get mixed up
  4. What each pairing looks like on an S7-1200
  5. Worked example: twelve Modbus RTU meters on one serial port
  6. The decision for each case
  7. Questions asked

PROFINET, PROFIBUS, Modbus RTU and Modbus TCP are four separate protocols, not four spellings of one. Each pairs a specific application protocol with a specific transport: PROFINET and Modbus TCP run over Ethernet, PROFIBUS and Modbus RTU run over RS-485 serial wiring. An S7-1200 therefore has no single port that speaks all four. Its onboard Ethernet port serves the Ethernet pair; the serial pair needs communication modules fitted to the CPU. The partner device decides the pairing: look at its port and its protocol, configure the matching combination, and wire for that transport. This article gives the pairing table, the standards behind each name, a worked serial-link calculation, and the decision for each case.

A protocol and its transport are two separate choices #

A protocol defines the language: who initiates an exchange, how a device is addressed, what the request and response frames mean, and how errors are reported. The transport defines the wire: connector, voltage levels, bit timing, and where one frame ends and the next begins. Most fieldbus confusion starts when those two decisions get merged into one.

Modbus shows the split most clearly, because one protocol deliberately ships on two transports. The register model, function codes and exception responses are identical in both flavors. Modbus RTU carries its frames as raw serial bytes with a CRC on the end, and the Modbus Organization's serial-line specification requires a silent gap of 3.5 character times before and after every frame so receivers can find the frame boundaries. Modbus TCP carries the same exchanges inside TCP on Ethernet, and the protocol reserves TCP port 502 for that purpose: a device that serves Modbus TCP listens on that port. Same protocol, two transports, two wirings.

PROFINET and PROFIBUS are each a complete package, protocol and transport bound together, and both sit in the IEC 61158 industrial communication standard family. PROFIBUS is the family's RS-485 fieldbus profile: a configured master cyclically exchanges I/O data with its slaves over one multidrop segment. PROFINET is the family's real-time Ethernet profile: the controller and its named devices exchange prioritized Ethernet frames across a switched network. RS-485 itself is only an electrical standard — differential signaling levels, biasing and loading. It says nothing about message content, which is exactly why two unrelated protocols can share that wiring while remaining strangers to each other.

The four pairings side by side #

Read the table by columns: the protocol column is what you configure in the PLC program, the transport column is what you wire, and the last column is where each pairing lands on an S7-1200.

Pairing Protocol on top Transport and wiring Network role On an S7-1200
PROFINET PROFINET IO Switched industrial Ethernet Controller exchanges cyclic I/O with named devices The onboard PROFINET port
PROFIBUS DP PROFIBUS DP RS-485 multidrop, one master Master exchanges cyclic I/O with configured slaves A PROFIBUS communication module
Modbus RTU Modbus Serial, normally two-wire RS-485 One master polls slave devices by unit address A serial RS-485 communication module
Modbus TCP Modbus Ethernet, inside TCP on port 502 Clients read and write a server's registers by IP address The onboard PROFINET port

The table also settles the most common mix-up: PROFIBUS DP and Modbus RTU both name RS-485, but nothing else about them matches. Different frame formats, different addressing, different roles — a PROFIBUS slave never answers a Modbus poll, on the same cable type or any other.

Why the names get mixed up #

PROFINET and PROFIBUS share part of a name and a standards family, and nothing on the wire. Their frames are not the same data at two speeds; they are different protocols with different device models. The bit rates differ too — PROFIBUS DP is specified up to 12 Mbit/s on its RS-485 segment, while PROFINET rides 100 Mbit/s switched Ethernet — but that speed gap follows from the architecture rather than defining it. Calling either one a Modbus variant is a category error: there is no PROFINET Modbus and no PROFIBUS Modbus. A gateway that carries Modbus data across either network is converting between protocols, not blending them.

Modbus RTU and Modbus TCP are the opposite case: one protocol, two transports. The registers and function codes survive the move from serial to Ethernet, but the framing, addressing and wiring change completely, and the two ends cannot hear each other directly. Bridging them takes a device that terminates one transport and originates the other — exactly what a Modbus TCP bus coupler does when it exposes its serial-side I/O as Ethernet registers, the setup in a guide to running analog I/O over a Modbus TCP bus coupler.

What each pairing looks like on an S7-1200 #

The onboard PROFINET port is one Ethernet interface with two protocol roles available: PROFINET IO toward PROFINET devices and Modbus TCP toward Modbus clients and servers. Both roles, plus S7 communication on top, can share that single port — the article on running Modbus TCP and S7 communication together on one CPU port works through that combination.

For the serial pair, the S7-1200 documentation allows up to three communication modules (CMs) of any type plus one communication board (CB) — four communication interfaces in total — with each CM installed to the left of the CPU or another CM. A serial RS-485 module in that position gives Modbus RTU its transport; a PROFIBUS module in the same kind of position gives PROFIBUS DP its transport. No setting turns the onboard Ethernet port into a serial master: the transport has to exist as hardware first.

That port-to-partner discipline also explains a classic misdiagnosis. A watch table that reads zeros through a PROFINET gateway is not a Modbus problem — the article on why an S7-1200 watch table reads zeros from a PROFINET gateway traces it inside the PROFINET pairing. Likewise a failed connection setup is a pairing fault, and fixing PROFINET connect errors between a controller and an S7-1200 stays on the PROFINET side rather than touching Modbus settings.

Worked example: twelve Modbus RTU meters on one serial port #

Take a concrete line: twelve energy meters, each with a two-wire RS-485 port and no Ethernet, wired as one multidrop segment to a serial RS-485 module on the S7-1200. The program polls each meter for four holding registers using function code 03, at 19200 bit/s with even parity, so every byte on the wire is 11 bits: one start, eight data, one parity, one stop.

One exchange is a request of 8 bytes plus a response of 13 bytes: 21 bytes, which is 21 × 11 = 231 bits. Modbus RTU requires the silent gap of 3.5 character times between frames, and 3.5 × 11 = 38.5 bits. Each meter therefore costs 231 + 38.5 = 269.5 bits, and at 19200 bit/s that is 269.5 ÷ 19200 ≈ 14.0 ms. Twelve meters polled in sequence take 12 × 14.0 ≈ 168 ms per full round, so each meter is updated about six times per second. The arithmetic assumes each meter replies promptly inside the frame gaps; a slow meter stretches the round by its own delay.

That result is the decision basis for the transport choice. For energy logging, a 168 ms round is generous. If a process needs these values every 50 ms, this serial pairing at these settings cannot deliver it — the honest options are fewer registers per poll, fewer meters on the segment, or moving the meters to Modbus TCP, a transport change that removes the wire-time limit and replaces it with connection handling on the CPU. The general behavior behind such a round is the subject of the article on why Modbus RTU polling on one serial port is slow.

The decision for each case #

  • The partner has an Ethernet port and speaks PROFINET: configure PROFINET IO between it and the onboard PROFINET port, with the device named in the controller's device configuration. No Modbus configuration applies to that device, and none of its I/O travels over serial wiring.
  • The partner has an Ethernet port and speaks Modbus: configure Modbus TCP toward it on the same onboard port. It shares that port with PROFINET and S7 communication.
  • The partner has only a serial port and speaks Modbus: fit a serial RS-485 communication module, wire the multidrop with terminators at both cable ends, and budget wire time from the worked example — about six updates per second per meter on a segment of twelve at those settings.
  • The partner speaks PROFIBUS: fit the PROFIBUS communication module, keep that RS-485 multidrop physically separate from the Ethernet line, and configure the master and its slaves. Ethernet settings and Modbus settings have no effect on that network.

For a comparison that adds CANopen to these options, see the guide on choosing between Modbus, Profibus and CANopen.

One safety note belongs here: make protocol and interface changes as a planned stop, because a configuration download that breaks a fieldbus link stops the machine — and safety functions keep their own validated configuration regardless of which protocol the change touches.

Questions asked

Can an S7-1200 run Modbus RTU and Modbus TCP at the same time?

Yes. They use different interfaces, so the two exchanges do not compete for one port: Modbus TCP runs on the onboard PROFINET port, Modbus RTU on a serial RS-485 communication module, and the CPU's documentation allows several communication modules alongside the Ethernet port. Each link keeps its own budget — the serial round takes the wire time computed in the article, while the Ethernet exchanges proceed independently of it.

Is Modbus TCP just Modbus RTU frames wrapped in Ethernet?

No. The register model and function codes carry over, but the frame itself changes: the RTU frame's unit address and CRC give way to TCP/IP addressing and its error checking, and the serial silence rules disappear entirely on Ethernet. That is why a converter between the two transports must reframe every message rather than pass bytes through unchanged.

Do I need a gateway between a PROFINET controller and a Modbus TCP device?

Yes, whenever the device does not exist in a PROFINET version. The two protocols have different data models, so the converter terminates the Modbus TCP session on one side and plays the PROFINET device role on the other. The controller sees the converter as its PROFINET device, and the converter maps that cyclic I/O data to the Modbus registers it holds or fetches from the Modbus side.

Can Modbus RTU and PROFIBUS share an RS-485 segment because both use it?

No. RS-485 is an electrical layer standard: it defines differential signaling, voltage levels and loading, not message content. A PROFIBUS slave will not answer a Modbus master poll, and the reverse fails the same way. What the two genuinely share is wiring practice — twisted pair, terminators at both ends, and a single multidrop segment per port — so keep the protocols apart even when the cable type matches.

Keep reading

  • Selection guide

    Choosing how an S7 PLC talks to a Mitsubishi Q or AnS PLC

    Yes — the link exists on every generation. Put Modbus TCP (QJ71MT91) or Modbus RTU (QJ71MB91) against a Mitsubishi Q series PLC, PROFIBUS master or slave against an AnS or QnAS because those generations had no Modbus modules, and a protocol-converting gateway where the two sides share no interface.

    Industrial networks

  • How-to

    Linking Modbus RTU BMS SCADA to a redundant S7-1500R

    Use one Modbus RTU-to-TCP gateway as the Modbus TCP client, and run the Modbus TCP server on the S7-1500R system IP address that switched communication moves to the surviving CPU. The BMS keeps polling its RS-485 link unchanged; on a switchover the TCP session drops and the gateway reconnects. Set the comm-fail timeout to the measured gap plus one poll interval: 3 s at a 1 s rate in the example.

    Industrial networks

  • Selection guide

    Choosing a ControlLogix path to a Modbus TCP Schneider PLC

    ODVA Volume 7 defines how Modbus devices integrate into CIP; it is not a ControlLogix feature, so no stock 1756 Ethernet module speaks Modbus TCP natively. Choose from four paths: an in-rack or standalone gateway, Modbus TCP written over generic sockets on a 1756-EN2T at firmware 5 with RSLogix 5000 v20 (or a 1756-EWEB), an OPC bridge on a PC, or EtherNet/IP on the Schneider side where the CPU supports it.

    Industrial networks