Understanding Profibus and Its Core Components

Profibus (Process Field Bus) is an open, digital communication standard widely used in factory automation and process control environments. Developed in the late 1980s and standardized under IEC 61158, it connects controllers (PLCs, DCS), I/O modules, drives, valves, and sensors over a single two‑wire cable. The protocol is deterministic, supporting cycle times as low as a few milliseconds, making it suitable for real‑time control applications.

Profibus comes in two main variants: Profibus‑DP (Decentralized Periphery) optimized for high‑speed data exchange with remote I/O and drives, and Profibus‑PA (Process Automation) designed for intrinsic safety and two‑wire power‑over‑bus in hazardous areas. Both use the same physical layer but differ in data link layer and application profiles.

Key Components of a Profibus Network

  • Profibus Master: The active node that controls the bus. Typically a PLC, a DCS controller, or a PC with a Profibus interface card. The master grants permission to slaves to transmit data.
  • Profibus Slaves: Passive devices that respond only when polled by the master. Examples: remote I/O modules, variable frequency drives, smart sensors, actuators, and valve positioners.
  • Profibus Cable: A shielded twisted‑pair cable (type A is recommended for DP; type B for PA) with characteristic impedance of approximately 150 Ω. The shielding protects against electromagnetic interference (EMI) in industrial environments.
  • Connectors: Typically 9‑pin D‑sub connectors (for DP) or M12 circular connectors (for PA). Connectors often include a built‑in termination resistor selector switch to easily activate bus termination at the ends.
  • Termination Resistors: Two 150 Ω resistors (one at each physical end of the bus segment) that match the cable’s characteristic impedance and prevent signal reflections.
  • Repeaters/Line Couplers: Devices used to extend the network length beyond a single segment (max 1,200 m at 93.75 kbit/s for Profibus‑DP) or to couple a DP segment to a PA segment. Repeaters also provide galvanic isolation.
  • Power Supply Units (PSUs): For active components like repeaters, couplers, and some intelligent slaves. For Profibus‑PA, the “segment coupler” also supplies bus power.

Preparing for Network Setup

Thorough planning dramatically reduces installation errors and commissioning time. Begin by creating a device list and a physical layout drawing of your plant. Identify the locations of the master, all slaves, and the cable path. Determine the required bus length and data rate; longer distances force lower baud rates. Common rates: 12 Mbit/s (max 100 m per segment), 1.5 Mbit/s (max 200 m), 500 kbit/s (max 400 m), 187.5 kbit/s (max 1,000 m), and 93.75 kbit/s (max 1,200 m).

Required Tools and Materials

  • Profibus‑compatible master device (e.g., Siemens CPU with DP port, or a PC with a CP 5621 card)
  • All Profibus slave devices with correct GSD (General Station Description) files
  • Profibus cable – type A (e.g., Siemens 6XV1830‑0EH10)
  • Profibus connectors – preferably with quick‑connect terminals and integrated termination switches
  • Two 150 Ω ±1% termination resistors (if not built into connectors)
  • Repeaters or segment couplers (if total length exceeds one segment or mixing DP/PA)
  • Network configuration software (e.g., Siemens SIMATIC Step 7, TIA Portal, or third‑party tool like Procentec ProfiTrace)
  • Multimeter and Profibus cable tester (e.g., ProfiHub B + BS)
  • Bus monitor/analyzer (optional but highly recommended for troubleshooting)
  • Screwdrivers, wire strippers, cable ties, labeling equipment

Topology Considerations

Profibus uses a linear bus topology (daisy chain) with stubs (drop lines) kept as short as possible – ideally less than 0.3 m. Star and tree topologies require active hubs (repeaters) that function as additional segments. Avoid ring topologies because Profibus does not support redundant path detection. Always plan for physical bus termination at the two farthest ends; improper termination is the most common cause of network failures.

Physical Installation – Step by Step

Step 1: Cable Routing and Grounding

Run the Profibus cable away from high‑voltage power lines, motor cables, and variable frequency drives. Maintain at least 20 cm separation from 415 VAC power cables; use shielded metal cable trays for additional protection. Ground the cable shield at one end only (typically the connector at the master side) to avoid ground loops. In environments with high EMI, consider using ferrite cores on the cable near connectors.

Step 2: Assembling Connectors

Strip the outer jacket 15–20 mm. Expose the braided shield and twist it into a pigtail. Connect the two signal wires (A = green, B = red) to pins 3 (B‑line) and 8 (A‑line) on a 9‑pin D‑sub male connector. Attach the shield pigtail to the connector’s metal housing or dedicated shield clamp. Tighten the screws to 0.4 N·m. For connectors with a built‑in termination switch, set the switch to “OFF” for all devices except the two end devices.

Step 3: Connecting Devices in a Daisy Chain

Start from the master’s Profibus port. Connect the first slave using a pre‑assembled cable, then continue to the next slave, and so on. Each connector must have a female 9‑pin D‑sub on one side and a male on the other (or use a standard cable with two male connectors and a female‑to‑female adapter). Avoid creating “T‑junctions” or stubs longer than a few centimeters. Keep the total number of devices per segment below 32 (including repeaters) to maintain signal quality.

Step 4: Applying Bus Termination

Ensure the two physical ends of the bus (the master and the farthest slave) have termination enabled. If using connectors with a built‑in switch, set it to “ON” on those two devices and “OFF” on all intermediate devices. If using external resistors, connect a 150 Ω resistor between pins 3 and 8 (B‑line and A‑line) inside the connector housing at both ends. The termination must be powered – most Profibus devices supply +5 V on pin 6 for the termination circuit.

Step 5: Powering On and Check Basic Continuity

Power all devices. Use a multimeter to measure DC voltage between pin 3 (B‑line) and pin 6 (+5 V supply): you should see between 4.0 V and 5.25 V. Between pin 8 (A‑line) and pin 6: 4.0 V–5.25 V. Between pin 3 and pin 8: 0.8 V–1.4 V (idle state). If the voltage is near 5 V between A and B, the bus is idle; if it drops to ~0.5 V, there is likely a short or missing termination.

Tip: For critical installations, rent or purchase a Profibus bus diagnostic tool (e.g., Procentec ProfiTrace) that can generate “online” statistics on signal quality, bus load, and error counts.

Configuring the Profibus Network

Configuration is performed using a software tool that can import GSD files – these are electronic data sheets (XML‑based for newer versions) that describe each slave’s capabilities, supported modes, and data lengths.

Step 1: Install GSD Files

Download the latest GSD file for each slave device from the manufacturer’s website. In your configuration software (e.g., TIA Portal), open the hardware catalog and import the GSD files. Some tools automatically detect devices on the bus if the baud rate is set correctly.

Step 2: Set the Bus Profile and Baud Rate

Choose the Profibus profile: usually “DP” (default) or “DP‑V1” for additional services. Select the appropriate baud rate that all devices support. The master must be configured to the same baud rate as the slaves – most modern masters can auto‑detect the baud rate if the bus is operational, but it’s safer to set it explicitly. For new installations, start with 1.5 Mbit/s (a good balance between speed and distance) unless the total cable length exceeds 200 m.

Step 3: Assign Device Addresses

Each Profibus node must have a unique address from 1 to 125 (address 0 is reserved for the master, address 126 for multicast). Use DIP switches on the slave hardware or software addressing if supported. Document the address for each physical device. In the configuration software, add each slave to the bus line, assign its address, and map its input/output data areas to the master’s process image.

Step 4: Configure the Master’s DP Interface

In the hardware config of your PLC, insert the master DP module (e.g., CPU 315‑2DP or CP 342‑5). Set the operating mode to “DP Master”. Then add the slaves in the correct order (the order on the bus). For each slave, define the telegrams: typical examples are “2 bytes input, 2 bytes output” for a simple remote I/O or longer telegrams for drives with control words and actual values.

Step 5: Save, Compile, and Download

Verify that all devices are configured, no address conflicts exist, and the total bus length and number of nodes are within the segment limits. Click “Save and Compile”. If there are no errors, download the configuration to the PLC – either via MPI, Ethernet, or the Profibus interface itself (using a programming cable). The PLC will then attempt to synchronize with the bus.

Testing and Troubleshooting

After downloading, monitor the bus status. Most PLCs have diagnostic registers (e.g., OB86 for rack failures) or LED indicators on the DP master (e.g., “BUSF” LED). A steady green usually means good communication.

Common Problems and Solutions

  • All devices show “Busy” or “Not reachable”: Check termination – are the two ends terminated properly? Is the master terminated? Use a multimeter to verify DC voltages across pins 3 and 8 (should be ~1 V with bus active).
  • Intermittent communication: Inspect connector shielding. Re‑tighten all screws. Look for corrosion on pins. Check cable routing – it may be too close to a motor drive.
  • Address conflicts: Two devices with the same address will cause one or both to be offline. Cycle power to the conflicting devices and re‑assign addresses.
  • Wrong GSD file version: Slaves may have firmware updates requiring updated GSD files. Match exactly.
  • Bus timing errors (e.g., “Syn‑timeout”): Reduce the baud rate. Ensure all devices support the chosen rate. For long cables, use repeaters.
  • High error frame counts: Use a bus monitor to capture telegrams. Look for noise spikes – add ferrite cores or move the cable.

Using a Bus Analyzer for Deep Troubleshooting

A tool like ProfiTrace or the Siemens Diagnostic Repeater can show real‑time bus load, error counters, and even locate the physical position of a faulty segment. This is invaluable for large networks where “wiggle testing” is impractical.

Expanding the Network: Segments, Repeaters, and Redundancy

When your project grows beyond one segment (32 nodes or 1.2 km), you can add repeaters. Each repeater creates an additional segment, effectively doubling the allowable length and node count. For example, a Profibus‑DP link with three repeaters can span up to 4.8 km (four segments of 1,200 m each). Always use galvanically isolated repeaters to prevent ground loops.

For mixed DP/PA systems, use a segment coupler (e.g., Siemens 6ES7157‑0AC83‑0XA0) that converts the RS‑485 DP signal to the MBP (Manchester bus powered) PA signal. The coupler also supplies 24 VDC power to the PA segment – ensure the total current consumption of PA devices does not exceed the coupler’s rating.

For high‑availability applications, consider a redundant Profibus master (e.g., using a “soft redundancy” concept or a hardware solution like Siemens H‑CPUs with active‑standby). This requires careful design of the GSD files and bus profiles, as slave devices must support a “fail‑safe” mode or be connected via two separate physical lines.

Best Practices for Long‑Term Success

  • Label every cable and connector at both ends – use heat‑shrink or printed cable ties. Create a network diagram that includes addresses, device types, and cable lengths.
  • Keep spare lengths of Profibus cable and pre‑assembled connectors in your maintenance stock. Bus cables are prone to damage during machine modifications.
  • Perform a “bus audit” annually: measure voltages, check termination switches, and review diagnostic counters. Replace connectors that show signs of wear.
  • Use only shielded, twisted‑pair cable that meets Profibus specification (cable type A). Avoid cheap alternatives – they cause chronic signal issues.
  • Document the GSD file versions and firmware levels for all devices. This helps when replacing a failed slave years later.

Conclusion

Setting up a Profibus network requires attention to physical installation details, careful configuration, and systematic troubleshooting. By following the steps outlined – from planning the topology and assembling connectors to configuring addresses and verifying bus voltages – you can build a reliable industrial communication backbone. The time invested upfront in proper termination, cable routing, and documentation pays off in reduced downtime and faster commissioning of subsequent automation projects. For further reading, consult the Profibus International website for official specifications and a Siemens Profibus cable data sheet for installation guidelines.