Executing Part Programs from CF Card on SINUMERIK 810D

David Krause14 min read
Other TopicSiemensTutorial / How-to
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

1. System Overview: 810D Storage Architecture

The SINUMERIK 810D is a compact modular CNC platform that integrates the NCK (Numerical Control Kernel), PLC, drive modules, and operator panel into a single coordinated chassis. Unlike its larger sibling the 840D, the 810D condenses the CCU (Compact Control Unit) and operator interface into one physical unit while still separating the HMI runtime environment from the NCK runtime. This separation drives a fundamental fact that catches most first-time users: the storage slots visible on the 810D hardware are not interchangeable. A CF card inserted into the wrong slot boots HMI upgrade media, not part programs. Executing a part program directly from removable media therefore requires the engineer to first identify the correct physical slot, the correct logical channel, and the correct boot mode before any file transfer can succeed.

Three storage surfaces matter for part program execution on the 810D:

  • CCU slot — Compact Flash / PCMCIA slot on the CCU710 or CCU720 module itself. This is the slot the NCK uses to load part programs and machine data at boot.
  • PCU slot — PCMCIA slot on the front of the PCU (Panel Control Unit) or PCU20 operator panel. Used by the Windows-based HMI runtime for HMI upgrades, option enabling, and file service to the HMI partition.
  • MMC slot — the legacy designation for the operator-panel-mounted slot on the HMI Advanced side. Identical electrically to the PCU slot for practical purposes.
Only the CCU slot is intended for part program execution. Slots on the PCU or MMC side are reserved for HMI software loads, option-bit activation, archive backup, and service access. Inserting the same CF/PCMCIA card into the wrong slot produces silent failures or, worse, triggers an HMI upgrade attempt and bricks the operator interface.

2. Identifying the Active Boot Slot (CCU vs PCU vs MMC)

The 810D hardware variants place the CF/PCMCIA receptacle in one of three locations. Before any card preparation begins, locate the slot by following the operator panel cable back to the CCU module. The CCU slot is mechanically identical to a Type II PCMCIA slot (68-pin) and accepts both legacy linear PCMCIA SRAM cards and CF-to-PCMCIA adapters.

Slot Location Owner Intended Use User Effect of Misuse
CCU slot CCU module face NCK runtime Part programs, machine data, NCK boot, drive CF card Program not found, NCK boot failure, alarm 4100 series
PCU slot PCU/PCU20 front HMI runtime (Windows) HMI upgrade, option enable, service archive Silent HMI upgrade trigger, possible HMI license loss
MMC slot Operator panel HMI runtime (legacy) Floppy emulation, archive, option Same as PCU; depends on HMI generation

Two visual cues confirm the CCU slot: it is recessed behind a small plastic door with a push-eject button, and the slot is electrically inside the NCK domain — meaning that a card inserted while the control is powered does not appear as a drive letter on the HMI. This NCK-local access is precisely what makes direct part program execution possible.

3. PCMCIA Hardware: Adapters, Card Types, and Compatibility

The 810D predates native CF card support, so a compact-flash card must be presented to the control as a PCMCIA-ATA device. This is achieved with a passive Type II PCMCIA-to-CF adapter — a flat sled with a 50-pin CF socket on one side and a 68-pin PCMCIA plug on the other. Field experience shows that adapters with the IDEC “Hitachi” or SanDisk branding are the most reliable; generic adapters often fail to enumerate under the 810D NCK boot ROM.

Media Capacity Limit Tested Boot Mode Use Case
PCMCIA SRAM / Flash linear 2 MB – 64 MB HCS (HMI Compact Storage) Boot part programs, machine data, NC archive
CF card + PCMCIA adapter 32 MB – 2 GB HCS or standard FAT Mass part program libraries, NC + HMI archives
PCMCIA hard disk (rare) up to 4 GB FAT16 only Backup only; not recommended for runtime programs
A CF card larger than 2 GB formatted as FAT32 will not enumerate on older CCU710 firmware (boot < V2.6). Use FAT16 for cards up to 2 GB; for larger libraries split across multiple cards. The Siemens SINUMERIK 840D/810D ManualTurn installation package documents the file system assumptions used by service tools and is a useful reference for partition sizing: SINUMERIK 840D/810D ManualTurn application documentation.

4. HCS Mode: What It Is and When to Use It

HCS stands for HMI Compact Storage, a Siemens-defined mode in which the PCMCIA card is treated as the boot-time source for NCK and PLC data. When the control is configured to boot from HCS, the NCK reads the entire persistent machine state from the card at power-up: NCK machine data, PLC program, drive parameters, compensation tables, and any part programs located in the part-program root.

Two HCS variants exist:

  1. HCS boot (full) — card contains a complete NCK image including the PLC project. Used to clone one machine onto another, or to recover from a corrupted NCK.
  2. HCS part program only — card contains part programs and work offsets only; NCK reads its machine data from internal Flash. This is the mode you want for routine shop-floor distribution of programs.

The distinction is configured in the NCK via machine data MD11200 (default file extension for part programs) and the HMI startup sequence. Operators can verify the active HCS state at boot by watching the seven-segment display on the CCU: a steady dot indicates the NCK is reading the card, a flashing dot indicates a card error or no card present.

5. Part Program File Types and Directory Layout

The 810D uses a strict file-type convention enforced by the NCK. Programs that omit the correct extension are ignored by the part-program manager even if they are syntactically valid DIN/ISO code.

Extension Meaning Source Example
.MPF Main Program File NCK SHAFT_001.MPF
.SPF Sub Program File (called by EXTCALL or via program path) NCK DRILL_45.SPF
.WPD Workpiece Directory (folder containing one or more .MPF/.SPF) NCK BATCH_A.WPD
.CMA Cycle Macro (subroutine library) NCK DRILL_CYCLE.CMA
.INI Machine/setting data snapshot NCK or HMI SETTINGS_2024.INI
.ARC Serialized archive (NCK + PLC + drives) NCK backup FULL_BACKUP.ARC
.TEA Siemens HMI upgrade file HMI PCU20_V12.TEA

The on-card directory layout for HCS mode looks like this when the card is mounted on a Windows PC:

\ (card root)
  \NCK\                 (NCK runtime files; do not edit)
    \MMC\               (legacy MMC runtime; not used on 810D)
  \HMI\                 (HMI runtime files; option bits)
  \DH\                  (drive data files; .ACX, .BEF)
  \DP\                  (PROFIBUS configuration)
  \PLC\                 (PLC project sources)
  \PROGRAMS\            (user part programs)
    \SHAFT_001.MPF
    \SHAFT_001.WPD\
      \DRILL_45.SPF
      \DRILL_46.SPF
  \ARCHIVE\             (NCK archives, .ARC files)
  \DIAG\                (service log output, optional)
Older CCU firmware (boot < V2.4) ignores the \PROGRAMS\ folder and reads part programs from the card root only. Check your CCU boot version with menu Startup → Version or via the diagnostic menu before relying on nested directories.

6. Preparing a PCMCIA/CF Card for 810D Use

Card preparation is the single most common failure point. The 810D is unforgiving about partition type, block size, and file-system cluster alignment. Follow this sequence exactly when commissioning a new card.

  1. Insert the CF card into a USB reader on a Windows PC. Back up any existing contents; the card will be repartitioned.
  2. Open Disk Management (diskmgmt.msc). Delete all existing partitions on the card.
  3. Create a new primary partition spanning 100% of the card. File system: FAT16 for cards up to 2 GB, FAT for cards up to 32 MB. Avoid FAT32 — older CCU boot ROMs do not recognize it.
  4. Set the allocation unit size to 4 KB (or 2 KB for cards < 32 MB). Do not use the default Windows 64 KB cluster size; the NCK boot loader cannot read files written with very large clusters on cards above 1 GB.
  5. Apply the format. Verify the volume label is empty — the 810D HMI has a known issue where a labeled volume confuses the HCS boot path.
  6. Insert the CF card into the PCMCIA adapter. Eject safely from Windows.
  7. With the 810D powered down, insert the adapter into the CCU slot only. Do not insert while powered unless you are running a live HCS service; a hot-insert in HCS boot mode can cause NCK alarm 4100.
For production shops running identical programs on multiple machines, prepare one master card, image it with a tool such as Win32DiskImager or dd, and clone to each shop card. This eliminates per-card formatting variance.

7. Loading Part Programs onto the Card

Two practical methods exist: write to the card on a Windows PC and walk it to the machine, or use the 810D's own services interface to copy programs over the network. The PC method is faster for large libraries; the network method is preferred when the same card must remain in the machine for runtime.

7.1 PC-Based Method (Direct Write)

  1. Insert the prepared card in the USB reader.
  2. Create the \PROGRAMS\ folder on the card root.
  3. Copy your .MPF, .SPF, and .WPD files into \PROGRAMS\ using Windows Explorer. Verify the file extensions are uppercase — DIN/ISO programs written with lowercase .mpf are accepted by some 810D firmware versions and rejected by others.
  4. Eject the card safely.
  5. Insert into the 810D CCU slot. Power on.

7.2 Network-Based Method (RCS / DNC)

  1. Connect the 810D to a Windows PC running RCS Commander or any DNC server (e.g., Predator DNC, CIMCO). The 810D exposes a port 21 FTP service on the HMI side and an SMB share on the operator network.
  2. From the HMI, navigate to Services → Network → CF Card. If the card is mounted in the CCU slot, the HMI shows it as the logical drive /card (or C: on HMI Advanced).
  3. Drag-and-drop .MPF/.SPF files from the network share to the card root. The HMI prompts for a “copy to active runtime” confirmation; answer Yes.
When the card is in the CCU slot (not the PCU slot), file copies pass through the NCK runtime and trigger an automatic CRC verification. This adds 200–400 ms per file but guarantees the file landed intact.

8. Executing Part Programs from the Card

Once the card is mounted, the part program manager on the HMI lists every .MPF and .SPF on the card. Execution follows the standard SINUMERIK selection sequence:

  1. On the HMI, press Program Manager (or navigate Startup → Programs on legacy HMI).
  2. The left pane shows the active sources: NCK, CF Card, Network. Select CF Card.
  3. Browse to the program: e.g., /card/PROGRAMS/SHAFT_001.MPF. The path syntax is fixed by the NCK and uses forward slashes; Windows backslashes fail silently.
  4. Press Select. The program loads into the NCK interpreter. The active program name appears in the channel status line at the top of the HMI.
  5. Press NC Start to begin execution. To execute in single-block mode, enable SBK on the operator panel first.

For automated job shops that want a specific .MPF to load on power-up, set the NCK boot program via:

  • HMI path: Startup → NCK → Boot Program → /card/PROGRAMS/AUTO.MPF
  • Equivalent machine data: MD20150 $MN_DEFAULT_GCODE_FILE (file name) and MD20160 $MN_GCODE_MODE (mode bits; bit 4 = boot from card).
If the operator removes the card mid-execution, the NCK raises alarm 4100 "Part program file not found" within one IPO cycle. To avoid this, configure the job to fully complete (M30) before card removal, or use the Hold and remove sequence: NC Stop → Reset → wait for the part-program status field to read "Interrupted" → remove card.

9. Backing Up NCK, PLC, and Drive Data to the Card

The CCU slot also supports a complete NCK image archive, useful when commissioning a new machine or recovering from a failed upgrade. The archive is a single .ARC file written to the card root.

  1. Insert the card in the CCU slot.
  2. From the HMI: Startup → Archive → Create.
  3. Select scope: NCK + PLC + Drives + HMI (or any subset).
  4. Select destination: CF Card (CCU).
  5. Choose file name: BACKUP_2024-11-15.ARC.
  6. Press Start. The archive takes 60–300 seconds depending on the option bit count and drive parameter set.

To restore:

  1. Power down the 810D.
  2. Insert the card containing the .ARC into the CCU slot.
  3. Power on while holding the HMI soft key Startup (or use the CCU rotary switch to position 1 = “Boot from card”).
  4. Select Restore from CF Card. The control prompts for confirmation; answer Yes.

The Siemens SINUMERIK 840D/810D ManualTurn application documentation describes how the same card layout is used by the installation tool to stage NCK and PLC data, which is useful as a reference for naming conventions and the expected directory tree even when not using ManualTurn itself.

10. Troubleshooting Matrix

Symptom Alarm / Code Root Cause Resolution
Program not listed in Program Manager None Card inserted in PCU/MMC slot, not CCU Move card to CCU slot. Verify the seven-segment display on CCU shows a steady dot at boot.
Program listed but not selectable None Lowercase extension (.mpf) or missing extension Rename to uppercase .MPF / .SPF on the Windows side, recopy.
NCK alarm at boot 4100 "Part program not found" Card formatted as FAT32, CCU boot < V2.6 Reformat as FAT16, or upgrade CCU firmware to ≥ V2.6.
NCK alarm at boot 8022 "Boot error, card not readable" Cluster size 64 KB on card > 1 GB Reformat with 4 KB cluster size.
Card not detected at all None, no drive letter Incompatible PCMCIA-to-CF adapter Use a Hitachi- or SanDisk-branded adapter. Verify on a known-good card reader first.
HMI tries to upgrade, asks for password HMI prompt "Perform HMI upgrade?" Card inserted in PCU slot Cancel; remove card; move to CCU slot. If HMI was modified, restore via Services → HMI Backup.
Programs run, but machine data drifts on reboot None Card mounted but HCS boot is disabled Enable HCS boot via Startup → NCK → HCS Mode = On, or store machine data to internal flash.
Network copy to /card fails 8062 "File system error" Insufficient free space, or card write-protected Check card slider; verify at least 5 MB free.
Restore from .ARC fails halfway 8001 "Archive inconsistent" Card removed during archive, or bad contact Re-create the archive with a freshly seated adapter.

11. Verification and Commissioning Checklist

Run this sequence after every card preparation to confirm a clean configuration before moving to production.

  1. Insert the card in the CCU slot. Power on the 810D.
  2. Confirm the seven-segment CCU display shows a steady dot (card read) and the HMI reaches the operator menu within 45 seconds.
  3. Open Program Manager → CF Card. Confirm every expected .MPF/.SPF is listed with the correct file size.
  4. Select a test program, simulate if the machine supports it (key switch in Simulation), and verify the dry run completes without alarm.
  5. Run a real cut on a scrap part. Confirm the program ends with M30 and the channel status returns to Reset.
  6. Power down, remove the card, power up without the card. Confirm the control still boots to operator mode (HCS boot = “programs only”) and the previously selected program is in the channel history.
  7. Re-insert the card, confirm the boot picks up the card-resident program automatically if MD20160 boot bit is set.
  8. Label the card with the part number, revision, and date. Store in an ESD bag in a controlled environment; CF cards tolerate 0–70 °C but degrade faster above 50 °C in shop-floor cabinets.

12. Frequently Asked Questions

Can I use a plain SD card with a USB reader on the 810D?

No. The 810D CCU slot is a 68-pin PCMCIA interface, not USB. Use a CF card in a PCMCIA-CF passive adapter, or a native PCMCIA SRAM/Flash card. SD-to-PCMCIA adapters exist but are not officially supported and frequently fail NCK enumeration on the 810D.

Why does the HMI show a card but the NCK cannot find the part program?

The HMI is reading a different slot than the NCK. The HMI monitors the PCU/HMI-side slot and shows files there. The NCK reads from the CCU-side slot. Insert the card in the CCU slot, not the operator-panel slot, to make the program visible to the part program manager.

What is the difference between HCS boot and a regular boot from card?

HCS boot writes the entire NCK image (machine data, PLC, drives, programs) to the card and reloads it on power-up. A regular boot from card loads only part programs; NCK machine data comes from internal Flash. Use HCS for machine cloning and recovery; use regular card mode for day-to-day program distribution.

My card is 4 GB. Will the 810D read it?

Only with CCU firmware ≥ V2.6 and FAT16 formatting, and even then capacity above 2 GB is unreliable. For libraries above 2 GB, split across multiple 2 GB cards or migrate to the network-based DNC option. Do not use FAT32 on legacy CCU710 hardware.

Can I edit programs on the card while the 810D is running?

Yes, the NCK re-reads the .MPF/.SPF on each block fetch, so in-place edits are picked up within a few IPO cycles. However, do not delete the currently running program or rename its directory; the NCK keeps an open file handle and will raise alarm 4100 if the path becomes invalid mid-cut.

Back to blog