1. Problem Overview
The SINUMERIK 840D SHOPTURN controller on a DMG MORI CTX310 lathe boots to the splash logo and stops. Pressing any key displays HMI Embedded version 06.02.42 followed by waiting for plc connection on the operator panel, and the system hangs indefinitely. Two additional symptoms almost always accompany this fault:
- No drive recognition — the HMI never lists the SIMODRIVE 611 or SINAMICS S120 modules in the drive status page.
- BIOS date frozen at 1999 (typically 01/01/1999 or 06/01/1999) on the operator panel front-end.
The combination of these three symptoms points to a deeper failure than a missing PLC program: the HMI Embedded cannot establish the internal handshake to the NCU/PLC, and the operator panel PC (PCU or HMI Embedded target) has lost its RTC backup. In shop-floor practice this is one of the most common field returns on legacy 840D powerline and 840D sl controllers that have sat un-powered through storage or a long shutdown.
2. Affected Hardware and Firmware
The fault pattern is documented on the following configurations:
| Component | Part / Version | Notes |
|---|---|---|
| Operator panel OS | HMI Embedded 06.02.42 | Final SHOPTURN-flavored HMI Embedded; runs on PCU 50 / HMI Embedded target |
| NCU | NCU 561.4 / 571.4 / 573.4 | 840D powerline & 840D sl, MPI/Profibus variant |
| Operator panel PC | PCU 50 (Pentium-III/III-class) or MMC 103 | BIOS battery CR2032 / BR2032 soldered or socketed |
| Drives | SIMODRIVE 611D / SINAMICS S120 | Connected via PROFIBUS-DP or digital setpoint link |
| Machine | DMG MORI CTX 310 / CTX 310 V3 / V4 | SHOPTURN turn-mill package |
Reference the official SINUMERIK 840D sl Operating Manual and the SINUMERIK PCU Base Software IM4–IM8 documentation for software compatibility matrices. HMI Embedded 06.02.42 is the legacy SHOPTURN deliverable that predates the SINUMERIK Operate line; it must be paired with PCU 50.5 / 50.3 or an HMI Embedded target as listed in the manual.
3. Root Cause Analysis
Three failure domains converge when this fault is reported. Treat all three simultaneously — fixing only one will leave the machine dead.
3.1 PLC connection timeout
HMI Embedded must handshake with the PLC over the internal MPI/PROFIBUS link (baud rate 187.5 kbit/s default) within the boot window. If the NCU fails to publish its PLC online status, the HMI sits at waiting for plc connection. Common triggers:
- Empty or corrupted PLC user program on the CompactFlash card (NCU CF slot).
- PLC firmware stop (STOP LED solid on the PLC317/PLC319 of the NCU).
- Corrupted NCU boot files (\mmc2\..., \user\...) — typically after a battery-fail or partial write.
- Handshake DB missing (DB7 / DB9 on default 840D PLC programs).
3.2 Drive recognition failure
Drives are not enumerated independently of the PLC — HMI Embedded reads the drive list from the same NCU buffer that the PLC populates through OB1 / OB100 startup. If the PLC handshake never completes, the HMI never receives the drive list, even if the drives themselves are healthy. Verify drive health separately with the SIMODRIVE 611D / SINAMICS S120 seven-segment display before assuming drive hardware failure.
3.3 BIOS date 1999 — dead RTC battery
A CMOS battery (typically BR2032, 3 V, 190 mAh) on the operator panel PC keeps the RTC and CMOS settings alive while mains is removed. Once the cell drops below ~2.5 V the BIOS resets to defaults and the clock returns to 01/01/1999 (or the last default year programmed). Symptomatic effects:
- BIOS defaults loaded (boot order, COM ports, integrated peripherals).
- RTC returns 1999, causing Windows / HMI Embedded license checks, file timestamps, and certificate validations to fail.
- On HMI Embedded targets, an RTC fault can prevent the HMI service from completing initialization — the HMI stays at the splash until the cell is replaced.
The dead-cell hypothesis is strongly supported by an observed battery voltage drop, bulging cell, or white residue on the holder. Replace the cell first, because every other recovery step depends on a stable RTC for log timestamps and license verification.
4. Diagnostic Procedure
- Verify mains and 24 VDC supply. Measure +24 V at NCU X111 terminal. Tolerance: 20.4 V – 28.8 V. Below 22 V the NCU can complete POST but fail the PLC handshake.
- Confirm NCU LED status. On a healthy NCU 561/571/573 you should see: PWR (green), SF (red) momentarily then OFF, BF (red) OFF or briefly lit, CF active during CF access. A solid red SF indicates PLC stop — proceed to STEP 7 / TIA Portal diagnostics.
- Inspect the operator panel PC LEDs. PCU 50 HDD LED should pulse, not stay dark. A dark HDD LED indicates the CompactFlash boot media is unreadable.
- Measure the CMOS cell. With the panel powered down, lift the cell and read it under no-load. A reading below 2.7 V means replace. Always retest after a 60-second rest before condemning the cell.
- Read NCU diagnostic buffer. Connect a PG / laptop running SIMATIC Manager (STEP 7 V5.5 or TIA Portal V16/V17) over Ethernet or MPI. Online → Accessible Nodes → select NCU → Module Information → Diagnostic Buffer. Note the most recent PLC stop events and any OB100 / OB102 startup OB failures.
-
Check CF card contents. Remove the NCU CF card (with power removed) and read it in a PC using a CompactFlash reader. Verify the presence of
mmc2directory tree and the user's PLC archive. The SHOPTURN project typically lives atD:\user\sinumerik\...on the PCU side and/card/user/...on the NCU side.
5. Mandatory Backup Before Recovery
- From the HMI Embedded menu (if accessible) or via Ethernet using SINUMERIK Toolbox / WinSCP / RCS Commander, run a Series Start-up Backup. Store on an external USB stick or network share.
- Back up the NCU CF card image to a PC with
ddor the HMI service menu — the entire card is required, not just themmc2tree. - Export the PLC project from STEP 7 / TIA Portal (Archive → S7 Program → Archived User Program, “.zip” or “.awl”).
- Back up drive parameters via SimoCom U / STARTER — export each SIMODRIVE 611D drive as
*.dnxand each SINAMICS S120 as*.bak.
6. Step-by-Step Recovery
Step 1 — Replace the CMOS battery
- Power down, lock out, wait 5 minutes for DC-link discharge.
- Open the operator panel rear cover; locate the CR2032 / BR2032 holder on the PCU 50 mainboard or the HMI Embedded target SBC.
- Note polarity (positive facing up on most PCU 50 boards). Replace with a fresh cell.
- Reapply power; enter BIOS (typically DEL or F2), set date/time, save and exit. Verify the clock holds after a mains cycle.
Step 2 — Restore the NCU boot image
- If the CF card is empty or the directory structure is missing, rewrite the NCU image from a known-good backup using the procedure in the SINUMERIK CF Card Imaging Tool documentation.
- Power up the NCU and verify POST completes without SF/BF errors.
Step 3 — Clear and reload the PLC
- Connect to the NCU from STEP 7 / TIA Portal.
- Open the project (or import the archived program), then perform PLC → Clear/Reset with the “Reset memory and retain variables” option unchecked initially.
- Perform a full download (blocks, system data, hardware configuration). Observe the diagnostics buffer for download errors.
- Place the CPU in
RUN. The RUN LED should be steady green; STOP LED off.
Step 4 — Re-establish HMI–PLC handshake
- Restart the HMI Embedded service from the operator panel service menu, or cycle mains.
- Watch the splash. The
waiting for plc connectionprompt must transition to the SHOPTURN main screen within ~90 seconds on a healthy system. - If the prompt persists, re-verify the NCU ↔ PCU MPI/PROFIBUS cable. The standard link uses a 9-pin D-sub on the PCU side and a Siemens MPI cable (6FX2002-1AA01-0xx). Replace if pins are corroded or the shield is broken.
Step 5 — Drive commissioning
- Once the PLC is in RUN, drives will be enumerated automatically by the SHOPTURN PLC program.
- Confirm on the HMI — the drive status page should list each SIMODRIVE 611D axis (X1, Z1, spindle, etc.) and any SINAMICS S120 modules with their drive numbers.
- Cross-check seven-segment displays: SIMODRIVE 611D shows a steady status (e.g.,
0= ready,7= wait for enable). SINAMICS S120 showsSorrwhen commissioned and waiting for enable. - If drives do not appear, run a PROFIBUS scan (PG → Accessible Nodes) to verify all nodes respond. Common failure points: terminator switches on the last drive, PROFIBUS address conflicts, broken shield termination at the 9-pin D-sub.
7. Verification Checklist
| Check | Method | Pass Criterion |
|---|---|---|
| BIOS date holds across mains cycle | Power OFF, wait 60 s, power ON, read BIOS | Date is current and not 1999 |
| NCU SF LED | Visual | OFF after boot |
| PLC RUN LED | Visual | Steady green |
| HMI Embedded splash | Operator panel | Progresses past waiting for plc connection within 90 s |
| Drive enumeration | HMI → Diagnosis → Drives | All axes listed with valid drive numbers |
| Drive seven-segment | Visual on each module | Steady 0 (611D) or S/r (SINAMICS) |
| Axis reference | Reference point traverse each axis | Each axis references without alarm |
| Program load test | Load a known-good SHOPTURN program | No 150202 “channel not ready” or 12080 “PLC sign-of-life” |
8. Fault & Alarm Reference
| Alarm | Source | Meaning | Recovery |
|---|---|---|---|
120202 Channel %1 not ready
|
NCK | PLC has not enabled the channel | Confirm PLC RUN, check DB21.DBX7.0 (channel reset) |
12080 PLC sign-of-life missing
|
NCK | PLC-to-NCK cyclic handshake lost | Check PLC OB1 priority, NCK-PLC link |
150202 NCK sign-of-life missing
|
PLC | PLC cannot read NCK status word | Verify MPI/PROFIBUS cabling and terminator |
| 700000+ PLC user alarms | SHOPTURN PLC | DMG MORI machine-specific | Consult CTX310 PLC source for alarm FB |
| Drive F-code (F08xxx) | SIMODRIVE 611D | Drive internal fault | Use SimoCom U → diagnostic buffer |
| Drive F-code (F30xxx) | SINAMICS S120 | Drive internal fault | Use STARTER → diagnostic buffer |
9. Preventive Maintenance
- CMOS cell replacement schedule: every 5 years or at first observed date drift. Document the cell lot number on the panel rear.
- Annual backup: a full series start-up backup on the SHOPTURN controller and a separate NCU CF card image. Store at least two generations off-machine.
- Battery health log: record cell voltage during PM. Replace any cell reading < 2.9 V under load.
- PROFIBUS annual check: re-torque D-sub connectors, verify shield termination, confirm 120 Ω terminators on first and last nodes.
- HMI Embedded firmware pinning: keep at 06.02.42 unless the machine OEM (DMG MORI) supplies a tested patch. Avoid drifting to SINUMERIK Operate without explicit approval — the SHOPTURN HMI is hardware-locked to PCU 50.
10. Field-Proven Notes
\user\sinumerik\hmicfg\. Delete only the oem.ini or hmicfg.ini after backup, never the entire tree.\user\sinumerik\hmicfg\sinumerik\hmicfg\oem.xml). Mismatches produce silent drive enumeration failure even with healthy drives and a green PLC.11. When to Escalate to Siemens Support
If after replacing the CMOS cell, restoring a known-good NCU image, clearing and reloading the PLC, and verifying PROFIBUS cabling the waiting for plc connection prompt persists and drives remain absent, escalate to Siemens Industry Online Support with the following attachments:
- NCU diagnostic buffer export (.txt).
- PLC project archive (.zip) and current hardware configuration.
- Series start-up backup of the HMI Embedded.
- Photograph of the NCU front (showing all seven-segment displays and LEDs).
- Photograph of the PCU 50 / HMI Embedded rear showing the BIOS date and battery holder.
- Drive seven-segment codes and PROFIBUS node addresses.
Reference the SINUMERIK 840D sl PCU Base Software IM4–IM8 and the SINUMERIK 840D sl Operating Manual when filing. Quoting the exact NCU part number (e.g., 6FC5356-0BB11-0AA0) and firmware version (CF card image build) accelerates triage.
What does "waiting for plc connection" mean on a SINUMERIK 840D?
It means the HMI Embedded (06.02.42) cannot complete the cyclic handshake with the PLC running on the NCU. Causes include an empty or corrupt PLC project, a PLC CPU in STOP, a broken NCU↔PCU MPI cable, or an unbootable NCU CF card. Fix by replacing the CMOS cell, restoring a known-good NCU image, and clearing/reloading the PLC project from STEP 7 / TIA Portal.
Why does the BIOS date show 1999 on the operator panel?
The CMOS battery (CR2032 / BR2032, ~3 V) on the PCU 50 or HMI Embedded target SBC has failed. The cell typically lasts 5 years. Replace the cell, enter BIOS, set the date, and confirm the clock holds across a mains cycle. Operating with a dead cell causes HMI Embedded license and file-timestamp errors that can prolong the “waiting for plc connection” prompt.
Why are no drives recognized even after the PLC is in RUN?
The drive list comes from the SHOPTURN PLC program after the PLC handshake completes. If the HMI never finishes the handshake, drives never appear. Confirm PROFIBUS terminators (120 Ω on first and last nodes), check the 9-pin D-sub shields, and verify that the configured drive numbers in oem.xml match the PLC project.
Can HMI Embedded 06.02.42 be replaced with SINUMERIK Operate on a CTX310?
No. The SHOPTURN HMI Embedded is a hardware-locked deliverable from DMG MORI tied to PCU 50 hardware. Migrating to SINUMERIK Operate requires explicit OEM support and a different operator panel PC. Keep HMI Embedded at 06.02.42 unless DMG MORI supplies a tested migration package.
Which STEP 7 / TIA Portal version is compatible with HMI Embedded 06.02.42?
STEP 7 V5.5 SPx with the SINUMERIK add-on, or TIA Portal V16 / V17 with the SINUMERIK 840D sl toolbox, depending on the NCU firmware. Confirm in the project properties and against the SINUMERIK 840D sl PCU Base Software compatibility matrix before commissioning.