Overview
When a Siemens LOGO! 0BA6 Pure 24V controller (order number 6ED1057-3BA10-0BA0) refuses to release output Q1 — and the program runs flawlessly in LOGO!Soft Comfort simulation — the cause is almost never the polarity of the wires on the Q1 output terminals. The classic “Q1 will not de-energise” symptom on a relay-output LOGO! traces back to one of three things:
- The wiring order on the Q1 terminals (a real concern only for transistor-output LOGO! variants, not for the RC / relay Pure 24V in the case study).
- The function-key behaviour of the LOGO! TD (Text Display), specifically F1, and the difference between the “switch” contact setting used in LOGO!Soft Comfort simulation and its actual hardware behaviour on the real controller.
- The latch / flip-flop configuration that the F1 input drives — particularly the order in which Set and Reset pulses arrive on the same scan cycle.
This technical reference documents the diagnosis and resolution path for a real field case, the wiring rules that apply to the LOGO! Pure 24V (Type 0BA6) relay outputs, and the F1 key behaviour on the LOGO! TD that is the single most common cause of “Q1 will not de-energise” complaints on a freshly commissioned Pure system. The official LOGO! system documentation is available from Siemens at LOGO! System Manual (Siemens, PDF).
Identifying the Controller: LOGO! Pure 24V (6ED1057-3BA10-0BA0)
The order number decodes as follows:
| Segment | Meaning |
|---|---|
6ED1 |
LOGO! product family prefix |
057 |
LOGO! Pure modular base module |
3 |
0BA6 generation (LOGO! 6 series) |
BA10 |
Variant code: Pure, 24 V supply, 24 V inputs, relay outputs |
0BA0 |
Marketing / packaging suffix |
The Pure designation means the base module ships without an integrated display or keypad. Operator interaction is delegated to the LOGO! TD (Text Display), a remote panel that connects via the dedicated bus cable and exposes the F1–F4 function keys, the OK and ESC keys, and the four cursor keys. The informal “RC” label — Relay with Clock — refers to a relay-output variant of the LOGO! 6 generation, which is the most common Pure 24V configuration.
Two hardware facts drive everything else in this article:
- The Q1, Q2, Q3, Q4 outputs on a relay-type LOGO! are dry contacts. They have no internal polarity reference and are not tied internally to 0 V or +24 V.
- The TD’s function keys (F1, F2, F3, F4, ESC, OK, ▲, ▼, ◄, ►) are read by the LOGO! firmware as ordinary digital inputs. They appear in the program editor as inputs I9 through I16 and obey the same logic-edge rules as I1–I8 on the base module.
Output Architecture: Relay vs Transistor LOGO! Variants
The Q outputs on a LOGO! come in one of two technologies, and the wiring rules differ fundamentally between them.
Relay outputs (the 6ED1057-3BA10-0BA0 variant)
- Mechanical changeover or normally-open contacts driven by an internal coil.
- Rated for both AC and DC loads, with the load circuit at any voltage up to the contact rating.
- Polarity-insensitive — the contact is electrically a switch, not a semiconductor.
- Switching speed limited to the relay pull-in and drop-out times (single-digit to low double-digit milliseconds).
- No internal short-circuit protection beyond the module’s overall fusing.
Transistor outputs
- Solid-state switches, typically MOSFET.
- Source (PNP, common on the 24 V Pure with transistor suffix) or sink (NPN) topology depending on the variant.
- Polarity-sensitive: the load must be wired between the switched terminal and the appropriate supply rail. Reversing the connection can hold the output in a partially-on state through the body diode or destroy the driver.
- Faster switching (sub-millisecond) and longer electrical life.
- Required for PWM, high-speed counters, and pulse-train output.
The 0BA6 Pure 24V with order code 6ED1057-3BA10-0BA0 is a relay-output variant. The two terminals of the Q1–Q4 pair are a switched contact; one terminal is the common and the other is the normally-open (or changeover) leg, depending on the printed marking on the housing. Either wire can be at +24 V and the other can return to 0 V; the contact closes and opens based purely on the internal coil, not on the polarity of the wires you connect to it.
Q1 Terminal Wiring: Polarity Rules in Practice
field reports connected +24 V to the left-hand Q1 terminal and routed the load to the right-hand Q1 terminal, then to 0 V. On a relay-type LOGO!, this is electrically equivalent to the manual’s suggested drawing (+24 V on the right, load on the left) and the output will function identically. The manual’s drawing is a documentation convention, not an electrical requirement.
Where polarity does matter:
- Transistor-output LOGO! modules (24 V supply): the switched terminal is the source; the load must return to 0 V. Reversing these wires on a sinking variant keeps the output effectively on because the MOSFET body diode is forward-biased through the load.
- Mixed-voltage installations where the relay contact is switching a different DC supply than the LOGO!: the polarity of the load-side wiring follows the load’s supply, not the LOGO!’s. AC loads are unaffected.
- Indicator LED wiring on the panel: if the LED indicator on the Q1 output terminal is monitored for the actual relay state, the indicator’s polarity matters; the relay contact does not.
For a deeper reference on connecting two-wire sensors (0–10 V / 4–20 mA) and other analogue devices into the LOGO! inputs, see the Siemens support article Connecting LOGO! inputs – ID 109741041.
The LOGO! Text Display: Function Keys as Digital Inputs
The LOGO! TD is not a passive display. The F1–F4 keys are wired into the LOGO! firmware as input bits and become available in the program editor alongside I1–I8. The default mapping on a 0BA6 system is:
| TD key | Internal input bit |
|---|---|
| F1 | I9 |
| F2 | I10 |
| F3 | I11 |
| F4 | I12 |
| Cursor and OK/ESC keys | I13–I16 and message-text navigation bits |
These inputs are evaluated on the LOGO! base module’s scan cycle, which is single-digit to low double-digit milliseconds depending on program length. They behave exactly like a 24 V digital input wired to I1–I8, except that the logic level is generated by the TD’s keypad scanner and bus interface rather than by an external switch and a terminal voltage.
Push-button vs switch contact in the FBD
When you place an F1 contact into the FBD/LAD diagram in LOGO!Soft Comfort, the default contact is a normally-open push-button — it closes for the duration of the key press. To get toggle (“push on, push off”) behaviour, you must use one of the following constructs:
- An SR (Set/Reset) or RS (Reset/Set) flip-flop with the F1 contact driving the Set input and a second F1 contact driving the Reset input (the same key, the same contact, used twice).
- A pulse relay (current-leading edge or trailing-edge).
- A counter with a threshold trigger and retentive behaviour.
The “switch” contact option in the LOGO!Soft Comfort contact selector — the symbol that looks like a hand-actuated switch — is a simulation convenience only. It makes the F1 input appear latched in the simulator, but it does not change how the real LOGO! reads the F1 key. On real hardware, the F1 contact closes while the key is held and opens the moment it is released; the firmware does not stretch the pulse to a full scan, and it does not toggle. Double-pressing the key gives two scan-cycle pulses, not a toggle.
The “Switch” Contact Type: Simulation-Only Artefact
The single most common cause of a “Q1 will not de-energise” complaint on a freshly commissioned LOGO! Pure with a TD is the assumption that the “switch” contact type is real. It is not. The contact-type selector in LOGO!Soft Comfort includes:
- Normally-open (NO) push-button — real hardware: closes for the duration of the press.
- Normally-closed (NC) push-button — real hardware: opens for the duration of the press.
- “Switch” (toggle) — simulation only: toggles its state in the simulator on every click. On real hardware it behaves as a normally-open push-button.
This means that if you wire F1 (as a “switch” contact) into the Set input of an SR flip-flop, and the same F1 (again as a “switch” contact) into the Reset input of the same flip-flop, the program simulates perfectly: one click sets, the next click resets. On real hardware, a single press sends a Set pulse and a Reset pulse on the same scan, the Reset wins (RS flip-flop priority), and Q1 never goes high. A double press gives one Set pulse on the first press and one Reset pulse on the second press — or two of each, depending on the firmware’s edge handling — and the operator can end up in any of the four possible flip-flop states.
The correct pattern is:
- Place two normally-open push-button contacts of F1 (not “switch”) on the ladder, one driving S, one driving R.
- The first physical press sends a one-scan Set pulse; the output latches.
- The second physical press sends a one-scan Reset pulse; the output releases.
If both contacts reference the same F1 input, the firmware still gives two distinct edge events because the key is released between presses. This is the same pattern as wiring two physical push-buttons to I1 and I2.
Root Cause: F1 Key Double-Press on a 0BA6
The original fault on the 6ED1057-3BA10-0BA0 was that Q1 would not de-energise after being commanded off via F1. The simulation worked, the wiring was correct (relay output, polarity-insensitive), and the program compiled. The root cause was a commissioning-time haste condition:
- F1 was configured as a “switch” contact in the simulator.
- During real-hardware testing, the operator pressed F1 once to turn the output on. The output came on.
- The operator pressed F1 a second time to turn the output off. The output stayed on.
- The operator pressed F1 a third, fourth, and fifth time. The output still stayed on.
Why? Because on real hardware, F1 as a “switch” contact is just a normally-open push-button. Each press fires a one-scan pulse on the F1 input bit. The SR flip-flop in the program received the pulses in a sequence that left Q1 latched. There was no “off” command being sent because the F1 input was never held down; it was only pulsed, and the flip-flop was wired such that a pulse with no second edge could not produce a Reset event.
Diagnostic sequence
| Step | Action | Expected result |
|---|---|---|
| 1 | Open LOGO!Soft Comfort and connect to the live controller | Online view shows F1 status and Q1 status |
| 2 | Monitor the F1 input bit in the status display | F1 = 1 only while the key is physically held |
| 3 | Press and hold F1 | F1 = 1; Q1 follows the logic block it drives |
| 4 | Release F1 | F1 = 0; Q1 holds if latched by Set |
| 5 | Press and release F1 a second time | A second pulse is sent; the flip-flop resets if the Reset is wired |
| 6 | If Q1 does not reset, inspect the SR/RS block priority and the contact types of both F1 references | The “switch” contact type is the typical cause |
Step-by-Step Resolution Procedure
The corrected program uses F1 as a digital input with the proper normally-open push-button contact type. The procedure to reproduce it is:
- Open the project in LOGO!Soft Comfort. The 0BA6 generation is supported by V7.x and later versions; newer software can read older projects.
- Delete the existing F1 “switch” contact references from the SR/RS flip-flop. Use the program editor, not the simulation monitor.
- Insert a normally-open F1 contact into the Set (S) input of the flip-flop.
- Insert a second normally-open F1 contact into the Reset (R) input of the same flip-flop.
- Compile and simulate the program. With the corrected contact type, the simulation still behaves correctly.
- Transfer the program to the LOGO! using the LOGO!Soft Comfort Transfer menu, or copy LOGO! → PC / PC → LOGO! via the TD menu tree. Verify the transfer reports success and no errors.
- Test on real hardware. Press F1 once — Q1 should latch on. Press F1 a second time — Q1 should release. The TD message text should display the current Q state throughout.
Verification and Commissioning Checks
| Check | Method | Pass criterion |
|---|---|---|
| Q1 contact state (de-energised) | Multimeter on the two Q1 terminals | Open circuit (megohms range) when Q1 = 0 |
| Q1 contact state (energised) | Multimeter on the two Q1 terminals | Closed circuit (low ohms) when Q1 = 1 |
| F1 input bit in online status | LOGO!Soft Comfort online view | I9 toggles while F1 is held |
| TD message text | Visual inspection of TD | Q1 status reflects the actual relay state |
| Simulation parity | LOGO!Soft Comfort simulation | Press sequence on F1 matches real hardware |
| Retentive behaviour | Power-cycle the LOGO! | Outputs return to their pre-cycle state if R-flag is set |
| TD cable integrity | Visual inspection, reseat | TD responds to every key press without dropouts |
Common LOGO! Output Fault Matrix
| Symptom | Likely cause | First check |
|---|---|---|
| Q1 will not de-energise, simulation works | “Switch” contact type used in real hardware; F1 only pulsed | Inspect contact type; replace with NO push-button |
| Q1 will not energise, simulation works | Output load short-circuit; blown relay contact; supply missing on the load side | Measure load-side voltage; check contact resistance |
| Q1 energises but drops after a few seconds | Overload or thermal cutout on relay; missing free-wheel diode on inductive DC load | Measure contact current; add a flyback diode on DC inductive loads |
| Q1 toggles randomly | TD cable loose / intermittent; electrical noise on F1 input | Reseat the TD cable; add input filtering in the program |
| Q1 stuck on regardless of program | Flip-flop priority wrong (RS instead of SR); retentive flag set; F1 wired to both S and R of an SR block with R priority | Swap to RS block or use separate keys for Set and Reset |
| TD keys do nothing | TD not addressed correctly; bus cable damaged; F-key mapping disabled in program | Verify TD address = 1; check cable continuity |
| Q1 contact chatters audibly | Program switching faster than relay pull-in/drop-out time; input noise | Insert a pulse-stretcher or de-bounce block in the program |
| Q1 energises on power-up without program command | Retentive flag set and previous state was on; program starts with Q1 high | Clear the retentive flag; review the initial pulse block |
Programming Notes and Best Practices
- Always use the normally-open push-button contact type for function keys. The “switch” symbol is a simulation-only artefact and a known trap for new LOGO! users.
- Use one TD key per Set/Reset input if you need deterministic, easily debuggable toggle behaviour. F1 = Set, F2 = Reset is far more robust than F1 = Set, F1 = Reset because it eliminates any chance of Set and Reset being interpreted on the same scan.
- Enable the message text on the TD to show Q1 (and any other output) state. The TD’s screen doubles as a one-line diagnostic that confirms the firmware is doing what you think it is doing.
- Add a watchdog or timeout in the program if the F1 key is safety-relevant. A button that requires the operator to keep it pressed for more than X seconds before latching Q1 is a simple de-bounce and intent-confirmation pattern.
- Avoid mixing “switch” and push-button contacts of the same F key in the same block. The simulator will treat the two as independent, but on real hardware the firmware reads the same input bit.
- Label the wires at the Q terminals with the function (e.g. “Q1 NO” / “Q1 COM”), not with the voltage. The relay contact has no polarity; the wire label should reflect the topology, not the polarity.
- Document the F-key mapping in a comment block at the top of the LOGO!Soft Comfort program so that anyone reading the project six months later knows which key does what.
- Pull the program from the LOGO! to LOGO!Soft Comfort on every service visit, even if you did not change the program. The on-line copy is the only ground truth of what is actually running on the controller.
Frequently Asked Questions
Does the polarity of the Q1 output terminals matter on a LOGO! 0BA6 Pure 24V (6ED1057-3BA10-0BA0)?
No. The 6ED1057-3BA10-0BA0 is a relay-output variant. The two Q1 terminals form a single-pole, dry contact. Polarity of the wires you connect to those terminals does not affect operation. The manual’s recommended drawing (+24 V on one side, load on the other) is good practice for documentation but is not an electrical requirement.
My Q1 output will not turn off even though the program is correct in simulation. What should I check first?
Inspect every reference to the F1 key in your program. If any of those references use the “switch” contact type, change them to a normally-open push-button. The “switch” contact is a simulation-only setting and behaves as a one-scan pulse on real hardware, which is the most common cause of an “F1 will not toggle Q1” fault.
Is the F1 key on the LOGO! Text Display the same as a digital input?
Yes. The F1–F4 keys on the LOGO! TD are read by the base module as digital inputs (I9–I12 on a 0BA6 system). They obey the same scan-cycle, edge-detection, and de-bounce rules as the wired inputs I1–I8. The only difference is that the signal source is the TD’s keypad scanner instead of a 24 V signal on a terminal.
Can I use a single F key to toggle an output on and off?
Yes, with the correct contact type. Place two normally-open push-button contacts of F1 in the FBD, one driving the Set input of an SR flip-flop and the other driving the Reset input. On the real hardware, two distinct physical presses of F1 will deliver two distinct Set and Reset pulses to the flip-flop and the output will toggle cleanly.
What is the difference between the “switch” and the normally-open contact in LOGO!Soft Comfort?
The normally-open contact represents a physical push-button that closes for the duration of the press. The “switch” contact is a simulation-only artefact that toggles its state in the simulator each time you click it; on real hardware it is electrically identical to a normally-open contact. Use the “switch” type only in the simulator and never export a program that contains it to a real LOGO! controller.
Where can I find the official wiring diagram for the LOGO! 0BA6 outputs?
The LOGO! System Manual from Siemens contains the full wiring diagrams, contact ratings, and derating curves for the 0BA6 generation. The manual is available on the Siemens Industry Online Support portal — see the LOGO! System Manual (Siemens, PDF) for the printable version.