Wiring the Siemens Logo 8.4 — Digital Inputs
How to wire real-world signals into the Logo's digital inputs to detect whether a machine is running. Covers stack lights, door sensors, relay contacts, and proximity switches — with a complete wire diagram and step-by-step instructions for both electrical engineers and IT teams.
The Goal
You have a Siemens Logo 8.4 PLC. You want it to report whether a machine is running or stopped. That data will flow into your Unified Namespace via MQTT, where it drives dashboards, KPIs, and alerts.
But the Logo doesn't magically know if a machine is running. You need to give it a signal — an electrical input that represents the machine's state. This guide covers how to wire those signals into the Logo's digital inputs.
What Counts as "Running"?
There is no universal definition. "Running" depends on your machine and your process. Common approaches:
| Signal Source | Logic | What It Tells You |
|---|---|---|
| Stack light — green lamp | Green ON = Running | Machine is in automatic cycle |
| Safety door sensor | Door CLOSED = Running | Machine is enclosed and operating |
| Motor contactor auxiliary | Contactor CLOSED = Running | Main drive motor is energised |
| Relay from existing controller | Relay ON = Running | Existing PLC or controller says "go" |
| Proximity sensor on spindle | Pulses = Running | Spindle or conveyor is physically moving |
| Hydraulic pressure switch | Pressure OK = Running | Hydraulic system is pressurised |
Prerequisites
Hardware
- ☐ Siemens Logo 8.4 PLC (Master unit — 8 digital inputs I1–I8)
- ☐ 24VDC power supply (e.g. Siemens LOGO!Power, as shown in the wire diagram)
- ☐ Signal source — stack light tap, door sensor, relay contact, or proximity switch
- ☐ Wire — 0.5–1.5 mm² stranded, rated for 24VDC (typically brown/blue or as per your site standard)
- ☐ Terminal block / Klemmleiste (for clean distribution of power and signals)
- ☐ Optional: Siemens Logo DM8 24R expansion module (Slave) for additional inputs I1–I4
Tools
- ☐ Flat-blade screwdriver (3mm — for Logo screw terminals)
- ☐ Wire strippers
- ☐ Multimeter (for verifying 24VDC and continuity)
- ☐ Cable ties and labels
- ☐ Ferrules and crimping tool (recommended for stranded wire)
Software (for testing)
- ☐ Siemens Logo Soft Comfort — for I/O status monitoring
- ☐ MQTT broker and client — see the Siemens Logo 8.4 → MQTT guide
Understanding the Logo Hardware
Before you wire anything, you need to understand what the Logo's terminals actually expect electrically. This section is the foundation — skip it at your peril.
Logo 8.4 Master Unit — Terminal Layout
The Master unit has terminals along the top and bottom edges:
# Top row — Power and Digital Inputs L+ — 24VDC positive supply input M — 0V common (ground/negative) I1 — Digital input 1 I2 — Digital input 2 I3 — Digital input 3 I4 — Digital input 4 I5 — Digital input 5 I6 — Digital input 6 I7 — Digital input 7 (can be analogue 0–10V) I8 — Digital input 8 (can be analogue 0–10V) # Bottom row — Relay Outputs Q1 — Relay output 1 (NO contact) Q2 — Relay output 2 (NO contact) Q3 — Relay output 3 (NO contact) Q4 — Relay output 4 (NO contact)
Digital Input Specifications
| Parameter | Value | What It Means |
|---|---|---|
| Input voltage | 24VDC nominal | The Logo expects 24V signals — not 5V, not 12V, not 230V |
| Logic HIGH | ≥ 12VDC | Anything above 12V is read as ON (1) |
| Logic LOW | ≤ 5VDC | Anything below 5V is read as OFF (0) |
| Input current | ~4 mA per input | Very low — the Logo barely draws any current from your signal |
| Input type | Sink (current sinking) | The input terminal connects to 24V; the common (M) is the return path |
| I7, I8 special | 0–10V analogue capable | Can be used as digital OR analogue — configured in software |
How a Digital Input Works
This is the key concept. A Logo digital input reads ON when 24VDC is applied between the input terminal and the M (common) terminal. That's it.
# Input ON — 24V applied L+ (24V) ──→ through your switch/sensor ──→ I1 M (0V) ──→ common return path # Input OFF — no voltage Switch open → no 24V reaches I1 → Logo reads 0
Every wiring scenario in this guide follows the same pattern: you're routing 24VDC through some kind of switch or contact to a Logo input terminal, with the return path through M.
Wire Diagram
This is a complete evaluation board wiring diagram for the Siemens Logo 8.4. It shows the Master unit with 8 digital inputs (I1–I8), a Slave expansion module (DM8 24RC) with 4 additional inputs, power supply, switches, LEDs, and terminal distribution.
Reading the Diagram
If you're from an IT background, electrical diagrams can look intimidating. Here's what each section means:
| Component | Label | Purpose |
|---|---|---|
| Power supply | T1 (LOGO!Power 24VDC) | Converts 230V mains to 24VDC for the Logo and all inputs |
| Fuse | F1 (4A) | Protects the 230V mains side — essential safety device |
| Master PLC | Logo 8.4 (centre) | Main controller — L+, M, I1–I8 inputs, Q1–Q4 relay outputs |
| Slave module | DM8 24RC (right) | Expansion — adds 4 more inputs (I1–I4) and 2 relay outputs (Q1–Q2) |
| Terminal block | Klemmleiste | Distribution rail — 24V and 0V are distributed to all devices from here |
| Switches | S1–S8 | Manual toggle switches wired to inputs — simulate real signals for testing |
| LEDs | D1–D8 | Indicator LEDs on outputs — show when Q1–Q4 (Master) and Q1–Q2 (Slave) are active |
| Resistors | R5–R12 (470Ω) | Current-limiting resistors for the LEDs — prevent them burning out |
| Potentiometers | R1, R2 (0–10K) | Variable resistors for analogue inputs I7, I8 — provide 0–10V test signals |
| Pull-up resistors | R3, R4 (10K) | Ensure stable voltage for the analogue potentiometer circuits |
| Battery & LED | B1 (9V), D9, R13 | Standalone test circuit with switch S9 — independent of the Logo |
Power Distribution
The red lines in the diagram show 24VDC positive distribution. The blue lines show 0V (common/ground). Notice how both are distributed via the terminal block (Klemmleiste) — this is best practice. Never daisy-chain power from terminal to terminal on the Logo itself.
# Power flow 230V Mains → F1 (4A fuse) → T1 (LOGO!Power PSU) → 24VDC out ↓ Terminal Block ↓ ↓ Logo L+/M All switches & sensors
Common Signal Sources
In practice, you won't be using toggle switches. You'll be tapping into existing machine signals. Here are the four most common scenarios and how to wire each one.
🟢 Stack Light — Green Lamp
The most common "machine running" signal. The green lamp on a stack light is typically driven by a 24VDC output from the machine's existing controller. You tap into this signal with a parallel connection.
M → Common return
🚪 Door Closed Sensor
Safety interlock or proximity sensor on a machine door. Typically a normally-closed (NC) contact — the circuit is complete when the door is shut. Wire it so the Logo sees 24V when the door is closed.
M → Common return
⚡ Motor Contactor Auxiliary
Most motor contactors have a spare auxiliary contact (NO). When the contactor pulls in to start the motor, the auxiliary closes. This is a clean, reliable "motor running" signal — completely isolated from the motor power circuit.
M → Common return
📡 PNP Proximity Sensor
3-wire PNP inductive or capacitive sensor. When it detects metal (or target), it switches 24V to its output wire. Wire the brown wire to L+, the blue to M, and the black (signal) to the Logo input.
Blue → M (0V)
Black (signal) → I4
Stack Light Wiring — Detailed
This is the most common scenario, so let's walk through it in detail. A typical stack light has a green lamp that illuminates when the machine is in automatic cycle. The lamp is driven by a 24VDC signal from the machine's own controller.
# Option A: Tap the existing 24V signal (parallel connection) # The green lamp wire carries 24V when the machine is running. # Connect a wire from this point to the Logo input. Machine Controller Output ──┬──→ Green Lamp │ └──→ Logo I1 M (0V) ──────────────────────→ Common to both Logo and machine
# Option B: Use an interposing relay (isolated connection) # If the machine runs on a different voltage (e.g. 48V, 110V), # or you cannot share a common 0V, use a relay. Machine Signal ──→ Relay Coil (machine voltage) │ Relay Contact (volt-free NO) │ Logo L+ (24V) ──→ Relay Contact ──→ Logo I1 Logo M (0V) ──→ Common return
Relay Contact Wiring — Detailed
When another controller or system provides a "machine running" signal via a volt-free relay contact (NO — normally open), the wiring is straightforward:
# Volt-free contact from external system # The relay provides a dry contact — no voltage of its own. # You supply 24V from the Logo's own power supply. Logo L+ (24V) ──→ External Relay NO Contact ──→ Logo I1 Logo M (0V) ──→ Common return # When the external system activates its relay: # Contact closes → 24V reaches I1 → Logo reads ON # When the external system deactivates: # Contact opens → no 24V at I1 → Logo reads OFF
This is the cleanest approach when integrating with existing automation. The volt-free contact provides complete electrical isolation between the two systems.
Wiring Step-by-Step
This procedure assumes you're wiring a single digital input signal (e.g. stack light green) to the Logo. Repeat for additional inputs as needed.
Step 1 — Isolate and VerifyPower Down
Switch off the 24VDC power supply. If the Logo is powered from a DIN-rail PSU, switch off the upstream breaker or disconnect the mains supply to the PSU.
Use a multimeter to verify 0V between L+ and M on the Logo terminals.
Identify Source and Destination
Before you pick up a screwdriver, confirm:
- ☐ Signal source: Where is the 24V signal coming from? (stack light wire, relay contact, sensor)
- ☐ Signal voltage: Is it 24VDC? If not, you need an interposing relay
- ☐ Common reference: Do the signal source and the Logo share the same 0V? If not, use a relay
- ☐ Input terminal: Which Logo input will you use? (I1–I8 on Master, I1–I4 on Slave)
- ☐ Cable route: How will the wire run from the signal source to the Logo?
Cut, Strip, and Ferrule
Cut wire to length with ~50mm spare at each end. Strip 8–10mm of insulation from each end.
Step 4 — Wire the SignalConnect Source to Input
For a direct 24V signal (stack light, contactor aux):
- Route the signal wire from the 24V source to the Logo
- Insert the wire into the chosen input terminal (e.g. I1)
- Tighten the screw terminal firmly — give it a gentle tug to confirm it's secure
For a volt-free contact (relay, switch):
- Run a wire from the Logo's L+ terminal (or the 24V rail on your terminal block) to one side of the contact
- Run a wire from the other side of the contact to the Logo input terminal (e.g. I1)
- Tighten both screw terminals
For a 3-wire PNP sensor:
- Connect brown wire to L+ (24V)
- Connect blue wire to M (0V)
- Connect black wire (signal output) to the Logo input terminal (e.g. I4)
Check the 0V Path
The signal source and the Logo must share the same 0V reference. If both are powered from the same 24VDC PSU (via the terminal block), this is automatic. If the signal comes from a different power supply, you need to link the two 0V rails together — or use an interposing relay.
# Correct: shared 0V via terminal block PSU 0V → Terminal Block → Logo M PSU 0V → Terminal Block → Signal source 0V # Wrong: separate 0V references, no common link PSU-A 0V → Logo M PSU-B 0V → Signal source 0V ← floating! Input won't read correctly
Document Your Wiring
Label both ends of every wire with its function and destination:
# Example labels Wire 1: "Stack Light Green → Logo I1" Wire 2: "Door Sensor NC → Logo I2" Wire 3: "Motor Contactor Aux → Logo I3"
This seems tedious now. It will save you (or the next person) hours when troubleshooting at 2am.
Step 7 — Power On and VerifyEnergise and Test
Reconnect the power supply. The Logo should boot and enter Operating Mode (white screen).
Use a multimeter to verify:
- ☐ 24VDC between L+ and M on the Logo
- ☐ 24VDC between the input terminal and M when the signal is active (machine running)
- ☐ ~0V between the input terminal and M when the signal is inactive (machine stopped)
Testing the Inputs
With the wiring complete, verify the Logo is reading the inputs correctly using Logo Soft Comfort and then via MQTT.
Step 8 — Check I/O Status in Logo Soft ComfortSoftware Verification
Connect to the Logo via Ethernet (see the network configuration guide). In Logo Soft Comfort:
- Right-click the Logo device → I/O Status
- Click Yes to enter RUN mode if prompted
- Watch the input values in the status list
Activate your signal (start the machine, close the door, trigger the sensor):
Deactivate the signal (stop the machine, open the door):
End-to-End Test
If you've already configured MQTT publishing (see the Siemens Logo 8.4 → MQTT guide), subscribe to your Logo's topic and activate the signal:
# Subscribe to all Logo topics /logo/# # Expected message when machine starts (signal active) { "timestamp": "2026-12-03T11:30:00Z", "I1": true } # Expected message when machine stops (signal inactive) { "timestamp": "2026-12-03T11:35:00Z", "I1": false }
Safety & Best Practice
Electrical Safety
| Rule | Why |
|---|---|
| Always isolate before wiring | 24VDC won't kill you, but a short circuit can damage the Logo, blow fuses, or cause arcing |
| Verify zero voltage with a multimeter | Capacitors in the PSU can hold charge briefly after power-off |
| Never exceed 24VDC on inputs | Higher voltages will destroy the input circuitry permanently |
| Use a fuse on the 24V supply | Protects against short circuits in your wiring — a 4A fuse is typical |
| Follow LOTO procedures | Lock-Out/Tag-Out prevents someone re-energising while you're working |
Wiring Best Practice
| Practice | Why |
|---|---|
| Use ferrules on stranded wire | Prevents splaying, ensures reliable contact in screw terminals |
| Use a terminal block for distribution | Clean power distribution — don't daisy-chain from the Logo terminals |
| Label both ends of every wire | Future you (or the next engineer) will thank you |
| Route signal wires away from power cables | Reduces electrical noise pickup — especially near VFDs and motors |
| Use cable ties and trunking | Neat wiring is maintainable wiring — loose wires get snagged and damaged |
| Keep wire runs as short as practical | Long runs pick up more noise and have higher voltage drop |
| Use shielded cable for long runs (>10m) | Ground the shield at one end only (typically the Logo end) |
| Document everything | Update the wire diagram when you add or change connections |
IP Rating Considerations
The Logo 8.4 is rated IP20 — protected against solid objects >12mm (fingers) but not against water or dust. If the Logo is installed in a harsh environment:
- ☐ Mount in an IP65 or IP66 enclosure
- ☐ Use cable glands for all wire entries
- ☐ Ensure adequate ventilation (the Logo generates heat)
- ☐ Keep the enclosure door closed during operation
Troubleshooting
Input Not Triggering
Input stays at 0 even when signal should be active:
- ☐ Measure voltage between the input terminal and M — should be ~24VDC when active
- ☐ If 0V: the signal isn't reaching the input. Check the wire, the source, and any switches in the path
- ☐ If ~24V but Logo still reads 0: check the Logo is in RUN mode (not STOP)
- ☐ Verify a program is loaded — the Logo requires a program to process inputs (see PLC Program section)
- ☐ Check you're looking at the correct input in I/O Status (I1 on Master ≠ I1 on Slave)
Input Flickering / Bouncing
Input rapidly toggles between 0 and 1:
- ☐ Mechanical contacts (relays, switches) naturally bounce. Use a debounce timer in the Logo program — a 200ms on-delay is usually sufficient
- ☐ Loose wiring — check all screw terminals are tight. A loose ferrule or bare wire can make intermittent contact
- ☐ Electrical noise — if the signal wire runs alongside a VFD or motor power cable, it can pick up interference. Re-route or use shielded cable
- ☐ Voltage in the dead zone — if the signal voltage is between 5V and 12V, the input is in an undefined state. Check the source voltage is a clean 24V
Input Always ON
Input reads 1 even when signal should be inactive:
- ☐ Measure voltage at the input terminal — if ~24V with signal inactive, there's a wiring error
- ☐ Check for a short circuit between the 24V rail and the input wire
- ☐ If using a normally-closed (NC) contact, remember the logic is inverted — NC is closed (24V) when inactive
- ☐ Verify the correct wire is connected — trace it physically from end to end
No MQTT Messages
Input changes in Logo Soft Comfort but no MQTT messages appear:
- ☐ The wiring is fine — this is a software/network issue
- ☐ Check the Cloud Data Transfer Settings — is the input mapped?
- ☐ Check the MQTT connection status in Logo Soft Comfort
- ☐ See the MQTT troubleshooting section for broker and network issues
Voltage Too Low
Multimeter shows less than 20V at the input terminal:
- ☐ Check the PSU output voltage — should be 24VDC ±10%
- ☐ Long wire runs cause voltage drop — for runs over 20m, use thicker wire (1.5mm² minimum)
- ☐ Too many devices on the same PSU — check the total current draw doesn't exceed the PSU rating
- ☐ Check for corroded or loose connections in the terminal block
Lessons Learned
Practical insights from real installations — the things that aren't in the Siemens manual.
1. Start With One Input
Don't try to wire all 8 inputs on day one. Get one signal working end-to-end — from physical wire to MQTT message on your dashboard. Then replicate. The first one takes an hour; the rest take 10 minutes each.
2. The 0V Reference Trap
The most common wiring mistake: the signal source and the Logo are on different 0V references. The input reads garbage or doesn't trigger at all. Always verify both devices share the same 0V rail, or use an interposing relay.
3. Ferrules Are Not Optional
Bare stranded wire in screw terminals causes intermittent faults that are maddening to diagnose. A strand works loose, makes partial contact, and the input flickers randomly. Ferrules eliminate this entirely. Buy a bag of 500 for £10.
4. NC vs NO Matters
A normally-closed door sensor gives you 24V when the door is shut (running). A normally-open sensor gives you 24V when the door is open (stopped). Get this wrong and your dashboard shows the machine running when it's actually stopped. Check the sensor datasheet.
5. Stack Lights Lie (Sometimes)
Some machines keep the green light on during brief pauses or tool changes. If you need accurate cycle-level data, consider a motor contactor auxiliary or a proximity sensor on the spindle instead. The stack light is a good starting point, not always the final answer.
6. Label Now, Not Later
You will forget which wire goes where. Everyone does. Label both ends of every wire before you close the panel. Use a label printer or at minimum a permanent marker on cable ties. Your future self will be grateful.
Next Steps
| Step | Description |
|---|---|
| MQTT Setup | Configure the Logo to publish input data via MQTT — Siemens Logo 8.4 → MQTT guide |
| Multiple Inputs | Wire additional signals — door sensor on I2, contactor aux on I3, etc. Map each in Cloud Data Transfer Settings |
| Debounce Logic | Add on-delay timers in the Logo program to filter mechanical contact bounce |
| Expansion Module | If you need more than 8 inputs, add a DM8 24RC Slave module (shown in the wire diagram) |
| UNS Topics | Adopt the UNS Framework topic hierarchy for production-ready MQTT topics |
| fn-uns Integration | Connect to the fn-uns data pipeline for machine state tracking, KPIs, and analytics |
| Connectivity | Review connectivity options if running Ethernet to the machine is impractical |
Guide Version: 1.0 · Applies To: Siemens Logo 8.4 (12/24RCE, 24CE, 24RCEo variants)
Wire diagram source: kreativekiste.de. Last updated December 2026.