Overview
The Siemens LOGO! logic module is a compact controller widely deployed in small automation cells, building services, and OEM machine skids. When a project that originally used the LOGO! 0BA6 generation with two analog potentiometers is migrated to the 0BA8 (LOGO! 8) platform, the typical task is to replace the manual potentiometers with an external Text Display (TDE) and to enter the timing or threshold parameters from the keyboard. The migration immediately surfaces two engineering questions that are rarely answered clearly in marketing material:
- How are operator-entered values actually stored inside the LOGO! 0BA8, and what survives a power cycle?
- How does an operator change thresholds at run time without entering the engineering programming mode?
This reference addresses both questions with concrete procedures, parameter tables, and field-proven block configurations. It also documents a second, more demanding problem: how to remanently store an analog process value (such as the position of a roller-blind curtain driven by a tube that needs 15 turns for a full cycle) using the LOGO! 8 instruction set.
LOGO! 0BA6 to 0BA8 Hardware Migration
The 0BA8 series (also marketed as LOGO! 8) is a substantial redesign of the LOGO! 6 (0BA6) platform. Memory capacity, program-block count, networking options, and operator-panel integration all changed. The table below summarises the migration impact for projects that store threshold or analog setpoints.
| Feature | LOGO! 0BA6 | LOGO! 0BA8 |
|---|---|---|
| Program memory (blocks) | 200 | 400 |
| Remanent flags / counters | Up to 250 | Up to 250 (variable) |
| Analog inputs (base unit) | 0-2 depending on variant | 0-4 depending on variant |
| Ethernet | No | Yes (LOGO! 8 with Ethernet variant) |
| External text display | LOGO! TD (separate) | LOGO! TDE (color, Ethernet) |
| Programming software | LOGO! Soft Comfort V7.x | LOGO! Soft Comfort V8.x / V8.4 |
| MicroSD card slot | No | Yes (program and data logging) |
| Web server | No | Yes (LOGO! 8 BM with Ethernet) |
Two part-number families are common in the field:
- LOGO! 8 12/24 V variants (with display):
6ED1052-1MD08-0BA0 - LOGO! 8 230 V variants (with display):
6ED1052-1CC08-0BA0 - External TDE:
6ED1055-4MH08-0BA0
Refer to the Siemens LOGO! product page for the full current catalog and the LOGO! system manual available on the Siemens Industry Online Support portal for rated voltages, I/O counts, and approvals.
LOGO! 0BA8 Memory Architecture
The 0BA8 stores program code and parameter data in three physically distinct regions:
- Working memory (RAM) — holds the currently executing program and live process values. Lost on power down.
- Retain memory (EEPROM) — non-volatile storage for the program itself and for any block marked Remanence = ON.
- MicroSD card (optional) — program copy, data logging, and recipe storage. FAT16/FAT32 formatted cards up to 32 GB are supported.
When an operator adjusts a parameter from the TDE during operation, the new value is written to the block’s parameter slot in RAM. Whether that value also lands in EEPROM depends on the block’s Remanence setting, which is a per-block attribute configured offline in LOGO! Soft Comfort.
Remanence Fundamentals
Remanence in LOGO! is enabled per block, not globally. The relevant blocks for threshold and analog storage are:
| Block | Remanence support | Use case |
|---|---|---|
| On-delay / Off-delay timer | Yes | Store elapsed time across power cycles |
| Retentive on-delay timer | Always retentive | Accumulate run time |
| Up/Down counter | Yes (counter value retained) | Position tracking, batch counts |
| Hours counter | Yes | Maintenance timers |
| Min/Max block | Yes (mode 3 stores last value) | Freeze analog value |
| Analog threshold trigger | No (derived value only) | Compare setpoint |
| Analog MUX | No | Switch analog sources |
The retained counters and timers share a fixed budget of 250 values across the program. Exceeding this budget will be flagged by LOGO! Soft Comfort at compile time, and the LOGO! 0BA8 will refuse to download the program if it overshoots the hardware limit.
Configuration Mode vs Operator Mode
The 0BA8 front panel and the TDE distinguish two user roles. Each role has different edit rights, which is the foundation of how operators change thresholds without reprogramming the device.
| Mode | How to enter | Edit rights |
|---|---|---|
| Operator mode (default after power-up) | Implicit on startup | Only parameters flagged Editable in operator mode |
| Configuration (admin) mode | Hold ESC for > 2 s on the base-unit display, or navigate via TDE menu |
Full parameter edit; cursor moves to any editable field |
The Editable in operator mode flag is set in LOGO! Soft Comfort on each block’s parameter tab. When the flag is set, the parameter appears on the operator menu of the base-unit display and on the TDE without password challenge. When the flag is clear, the parameter is hidden from operator edit and can only be modified in configuration mode.
Configuring Threshold Values from the TDE
The following procedure sets a timer parameter that an operator can later edit from the LOGO! 8 base unit or the external TDE without entering configuration mode.
Prerequisites
- LOGO! Soft Comfort V8.x installed on the engineering PC.
- LOGO! 0BA8 base unit on the same Ethernet subnet, or USB cable connection.
- Block program loaded into the LOGO! and the device running in run mode.
Step-by-Step Procedure
- In LOGO! Soft Comfort, open the project and select the timer block whose threshold you want to expose.
- On the block’s parameter dialog, set the timer value (for example
T = 00:00:30for a 30-second on-delay) and tick the box Remanence. - Tick the box Editable in operator mode. The block will now appear in the operator menu of the LOGO! display and on the TDE.
- Compile and download the program to the LOGO! 0BA8.
- On the LOGO! display or TDE, navigate with the cursor keys to the parameter name. The value will be shown with an editable cursor.
- Press
OKto enter edit, use the↑/↓keys to change the value, and pressOKagain to commit. - The new value is stored both in RAM and, because Remanence is ON, in EEPROM. It survives a power cycle.
Storing an Analog Threshold with the Min/Max Block
The Min/Max block is the documented LOGO! mechanism for analog value retention. Although its primary purpose is to record the smallest and largest value seen on its input, it exposes a side-effect that is extremely useful for remanent storage.
Mode Parameter
The Min/Max block has a Mode parameter that takes values 1, 2, or 3. Mode 3 is the key to retention:
| Mode | Behaviour |
|---|---|
| 1 | Output tracks input live; min/max reset on each scan. |
| 2 | Output tracks input live; min/max reset only on RES signal. |
| 3 |
Output is frozen at the last input value when EN goes LOW. When EN returns HIGH the block resumes tracking the input. |
When combined with the block’s remanence flag, Mode 3 effectively turns the Min/Max block into a sample-and-hold with non-volatile storage: drive EN HIGH to capture the current analog value, drive EN LOW to freeze it, and the frozen value remains in EEPROM across power cycles.
Wiring Example
- Input
AI1(0-10 V) connected to the analog source. - Min/Max block set to Mode 3, Remanence = ON.
-
ENdriven by a digital flag that the operator controls from the TDE. - Output of the Min/Max block wired to an analog threshold trigger block whose setpoint is the desired window.
Retentive Up/Down Counter Method
For integer-quantised analog storage (for example, a 0-100 % curtain position on a 15-turn tube), the most robust pattern is the retentive up/down counter feeding an Analog MUX:
- Insert an Up/Down Counter block. Set Remanence = ON. Configure
Cntrange 0…1500 (100 % × 15 turns). - Wire the count-up input to the rotary encoder channel that pulses on curtain-up rotation.
- Wire the count-down input to the rotary encoder channel that pulses on curtain-down rotation.
- Insert an Analog MUX block. Use a constant selector so the MUX passes the counter output directly to its analog output.
- Divide by 15 in LOGO! Soft Comfort using the Gain and Offset parameters on the next block (for example an Analog Comparator with reference value 100 for fully open).
This pattern guarantees that the absolute position is retained in EEPROM, because the counter value itself is flagged Remanence. Even after a complete power loss the LOGO! 0BA8 powers up with the last stored count, and the curtain resumes from the correct position.
Curtain Position Application (15 Turns, 5 kOhm Multi-Turn Pot)
The original field installation used a 5 kOhm 10-turn potentiometer geared 1:2 onto the curtain tube. The 10-turn pot gives only 5 effective turns before wrapping, and the gearing doubled this to 10; the total of 15 turns for a full open/close cycle exceeds the linear range, so the wiper eventually leaves the resistive track and the reading becomes unreliable. The corrective migration is to replace the potentiometer with an incremental rotary encoder (typically 100 or 360 pulses per turn) and decode the pulses with the LOGO! high-speed counter inputs.
| Item | Original (0BA6) | Migration (0BA8) |
|---|---|---|
| Position sensor | 5 kOhm 10-turn pot + 1:2 gear | Incremental encoder, 100-360 ppr, two-channel A/B |
| Position decoding | Analog comparator on AI | Up/Down counter on high-speed DI (I3/I4 on 0BA8) |
| Remanent storage | None | Up/Down counter with Remanence ON |
| Position display | None | 0-100 % on TDE via Analog MUX |
| Setpoint entry | Potentiometer | Operator entry from TDE, retained in EEPROM |
Encoder Wiring Notes
LOGO! 0BA8 base units accept 24 V incremental encoders on the high-speed digital inputs I3 and I4 (on 12/24 V variants). Maximum input frequency is 5 kHz, which corresponds to roughly 800 RPM at 360 ppr — more than adequate for curtain drives. The encoder must be a two-channel quadrature device so the LOGO! firmware can resolve direction internally before applying the count to the Up/Down counter block.
Variable Memory (VM) and Tag Addresses
LOGO! Soft Comfort exposes the analog working memory through VM (Variable Memory) addresses. These are useful when a SCADA, HMI, or third-party device (Modbus TCP, S7 communication) needs to read or write the threshold stored in the LOGO!:
| VM address | Type | Typical binding |
|---|---|---|
| VW0 … VW850 | Word (16-bit) | Analog parameter slots of function blocks |
| VM0 … VM850 | Byte | Digital state of discrete I/O flags |
| VD0 … VD850 | DWord (32-bit) | Counter values |
Each function block reserves a fixed offset in this VM area. Once the program is downloaded, the LOGO! Soft Comfort “Tools → Parameter VM Mapping” dialog will print the exact addresses. These addresses are stable for a given compiled program; recompiling only changes them when the block order changes.
Commissioning and Verification Checklist
- Download the program with Remanence flagged on every block that must survive power-down.
- Place the LOGO! in STOP and switch off supply power for at least 10 seconds.
- Restore supply and verify in the operator menu that the timer setpoint and stored counter values are unchanged.
- From the TDE, edit one threshold (for example timer from 30 s to 45 s) and confirm
OKwrites to RAM and EEPROM. - Cycle power again and confirm the new 45 s value is still present.
- Connect LOGO! Soft Comfort in Online → Test and read back the VM word containing the parameter; verify it matches the operator display to within one LSB.
- If the value resets, open the block properties and confirm the Remanence flag is ON. Also confirm the program fits inside the 250-value retain budget.
Troubleshooting Matrix
| Symptom | Likely cause | Corrective action |
|---|---|---|
| Threshold resets on power cycle | Remanence flag not set on the block | Open block properties, tick Remanence, recompile, redownload |
| Parameter not visible on TDE | Editable in operator mode not set | Tick the flag in LOGO! Soft Comfort, recompile, redownload |
| TDE shows ‘--’ for a value | Block parameter outside allowed range | Reset to default with ESC + OK, re-enter value |
| Program refuses to download | Retain budget exceeded (> 250 values) | Reduce number of retentive blocks; consolidate counters |
| Counter drifts after long operation | Encoder noise on long cable runs | Add shielded cable, 10 kOhm pull-downs on I3/I4, software debounce |
| Analog threshold jumps at power-up | Block not retentive; default value applied | Set Remanence ON; verify VM word with LOGO! Soft Comfort online test |
| TDE displays password prompt unexpectedly | Project password set in Soft Comfort | Enter password, or remove password from File → Properties |
| Min/Max block ignores EN input | Mode set to 1 or 2 instead of 3 | Change Mode parameter to 3 in block properties |
Notes on LOGO! Soft Comfort
LOGO! Soft Comfort V8.4 is the current engineering environment for the 0BA8 generation. Older V7.x projects can be migrated via File → Migrate. The simulation mode (View → Simulation) supports double-click parameter editing and is the fastest way to validate retention logic without a physical LOGO! on the bench. The integrated parameter VM mapping export provides a CSV that documents every VM address used, which is the recommended cross-reference for any external Modbus TCP or S7 communication that needs to read or write these thresholds.
FAQ
How do I store a threshold value so it survives a power cycle in LOGO! 0BA8?
Open the function block in LOGO! Soft Comfort, set Remanence = ON, compile, and download. The new value is written to EEPROM on every operator-confirmed change and persists across power-down.
Can an operator change a timer value without entering programming mode?
Yes. Tick Editable in operator mode on the block’s parameter tab. The value then appears in the operator menu of the LOGO! base unit and on the TDE and can be edited with the cursor keys and OK.
What is the difference between configuration mode and operator mode?
Operator mode is the default and exposes only parameters flagged Editable in operator mode. Configuration mode is entered by holding ESC for more than 2 seconds and grants full edit rights to all parameters; this is the engineering mode used for commissioning.
Why does my up/down counter reset to zero on power-up?
The block was downloaded without the Remanence flag set. Open block properties, tick Remanence, recompile, and redownload. The counter value will then be retained in EEPROM.
How do I store an analog value such as curtain position when the LOGO! has no analog output for the encoder?
Use a quadrature encoder wired to the LOGO! high-speed inputs I3/I4, decode direction with an Up/Down counter (Remanence ON), and pass the counter output through an Analog MUX to obtain a 0-100 % analog value for display on the TDE or for an analog threshold comparator.
Is there a limit to how many retentive values the LOGO! 0BA8 can hold?
Yes. The 0BA8 retains a maximum of 250 counter/timer values across the program. Exceeding this budget will be flagged by LOGO! Soft Comfort at compile time and the LOGO! will refuse the download.
Does the Min/Max block really store a value when EN is LOW?
In Mode 3 the block holds the last input value on its output whenever EN is LOW, and the held value can be flagged Remanence so it survives a power cycle. This is the documented mechanism for remanent analog storage in the 0BA8 instruction set.