Siemens LOGO! Web Editor: Fix "Invalid Name in SD Card" Download Error
Siemens LOGO! 8 base modules with an integrated Ethernet interface expose a built-in web server that displays custom dashboards generated by the LOGO! Web Editor (LWE). When the project name in the LWE does not match the directory name already present on the micro SD card — or does not match the active LOGO!Soft Comfort (LSC) program name — the LWE V1.0.1 download routine aborts with Download Failed! Invalid name in SD Card. This article documents the conditions that trigger the error on a 6ED1 052-1MD08-0BA0, the diagnostic path that confirms the SD card itself is healthy, and a complete step-by-step procedure to restore a working web project without re-flashing the base module.
1. Problem Overview
Engineers using the LOGO! Web Editor V1.0.1 to push custom web dashboards to a LOGO! 8.3 base module (order number 6ED1 052-1MD08-0BA0) report the following reproducible failure mode:
- The first download of a web project succeeds and the dashboard appears correctly on the device's web server.
- After modifying the project in LWE — most notably renaming the web project — every subsequent download attempt fails with the dialog
Download Failed! Invalid name in SD Card. - Replacing the micro SD card with a freshly formatted card does not resolve the problem.
- Creating a new LWE project from scratch with a different name reproduces the error.
- The LOGO! on-board diagnostic path Main menu → Diagnostics → Hardware → SD card reports
OKwith no hardware fault.
The condition is reproducible, is independent of the SD card vendor, capacity class, or file system used (provided the card is FAT16/FAT32 formatted as required by the LOGO! 8 platform), and is not resolved by re-installing LOGO!Soft Comfort. The cause is project-name binding inside the LWE V1.0.1 downloader, not the physical media.
2. Affected Hardware and Software
The 6ED1 052-1MD08-0BA0 belongs to the LOGO! 8.3 family (also referred to as LOGO! 8 FS4). It is a 24 V DC powered base module with an integrated display, eight digital inputs, four digital outputs, four analog inputs (two of which can be reconfigured as digital inputs 1B/2B), an Ethernet interface, and a micro SD card slot. The module is the first line of LOGO! devices that fully supports custom web projects produced by the LWE plug-in.
| Component | Identifier / Order number | Role | Notes |
|---|---|---|---|
| LOGO! Base Module | 6ED1 052-1MD08-0BA0 | Runs the LSC program, hosts the web server, holds the SD card | LOGO! 8.FS4, 24 V DC, with display, 8 DI / 4 DO, 4 AI, Ethernet, micro SD slot |
| LOGO!Soft Comfort (LSC) | V8.3 and later (V8.3 recommended) | Creates and downloads the LSC program; hosts the LWE plug-in | Generates the .lsc program file and the on-card program directory |
| LOGO! Web Editor (LWE) | V1.0.1 | Creates the custom web dashboard | Generates the .lwe project and the HTML/JS/CSS assets |
| Micro SD card | Siemens 6ED1 056-1BA00-0AA0 (2 GB) or compatible FAT16/FAT32 card | Holds the LSC program and the web project | Maximum supported capacity on LOGO! 8: 32 GB (FAT32); typical field deployments use 2-8 GB |
| Base module firmware | FS4 (factory default on 6ED1 052-1MD08-0BA0) | Hosts the web server; no separate firmware image | Updatable from the LSC menu Tools → Firmware Update |
3. Base Module Specifications Reference
The following specification data for the 6ED1 052-1MD08-0BA0 is taken from the official LOGO! 8.3 system manual and is included here so that engineers can confirm they are working with the affected hardware revision.
| Parameter | Value |
|---|---|
| Supply voltage | 24 V DC (nominal), range 20.4-28.8 V DC |
| Digital inputs | 8, 24 V DC, type 1 / type 3 per IEC 61131-2 |
| Digital outputs | 4 relay outputs, 10 A continuous, 250 V AC / 30 V DC |
| Analog inputs | 4 (AI1-AI4), 0-10 V, 10-bit resolution; AI1/AI2 reusable as DI5/DI6 in fast-counting mode |
| Ethernet | 1 x RJ45, 10/100 Mbit/s, supports S7 communication, Modbus TCP, and HTTP |
| Web server | Built-in, customisable via LWE; default port 80 |
| Micro SD slot | 1, accepts FAT16 / FAT32 formatted cards up to 32 GB |
| Web editor project | One LWE project per active LSC program, name-bound to the LSC project |
| Display | 6-line LCD with 16 characters per line, backlit |
4. Root Cause Analysis
When the LWE project is first downloaded to the LOGO!, the tool writes a self-contained directory tree onto the SD card. The root directory of that tree uses the LWE project name as its identifier. Internally, the LOGO! web server then serves the dashboard from that path. The LSC program is stored in a sibling directory whose name matches the LSC project. The web server correlates the LWE and LSC programs by directory name on the card; if the names diverge, the association cannot be resolved.
Three conditions have been observed to trigger the V1.0.1 "Invalid name in SD Card" dialog:
- Project name drift after the first download. The LWE project is renamed between successive downloads. The previously written folder on the SD card is not removed, and the new project name cannot be bound to a clean directory. The downloader refuses the transfer to protect the existing directory from being orphaned.
- Mismatch between the LWE project name and the LSC project name on the SD card. The base module writes the active LSC program to the SD card using the LSC project name. The web server correlates the LWE and LSC programs by directory name. When the two names diverge, the web server cannot associate the LWE assets with the running LSC logic, and the download is refused with the "Invalid name in SD Card" message.
- Stale residual directory from a previous project. Renaming an LWE project — or copying a project from another installation — leaves behind a folder whose name is the old project name. The LWE V1.0.1 downloader validates the SD card tree before writing, and any pre-existing directory with a different name produces the error.
The on-board diagnostic path Main menu → Diagnostics → Hardware → SD card only checks the physical state of the card (presence, file system, write-protect, and free space). It does not validate the project-name consistency. A clean OK result therefore rules out a hardware defect and points to a project-naming conflict.
5. Diagnostic Procedure
Run the following checks in order before applying the resolution. Each step is non-destructive and can be performed on a running system.
-
Check the SD card in the LOGO! on-board menu. Navigate to Main menu → Diagnostics → Hardware → SD card. A status of
OKconfirms the card is present, formatted correctly, and writable. A status ofNO CARD,WRITE-PROTECTED, orFILE SYSTEM ERRORindicates a physical issue that must be resolved before continuing. - Read the active LSC program name from the LOGO!. On the base module display, open Program → Card → Program name and note the exact string. The string is the LSC project name and is also the root directory on the SD card under which the web project must be stored.
-
List the SD card contents on a PC. Power down the LOGO!, remove the micro SD card, and read it with a card reader. The root of the card should contain a folder whose name matches the active LSC program. Inside that folder you will find
logo.bin(the LSC program image) and, if a web project has been deployed, a sub-folder with the LWE project name. - Compare the LWE project name with the SD card sub-folder name. In the LWE, open Project → Properties (or File → Properties depending on the LWE build) and record the project name. Compare it to the sub-folder name on the SD card. Any mismatch is the trigger for the error.
- Compare the LWE project name with the active LSC project name. Open the matching LSC project in LOGO!Soft Comfort and record the project name from File → Project Properties. If this name differs from the LWE project name, the download will fail.
- Capture the LWE build number. Open Help → About in the LWE plug-in and record the exact build string. This is required if a Siemens support request is opened.
6. Resolution: Step-by-Step Procedure
The fix is to align the three identifiers — the LWE project name, the LSC project name, and the SD card folder name — before re-issuing the download. Use the procedure that matches your situation.
6.1 Quick fix: rename the LWE project to match the LSC project
- In the LOGO! Web Editor, open the project that is failing to download.
- Select File → Save As and assign the new name to exactly match the LSC project name recorded in step 2 of the diagnostic procedure. Match the case, underscores, hyphens, and any numerical suffix.
- Confirm that no other project, image, or asset references the old LWE project name.
- Click the Download to LOGO! button (the icon with the arrow pointing down to a card). The progress bar should complete without the "Invalid name in SD Card" dialog.
- After the download, leave the LOGO! powered for at least 10 seconds so that the internal name index is flushed to non-volatile memory.
6.2 Clean-room fix: clear the SD card and re-deploy both projects
- Back up the active LSC program: in LSC, File → Save As to a local
.lscfile on the PC. - Back up the LWE project: in LWE, File → Save As to a local
.lwefile on the PC. - Power down the LOGO! and remove the micro SD card.
- Insert the card into a PC. Format the card with FAT16 or FAT32 (allocation size 4096 bytes is recommended). Delete any residual
\<old name>\folders that remain from previous projects, including the~SD_Config.dirindex file. - Re-insert the card into the LOGO! base module.
- Open the LSC project. Use Tools → PC → LOGO! (or Tools → Transfer → PC → LOGO!) to download the program. Note the exact project name from the Program name display on the base module.
- Open the LWE project. File → Save As the LWE project using a name identical to the LSC project name (including underscores, hyphens, and case).
- In the LWE, click Download to LOGO!. The transfer should complete and the dashboard should appear at
http://<logo-ip>.
6.3 Block format check after the project names are aligned
After the download succeeds, verify that the integer variables exposed by the dashboard are interpreted correctly. In the LWE, each variable must be bound to a memory marker or I/O address using the Signed block format whenever the underlying value can be negative (e.g. AI1 scaled to °C, counters that wrap, or any signed arithmetic result). Selecting Unsigned for a signed variable will display garbage values in the dashboard even though the download completes without error. This is a common secondary fault discovered only after the "Invalid name" error is cleared.
7. Verification
- Open a browser and navigate to the LOGO!'s IP address. The custom dashboard should load without HTTP 404 errors.
- Click on each dashboard widget. The values should match the values shown on the base module display or in LSC's online view (press F5 to start online mode).
- Force a value change in the LOGO! (e.g. toggle an input or set a memory marker). The dashboard should update within one polling cycle (default 2 seconds; configurable in the LWE project properties).
- Power-cycle the LOGO! base module. The dashboard should reload automatically when the web server comes back up. If it does not, the SD card folder binding has not been flushed — re-run the resolution in section 6.
- Repeat the LWE download a second time. The transfer should succeed without prompting the "Invalid name" dialog, confirming the SD card directory is now in a consistent state.
8. SD Card Folder Structure Reference
The SD card layout for a LOGO! 8.FS4 base module with an active web project follows a strict convention. Use the table below to validate the on-card tree before and after an LWE download.
| Path on the SD card | Origin | Mandatory? |
|---|---|---|
\<LSC_project_name>\logo.bin |
Generated by the LOGO! base module when an LSC program is loaded | Yes |
\<LSC_project_name>\<LWE_project_name>\index.html |
Generated by the LWE download | Yes if a web project is deployed |
\<LSC_project_name>\<LWE_project_name>\*.js, *.css, *.png |
Web assets generated by the LWE | Yes if referenced by index.html |
\<LSC_project_name>\<LWE_project_name>\config.json |
Variable bindings from the LWE | Yes |
\~SD_Config.dir |
Internal index of all LSC programs on the card | Yes (managed by the base module) |
The base module performs a case-sensitive comparison of <LSC_project_name> and <LWE_project_name> against the on-card directory names. Any difference — including trailing spaces, non-ASCII characters, or BOM markers embedded by certain text editors — produces the "Invalid name in SD Card" rejection. If the LWE project has been opened and re-saved by an external HTML editor, ensure that the file is re-saved as UTF-8 without BOM before re-deploying.
9. Firmware and Software Compatibility Matrix
| LSC version | Base module FW | LWE result | Recommended action |
|---|---|---|---|
| V8.0 / V8.1 | FS1 / FS2 | Web Editor not installed | Upgrade LSC and base module firmware to FS4 |
| V8.2 | FS3 | LWE V1.0.0 available; LWE V1.0.1 not supported | Use LWE V1.0.0 or upgrade LSC to V8.3 |
| V8.3 | FS4 (6ED1 052-1MD08-0BA0) | LWE V1.0.1 supported, name-binding check active | Apply the resolution in section 6 |
| V8.4 | FS5 / FS6 | LWE V1.0.1 supported, additional tags exposed | Apply the resolution in section 6 |
The 6ED1 052-1MD08-0BA0 ships with FS4 firmware from the factory. The LWE V1.0.1 is bundled with LOGO!Soft Comfort V8.3 or later and is the recommended version for this hardware. Earlier LWE V1.0.0 builds are supported on FS3 but do not include the strict name-binding check, which is why the error appears only after the upgrade to V1.0.1.
10. Troubleshooting Matrix
| Symptom | Likely cause | First check | Fix |
|---|---|---|---|
| "Invalid name in SD Card" dialog | LWE project name diverges from LSC project name | Compare LWE and LSC project names | Rename LWE to match LSC (section 6.1) |
| "Invalid name in SD Card" after first successful download | LWE project renamed between downloads | Compare LWE project name with on-card sub-folder | Clean-room re-deploy (section 6.2) |
| "Invalid name in SD Card" after migrating a project from another LOGO! | Stale folder from previous project still on card | Inspect the SD card root on a PC | Format the card and re-deploy (section 6.2) |
| "Invalid name in SD Card" + SD card diagnostic shows FILE SYSTEM ERROR | Unsupported file system or corrupt partition | Re-format as FAT16/FAT32 on a PC | Replace the card; use Siemens 6ED1 056-1BA00-0AA0 for critical deployments |
| "Invalid name in SD Card" + SD card diagnostic shows WRITE-PROTECTED | Mechanical write-protect tab engaged on the SD adapter | Remove card, inspect adapter slider | Disable write-protect; re-insert |
| Download succeeds but dashboard shows garbage integer values | Wrong block format (Unsigned vs. Signed) | Inspect variable bindings in the LWE | Change to Signed for any value that can be negative (section 6.3) |
| Dashboard 404s after power-cycle | Name index not flushed to non-volatile memory | Re-run the LWE download | Wait 10 seconds after each LWE download |
11. Prevention and Best Practices
- Lock the project names. Once a web project is deployed, keep the LWE project name identical to the LSC project name. Treat the two names as a single identifier and document them in the project header in both tools.
- Use Save As with the same name when porting projects. Migrating a dashboard from one LOGO! to another is a common trigger for the error. Always create the new LWE project with File → Save As and explicitly type the destination LSC project name.
- Avoid renaming after first deployment. Renaming an existing LWE project on the PC side does not update the on-card directory. The cleanest workflow is to deploy a new project, never to rename an existing one.
-
Format the SD card between project migrations. When transferring a project to a different LOGO!, re-format the card on a PC to wipe residual project folders and the
~SD_Config.dirindex. A clean FAT16/FAT32 partition is a prerequisite for a clean LWE deployment. - Use Siemens 6ED1 056-1BA00-0AA0 cards for critical deployments. Third-party cards are supported but the Siemens-branded cards have been qualified against the LOGO! diagnostic path and minimise the risk of intermittent file-system errors. The 2 GB capacity is sufficient for any LWE project that fits in the on-card program space.
- Tag every LWE download in a change log. Record the LWE project name, LSC project name, LWE build number, SD card serial, and the base module's IP address and firmware version. The change log turns a future "Invalid name" failure into a five-minute fix.
- Keep LSC and LWE on the same release train. Mixing LSC V8.2 with LWE V1.0.1, or LSC V8.4 with a base module still on FS3, is a frequent cause of subtle name-binding errors. Upgrade LSC, the LWE plug-in, and the base module firmware as a set.
- Keep the LWE project UTF-8 without BOM. External HTML editors that insert a BOM at the start of the file can produce name comparison failures that surface as the same "Invalid name" dialog. Re-save the project as plain UTF-8 before deploying.
12. Escalation Path
If the procedure in section 6 does not clear the error, escalate as follows:
- Collect the LSC project (
.lsc), the LWE project (.lwe), a screen capture of the on-board Diagnostics → Hardware → SD card menu, and a directory listing of the SD card root. - Open a Siemens support request at the Siemens Industry Online Support portal and attach the four files.
- Reference the LWE V1.0.1 build number from Help → About in the LWE plug-in and the base module's order number (6ED1 052-1MD08-0BA0) and firmware version (FS4 / FS5 / FS6).
- Siemens Technical Support can request a remote pull of the on-card directory listing and confirm whether a stray folder with the old name is still present. The escalation typically takes 2-5 business days for a name-binding defect.
What does the "Invalid name in SD Card" error mean in the LOGO! Web Editor?
The error means the LWE V1.0.1 downloader has detected a mismatch between the LWE project name (or the LSC project name) on the PC and the directory name already present on the micro SD card inserted in the LOGO! 6ED1 052-1MD08-0BA0. It is a name-binding check, not a card-health check. Re-format the card or align the project names to clear it.
Is the error caused by a defective SD card?
Usually not. The on-board diagnostic path Main menu → Diagnostics → Hardware → SD card reports the physical status of the card. A result of OK rules out a defective card and points to a project-name conflict. A result of NO CARD, WRITE-PROTECTED, or FILE SYSTEM ERROR does indicate a card problem and must be resolved before re-attempting the LWE download.
Do the LWE project name and the LSC project name have to be identical?
For the LOGO! 8.3 (FS4) base module, yes. The web server associates the LWE directory with the active LSC program by directory name. A mismatch — including case, trailing spaces, BOM markers, or non-ASCII characters — produces the "Invalid name in SD Card" rejection. The simplest workflow is to give both projects the same name from the start and never rename either of them on the PC side after the first download.
Why does the first download succeed but the second one fail after I rename the LWE project?
The first download creates a folder on the SD card named after the LWE project. When you rename the LWE project on the PC, the on-card folder is not automatically renamed or removed. The V1.0.1 downloader refuses to write a new folder over a folder whose name no longer matches the active project, which triggers the error. The fix is to either restore the original name or perform the clean-room re-deploy in section 6.2.
Can I keep the LWE project and just rename the LSC project to match?
Yes, but only if the LSC project is renamed in LOGO!Soft Comfort and re-deployed to the base module before the next LWE download. The base module writes the active LSC program to the SD card under the LSC project name, so the LSC project name is the authoritative identifier for the on-card root directory. Renaming the LSC project in LSC and re-downloading is the most reliable way to keep the LSC and LWE project names in sync.
Which LOGO! Web Editor version is recommended for the 6ED1 052-1MD08-0BA0?
LOGO! Web Editor V1.0.1, bundled with LOGO!Soft Comfort V8.3 or later, is the recommended version for the 6ED1 052-1MD08-0BA0 (LOGO! 8.3 / FS4) base module. Earlier V1.0.0 builds are supported on FS3 firmware but lack the strict name-binding check that triggers the "Invalid name in SD Card" dialog. Always keep the LSC, LWE plug-in, and base module firmware on the same release train.
What is the exact file path the LWE creates on the SD card?
The LWE creates a sub-folder under the LSC program directory: \<LSC_project_name>\<LWE_project_name>\. Inside that sub-folder the LWE writes index.html, supporting *.js, *.css, and *.png assets, plus a config.json file that holds the variable bindings. The LOGO! web server then serves the dashboard from that path at http://<logo-ip>.
Where can I download the official LOGO! Web Editor help documentation?
The official LOGO! Web Editor online help is published as PDF attachment 109768854 on the Siemens Industry Online Support portal at support.industry.siemens.com. The document describes the download command, the project file conventions, and the SD card requirements in detail. The Siemens Industry Online Support portal at support.industry.siemens.com is also the source for the LOGO! 8 system manual, firmware updates, and additional FAQ.