Hardware Wiring Siemens Logo 8.4 ~30 min

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
i
Start simple. Pick one signal that reliably indicates "running" for your machine. You can always add more inputs later. A stack light green signal or a motor contactor auxiliary contact are the most common starting points.

Prerequisites

Hardware

Tools

Software (for testing)

Electrical safety. Always isolate the Logo and the machine before making any wiring changes. If you are not qualified to work on electrical systems, get a qualified electrician to do the physical wiring. This guide explains what to wire and why — the actual installation must comply with your site's electrical safety procedures.

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.

i
For IT teams: Think of it like a network cable — except instead of data packets, you're sending a voltage. 24V present = TRUE. No voltage = FALSE. The Logo reads this thousands of times per second and makes it available as a data point you can publish via MQTT.

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.

POWER SUPPLY MASTER — LOGO 8.4 SLAVE — DM8 24RC LOGO!Power T1 — 24VDC AC IN L+ (24V) M (0V) 230V AC F1 — 4A Terminal Block (Klemmleiste) — 24V & 0V Distribution SIEMENS Logo 8.4 L+ M I1 I2 I3 I4 I5 I6 I7 I8 Q1 Q2 Q3 Q4 S1 S2 S3 S4 S5 DM8 24RC Slave 1 L+ M I1 I2 I3 I4 Q1 Q2 S6 S7 S8 D1 470Ω D2 470Ω D3 470Ω D4 470Ω 0V Return (M) D5 470Ω D6 470Ω LEGEND 24VDC Positive (L+) 0V Common (M) Signal Wire 24V via Switch
Simplified wiring diagram — Siemens Logo 8.4 Master with DM8 24RC Slave, switches S1–S8, output LEDs with 470Ω resistors, and terminal block power 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
i
Key takeaway from the diagram: Every switch (S1–S5 for Master, S6–S8 for Slave) connects 24V from the terminal block through the switch to a Logo input. When the switch closes, 24V reaches the input → the Logo reads ON. This is exactly the same principle you'll use with real machine signals — just replace the toggle switch with a stack light relay, door sensor, or contactor auxiliary.

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 MainsF1 (4A fuse)T1 (LOGO!Power PSU)24VDC outTerminal 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.

L+ → Machine controller → Green lamp wire → I1
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.

L+ → NC door contact → I2
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.

L+ → Contactor aux NO → I3
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.

Brown → L+ (24V)
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
i
Important: The Logo input draws only ~4mA. This is negligible compared to the lamp current. Tapping the signal in parallel will not affect the stack light operation. However, ensure the machine controller's 0V and the Logo's M terminal share a common reference — they must be on the same 0V rail, or the signal won't read correctly.
# 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
Never connect voltages above 24VDC to the Logo inputs. If the machine signal is 48V, 110V, or 230V, you must use an interposing relay to isolate the circuits. Connecting higher voltages directly will destroy the input and potentially the entire Logo.

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.

ISOLATE FIRST. Switch off and lock out the 24VDC power supply before making any wiring changes. Verify zero voltage with a multimeter. Follow your site's Lock-Out/Tag-Out (LOTO) procedure.
Step 1 — Isolate and Verify

Power 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.

Multimeter reads 0V between L+ and M. Safe to proceed.
Step 2 — Plan Your Wiring

Identify Source and Destination

Before you pick up a screwdriver, confirm:

Step 3 — Prepare the Wire

Cut, Strip, and Ferrule

Cut wire to length with ~50mm spare at each end. Strip 8–10mm of insulation from each end.

i
Use ferrules. If you're using stranded wire (which you should be for flexibility), always crimp a ferrule onto the stripped end before inserting into the Logo's screw terminal. Bare stranded wire can splay, causing intermittent connections or short circuits. Ferrules cost pennies and prevent hours of troubleshooting.
Step 4 — Wire the Signal

Connect Source to Input

For a direct 24V signal (stack light, contactor aux):

  1. Route the signal wire from the 24V source to the Logo
  2. Insert the wire into the chosen input terminal (e.g. I1)
  3. Tighten the screw terminal firmly — give it a gentle tug to confirm it's secure

For a volt-free contact (relay, switch):

  1. Run a wire from the Logo's L+ terminal (or the 24V rail on your terminal block) to one side of the contact
  2. Run a wire from the other side of the contact to the Logo input terminal (e.g. I1)
  3. Tighten both screw terminals

For a 3-wire PNP sensor:

  1. Connect brown wire to L+ (24V)
  2. Connect blue wire to M (0V)
  3. Connect black wire (signal output) to the Logo input terminal (e.g. I4)
Step 5 — Verify the Common Return

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 0VTerminal BlockLogo M
PSU 0VTerminal BlockSignal source 0V

# Wrong: separate 0V references, no common link
PSU-A 0VLogo M
PSU-B 0VSignal source 0V  ← floating! Input won't read correctly
Step 6 — Label Everything

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 Verify

Energise and Test

Reconnect the power supply. The Logo should boot and enter Operating Mode (white screen).

Use a multimeter to verify:

If you see 24V when the signal is active and ~0V when inactive, the wiring is correct. Proceed to software testing.

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 Comfort

Software Verification

Connect to the Logo via Ethernet (see the network configuration guide). In Logo Soft Comfort:

  1. Right-click the Logo device → I/O Status
  2. Click Yes to enter RUN mode if prompted
  3. Watch the input values in the status list

Activate your signal (start the machine, close the door, trigger the sensor):

The input value should change from 0 to 1 when the signal is active.

Deactivate the signal (stop the machine, open the door):

The input value should return to 0.
Step 9 — Verify via MQTT

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
}
i
Data mapping reminder: In the Logo's Cloud Data Transfer Settings, ensure you've mapped the input (e.g. I1) with both On Change and Periodic transmission enabled. On Change gives you immediate state updates; Periodic provides a heartbeat so you know the Logo is still alive even if the state hasn't changed.

Safety & Best Practice

This section is not optional. Poor wiring causes intermittent faults, equipment damage, and safety hazards. Follow these practices whether you're wiring one input or twenty.

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:

Troubleshooting

Input Not Triggering

Input stays at 0 even when signal should be active:

Input Flickering / Bouncing

Input rapidly toggles between 0 and 1:

Input Always ON

Input reads 1 even when signal should be inactive:

No MQTT Messages

Input changes in Logo Soft Comfort but no MQTT messages appear:

Voltage Too Low

Multimeter shows less than 20V at the input terminal:

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.