Profibus Communication: Working, Diagram & Cycle Calculator

Share:
Communication
How Profibus Communication Works: Token Passing, DP vs PA, Cabling and Bus Cycle Time

Profibus still runs plant networks, from remote I/O racks to valve positioners on a PA segment. This is how masters, slaves, the token and the RS 485 cable work together, and what to check when you commission or troubleshoot a line.

Token passing DP vs PA RS 485 cable table Telegram frames Cycle time calculator

Profibus communication combines token passing between masters with fast master slave polling over a shielded RS 485 pair. We go through the layers, frames and cable rules, then work out a bus cycle estimate you can reuse.

Hello everyone, today we are going to understand how profibus communication works, from the token ring and telegram frames to cable length limits, GSD files and fault finding.
profibus communication
Quick Answer

How does profibus communication work between masters and slaves?

Profibus communication works by passing a token between master stations, and the master holding the token polls each of its slaves in turn. The PLC sends an output telegram, the slave answers with its input data within a few dozen bit times, and the cycle repeats. Example: ten slaves with 8 input and 4 output bytes at 1.5 Mbit/s finish one cycle in roughly 2.7 ms.

  1. Masters form a logical token ring in address order.
  2. The token holder sends a request telegram to slave 3.
  3. Slave 3 replies with its input bytes within Tsdr.
  4. The master polls every configured slave the same way.
  5. The token passes to the next master and the cycle repeats.

What Is Profibus Communication?

Profibus communication is how a PLC or DCS controller exchanges cyclic I/O, diagnostics and parameters with field devices over one shielded twisted pair, using the fieldbus published as type 3 of IEC 61158 and IEC 61784. Masters share the bus through a token, and slaves answer only when polled.

Key Facts
  • DP: RS 485, 9.6 kbit/s to 12 Mbit/s.
  • PA: MBP, fixed 31.25 kbit/s, bus powered.
  • 32 stations per segment, up to 126 addresses per network.
  • Every character is 11 bits: start, 8 data, even parity, stop.

Profibus communication sits in the same family as Modbus, HART and Foundation Fieldbus from our overview of industrial communication protocols. If you know the Ethernet based successor, keep our Profibus vs Profinet comparison open, because many design habits carry over.

Do You Know?

In profibus communication a DP slave never speaks first. It only transmits when a master polls it, so one bad slave rarely blocks the rest of the bus.

Advertisement

How Does Profibus Communication Work?

Profibus communication works in two levels: a token decides which master owns the bus, and that master then polls its own slaves in turn. The Siemens PROFIBUS Network Manual describes the masters as a logical token ring in fixed address order.

A master holding the token may send frames until its token holding time runs out, then it must pass the token on. Slaves never receive the token, so in single master profibus communication the PLC simply keeps polling with a short token frame between cycles.

profibus communication network diagram with token ring RS 485 trunk and PA segment
Diagram by Instrumentation Blog showing two Profibus masters sharing a token, an RS 485 trunk with terminators at both ends, three DP slaves and a PA segment.

A class 1 master (DPM1), usually the PLC, owns the cyclic I/O. A class 2 master (DPM2), usually an engineering PC, handles acyclic diagnostics and parameters.

Token arrivesMaster 2 gets the token from master 1.
Output telegramIt sends outputs to slave 3 in an SD2 frame.
Slave replySlave 3 answers with its inputs after Tsdr.
Next slaveAfter TID1 it polls slave 4, then 5.
Token passesThe token moves on and the rotation repeats.
Quick Tip

Set the highest station address (HSA) close to your real highest address. The master polls every gap address up to HSA looking for new masters, and empty addresses waste profibus communication time.

Which OSI Layers Does Profibus Communication Use?

Profibus communication uses only three OSI levels: layer 1 for the medium, layer 2 (FDL, Fieldbus Data Link) for frames and the token, and a user layer for DP or PA functions. Leaving out layers 3 to 6 keeps the stack small and fast.

LayerProfibus partWhat it does
UserDP V0 to V2, PA profileCyclic I/O, acyclic data, drives
7Application interfaceMaps services to the FDL layer
2FDL with token passingFrames, addresses, checksum, retries
1RS 485, MBP or fibreBits on copper or glass

DP V0 covers cyclic data and diagnostics, DP V1 adds acyclic read, write and alarms, and DP V2 adds isochronous mode and slave to slave traffic for drives. This note on the OSI and TCP/IP models is a quick refresher.

What Is the Difference Between Profibus DP and PA?

Profibus DP is the fast RS 485 version for remote I/O, drives and machines, while Profibus PA is the slow, bus powered MBP version for transmitters and valves in process areas, including hazardous zones. Both use the same DP V1 protocol, so a DP master reaches PA devices through a coupler or link.

Profibus DP

RS 485 pair, 9.6 kbit/s to 12 Mbit/s, locally powered devices.

Best for: Remote I/O, VFDs, motor starters
Factory
Profibus PA

MBP at 31.25 kbit/s, power and data on two wires.

Best for: Transmitters and valve positioners
Process

The Valmet Profibus FieldLink note gives a PA segment up to 1900 m and 32 devices, limited in practice by the 0.5 A segment current. Classic couplers force the DP side down to 45.45 kbit/s, while a DP/PA link decouples the two speeds.

See our DCS fieldbus integration guide for PA beside HART. The PA physical layer matches Foundation Fieldbus H1.

Where profibus communication shines
  • Deterministic cycles of a few milliseconds
  • One cable replaces many 4 to 20 mA pairs
  • Rich device and channel diagnostics
Where it hurts
  • Strict cable, stub and termination rules
  • Speed falls sharply with segment length
  • No native IT network or web access
Advertisement

What Does a Profibus Telegram Look Like?

A Profibus telegram is a string of 11 bit UART characters that starts with a start delimiter (SD), carries destination and source addresses, a function code, data and a checksum, and ends with the end delimiter 0x16. The start delimiter tells every station which of the five frame formats follows.

FrameStart byteUsed for
SD10x10Requests with no data, such as FDL status
SD20x68Variable data, normal cyclic data exchange
SD30xA2Fixed 8 data bytes
SD40xDCToken frame between masters
SC0xE5Short acknowledgement from a slave

An SD2 frame carries SD, LE, LEr, SD, DA, SA, FC, the data, FCS and ED, so it has 9 overhead characters plus user data. The FCS is the sum of the bytes from DA through the data, modulo 256, and each character adds even parity.

Do You Know?

Profibus communication frames repeat the length byte and the SD2 delimiter in the header. The Siemens manual quotes a Hamming distance of 4 for these layer 2 frames.

How Long Can a Profibus Cable Be?

For RS 485 profibus communication, a type A cable segment can be 1200 m long at 93.75 kbit/s or less, but only 100 m at 3, 6 or 12 Mbit/s. The Beckhoff Infosys cabling page, citing EN 50170, lists the values below.

Baud rateMax segment lengthTypical use
9.6 to 93.75 kbit/s1200 mLong field runs, PA couplers
187.5 kbit/s1000 mSpread out process units
500 kbit/s400 mMixed plant networks
1.5 Mbit/s200 mMost PLC remote I/O
3 to 12 Mbit/s100 mDrives and fast machines

Each segment end needs a powered terminator: 390 ohm from B to 5 V, 220 ohm across A and B, and 390 ohm from A to ground. Our article on RS 485 termination and biasing explains why the idle bias matters.

On the 9 pin D sub, pin 3 is B, pin 8 is A, pin 5 is DGND and pin 6 feeds 5 V to the terminator. The cable is a violet shielded twisted pair of about 150 ohm impedance.

  • Terminators ON only at the two ends of each segment
  • Max 32 stations per segment, counting repeaters
  • Max 9 repeaters between any two stations
  • No stubs above 1.5 Mbit/s
  • Shield clamped and bonded at every device
Myth: A repeater only adds length.
Fact: It also counts as a station on both segments it joins.
Myth: More terminators make the signal stronger.
Fact: The PI guideline says extra terminators reflect about one third of the signal, inverted.
Myth: Lowering the baud rate fixes faults.
Fact: It hides weak wiring for a while; the root cause is usually termination, shielding or a damaged plug.

Earthing matters as much as termination, because the DP line shares plant earth with every drive. Follow our grounding techniques guide for reliable profibus communication.

What Is a GSD File in Profibus?

A GSD file is the electronic device data sheet of a Profibus device: a text file from the vendor that tells the configuration tool the ident number, supported baud rates, timing limits such as max Tsdr, and the I/O modules the device offers. Without the right GSD, the master cannot build the correct parameter and configuration telegrams.

1
Install the GSD
Import the vendor file into TIA Portal, STEP 7 or your DCS tool.
2
Set the address
Change the default 126 to a unique address.
3
Pick modules
Match input and output byte lengths to the device.
4
Set bus parameters
Select baud rate, check HSA and watchdog.
5
Download and check
Confirm every slave shows data exchange.

The PI commissioning guideline warns that a wrong GSD version can hide device functions, so match the file to the firmware. Our S7 1200 vs S7 1500 comparison helps when you pick a CPU for a profibus communication upgrade.

How to Calculate Profibus Bus Cycle Time

You can estimate the bus cycle by adding, for every slave, the request frame, the slave response time Tsdr, the response frame and the idle time TID1, then adding one token frame and dividing the total bit times by the baud rate. This gives the pure data exchange time, before retries and class 2 traffic.

Request = 11 × (9 + 4) = 143 bit times
Response = 11 × (9 + 8) = 187 bit times
Per slave = 143 + 30 + 187 + 37 = 397 bit times
Cycle = 10 × 397 + 70 = 4040 bit times
Time = 4040 ÷ 1,500,000 = 2.69 ms

The example uses 10 slaves with 8 input and 4 output bytes, Tsdr 30 and TID1 37 bit times at 1.5 Mbit/s. The 3 character token frame adds 33 plus 37 bit times.

profibus communication bus cycle time solved example for ten slaves at 1.5 Mbit/s
Diagram by Instrumentation Blog showing one slave message cycle split into request, Tsdr, response and idle time, and the total cycle for ten slaves at 1.5 Mbit/s.
Profibus Communication Bus Cycle Time Estimator
Result
Estimated bus cycle: 2.69 ms (4040 bit times)

Tsdr and TID1 are assumptions, so take real values from the GSD and your master. Retries, GAP polling and DP V1 reads add time, so your tool will show a longer target rotation time.

Compare the result with the PLC scan cycle, because inputs are only as fresh as the slower of the two. For raw link capacity sums, try our network bandwidth calculator.

Quick Tip

Each slave carries 18 characters of frame overhead plus Tsdr and TID1. To speed up profibus communication, merge small slaves before trimming data bytes.

Advertisement

How to Troubleshoot Profibus Communication Faults

Start Profibus communication troubleshooting by finding out how many slaves dropped: all of them points to the trunk, the master or termination, one points to that device, and a group after one point points to the plug or repeater there. Then confirm the fix with a bus monitor that shows retries and invalid telegrams.

profibus communication troubleshooting flowchart for bus fault LED and missing slaves
Diagram by Instrumentation Blog showing a bus fault decision tree that separates whole bus, single slave and group failures before final confirmation with a bus monitor.
SymptomLikely causeField check
All slaves lostOpen trunk, master port, terminatorPower off: A to B about 110 ohm
Random drop outsReflections, extra terminator, stubsCount terminators along the line
One slave missingDuplicate address, wrong GSDRead address, compare GSD
Group lost after a pointDamaged plug or repeaterSwap plug, check repeater LEDs
Faults when drives runShield not bondedCheck shield clamps and route

The 110 ohm reading comes from two 220 ohm terminators in parallel, the same check the Beckhoff page uses. The PI guideline adds that type A cable has about 110 ohm per km loop resistance, so 20 ohm means roughly 182 m of cable.

Many checks mirror our Modbus RTU troubleshooting steps, since both use RS 485. For PA lines in hazardous areas, check entity values with the intrinsic safety entity calculator before reconnecting.

PDF
PROFIBUS Commissioning Guideline (PI, Order No. 8.032)
Official PI checklist for cable tests, signal levels, termination and bus monitor diagnostics

When you plan a migration, our Profinet communication guide and the industrial protocol gateway article show how Profibus islands link to Ethernet.

Profibus Communication FAQ

What is profibus communication and where is it used in plants?

Profibus communication is a fieldbus that links PLCs and DCS controllers with remote I/O, drives, transmitters and valves over one shielded pair. DP serves machines and packaging lines, while PA serves refineries, pharma and water plants.

One cable replaces many 4 to 20 mA loops.

What is the difference between Profibus DP and PA with example?

DP runs on RS 485 at up to 12 Mbit/s with locally powered devices, while PA runs at 31.25 kbit/s and powers devices over the bus. A conveyor VFD sits on DP.

A level transmitter on a solvent tank in a Zone 1 area sits on PA.

How to calculate Profibus bus cycle time step by step?

Add request frame, Tsdr, response frame and TID1 for each slave, add one token frame, then divide by the baud rate. Ten slaves with 8 input and 4 output bytes give 4040 bit times.

At 1.5 Mbit/s that is about 2.69 ms.

What resistance should you measure between A and B on Profibus?

With power off and both terminators ON, you should read about 110 ohm between A and B. That comes from two 220 ohm terminators in parallel.

About 220 ohm means one terminator is missing, and a much lower value suggests extra terminators or a short.

Which baud rate is best for a Profibus DP network in plants?

Most remote I/O networks run at 1.5 Mbit/s, which allows 200 m segments and cycles of a few milliseconds. Choose 187.5 or 500 kbit/s when segments are long.

Keep 12 Mbit/s for short, well built machine networks that carry fast drives.

Advertisement

Related Articles

External References

What We Learn Today

  • Profibus communication combines token passing between masters with master slave polling, so every slave is read in a fixed order with predictable timing.
  • Cable length depends on baud rate, from 1200 m at 93.75 kbit/s to 100 m at 12 Mbit/s, with powered terminators at both segment ends.
  • A bus cycle estimate adds request, Tsdr, response and idle time for each slave, which helps you choose baud rate and slave count.
Advertisement
I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for reading!! Happy Learning!!
Sunayana Gadepatil, author at Instrumentation Blog
Author · instrumentationblog.in
Ms. Sunayana Gadepatil is an instrumentation professional, technical writer, and the author behind Instrumentation Blog. With a strong interest in industrial instrumentation, process measurement, and automation, she specializes in simplifying complex technical concepts into clear, practical, and easy to understand insights. Through her articles, Ms. Sunayana shares valuable knowledge on flow, pressure, level, temperature, control systems, and industrial automation for engineers, students, technicians, and industry professionals.
Technically reviewed on

Leave a Reply

Your email address will not be published. Required fields are marked *

Support free learning

Help keep every guide, calculator and tool 100% free

Hosting, software and hours of research go into every article. Even a small contribution helps us publish more in-depth guides for students, technicians and engineers.

  • No paywalls
  • No sign up
  • Free for everyone