Problem Context: Multi-LOGO! Coordination for Building Automation
A recurring automation requirement in multi-floor residential and small commercial buildings is to coordinate several Siemens LOGO! controllers — typically one per floor — to drive a shared function such as shutter, blind, or awning control. The reference application in the field typically involves four or five LOGO! units, each running its own local program (local pushbutton station, end-limit evaluation, runtime monitoring, thermal cut-out) but needing to respond to a central command such as "raise all blinds" or "lower all blinds" without investing in a full KNX/Instabus infrastructure.
Engineers evaluating this architecture quickly find that the LOGO! platform historically does not provide an onboard networking layer for the classic 0BA5/0BA6/0BA7 base units. The base unit exposes only local digital inputs, local digital outputs, optional analog inputs, and the LOGO! TD text-display port. There is no native CAN, RS-485, or Ethernet bus between LOGO! peers on those generations. As a result, multi-unit coordination must be solved through one of four engineering paths:
- Wired point-to-point I/O handshake between units (DO/DI bus).
- Parallel wiring of shared sensors and central commands to every unit simultaneously.
- Pulse-frequency signaling between units using transistor outputs and threshold triggers.
- A retrofittable communication module (CM EIB/KNX, or the onboard Ethernet of a newer LOGO! 8 generation).
This reference documents the wired and signaling methods that work on the classic LOGO! generations, and compares their cost, scalability, and commissioning effort against the KNX/Instabus alternative.
Native LOGO! Networking Constraints
For the LOGO! 0BA5 and 0BA6 base modules, the hardware does not provide any inter-controller communication path. Programming and online monitoring are performed over the LOGO! PC cable (RS-232 to the LOGO! port), but no protocol exists to exchange data between two base units over that port. The 0BA7 generation adds a 10/100 Ethernet jack on the "...E" variants, but the Ethernet port is restricted to LOGO! Soft Comfort programming and SD-card web-page download — it is not a peer-to-peer bus.
| Generation | Base Network Interface | Native Peer-to-Peer |
|---|---|---|
| LOGO! 0BA5 / 0BA6 base units | None (programming port only) | Not supported |
| LOGO! 0BA7 (12/24 RCE, 230 RCE) | Ethernet for LOGO! Soft Comfort only | Not supported |
| LOGO! 0BA8 (Standard / Pure) | 10/100 Ethernet onboard | Up to 16 S7 connections, Modbus TCP server, web server |
KNX/Instabus Cost Reference: Why the Path Is Often Rejected
KNX/Instabus is the architecturally clean answer for distributed building automation and the supported Siemens path for LOGO!-to-building-bus integration. The CM EIB/KNX communication module plugs into the left side of any LOGO! base unit and exposes a subset of LOGO! variables as KNX group objects. However, the total system cost is driven by items that are external to the LOGO! itself:
- One CM EIB/KNX module per LOGO! — historically in the €150 retail range each at single-unit list.
- KNX-certified twisted-pair cable (typically a green-jacketed EIB/YcYM 2x2x0.8 mm) run in a bus topology from device to device, with bus terminations.
- A KNX bus power supply — e.g. SIEMENS N 125/22 (or N 125/13) — supplying 29 V DC SELV with integrated choke.
- A KNX/USB or KNX/IP interface for engineering — e.g. SIEMENS N 148/11 (USB) or N 146 (IP router).
- Licensed ETS (Engineering Tool Software) — at the time of the original field discussion, ETS3; current releases are ETS6 — sold as Professional or Light edition.
- KNX integrator training and certification, mandatory for some ETS licences and for certified project handover.
For a 4-LOGO! project that exists to roll up four sets of blinds in the evening, the KNX path is structurally correct but financially disproportionate — the field consensus is that it represents roughly a ten-times cost factor over a hard-wired solution. The next sections document the engineering alternatives.
Method 1: Bidirectional Wired DI/DO Network
The classic field technique to exchange control information between two or more LOGO! units is to wire relay or transistor outputs from one unit directly into the digital inputs of the other units. The bus is the wire, and the protocol is the contact pattern on that wire.
Two-LOGO! Configuration (4 states per direction)
With two digital outputs from LOGO! 1 wired to two digital inputs of LOGO! 2, and two outputs from LOGO! 2 wired to two inputs of LOGO! 1, each unit can command four mutually-exclusive states to its peer:
| LOGO! 1 -> LOGO! 2 (Qa, Qb) | Meaning | LOGO! 2 Action |
|---|---|---|
| 0 0 | No command (idle) | Local control only |
| 0 1 | Command A (e.g. raise) | Drive shutter UP |
| 1 0 | Command B (e.g. lower) | Drive shutter DOWN |
| 1 1 | Command C (e.g. central close + lock) | Drive shutter and disable local control |
The reverse wiring allows LOGO! 2 to send its own four-state command set back to LOGO! 1. With two pairs of wires you therefore have a fully bidirectional 4-by-4 state exchange — 16 unique combinations if both sides drive simultaneously, of which only the meaningful subsets are used in practice.
Three-LOGO! Configuration (addressing expansion)
To add a third LOGO! to the same two-wire command bus, you must assign a unit address. The third wire pair (one extra DO from the sender, one extra DI on every receiver) acts as the address-enable. The standard expansion rule is:
- Sender uses 3 DO bits: [A] [B] [ADDR].
- Receivers each have 3 DI bits wired in parallel to the bus; only the unit whose hard-wired "address" input matches the ADDR pattern will accept the command.
This consumes one I/O bit per additional addressable unit, so four LOGO! units require 4 DO + 4 DI per command channel at the sender, and 4 DI per receiver. For practical building projects with 4–5 floors, this still fits inside the LOGO! 0BA7 I/O budget (24 DI / 16 DO on a fully expanded base plus DM16 expansion modules).
Handshake Discipline
The wiring above is only half the engineering. Without a handshake protocol, two units can drive the bus into a 1-1 collision, and a receiver cannot distinguish "command still active" from "command latched and forgot to clear". The standard discipline is:
- Sender asserts the 2-bit command word, then a 200–500 ms "strobe" pulse on a third DO line.
- Each receiver latches the command on the rising edge of the strobe, executes the action, and acknowledges with one DI bit back to the sender.
- Sender holds the command word until all expected acknowledges are seen, then releases all bus lines to 0.
- Each receiver clears its latched command when the strobe returns to 0 and the command word is 00 for a configurable debounce time (typically 1 s) to avoid chattering.
Bidirectional DI/DO Topology (4 floors)
Method 2: Parallel Central Control Pushbuttons
The simplest possible multi-LOGO! architecture is the "common command bus": the central pushbutton is wired in parallel to a dedicated input on every floor's LOGO!. All four controllers see the central UP and central DOWN commands simultaneously and execute them locally against their own shutter.
The reference application for this method is a building with:
- One LOGO! per floor, each controlling one or two shutter motors.
- One central pushbutton station in the entrance or stairwell.
- Local UP / DOWN / STOP pushbuttons in each room, connected to the local LOGO!.
In the Siemens reference example for 8-shutter control, the central UP and central DOWN pushbuttons land on inputs I17 and I18 of each LOGO!, leaving the lower I1–I16 for local control. The local program blocks the central command for a configurable lockout time (e.g. 30 s) after a local command, to prevent a user upstairs from immediately over-riding a central "all down" command in mid-stroke.
Wiring Rules for the Parallel Bus
- Use a single 24 V DC rail (or 230 V AC where the LOGO! is the "R" relay variant and the pushbutton station is mains-isolated).
- Twist the central pushbutton pair with the supply return to reject injected noise.
- Place a 100 nF X2-class capacitor across each pushbutton to suppress contact arcing — the LOGO! 24 V DC inputs sample internally and will see switch bounce as multiple presses if not debounced.
- Keep total cable capacitance below 50 nF to ground. For a typical 0.5 mm² twisted pair this is roughly 200 m of run length; above that, use a buffer relay at the far end.
Local Program Fragment (LOGO! Soft Comfort FBD)
I17 (Central UP) --+ +--[ AND lockout_ok ]-- B001 -- Q1 (Shutter UP)
+--[ OR ]-----------/
I01 (Local UP) --+ ^
|
Timer T01 = 30 s lockout, reset by I01/I02/I03
Method 3: Pulse-Frequency Signaling
When a single wire must carry more than one or two commands between LOGO! units, the field workaround is pulse signaling. A 24 V DC transistor output on the sender generates a square wave at a defined frequency; each receiver decodes the frequency with a LOGO! Threshold Trigger (or a counter at a known clock rate) and acts only on its assigned frequency.
Frequency Plan (4-channel field example)
| Channel | Frequency (Hz) | Period (ms) | Decoded by |
|---|---|---|---|
| Central UP | 5 | 200 | Threshold trigger, on-time 80–120 ms |
| Central DOWN | 10 | 100 | Threshold trigger, on-time 40–60 ms |
| Central LOCK | 20 | 50 | Threshold trigger, on-time 20–30 ms |
| RESET / IDLE | 0 (line held low) | — | No trigger for > 1 s = idle |
Each frequency channel needs a sender pulse generator and a receiver threshold trigger. On a LOGO! 0BA7 the asymmetric clock generator (Asynchronous pulse generator) and the threshold trigger block are sufficient. The receiver must filter for at least 3 consecutive valid periods before accepting the command, which translates to roughly 60–600 ms of detection latency depending on the channel.
Hard Limits
- Only LOGO! variants with 24 V DC transistor outputs can be the sender. Relay outputs cannot reach 20 Hz cleanly and will fail mechanically at that rate.
- All units on the bus must share the same power-supply common (the 0 V rail), otherwise the frequency reference drifts by the ground potential difference.
- Wire length is limited by the rise/fall time of the transistor output driving the bus capacitance. Practical limit is around 50 m of twisted pair for 24 V DC; longer runs need a line driver.
Method 4: ASi Bus and Newer-Generation Ethernet
AS-Interface (ASi) is often proposed as a cheaper fieldbus alternative to KNX for binary I/O. The ASi master sits on a higher-level controller and addresses up to 31 slaves over a two-wire unshielded yellow cable that carries both data and 30 V DC power.
Directly integrated ASi master support does not exist on the classic LOGO! 0BA5–0BA7 base units. The path is to fit a CP ASi master module (for example a Siemens DP/AS-i LINK or a third-party gateway) to a host PLC, then connect the LOGO! I/O to the ASi bus through standard ASi slave I/O modules. The pure-LOGO! solution, with no host controller, cannot use ASi. This is a documented field limitation and is the reason ASi is excluded from a 4-LOGO! standalone project.
If the installed hardware is a newer-generation LOGO! 8 (0BA8) or later, the most architecturally clean solution is the onboard Ethernet port. That generation supports S7-compatible connections to other LOGO! peers, configurable in LOGO! Soft Comfort under network connections; a Modbus TCP server (port 502) for read-only access to LOGO! variables; and a built-in web server exposing VM (variable memory) addresses for browser-based HMI. All four floors' LOGO! units connect to a single 100 Mbit Ethernet switch on the building riser; the central pushbutton station is wired to one designated LOGO! (e.g. ground floor) and that unit multicasts the command to the other three over the S7 connections. The methods documented above remain valid as retrofits on existing 0BA5–0BA7 installations where Ethernet is not available.
Reference Application: Multi-Floor Shutter State Machine
The state machine below is the canonical 4-state model used for a single shutter driven by either a local command or a central command, with mutual exclusion. The same FSM runs in every floor's LOGO!.
Sample Program for a Single Floor (LOGO! Soft Comfort, FBD)
The same program is loaded into every floor's LOGO!. The I/O assignment is:
| Address | Function | Source / Sink |
|---|---|---|
| I1 | Local UP pushbutton (N.O.) | Local room station |
| I2 | Local DOWN pushbutton (N.O.) | Local room station |
| I3 | Local STOP pushbutton (N.C.) | Local room station |
| I4 | Shutter UP end limit (N.C.) | Shutter head rail |
| I5 | Shutter DN end limit (N.C.) | Shutter sill |
| I6 | Motor thermal cut-out (N.C.) | Motor terminal box |
| I17 | Central UP from bus | Central pushbutton (parallel) |
| I18 | Central DN from bus | Central pushbutton (parallel) |
| Q1 | Contactor UP (motor rises) | Shutter motor contactor K1 |
| Q2 | Contactor DOWN (motor lowers) | Shutter motor contactor K2 |
| B001 | OR of local UP + central UP | Internal |
| B002 | OR of local DN + central DN | Internal |
| B003 | Mutual exclusion (UP AND NOT DN) | Internal |
| B004 | Mutual exclusion (DN AND NOT UP) | Internal |
| B005 | Lockout timer enable (30 s after local) | Internal |
| T01 | Winding runtime limit (60 s) | Internal |
The mutual-exclusion logic prevents both contactors from pulling in simultaneously, which would short the motor phase-to-phase through the two contactors. The lockout timer prevents a central "all down" command from immediately reversing a shutter that a local user just started raising.
Wiring, Cable, and Power Supply Specification
| Wire | Color (recomm.) | Gauge | Function | Max Length |
|---|---|---|---|---|
| Central UP | Brown | 0.5–0.75 mm² | Q1 of any floor -> I17 of all 4 floors | 50 m (relay), 200 m (24 V DC) |
| Central DOWN | Black | 0.5–0.75 mm² | Q2 of any floor -> I18 of all 4 floors | 50 m (relay), 200 m (24 V DC) |
| Common 24 V | Blue | 0.5–0.75 mm² | PSU 0 V -> all LOGO! 0 V terminals | — |
| Shield (optional) | Yellow/Green | Drain wire | Cable shield -> earth at one end only | — |
| Motor UP phase | Brown | 1.5 mm² | Q1 -> contactor K1 coil -> L1 | 30 m |
| Motor DN phase | Black | 1.5 mm² | Q2 -> contactor K2 coil -> L1 | 30 m |
Contact Protection
The shutter motor is an inductive load. Even with a contactor between the LOGO! output and the motor, the contactor coil itself is inductive and will generate a back-EMF of several hundred volts at turn-off. Add an RC snubber (100 Ω + 100 nF, X2 class) across each contactor coil to limit the dv/dt to below 1 kV/μs. Without the snubber, the LOGO! relay contact will pit and weld within a few tens of thousands of operations.
Power Supply Sizing
For a 24 V DC system, each LOGO! 0BA7 base draws roughly 85 mA at 24 V with all inputs OFF and 200 mA with all inputs ON. Four base units plus the central pushbutton station and a contactor coil (typically 50 mA holding) requires:
- 4 x 0.20 A (LOGO! worst case) = 0.80 A
- 4 x 0.05 A (contactors) = 0.20 A
- 0.10 A (pushbutton LED indicators, if fitted)
Total worst-case load = 1.10 A at 24 V DC = 26.4 W. Apply a 1.5 derating factor and select a 40 W PSU (e.g. Siemens LOGO! Power 24 V / 1.3 A or equivalent third-party DIN-rail PSU). Do not run a single PSU across more than 8 m of 24 V bus without a remote-sense or local regulation check, otherwise cable drop can pull the far-end LOGO! below its 20.4 V minimum.
Verification, Commissioning, and Troubleshooting
Commissioning Procedure
- Power up each LOGO! individually with the bus disconnected. Verify that the local program runs and the local shutter moves on a local pushbutton press.
- Wire one floor at a time. After each floor is added, press the central UP and central DOWN and verify that only the connected floor responds.
- Once all four floors are wired, press central UP. All four shutters should begin to rise within 1 s of the strobe edge. Time each shutter to its end limit and confirm 60 ± 5 s on a typical residential roller blind.
- Press central DOWN immediately after a central UP, before the shutters reach the up limit. Verify that the FSM transitions to Moving DN and that local controls remain disabled for the configured 30 s lockout.
- Disconnect one LOGO! from the bus (simulate a peer failure). Verify that the other three still respond to central commands. This validates the parallel-bus architecture's fault tolerance.
- Connect LOGO! Soft Comfort in online mode to each floor in turn and confirm that I17 and I18 toggle in the monitoring view when the central pushbutton is pressed.
Troubleshooting Matrix
| Symptom | Likely Root Cause | Diagnostic | Remedy |
|---|---|---|---|
| All floors respond to local control but not to central | Open circuit on central bus wire, or I17/I18 not assigned in the local program | Measure 24 V across I17–COM while central UP is pressed | Repair wire; re-import program block B001 |
| One floor does not move at all | Peer LOGO! output contact welded or transistor shorted | Isolate the floor, measure its I17 with respect to its own 0 V | Replace the LOGO! output module or base unit |
| Shutter chatters / multiple presses on single push | Switch bounce exceeds LOGO! 24 V DC input filter; missing 100 nF capacitor | Scope the pushbutton line; count > 3 edges in 10 ms | Fit 100 nF X2 capacitor across contacts |
| Shutter drives in wrong direction | UP and DOWN output assignments swapped in the program | Online monitor: trigger central UP, observe Q1 vs Q2 | Swap Q1/Q2 mapping in the FBD block B002 |
| Central command works for < 1 s then stops | Strobe line asserted, but command word not held; latching logic releases the command | Monitor the sender LOGO!'s Q3 (strobe) over 5 s | Add a 1 s off-delay (off-delay relay) to the strobe generator |
| Shutter moves in only one direction despite both central commands working | Local end-limit switch wired to wrong input; logic assumes active-high when contact is active-low | Open LOGO! Soft Comfort, force I4 / I5 in simulation | Re-wire end limit to correct input; add NOT block if contact is NC |
| All four floors start but stop at random positions | PSU under-sized; voltage droops below 20.4 V under motor inrush | Scope the 24 V rail during a central command | Upsize PSU to 40 W minimum; add decoupling caps at each LOGO! |
FAQ
How many Siemens LOGO! units can I interconnect with the 2-wire DI/DO method?
Practically four to five. With two DO and two DI per peer pair you have four states per direction. Adding a third peer requires a third addressing wire, and the I/O budget of a fully expanded LOGO! 0BA7 (24 DI / 16 DO) supports up to 8–10 peers before you must add a LOGO! DM16 digital module. Above that, switch to a LOGO! 8 with onboard Ethernet.
Do I need the 24 V DC transistor-output LOGO! variant for the pulse-signaling method?
Yes. Only the transistor-output "T" variants can generate a clean 5–20 Hz square wave. The relay-output "R" variants are limited to roughly 0.5 Hz mechanical cycle rate and will fail mechanically at higher frequencies. The "RC" / "RCE" variants combine relay outputs with 24 V supply and are therefore not suitable as the pulse sender.
Can I mix LOGO! 230 V and 24 V variants in the same multi-unit network?
Yes for the parallel-pushbutton method, with care. The 230 V AC inputs are optoisolated and will accept a 24 V DC signal if wired through a relay, but mixing 230 V and 24 V on the same twisted pair is unsafe and not recommended. For the pulse-signaling or DI/DO handshake method, use the same supply voltage class throughout. Different generations (0BA5, 0BA6, 0BA7) are functionally compatible at the I/O level.
What is the maximum cable length for the parallel central pushbutton bus?
Approximately 200 m of 0.5 mm² twisted pair at 24 V DC before contact resistance and cable capacitance degrade the LOGO! input threshold. For longer runs, buffer the bus with an additional 24 V relay at the far end and route its dry contact back to the LOGO! I17 / I18 inputs.
Is AS-Interface a viable alternative to the wired handshake for a pure LOGO! solution?
No. The classic LOGO! 0BA5–0BA7 base units have no onboard ASi master. ASi requires a separate master module (e.g. a Siemens DP/AS-i LINK or a third-party gateway) and a higher-level host controller, which eliminates the cost and complexity advantage over KNX. ASi only becomes competitive when the LOGO! is already a slave under a Simatic S7 master.