Overview
Siemens LOGO! is the modular logic module (Logic Module) designed for small automation tasks where a full SIMATIC S7 PLC would be over-specified. The official LOGO! Simply ingenious. Simply more. Tips and tricks (Video) entry on the Siemens Industry Online Support portal bundles short, task-focused tutorials around LOGO!Soft Comfort programming, the on-board Ethernet port, the integrated web server, the PI controller special function, function keys on the LOGO! TDE, runtime parameter changes, and the Access Tool used to read logged data back from the module.
This reference expands each of the eight techniques in the video collection with the engineering context, menu paths, parameter tables, and commissioning checks you need to apply the same patterns in your own LOGO! programs. The goal is to shorten the gap between watching the videos and shipping a working installation.
Prerequisites and Engineering Environment
| Item | Specification |
|---|---|
| LOGO! base module | LOGO! 8 (Ethernet variant) or LOGO! 8.3 with firmware FS04 or later |
| LOGO!Soft Comfort | V8.x or newer, matching the target base module |
| PC interface | Ethernet (recommended) or USB cable for the older programming port |
| Optional display | LOGO! TDE (6ED1055-4MH08-0BA) for function-key exercises |
| Optional storage | Siemens LOGO! SD card for Access Tool logs and program transfer |
| Web browser (for web server check) | HTML5 capable; JavaScript must be enabled for the trend view |
Before opening LOGO!Soft Comfort, verify that the PC and the LOGO! are on the same IP subnet. A factory-fresh LOGO! 8 base module defaults to IP 192.168.0.3 with subnet mask 255.255.255.0. If the PC is on a different subnet, change the PC's address temporarily or assign a new static address to the LOGO! through the on-board menu (Network > IP Address on the LOGO! display).
Network LOGO! Controllers with Drag and Drop
LOGO! 8 modules communicate natively over Ethernet (10/100 Mbit/s) using the Siemens S7 protocol and can be linked into a project from inside LOGO!Soft Comfort without manually configuring subnet IDs, station addresses, or MPI/PB bus parameters. The drag-and-drop method is covered in the first video of the series.
Procedure
- In LOGO!Soft Comfort, open the network view (menu Tools > Select Hardware > Ethernet) and confirm your PC is the online interface.
- Right-click the project tree and choose Add New Device > LOGO! 8.... The new device icon appears in the network editor.
- Click the Ethernet icon of the LOGO! block and drag a connection line to another LOGO! block, to a SIMATIC S7 target, or to a PC with the LOGO!Soft Comfort proxy enabled.
- Open the device properties of the target and verify the IP Address, Subnet Mask, and TSAP fields. The default TSAP for a LOGO! server is
01.00. - Press Tools > Ethernet Connections > Configure Network to make the offline configuration match the online topology before downloading.
| Parameter | Default LOGO! 8 | Recommended for fixed install |
|---|---|---|
| IP address | 192.168.0.3 | Static, project-specific |
| Subnet mask | 255.255.255.0 | 255.255.255.0 |
| Default gateway | 0.0.0.0 | Router address on plant LAN |
| TSAP local / partner | 01.00 / 01.00 | Pair unique to each connection |
| Max. S7 connections | 8 | 4 LOGO!-to-LOGO!, 4 to other S7 partners |
A LOGO! can act as a client or a server on the S7 connection. For pure data sharing between two LOGO! 8 modules, configure the client (initiator) with the server's IP and TSAP. Use the Network Input/Output function blocks on the client side to map variables from the server into the client's program space.
Color-Code Connecting Lines in LOGO!Soft Comfort
Long ladder programs in FBD become unreadable quickly. The video series demonstrates the right-click context menu for selecting a connection line and assigning one of the standard colors. This is more than cosmetic: colored signal traces make single-cycle diagnostics on the LOGO! display much faster, and color survives program upload/download round-trips.
Best-practice color scheme
| Color | Convention | Use for |
|---|---|---|
| Red | Safety / fault | Emergency-stop chains, alarm flags |
| Green | Run / enable | Run permissive, motor-on feedback |
| Blue | Process value | Analog signals, sensor lines |
| Yellow | Manual / service | Maintenance override, hand operation |
| Gray | Default | Logic glue, timers, counters |
To apply a color, double-click the line, choose Line Color in the properties dialog, and confirm. The same dialog also lets you set the line thickness to Thick for signals that cross several pages, so the editor's page-break view remains traceable.
Exercise 1: Light and Fan Control Logic
The first structured programming exercise walks through a classic presence-detection scenario: a ceiling light and an extraction fan that must follow a PIR sensor with a configurable overrun time. The program is intentionally small (3 blocks on the rung) but introduces three patterns used everywhere else in the series.
Block map
| Block | Type | Function |
|---|---|---|
| B001 | Input I1 | PIR sensor (NO contact) |
| B002 | Off-delay (TOF) | Run-on timer for both loads |
| B003 | Output Q1 | Light |
| B004 | Output Q2 | Fan (same TOF, parallel branch) |
| B005 | On-delay (TON) | Pre-fan purge, 30 s |
Key learning points
- Connect the TOF output to two outputs by drawing a branch from the connector point above the output coil; the TOF result is reused without an extra block.
- The TOF's parameter
Ta(current time) is editable from the LOGO! display and from the web server, which is the bridge to the later parameter-change exercise. - A pre-purge TON is wired as a parallel branch so the fan starts
Tpseconds before the light turns on (positive ventilation) or after (negative ventilation) - swap the branch from a parallel to a series contact to switch mode.
Exercise 2: PI Controller Implementation
The PI controller is one of the special functions in the LOGO! instruction set. It accepts a setpoint (SP) and a process value (PV) on its inputs, drives an analog output (AQ), and supports manual/automatic mode as well as bumpless transfer. The video shows a temperature control loop where the analog input AI1 (0-10 V from a PT1000 conditioner) is held at a target value by modulating a 0-10 V actuator signal on AQ1.
PI controller block parameters
| Parameter | Range | Effect |
|---|---|---|
| SP | Engineering range (e.g. 0-100 °C) | Setpoint, settable from display/web |
| PV | Same engineering range as SP | Process value from AI |
| KC | 0.00 to 30.00 | Proportional gain, dimensionless |
| TI | 00:00 m:s to 99:59 m:s | Integral action time (reset) |
| DIR | + / - | Direct or reverse action |
| AQmax / AQmin | 0 to 1000 (mapped to 0-10 V or 4-20 mA) | Output limits |
| M | 0.00 to 1.00 | Manual manipulated value |
Startup procedure
- Scale the analog input to engineering units with the Analog Amplifier block (sensor type, min/max in °C, min/max mA or V).
- Drop the PI controller, set DIR so that an increase in PV produces a decrease in AQ (heating/cooling convention).
- Start with KC = 1.0, TI = 1:00, AQmax = 1000, AQmin = 0. Observe the response to a 10% step change in SP.
- Increase KC until the loop just begins to oscillate, then back off to 50% of that value. Add integral action by reducing TI until the steady-state error is removed in roughly 1-2 process time constants.
- Save the final KC and TI on the LOGO! display or in the web server, then use the comment field on the block to record the tuning date and engineer.
Exercise 3: Web Server Configuration
Every LOGO! 8 base module ships with an integrated web server that exposes the variable table, the message text configuration, and a live trend page. The third programming exercise enables the web server, sets a password, and shows how to access the LOGO! from a smartphone on the plant Wi-Fi.
Activation steps
- In the LOGO! on-board menu, navigate to Network > Web Server Access and select Enable.
- Set Web Server > Read-only access to Yes for production panels; set it to No only when the panel is in a controlled engineering network.
- Open the project in LOGO!Soft Comfort, open Tools > Web Editor, drag the variables to be exposed into the left pane, and click Web Editor > Compile to push the configuration to the connected LOGO!.
- From the browser, navigate to
http://<LOGO-IP>and log in with the user LOGO and the password configured in step 1. Change the default password before commissioning.
Web server URL map
| URL | Content |
|---|---|
| / | Login page, firmware version, module status |
| /status | Live status of I, Q, M, and analog values |
| /trend | Configurable trending of analog variables (sampling from 1 s to 24 h) |
| /variables | User-defined variable names with current value |
| /message | Message text status with timestamps |
Exercise 4: Function Keys on the LOGO! TDE
The LOGO! TDE is a 6-line text display with four cursor keys, two function keys (F1, F2, F3, F4 on the TDE; F1 and F2 on the LOGO! 8 on-board display), and an OK/ESC pair. The fourth video exercise maps each key to a flag (M-flag) and uses those flags as digital inputs in the program.
Wiring pattern
- Open Tools > Message Text and create one message text that displays the current state of the four function-key flags.
- Insert the Cursor Key special function (cursor keys are used in the same way as function keys; on the TDE you also have the F1-F4 hardware keys). Connect its output to a memory flag, for example
M8for F1,M9for F2, and so on. - Use the flag in the FBD as you would any digital input:
M8toggles a manual override,M9acknowledges an alarm,M10starts a teach-in sequence.
To make the function key behave as a momentary push-button, leave the output Edge-triggered = No. To make it behave as a toggle (press once = on, press again = off), wire the flag into a self-latching branch with a reset on the second press, or place a Current Impulse Relay block in front of the flag and feed the function-key flag into its trigger input.
Exercise 5: Changing Parameters at Runtime
Several blocks in LOGO!Soft Comfort expose parameters that the operator should be able to change without a download: the run-on time of the off-delay, the setpoint of the PI controller, the threshold of an analog comparator. The fifth video exercise shows three methods to make those values editable from the LOGO! display, the TDE, and the web server.
Parameter access matrix
| Method | Blocks that support it | Limits |
|---|---|---|
| LOGO! display > Parameter | Timers, counters, analog thresholds, PI setpoint | Values, not block function |
| LOGO! TDE > parameter menu | Same as display, plus message text parameter set | Requires message text configured |
| Web server / Web Editor | Variables marked as "settable" in Web Editor | Web server must be enabled |
| Network input from a master | Any parameter, via S7 write | Master must have correct TSAP |
To make a parameter visible on the LOGO! display, open the block properties and tick Parameter can be changed (in older firmware versions the wording is Operator-visible parameter set). When the block is downloaded, the parameter appears under Card > Program > Parameter on the LOGO! display and can be edited by the operator, optionally protected by a 4-digit parameter protection password.
Using the LOGO! Access Tool for Data Acquisition
The Access Tool is a PC utility bundled with LOGO!Soft Comfort that retrieves the data log from the SD card inserted in the LOGO! and exports it to CSV for analysis in Excel, MATLAB, or Python. The final video exercise configures the data log, runs a recording, and reads it back to a spreadsheet.
Data log configuration
- Insert a Siemens-branded SD card (FAT16/FAT32, 32 GB max) into the LOGO!. Cards larger than 32 GB are not recognized.
- In LOGO!Soft Comfort, open Tools > Data Log and enable logging. Add the variable, the sampling interval, and the trigger mode (continuous or on a flag edge).
- Compile the project and download it to the LOGO!. The LOGO! writes a new CSV to the SD card at each cycle; the file is named
LOGO_01.CSVby default. - Remove the SD card (the LOGO! continues to log to internal RAM for a short time), insert it into the PC, and open the Access Tool (Start > Siemens Automation > LOGO!Soft Comfort > LOGO! Access Tool).
- In the Access Tool, select File > Open, choose
LOGO_01.CSV, and use File > Export > CSV to create a clean comma-separated file with a timestamp column.
| Field | Typical value |
|---|---|
| File name | LOGO_01.CSV (or LOGO_NN.CSV for the Nth log) |
| Header line | Timestamp;Variable;Value;Quality |
| Sampling interval | 1 s to 24 h, project-defined |
| Maximum log size | Limited by SD card free space; LOGO! rolls over at 100 MB per file by default |
If the SD card is not recognized, check the mechanical insertion: the card must click into the spring-loaded slot. Format the card on a PC as FAT32 with the default allocation unit size if it is still not recognized, and avoid SDXC cards (exFAT) which the LOGO! firmware does not support.
Verification and Commissioning Procedure
Run the following checks before handing the panel to operations.
- Connection check. Ping the LOGO! from the engineering laptop. A successful reply confirms the IP, subnet, and Ethernet link.
- Watch table. In LOGO!Soft Comfort, open Tools > Online > Watch Table. Confirm all digital inputs, outputs, memory flags, and analog values update at the expected rate.
- Web server. Open the web URL in a browser, log in, and check the trend view. The trend should sample at the configured interval and show the expected engineering units.
- Function keys. Press each function key on the TDE and confirm the corresponding memory flag toggles in the watch table.
- PI loop. Step the setpoint by 10% and confirm the analog output moves to the expected AQ value within the configured KC and TI, and that the AQ stops integrating when AQmax or AQmin is reached.
- Data log. Insert an SD card, run a 5-minute test, and read the file back with the Access Tool. Confirm the timestamp column is continuous and the variable column matches the watch-table values.
- Parameter protection. Lock the parameter protection menu if operators are not allowed to change setpoints, or unlock it for the agreed set of parameters.
Troubleshooting Matrix
| Symptom | Likely root cause | Corrective action |
|---|---|---|
| LOGO!Soft Comfort cannot find the LOGO! on Ethernet | Different subnet, firewall, or DHCP lease | Set static IP on LOGO! and PC, disable Windows firewall for private network, ping test |
| Web server returns 404 | Web server disabled in LOGO! menu | Enable in on-board menu and recompile Web Editor |
| PI loop oscillates | KC too high or TI too low | Halve KC, double TI, retest |
| Function key does not latch | Output wired as momentary, no latching branch | Add current impulse relay or self-latching branch |
| Parameter change does not persist | Parameter protection set to off and operator changed via unsupported path | Re-enable "Parameter can be changed" in block properties, redownload |
| SD card not recognized | exFAT, larger than 32 GB, or write-protect tab on | Use FAT32 card ≤ 32 GB, slide write-protect tab off |
| Access Tool reports corrupt CSV | Card removed while LOGO! was writing | Stop the data log before removing card, or power down the LOGO! first |
| Drag-and-drop network link stays gray | TSAP mismatch or partner not in same project | Verify both TSAPs, set partner IP, recompile both stations |
| Color markings lost after edit | Color stripped by project merge in earlier firmware | Re-apply color after merge in LOGO!Soft Comfort V8.3 or later |
Field Notes and Best Practices
- Lock all eight S7 connections with unique TSAPs in a multi-LOGO! project so a maintenance laptop cannot accidentally address the wrong station.
- Adopt a single color convention project-wide (the table above is a good default) and document it in the project header comment.
- For PI control of slow processes (HVAC, water temperature), start with KC = 1.0, TI = 5:00, then tune. For fast processes (flow, pressure), use KC = 3.0, TI = 0:30 as a starting point.
- Use the on-board LOGO! display as a fall-back HMI: even when the web server is unreachable, the operator can still change setpoints and acknowledge alarms.
- Keep one known-good SD card per LOGO! cabinet. Mark the cards with the LOGO! IP address and the date of last format.
FAQ
Which LOGO! firmware is required for the integrated web server?
The integrated web server is available on every LOGO! 8 base module (6ED1052-xxx08-0BA and later). Earlier LOGO! 6/7 base modules do not provide this feature; they require an external Ethernet module which is no longer produced.
How many S7 connections can a single LOGO! 8 handle?
A LOGO! 8 supports up to 8 S7 connections in total, distributed across LOGO!-to-LOGO! links, LOGO!-to-SIMATIC S7 partner links, and the LOGO!Soft Comfort online interface. The default TSAP on every side is 01.00; change it to a unique value per connection before deploying more than one link.
Can the operator change PI controller setpoint at runtime without a program download?
Yes. In the PI controller block properties, enable "Parameter can be changed" for the SP, KC, TI, AQmax, and AQmin parameters. The setpoint then becomes editable from the LOGO! display, the LOGO! TDE, the web server, and any S7 master that has write access to the variable.
What is the largest SD card the LOGO! Access Tool can read?
LOGO! 8 base modules support SD and SDHC cards up to 32 GB formatted as FAT16 or FAT32. SDXC cards (exFAT) are not recognized. The Access Tool itself can read any CSV file the LOGO! produces, regardless of the card size, provided the card is readable in the PC's card reader.
Where can I find the official video tutorials and updated documentation?
The official Siemens Industry Online Support portal hosts the LOGO! Simply ingenious. Simply more. Tips and tricks video collection at the entry 109740519. The same portal also hosts the LOGO! system manual and the LOGO!Soft Comfort online help, which together cover the parameters and block set referenced in this article.