IMDHMIControls LibraryShop main store

Troubleshooting

Why only master on the bus in STARTER shuts a running PROFIBUS line

Industrial networks Published 9 min read By IMDHMI controls team

Short answer

The line dies because checking only master on the bus tells the PG to grab the token, and the running S7-300 class 1 master already holds it: two masters, one bus fault. On a live line, leave the box unchecked, give the PG an unused node address (never 0, the PLC's address, or the drive's), set the PG to the rate the bus runs, and STARTER connects online without stopping production.

On this page
  1. Why does going online in STARTER shut down the whole line?
  2. What does only master on the bus change in the connection dialog?
  3. Which PROFIBUS node address can the PG safely use?
  4. What bus rate should the PG be set to?
  5. How do I check the bus before I try to connect?
  6. How do I connect with the line stopped or the PLC unplugged?
  7. What termination does the PG drop cable need?
  8. How do I go online without stopping production?
  9. Questions asked

Checked, only master on the bus tells the PG to transmit without waiting for the token, and the S7-300 or S7-400 class 1 master already running the line holds that token: two masters touch one segment, the PLC raises its bus fault, and the drives trip. Leave the box unchecked on a live line, give the PG a node address the bus scan shows as vacant — never 0 — set the PG to the rate the segment runs, and STARTER goes online while production continues. Check the box only when the line is stopped and the PG is the only master, which is exactly the case your direct cable to the drive's control unit already covered.

Why does going online in STARTER shut down the whole line? #

Because the PG transmitted without holding the token: with only master on the bus checked, STARTER ignores the ring while the running S7-300 or S7-400 class 1 master keeps cycling the drives, so two masters drive one segment and the PLC raises its bus fault and drops the line.

PROFIBUS DP, standardized as EN 50170 and IEC 61158 type 3, lets several masters share one segment by passing a single token: only the station holding the token may transmit, slaves never speak unless polled, and every master waits its turn. The PLC is the class 1 master that owns the cyclic I/O exchange with the drives. A PG running STARTER is a class 2 master: it joins the ring, waits for the class 1 master to pass it the token, and spends that turn on the acyclic parameter and diagnostic reads that commissioning needs. The checkbox is what switches that handshake off.

Station Role on the segment What it may do
S7-300 or S7-400 CPU Class 1 master Holds and passes the token, cycles I/O data to every slave
PG running STARTER Class 2 master Waits for the token, then reads parameters and diagnostics acyclically
Drive control units Slaves Answer only when polled, never transmit on their own

With the box checked, the PG transmits on its own clock. The token pattern every other station expects turns to garbage, token management between masters collapses, and the CPU's bus-fault LED does the rest: the drives lose their control word and trip on communication fault. The checkbox is the usual cause of the shutdown you saw; a duplicated address is the second cause, and the section below takes that one.

Decision: on a running line, the box stays unchecked.

What does only master on the bus change in the connection dialog? #

One thing: whether the PG asks for the token or ignores it. Checked, the PG transmits as if it were alone on the segment, which is correct only where no PLC master is running; unchecked, it performs the token handshake with the PLC and waits its turn like any other master.

So the box is not a connection-quality setting; it is a statement about who owns the bus. Live line with the master running: unchecked. Stopped line, direct cable to a drive, or any segment where the PG genuinely is the only master: checked. The dialog remembers the last state between sessions, which is how a setting that worked for yesterday's stopped-line commissioning quietly crashes today's running segment — recheck it every time you move between the two situations. The names here follow the STARTER V4.4 connection dialog, and the same dialog offers a Check Address control that the final checklist uses at the right moment.

Which PROFIBUS node address can the PG safely use? #

Any address the bus scan shows as vacant; never 0, never the class 1 master's own address (commonly 2), and never a drive's address (a fresh control unit takes 3, set in its p0918).

Two different failures hide behind trying addresses one after another. A duplicate is destructive: two stations answering one address corrupt the token exchange and the polls, every master on the segment logs faults, and cyclic I/O to the drives collapses — that is how experimenting with addresses shut the line down. Address 0 fails differently: it is the conventional programming-device address, and where another station already holds it the driver never completes a connection, with the box checked or unchecked, which matches what you saw. Defaults are only a first guess, so read the real values: the master's from the PLC project's subnet settings, the drive's from p0918 or from the unit's display at power-up, and the occupied list from the scan. Fix one vacant address in the PG settings, for example 22 if the scan shows it vacant, and keep it as the PG's own address on every network you service.

Decision: scan first, then park the PG on one vacant address and leave it there.

What bus rate should the PG be set to? #

Match the segment, which on this plant runs at 1.5 Mbit/s: the PG adapts to the bus, never the other way round, and moving the plant itself to 12 Mbit/s buys nothing while halving the allowed segment length and making every connector and drop more critical.

All stations on one segment share one rate, so the PG's rate setting must equal the one already running; the PLC project and the drives stay untouched. A faster rate narrows the timing and noise margins, which is why a plant that runs well at 1.5 Mbit/s has no reason to re-rate. Worked example: say the trunk runs from the PLC panel through five control units on 35 m centres, so 5 × 35 m = 175 m of trunk. A PROFIBUS segment at 1.5 Mbit/s may run 200 m, so 175 m fits with 25 m spare. At 12 Mbit/s the limit is 100 m, so the same trunk is 75 m over and would need repeaters before it works at any noise level. The rate stays where the geometry supports it.

Decision: set the PG to the segment's own rate, the one STARTER already reports for this bus.

How do I check the bus before I try to connect? #

Run the diagnostics scan from the PG/PC interface settings while the line runs: it proves a bus is present at the set rate and lists which addresses answer, so you can park the PG on a vacant one before STARTER ever goes online.

First pair the access point with the interface: the settings pair an access point name — S7ONLINE for STEP 7 traffic, DEVICE for a STARTER session — with an interface, and on the internal card in your PG that interface is CP5711.PROFIBUS.1. A scan launched on a wrongly paired access point reports no bus at all and sends you chasing wiring that is fine. Then read the station list as an occupancy map: the master, each control unit, any remote I/O drops, your own PG, and the gaps between them — the gaps are the addresses you may take. A scan that returns nothing at the segment's rate is itself a finding: check the drop cable and the connector switches first, because the scan looks at the same wires your connection would use.

How do I connect with the line stopped or the PLC unplugged? #

With no class 1 master running there is no token to wait for, so this is the one case where the box belongs checked: the PG then runs the segment itself, polls the drive directly, and STARTER connects — which is why your cable straight to the control unit worked.

The trap runs the other way: the box stays set after the stopped-line session, and the next live connection inherits a token grabber. Treat the checkbox as state you carry between jobs, not as a property of the network. When the PLC is running, routing the session through its own master is another way onto the drive, set up in Connecting STARTER to a PROFIBUS drive through an S7-300; reaching a G120 by that routing is a different path with its own limits, covered in Why STARTER cannot go online to a G120 over PROFIBUS routing.

Decision: stopped line — box checked; live line — box unchecked, every time.

What termination does the PG drop cable need? #

Exactly two terminated stations per segment, at the two physical ends: tap the PG in mid-run with its connector switch off, leave the through connector's switch off as you have it, and switch terminators on only where a node sits at a physical end, including a direct PG-to-drive cable.

The two resistors soak up the signal at the cable's ends so it cannot reflect back into the segment; that is why an unswitched drop cable is harmless in the middle of a run and why the piggybacked connector's switch belongs off. The resistors feed from the connector's VP pin, so a terminator works only where the node supplies that pin — one more reason to leave the ends to the stations designed to hold them. Never make room for the PG by pulling a connector on the running segment: lifting the terminator off the last station can silence the whole line, and interrupting drives under load is a call for the line owner, not a settings fix.

Decision: mid-run tap, switches off at the tap; direct cable, a terminator on at each end.

How do I go online without stopping production? #

You set four things in order and then connect: the access point mapping, the segment's rate, a vacant node address, and the checkbox, with the diagnostics scan between the address and the connection so nothing unproven reaches a running line.

  1. Open the PG/PC interface settings in the Windows control panel with the line running.
  2. Map the access point your STARTER session uses, S7ONLINE or DEVICE, to CP5711.PROFIBUS.1.
  3. Set the interface rate to the segment's own rate.
  4. Run the diagnostics scan and write down every occupied address.
  5. Set the PG's node address to a vacant one — not 0, not the master's, not a control unit's — and run the dialog's Check Address control against the live segment.
  6. Confirm only master on the bus is unchecked, then connect from STARTER.
  7. After any stopped-line or direct-cable session, uncheck the box again before the next live connection.

Decisions, case by case. Running line: box unchecked, vacant address, the segment's own rate, tap in mid-run with the nearby switches off — STARTER shares the token with the PLC and the line keeps producing. Stopped line or direct cable: box checked and a terminator on at each end. A segment where 0 answers the scan: any other vacant address, and none of the other settings change. This trunk at 12 Mbit/s: no, the worked example rules it out. And if every setting above is right yet the CPU still logs intermittent bus faults, the PG has left the scene — that is wiring or interference on the segment, the territory of Troubleshooting intermittent PROFIBUS dropouts on an S7-400 network.

Questions asked

Why did the same settings work on one network and fail on another?

Settings are half the story; the bus is the other half. On the working segment the address you picked was vacant and the token ring was healthy, so the handshake completed. On the problem segment something already holds that address, and the conventional squatter is the programming-class address 0. Scan both segments with the interface diagnostics and compare the occupied lists; you will normally find an address clash, not a fault in STARTER.

Do I have to change anything in the PLC project to connect the PG?

No. Everything you touch lives on the PG: the access point mapping, the interface rate, the node address, and the checkbox. The CPU's hardware configuration, the drive parameters, and the segment's rate all stay as they are. If a bad attempt tripped the line, nothing in the PLC project needs editing either. Reset the resulting CPU and drive faults per the line owner's procedure, correct the PG settings, and connect again.

What does the address check in the connection dialog actually do?

It compares the node address you have chosen against the stations currently answering on the segment, before your PG speaks with them. Run it after the diagnostics scan and before connecting: if it reports the address in use, treat that address as taken and pick another, because a duplicate does not just fail your session. Two stations answering one address can disturb the token exchange enough to drop other devices off the bus.

Does going online with STARTER slow the PLC's exchange with the drives?

Marginally, and only while you stay online. The PG holds the token for its share of each cycle and spends that share on acyclic parameter reads, while the class 1 master continues its cyclic I/O in the remaining turns. Parameter uploads and long diagnostic sessions take bigger bites; routine online monitoring is barely noticeable. If the segment already runs close to its cycle budget, schedule heavy parameter work for a quieter window.

Keep reading

  • Troubleshooting

    Control a Modbus drive from a PLC over PROFIBUS DP

    Yes — a PROFIBUS DP master controls a Modbus-only drive through a protocol-converting gateway, and the gateway, not the drive, is the DP slave. It works when the gateway runs DP slave plus Modbus RTU master, the drive is in Modbus mode with fieldbus command source, the GSD module lengths match the mapping, the register map is byte-order tested, and the PLC sequences the control word with a defined bus-loss stop.

    Industrial networks

  • How-to

    Read MICROMASTER 440 fault and alarm codes over PROFIBUS

    Yes: the fault and alarm numbers can ride the cyclic PROFIBUS telegram. p2051 selects which r-parameter each transmitted PZD word carries, so setting a spare index to the fault-number readout, r0947, delivers the fault number to the PLC every bus cycle. The relay output is a separate function that switches only if its own output-function parameter assigns it to the fault state.

    Industrial networks

  • Selection guide

    Selecting a PROFIBUS DP to CANopen gateway for S7-400 drives

    A mapped PROFIBUS DP to CANopen gateway exchanges a configured process image, not raw CAN frames the S7-400 builds. Select it on whether the gateway performs CANopen startup and node management for the drives, whether its PDO mapping covers the drive command and status objects, and whether it supports the consistent DP transfers SFC 14 and SFC 15 require. The 488-byte and 320-byte exchange figures on the shortlisted units decide only the byte headroom, not capability.

    Industrial networks