IMDHMIControls LibraryShop main store

Explainer

Why a LOGO! PLC cannot join a PROFIBUS scale network

Industrial networks Published 7 min read By IMDHMI controls team

Short answer

No LOGO! generation manages PROFIBUS DP and no expansion module adds it, so a PROFIBUS scale never talks to a LOGO! directly. Put a PROFIBUS master in between: an S7-1200 or S7-1500 serving the weight over an S7 Ethernet connection, or a PROFIBUS-to-Modbus-TCP gateway for a LOGO! 8.1 or later; the choice falls out of the LOGO! generation you already have.

On this page
  1. What every LOGO! generation can speak
  2. Why the scale cannot meet the LOGO! halfway
  3. The bus the scale actually sits on
  4. Route one: a PROFIBUS master PLC in front
  5. Route two: a PROFIBUS to Modbus TCP gateway
  6. Worked example: one weight from bus to LOGO!
  7. Decision by case
  8. Questions asked

There is no LOGO! PROFIBUS module to choose and no program that can stand in for one: no LOGO! generation manages PROFIBUS DP as master or as slave, and no LOGO! expansion or gateway module adds that bus. A PROFIBUS scale therefore never talks to a LOGO! directly — a PROFIBUS-capable device must stand between them. The two builds that work are a PROFIBUS-master PLC, for example an S7-1200 or S7-1500, that polls the scale and serves the weight to the LOGO! over an S7 Ethernet connection, or a PROFIBUS-to-Modbus-TCP gateway that hands the weight over as holding registers to a LOGO! 8.1 or later. This article gives the protocol limits behind that no, the bus numbers the bridge inherits, a worked weight calculation and the decision for each generation.

What every LOGO! generation can speak #

The LOGO! communication set is closed and short. 0BA7 units and first-generation 0BA8 units speak the S7 protocol over Ethernet TCP/IP and nothing else. Since LOGO! 8.1 the LOGO! also speaks Modbus TCP/IP. No generation manages PROFIBUS, PROFINET IO or CAN.

LOGO! generation S7 protocol over Ethernet Modbus TCP/IP PROFIBUS DP
0BA7 Yes No No
0BA8, first generation Yes No No
0BA8, LOGO! 8.1 or later Yes Yes No

That table is the whole search space. The expansion range adds I/O and, at most, communication accessories — none of it is a PROFIBUS interface, and none of it becomes one through configuration. If a project needs a LOGO! node on a PROFIBUS network, the answer is not a different module; it is a different device next to the LOGO!, which the rest of this article builds.

Why the scale cannot meet the LOGO! halfway #

PROFIBUS DP is standardized as IEC 61158 type 3, with its communication profiles in IEC 61784-2. In practice the standard fixes three things: an RS-485 physical layer running 9.6 kbit/s to 12 Mbit/s, a data-link layer in which a class 1 master polls its slaves cyclically, and a per-device description — the GSD file — that tells the master's engineering tool what process data each slave exchanges. A weighing transmitter with a DP port is a slave: it answers its configured master and nothing else.

The LOGO! carries none of that stack. It has no RS-485 DP connector, no DP data-link layer in its firmware, and no engineering slot where a GSD file could be imported. Its Ethernet port runs TCP/IP with S7 connections and, from LOGO! 8.1, Modbus TCP — and neither of those protocols tunnels DP telegrams. That is a hardware and firmware limit, which is why no project example, cable or parameter change turns a LOGO! into a bus participant.

One physical-layer trap deserves its own sentence: an RS-485 pair is wiring, not a protocol. Scale indicators often use the same 9-pin D-sub connector family for a Modbus RTU port and for a PROFIBUS variant, so the connector proves nothing — the stack stated in the instrument's manual decides.

The bus the scale actually sits on #

Whatever device you put in as master inherits the scale's segment settings, because a PROFIBUS network runs at one baud rate everywhere. The documented segment limits for the specified Type A cable (twisted pair, 150 Ω characteristic impedance) are:

Baud rate Maximum segment length, Type A cable
9.6 to 93.75 kbit/s 1200 m
187.5 kbit/s 1000 m
500 kbit/s 400 m
1500 kbit/s 200 m
3000 to 12000 kbit/s 100 m

Repeaters join segments into one network, and the terminating resistors sit at the two physical ends of the line. Pick the bridge with a master port rated for the segment's baud; a gateway whose port stops below the configured rate cannot join at all.

Route one: a PROFIBUS master PLC in front #

Any PLC with a PROFIBUS DP master interface can own the scale — an S7-1200 or S7-1500 with its PROFIBUS interface, integrated or as a communication module, or an S7-300 CPU with an integrated DP port. You import the scale's GSD file into the master's hardware configuration, give the slave its bus address, and the weight and status words land in the CPU's process image every scan.

The LOGO! then reads those values over Ethernet, and the pairing is documented: Siemens publishes an application example of a LOGO! 8 as S7 client against an S7-1200 or S7-1500 server. You set the LOGO! side up as the client of that S7 connection in its programming software. Because the S7 Ethernet connection exists on 0BA7 exactly as on 0BA8, this route works for every LOGO! generation — for an 0BA7 it is the only route. A PLC standing in as the fieldbus bridge is a pattern this site also covers with the buses reversed, in Using a PLC as a Modbus RTU to Profibus gateway.

Choose this route when an S7 controller is already on the machine or in the spares rack: it adds no new device class, and the scale's data arrives in a controller your people already program.

Route two: a PROFIBUS to Modbus TCP gateway #

A dedicated gateway plays DP master to the scale on one side and Modbus TCP server to the LOGO! on the other. The specification you select against, in order: DP-V0 master support with GSD import; a master port rated for the segment's baud; cyclic process-data capacity at least as large as the scale's GSD demands; and a documented register map — which process word lands in which holding register, in what byte order, plus a communication-status register the LOGO! can test. The server side listens on the standard Modbus TCP port 502.

On the LOGO! side the configuration is an ordinary Modbus TCP client: point it at the gateway's address and read the holding registers. The addressing half of that setup is the same ground covered in Connecting Modbus RTU devices to a LOGO! 8 controller. This route needs LOGO! 8.1 or later — a first-generation 0BA8 or an 0BA7 has no Modbus stack to run it on.

Reject the transparent RS-485-to-Ethernet converter, however convenient it looks: a byte pipe has no master stack, cannot import a GSD and never polls the slave, so the scale stays silent. The device must be a PROFIBUS master by product description, not by connector.

The scale's GSD file, not this article, fixes the process image — read it first. For the arithmetic, take this illustrative mapping: the GSD defines two output words, word 0 a status word and word 1 the net weight as a 16-bit signed integer scaled in units of 0.01 kg per count; the gateway maps them to holding registers 40001 and 40002; the LOGO! reads register 40002 and receives 2543.

The conversion is one multiplication:

2543 counts × 0.01 kg/count = 25.43 kg

Cross-check against the scale's own display: it must read the same 25.43 kg at that moment, or the map is wrong.

Two further checks catch the classic faults. Range: a signed 16-bit register holds -32768 to +32767 counts, which at this scaling is -327.68 kg to +327.67 kg; if the scale's capacity is larger, its GSD must define a coarser unit or a 32-bit weight, so wire the logic to what the GSD says, not to this example. Byte order: 2543 is hexadecimal 0x09EF, and a gateway or client that swaps bytes shows 61193 (0xEF09) instead — an implausible weight that no scaling factor fixes; correct the map.

One rule is not negotiable: a frozen number is not a measurement. Use the weight in control only while the status word reports a valid reading and the connection is healthy; otherwise hold the last value for display, raise an alarm and stop the dosing sequence.

Decision by case #

  • 0BA7 installed, scale stays on PROFIBUS. No module and no Modbus exist for it. Put a PROFIBUS-master PLC in front and read the weight over an S7 Ethernet connection. If you also want the simpler Modbus bridge, the LOGO! itself must change to an 0BA8 from LOGO! 8.1 on; the compatibility consequences of that move are covered in a LOGO! 0BA7 to 0BA8 migration guide.
  • 0BA8 with LOGO! 8.1 or later, no S7 PLC on site. A PROFIBUS-to-Modbus-TCP gateway is the shortest bridge: one GSD import, one register map, one Modbus client in the LOGO!.
  • An S7-1200 or S7-1500 already on the machine. Give it the DP master role and serve the weight to the LOGO! over S7 — no gateway, no second engineering tool.
  • Scale not yet ordered. Do not choose a PROFIBUS variant for a LOGO! project; take Modbus RTU, Modbus TCP or an analog output instead, and weigh the wider fieldbus trade-off in How to choose between Modbus, Profibus and CANopen.
  • Never, on any generation. A LOGO! PROFIBUS expansion module (none exists), a transparent RS-485 converter (no master inside), or an S7 label read as fieldbus support (S7 over Ethernet is a connection protocol, not a bus).

Questions asked

Can the LOGO! take either end of the S7 Ethernet connection?

Yes. A LOGO! 8 can be S7 client or S7 server: the published application example runs it as client polling an S7-1200 or S7-1500 server, and it can equally serve its own data to another S7 client. In the scale bridge it is the client, so the weight is fetched on the LOGO!'s own cycle. The role moves data that a real PROFIBUS master has already collected; it never adds PROFIBUS capability.

Does the gateway need DP-V1, or is DP-V0 enough for a scale?

DP-V0 is enough. The cyclic process data, the status and weight words, travels in DP-V0; DP-V1 adds acyclic transfers for parameters and diagnostics and matters only if the scale's GSD defines such data and you want it at the master. Select the gateway on DP-V0 master support with GSD import and a documented register map, and treat DP-V1 as a bonus rather than a requirement for weighing.

How many stations can share the scale's PROFIBUS network?

Bus addresses run 0 to 125, and one electrical segment holds up to 32 stations within the length limit of the baud table above. Repeaters tie segments into a single network, with the terminating resistors always at the two physical ends. Your bridge or PLC occupies one free address as master; the scale keeps its configured slave address, and duplicating that address takes the network down.

The scale indicator also has an RS-485 port. Is that a way in without PROFIBUS?

Often, and it removes the bridge entirely. If that port runs Modbus RTU, a LOGO! 8 generation unit can read the instrument directly as Modbus master, using the register map in the indicator's manual. Confirm which stack the model actually runs before wiring, because the same 9-pin connector family serves both Modbus RTU and PROFIBUS variants, and note that an 0BA7 has no Modbus stack for this path.

Keep reading

  • Explainer

    Why an AB7634 Modbus TCP PROFIBUS DP-V1 gateway needs a client

    The AB7634 X-gateway is a slave on both sides: a Modbus TCP server on TCP port 502 and a PROFIBUS DP-V1 slave. It never initiates a transaction, so a PROFIBUS DP master and a Modbus TCP client must both drive its shared internal image. If your Modbus TCP device must be polled, this part number has the wrong role on the Modbus side.

    Industrial networks

  • 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

    Using a PLC as a Modbus RTU to Profibus gateway

    Keep the regulator and let one PLC carry both buses. Poll the regulator over Modbus RTU on a fixed cyclic interval, map every register to a defined PROFIBUS DP location with documented scaling, and hand the BMS a data-valid flag instead of stale values. Terminate each bus at its own two ends; never join RS-485 and PROFIBUS into one network.

    Industrial networks

How to reach a PLC-5/30 DH+ network from a PC HMI driver