IMDHMIControls LibraryShop main store

Explainer

When two brand-name PLCs share one PROFIBUS network

Industrial networks Published 7 min read By IMDHMI controls team

Short answer

Yes. A PROFIBUS DP line carries exactly one Class 1 master, so make the PLC that owns the drives the master and run the other PLC as a DP slave. If both PLCs must stay masters, give each its own line and join them with a DP/DP coupler, which appears as a slave with its own address on both lines and passes up to 244 bytes in each direction.

On this page
  1. One PROFIBUS line takes exactly one Class 1 master
  2. Case one: one line, the drive-owning PLC as master
  3. Case two: two lines, one master each, joined by a DP/DP coupler
  4. Sizing the coupler map for 3 command bytes and 1 status byte
  5. Map the signal groups so a command cannot be read as feedback
  6. The decision for each case
  7. Questions asked

Yes, two PLCs from different manufacturers can share PROFIBUS — but not as two masters on one line. A PROFIBUS DP line carries exactly one Class 1 master, and slaves only answer the master that polls them. So make the PLC that owns the drives — the Siemens SIMOTION in this arrangement — the master, and join the Mitsubishi Q series PLC as a DP slave through its QJ71PB93D module. If the Q series must stay master of its own network, build two lines and join them with a DP/DP coupler: the coupler shows up as a slave with its own station address on each line and hands the first PLC's outputs to the second PLC as inputs. The four signal groups here — start/stop, speed up/down, speed value and drive condition — fit either arrangement.

One PROFIBUS line takes exactly one Class 1 master #

PROFIBUS DP — defined in EN 50170 and carried into the IEC 61158 series — assigns each line one Class 1 master: the station that owns the cyclic data exchange with every slave on that line. A DP slave never initiates an exchange; it holds its status data ready and consumes the command data the master writes. Two PLCs configured as masters on the same line therefore do not become peers, and the standard defines no cyclic path between their programs. A commissioning tool acts as a Class 2 master — diagnostics and parameterizing rather than the cyclic link between two PLCs — and a tool that claims the only-master role on a running line can take the bus down; why a commissioning tool reporting only master on the bus stops a running PROFIBUS line documents that failure.

The decision rule falls straight out of the standard: whichever PLC commands the drives and polls the field devices is the master, and every other controller joins that line as a slave or sits on a line of its own.

Case one: one line, the drive-owning PLC as master #

Here the SIMOTION already owns the line that runs the drives, so it is the Class 1 master. The Q series joins as a DP slave through the QJ71PB93D, the Q-series PROFIBUS-DP slave module; its PROFIBUS-DP Slave Module User's Manual defines the station parameters and transfer areas the master configuration must match. When the roles reverse and the Q series owns the line, the Q-series PROFIBUS master module is the QJ71PB92D. One PLC running as a DP slave under another PLC's master is a standard PROFIBUS shape: a DP slave module in an S7-1200 serving an S7-400 PROFIBUS master is the same arrangement between two Siemens controllers.

The master configuration imports the slave's device data, assigns its station address and defines the cyclic map: the SIMOTION's command bytes arrive as input bytes in the Q series, and the Q series' status bytes arrive as inputs in the SIMOTION. Master and slave is therefore the direct answer to the question's either-or — the cyclic I/O transfer is the mechanism, and this path needs no extra device.

Case two: two lines, one master each, joined by a DP/DP coupler #

If both PLCs must remain masters — the SIMOTION keeps its drive line and the Q series masters its own I/O line — give each PLC its own line and put a DP/DP coupler between them. The coupler is a slave on both lines, with its own station address on each, and it crosses data cyclically: what one PLC writes as outputs the coupler presents as inputs to the other, in both directions. Its transfer areas are defined in bit, byte, word and double-word widths.

The coupler's documented limits: up to 244 bytes of input plus 244 bytes of output per side, in up to 16 input and 16 output areas, with up to 128 bytes of a transfer consistent within one bus cycle. That per-direction byte bound is the same figure that governs DP-V0 gateway data, and why a PROFIBUS gateway cannot trade input bytes for outputs works through what it cuts off.

The recurring fault on this hardware is an offset mismatch between the two configured maps: bus traffic looks healthy while bytes land in the wrong process-image cells. A documented DP/DP coupler I/O address fault between a SIMOTION D445-2 and an S7 master shows the case and the fix, so it is worth reading before assigning the coupler's addresses on either line.

Sizing the coupler map for 3 command bytes and 1 status byte #

Inputs, and where each comes from:

  • 1 output byte of command bits — start, stop, speed up, speed down: an illustrative allocation for the four discrete commands this exchange needs.
  • 2 bytes for the speed value as one 16-bit word: an illustrative width; the real width is whatever the two programs agree on.
  • 1 input byte of drive condition bits: illustrative as well.
  • Coupler bounds from the DP/DP coupler documentation: 244 bytes per direction, 16 areas per direction, 128 bytes consistent.

Rule in words: the byte totals per direction must fit inside the coupler's per-direction bound; the number of declared areas must fit inside 16 per direction; every value wider than one byte — here the speed word — must sit inside the consistent region so it crosses in one bus cycle instead of being torn across two.

Arithmetic: commands toward the drive-owning PLC = 1 + 2 = 3 bytes out; status back = 1 byte in. Against the bound: 3 / 244 ≈ 1.2 percent of the output side used, 1 / 244 ≈ 0.4 percent of the input side. Areas: one output area plus one input area per side = 2 of 16. Consistency: the whole map is 3 bytes, which is at most 128, so it fits inside one consistent block and the speed word stays whole.

Result: a 3-byte-out, 1-byte-in map fits one DP/DP coupler with two areas, fully consistent.

Decision: the four signal groups fit one coupler. The threshold that ends this arrangement is the coupler's own bound: once the mapped total passes the per-direction byte limit in either direction, or a 17th area is needed, one coupler can no longer carry it — add a second coupler on the two lines or move that traffic to another exchange path.

Map the signal groups so a command cannot be read as feedback #

Cyclic I/O turns one PLC's outputs into the other PLC's inputs, so direction is assigned on purpose, group by group, and written down before either program is written:

  • Start/stop and speed up/down: command bits owned by the commanding PLC, with active states and reset behavior defined in both programs.
  • Speed value: one representation, scale and unit agreed on both sides; in the example, a 16-bit word in engineering units with byte order fixed — which byte is high, which is low — at both ends. Diagnostics can look clean while each end reads the byte order of the speed word the other way around.
  • Drive condition: status bits owned by the drive-owning PLC, each bit bound to one named condition.

The offsets configured in the master's DP setup are what become input addresses in the slave's image, and how PROFIBUS DP byte offsets become S7-1200 input addresses follows that chain offset by offset.

Prove the map before commands reach real drives: write a non-motion test value in the commanding PLC and confirm the exact byte and bit in the receiving PLC, then confirm status returns on its own offsets. Keep the drives under the machine's interlocks until the map reads and writes correctly; only then enable start/stop and speed requests.

The decision for each case #

  • The SIMOTION owns the drives and can master the line: one line. SIMOTION as Class 1 master, the Q series as slave on the QJ71PB93D, the four signal groups mapped as cyclic I/O between the two programs, no extra device.
  • Both PLCs must master their own networks: two lines and one DP/DP coupler. Each PLC keeps its master role; the coupler appears as a slave with its own address on each line and bridges the mapped area within the coupler's per-direction bound.
  • Both PLCs as masters on one shared line: never. The standard defines no cyclic PLC-to-PLC path in that configuration, so no parameter change turns it into a working link — the fix is topological, one master per line.

Either path carries the same application data map; the coupler path adds one device and one station address per line and keeps each PLC's own network independent.

Questions asked

What if the Q series PLC must be the PROFIBUS master?

Then the Q series takes the QJ71PB92D PROFIBUS master module and owns the line, and the Siemens controller must present a slave-capable DP interface on that line; if it cannot, the design falls back to the two-line coupler arrangement. The one-master rule never changes with brand: whichever controller polls the line is the Class 1 master, and everything else on that line answers it as a slave.

How many stations can one PROFIBUS DP line carry?

Station addresses run from 0 to 126, with 127 reserved for broadcast traffic. An RS-485 segment carries up to 32 stations including the master and any repeaters; repeaters extend the line electrically without adding addresses. A DP/DP coupler consumes one station address on each of the two lines it joins, so count it like any other slave when addresses are assigned.

What does the consistent-data limit actually protect?

Consistency means a group transfers inside one bus cycle, so a 16-bit speed value cannot arrive with one byte from the current cycle and the other from the previous one. Any value wider than one byte must sit inside the consistent region of the coupler map, and both programs should read or write such an area in one access rather than byte by byte.

Can a DP/DP coupler pass double words?

Yes. Coupler transfer areas are defined in bit, byte, word and double-word widths, within the same per-direction and area-count bounds. Declare the width on both sides so the receiving PLC reads the same four bytes as one 32-bit value, and keep any multi-byte value inside the consistent region of the map so it cannot be torn across bus cycles.

Keep reading

  • Explainer

    Why an S7-200 with EM277 cannot be a PROFIBUS master

    No — an S7-200 with an EM277 cannot take the PROFIBUS DP master role. The EM277 is documented only as a DP slave module and the CPU222 only as an MPI slave, so the network needs a controller with an integrated DP master, such as an S7-300 CPU315-2 PN/DP, with the IO-Link master module added as its DP slave.

    Industrial networks

  • Explainer

    Reading an existing DeviceNet network from a new PROFIBUS PLC

    Yes: a new PROFIBUS PLC can read existing DeviceNet data while keeping its own network, but only through a device that is a real participant on both networks at once — a PROFIBUS interface added to the existing controller, or a gateway whose DeviceNet role (adapter, scanner or explicit client) reaches the wanted values. A cable adapter cannot do it, and the role choice decides whether the running system must change.

    Industrial networks

  • How-to

    S7-1200 CM 1242-5 DP slave to an S7-400 PROFIBUS master

    A 1214C AC/DC/RLY with a CM 1242-5 exchanges cyclic data with a CPU 416-5H PROFIBUS DP master once both projects agree on a unique station address in the 0–125 range, byte-identical transfer areas and consistent word access. Prove the byte map with known values before any output is enabled.

    Industrial networks

Can an S7-1500 control drives on a CC-Link IE Field network