1. Problem Description
The Siemens LOGO! 8.4 logic module (part of the LOGO! 8 generation of micro-PLCs) supports outbound email notifications through its integrated Ethernet interface. The notification path is split into two independent subsystems:
- SMTP client — handles transport, authentication, TLS negotiation, and message construction. Configured in the device WebConfigurator under Network → Email.
- Trigger dispatcher — decides when a message is sent. Triggered either by program-side logic (digital inputs, function block outputs, flag bits) or by internal system events (RUN/STOP transitions, power-up, power-down).
The defect described in the field appears when the SMTP client passes its own self-test (the "Send test mail" button in WebConfigurator returns success) but the trigger dispatcher never produces a real message. Program-triggered emails are silently dropped, and the configurable system triggers (start/stop, run/stop) likewise do not produce traffic at the SMTP server.
Symptom summary engineers should look for:
- WebConfigurator → Email → Send test mail returns OK and the message arrives.
- Live tag or boolean transition wired to the email block never results in an outbound message.
- Wiring the trigger to a system event such as RUN → STOP produces no log entry and no server-side delivery attempt.
- No SMTP connection attempts visible in the firewall or in
tail -fon the mail server when the program-side trigger fires.
2. Affected Hardware and Firmware
The defect was confirmed on the following LOGO! 8.4 base modules running firmware earlier than V1.84.03:
| MLFB (Order Number) | Description | Display | Affected FW |
|---|---|---|---|
| 6ED1052-1CC08-0BA1 | LOGO! 8.4 base, 24 V DC, 8 DI / 4 DO | None | < V1.84.03 |
| 6ED1052-1MD08-0BA1 | LOGO! 8.4 base, 24 V DC, 8 DI / 4 DO | 6-line text | < V1.84.03 |
| 6ED1052-2CC08-0BA1 | LOGO! 8.4 base, 115/230 V AC, 8 DI / 4 DO | None | < V1.84.03 |
| 6ED1052-2MD08-0BA1 | LOGO! 8.4 base, 115/230 V AC, 8 DI / 4 DO | 6-line text | < V1.84.03 |
| 6ED1052-1HB08-0BA1 | LOGO! 8.4 base, 12/24 V DC, 8 DI / 4 DO | 6-line text | < V1.84.03 |
The matching programming environment must be LOGO! Soft Comfort V8.4 with Service Pack 1 (SP1). Earlier builds of Soft Comfort V8.4 do not always write the updated project metadata expected by the corrected firmware and can re-introduce the issue when the project is re-downloaded.
Firmware version V1.84.xx (xx = build). From the on-board HMI, navigate Setup → Diagnostics → Module Information.3. Root Cause Analysis
The trigger dispatcher in the affected firmware revisions contains a state-machine error in the way it links a rising-edge on a configured trigger source to the SMTP transmit queue. The defect is reproduced as follows:
- The dispatcher initialises correctly on power-up and registers the SMTP client as a valid sink.
- When a manual test email is invoked from WebConfigurator, the dispatcher is bypassed — the SMTP client transmits directly.
- When a configured trigger (program tag or system event) fires, the dispatcher queues the request, but the internal handle to the SMTP transmit function is invalid. The entry is dropped without error and without log.
Because no log line is written, the failure is invisible inside the device. A Wireshark capture on the Ethernet segment shows SMTP EHLO traffic only for test mails, never for triggered mails. Server-side, the only sign of life is the test message.
Siemens corrected the dispatcher state machine and the way Soft Comfort V8.4 SP1 serialises the trigger configuration block on download. Both updates are required: the firmware fixes the on-device bug, and the SP1 prevents the configuration that triggers it from being re-written by older project files.
4. Required Updates
| Component | Required Version | Source |
|---|---|---|
| LOGO! 8.4 base module firmware | V1.84.03 (or later 1.84.x service release) | Siemens Industry Online Support — LOGO! download area |
| LOGO! Soft Comfort | V8.4 + Service Pack 1 | Siemens Industry Online Support — LOGO! download area |
Both files are distributed together in the LOGO! 8.4 service pack. Refer to the LOGO! 8.4 system manual (Siemens ID 109751616) and the LOGO! product information page (Siemens ID 109766999) for the canonical firmware download path. Confirm the ZIP signature against the Siemens certificate before deploying to production hardware.
5. Step-by-Step Firmware Upgrade Procedure
5.1 Prerequisites
- PC with LOGO! Soft Comfort V8.4 SP1 installed.
- Ethernet connection from the PC directly to the LOGO! 8.4 base module (point-to-point or via the same switch). No cross-network or routed path.
- 24 V DC (or AC, depending on variant) supply stable; the module must not lose power during the upgrade.
- Project backup (.lsc) of the current logic. The upgrade does not erase user program, but a backup is mandatory.
5.2 Upgrade the Base Module Firmware
- Open LOGO! Soft Comfort V8.4 SP1 → Tools → Firmware Update.
- Select Target device → LOGO! 8.4 base module.
- Browse to the firmware file (typically
LOGO_8.4_BM_V1.84.03.updor similar). - Confirm the IP address of the target matches the device under Options → Ethernet Connections.
- Click Update. The transfer takes 2–6 minutes. Do not interrupt.
- Wait for automatic reboot. The RUN/STOP LED will cycle.
- Re-open WebConfigurator and verify Information → Firmware version reports V1.84.03.
5.3 Re-download the Project
- Open the existing
.lscproject in Soft Comfort V8.4 SP1. - Compile (F7) to ensure the new project metadata is written.
- Connect (F8) → PC → LOGO! 8.4.
- Transfer PC → LOGO! (download program to device).
- Switch the device to RUN and confirm the program behaves as before the upgrade.
6. SMTP Configuration Reference
All SMTP parameters live in the device WebConfigurator under Network → Email. The values shown below are the ones the engineer should confirm before chasing trigger faults.
| Parameter | Field name in WebConfigurator | Typical value | Notes |
|---|---|---|---|
| SMTP server | Mail server | smtp.gmail.com |
FQDN, must resolve from the LOGO! subnet |
| Port | SMTP port | 587 (TLS) / 465 (SSL) / 25 (plain) | Use TLS where possible |
| Encryption | TLS mode | STARTTLS / SSL / off | Must match the mail server policy |
| Username | User | [email protected] |
Full address if required by provider |
| Password | Password | App password (e.g. Gmail) | Account password, not OAuth |
| Sender | From address | [email protected] |
Must be permitted by the server |
| Recipient(s) | To address(es) | semicolon-separated | Up to 4 recipients |
| Subject | Subject | Free text + tag substitution | Supports text variables |
| Body | Message | Free text + tag substitution | Up to 256 bytes |
| Active | Enable email | checked | Master enable |
Press Send test mail after every credential change. A working test mail is the only reliable way to verify the SMTP client side. If the test mail fails, fix that first; the trigger dispatcher cannot succeed where the test mail fails.
7. Program-Side Email Trigger Programming
LOGO! 8.4 emails are dispatched when the input of the email function transitions from 0 to 1 (rising edge). The function is added to the program from the toolbar: Special → Email, or in circuit-diagram form under SF → E-Mail.
Minimum wiring:
+-------+ +----------+
I1 --| AND |---EN--| E-Mail |---(send)
M3 --| | | Function |
+-------+ +----------+
Where:
-
I1is the digital input wired to the alarm condition. -
M3is a flag bit you use to inhibit sends during commissioning. - The EN input must pulse (0 → 1 → 0) — a sustained high will fire only on the first edge, not continuously.
To re-arm the email function for repeated alarms, latch the trigger with a pulse generator:
+-------+ +---------+ +----------+
I1 --| AND |---EN--| Pulse |---IN---| E-Mail |---(send)
M3 --| | | (1s) | | Function |
+-------+ +---------+ +----------+
The pulse generator output delivers a clean 1-second trigger that the firmware can latch, even if the firmware revision is one of the affected builds — a useful commissioning workaround before the upgrade is in place.
8. System-Event Email Triggers
System triggers are configured in WebConfigurator under Email → Triggers. The available events on LOGO! 8.4 are:
| Event | Edge | Use case |
|---|---|---|
| Power On | Rising | Notify when module powers up after outage |
| Power Off | Falling (sent on last cycle before power loss) | Notify of impending shutdown |
| RUN → STOP | Falling | Notify operator of stop transition |
| STOP → RUN | Rising | Notify of restart |
| Error / Fault | Rising | Notify of diagnostic alarm |
Each event is configured with a subject and a body template. Tag substitution (e.g. %I1 for the state of input 1) is supported in both fields. With firmware earlier than V1.84.03, none of these events produce a transmission even when enabled — a tell-tale sign that the dispatcher is the failure point, not the SMTP path.
9. Verification Procedure
After applying the firmware and Soft Comfort updates, perform the following end-to-end test. Each step must pass before moving to the next.
- Firmware verification — WebConfigurator → Information: firmware reports V1.84.03 (or later 1.84.x).
- SMTP verification — Send test mail returns OK and the message arrives.
- Program trigger verification — force input I1 high, observe that the E-Mail function logs a send attempt in the device diagnostic buffer (Diagnostics → Buffer), and that the SMTP server receives a connection.
- System trigger verification — toggle RUN/STOP on the device; expect one email on each transition.
-
Body content verification — open the received email and confirm that the tag substitution rendered correctly (e.g.
%I1shows the live state). - Negative verification — short the trigger signal to ground, confirm no further mails are sent within 60 seconds (debounce check).
A Wireshark capture filtering on tcp.port == 587 (or your chosen port) during the test is the most authoritative verification — it proves the firmware actually opened the SMTP session, not just that the dispatcher tried.
10. Troubleshooting Matrix
| Symptom | Likely cause | Fix |
|---|---|---|
| Test mail fails with authentication error | Wrong password / app password not set | Re-issue an app password, retype in WebConfigurator |
| Test mail fails with TLS error | Encryption mode mismatch | Match provider (587 + STARTTLS, 465 + SSL) |
| Test mail fails with DNS error | DNS server not reachable | Set DNS in WebConfigurator → Network |
| Test mail OK, program trigger does not send | Firmware < V1.84.03 dispatcher bug | Upgrade firmware + Soft Comfort SP1 |
| Test mail OK, trigger sends duplicate messages | Sustained-high EN, not pulsed | Insert pulse generator on EN |
| Trigger works once, then never again | Function not re-armed | Re-arm with pulse or latching logic |
| System event not sent on RUN/STOP | Event not enabled in WebConfigurator | Enable under Email → Triggers |
Subject shows literal %I1 instead of value |
Substitution syntax wrong | Use %Ix, %Mx, %Vxxx per Soft Comfort help |
| Mail arrives from unknown sender | From address not permitted | Set From to a value accepted by the SMTP relay |
| Nothing happens, no log entry | Firmware bug or trigger not wired | Verify with firmware update; check EN wiring |
11. Best Practices
- Always apply firmware and Soft Comfort together. The dispatcher fix and the project serialisation fix are a pair — applying only one re-introduces the symptom on the next download.
- Use a dedicated mailbox for LOGO! notifications. Avoid personal accounts; lock the account to an app password with SMTP-only scope.
- Set DNS in WebConfigurator to a server on the local subnet. A public DNS path is one more failure mode you do not need.
- Debounce triggers with a pulse generator rather than wiring raw inputs. This prevents mail storms on noisy signals.
- Log every send to the diagnostic buffer by setting Diagnostics → Log events → Email to On. You will need it during commissioning.
- Document the firmware version in the project header. If you ever swap the base module, you can restore the exact matched firmware/Soft Comfort pair.
12. Frequently Asked Questions
Which firmware version fixes the LOGO! 8.4 email trigger bug?
Firmware V1.84.03 for LOGO! 8.4 base modules, paired with LOGO! Soft Comfort V8.4 Service Pack 1. The two updates are mandatory together — applying only the firmware without the SP1 leaves the trigger block in a layout the firmware mis-handles.
How do I know whether my LOGO! 8.4 has the buggy firmware?
Open WebConfigurator → Information and read the firmware string. Anything older than V1.84.03 (e.g. V1.84.00, V1.84.01, V1.84.02) is affected. From the on-board HMI, navigate Setup → Diagnostics → Module Information.
Why does the WebConfigurator test mail work but program triggers do not?
The test mail path is independent of the trigger dispatcher. The test bypasses the state machine that links trigger edges to the SMTP transmit queue; in affected firmware that state machine drops the request silently. Wireshark on port 587 will confirm: test mail generates SMTP traffic, triggered mail generates nothing.
Can I keep using an older LOGO! Soft Comfort project file?
You can open it in Soft Comfort V8.4 SP1, but you must re-compile and re-download to the device so that the trigger configuration block is re-serialised in the new layout. A live device still running a pre-SP1 download will continue to mis-handle triggers even after the firmware upgrade.
Is the Power Off email trigger reliable on LOGO! 8.4?
Power Off is sent during the capacitor-buffered shutdown window, so a clean supply decoupling is required. Brief brownouts of less than ~30 ms will not fire it; sustained power loss will. For critical loss-of-power notification, pair it with a UPS that holds the supply long enough for the SMTP transmit to complete.
Do the LOGO! 8.3 modules need the same update?
No. The V1.84.x firmware line and the email dispatcher fix are specific to the LOGO! 8.4 base modules. LOGO! 8.3 base modules have their own firmware branch and are unaffected by this defect.