SINUMERIK 828D External Programs / DNC: EXTCALL Syntax, Running from CF/USB, Network Online

The 828D's NC working memory is limited, so a mould program of tens or hundreds of MB simply will not fit – hence "external programs" and "DNC online machining". To run it right, first pick one of three routes:
  1. Copy the program into the NC (normal, when memory is enough);
  2. Execute directly from external memory (USB / CF card, via EXTCALL);
  3. Network online machining (DNC) (program on a network drive/server, streamed while running).

This article covers the three routes, EXTCALL syntax, the network ports and drive setup, and three rules.

Based on SINUMERIK 828D. The 840D sl / ONE EES syntax is different – see the note at the end.

1. Three routes – choose first

MethodMediaUseKey point
Copy into NCNC internal storageNormal small/medium programsLimited by NC memory
EXTCALL externalUSB / CF / local drive / networkLarge programs, mouldsDrive letter must have a colon
Network online DNCNetwork drive / server (X127/X130)Very large, streamedEthernet only; RS232 cannot
广告
Three ways to run large programs on the 828D: copy into NC, EXTCALL from external memory, network-drive online DNC

2. EXTCALL: the core command for external execution

EXTCALL lets the 828D execute a part program directly from external memory. Syntax:

EXTCALL("<path/program>")

The brackets can be omitted. Available external media and drive letters (a colon is mandatory after the drive letter):

MediaDrive
User CF cardCF_CARD:
USB drive (operator panel)USB:
Local driveLOCAL_DRIVE:
Network drivedrive/path mapped by the network manager

Two ways to give the path:

  1. Preset in machine setting data: set the default path in channel setting data SD42700 $SC_EXT_PROG_PATH, e.g. SD42700 $SC_EXT_PROG_PATH="USB:" (USB root) or "USB:SubDir" (subfolder).
  2. Specify in the EXTCALL statement. If you give a path without a drive letter, the full path = preset path + the path in EXTCALL.

Examples:

EXTCALL "CF_CARD:/PROGRAMS/SAMPLE.SPF"
EXTCALL "USB:/MOLD_DIE/CAM_SCHRUPP.SPF"
EXTCALL "LOCAL_DRIVE:/PROGRAMS/SAMPLE.SPF"
EXTCALL: the drive letter must have a colon (CF_CARD:/USB:/LOCAL_DRIVE:); the path is preset via SD42700 or given in the statement

3. Running directly from USB / CF card (the easiest)

The 828D front panel has a USB port and a CF card slot; media can be inserted/removed during operation without a restart. Copy the program in and run it from the card.

But Siemens explicitly does not recommend executing a program directly from a USB stick: if the USB is unplugged or loses contact during machining, the job stops and the workpiece is damaged. Recommended:

  • Execute from the CF card (DNC run with no speed loss);
  • or copy the program into the NC first;
  • keep USB only as a “carrier”, not a long-term run medium.

4. Network online machining DNC (recommended for large moulds)

The 828D has two network ports:

  • X127: system commissioning interface on the front panel;
  • X130: factory network interface on the rear (use X130 for real shop connections).

Two network routes:

  1. Access My Machine (formerly RCS Command): shipped in the 828D toolbox; transfers programs from the PC to the system, or to a USB/CF card plugged into the system.
  2. Network manager (network-drive function): maps a network share as a “network drive”; programs can be transferred from it, or executed directly on it for online machining, with access permissions configurable.

DNC over the network is far faster and more reliable than serial; do not expect “zero latency” from network-drive online machining – network jitter directly affects the feed.

广告
Network DNC: X127 commissioning port / X130 factory port; use Access My Machine to transfer, or the network manager to map a share and run online

5. RS232: can transfer, cannot DNC

The 828D keeps RS232 – it can transfer programs, but does not support DNC online machining. For DNC use the network port.

When transferring over RS232, the program header must be correct (main / subprogram):

%_N_WK1_MPF
;$PATH=/_N_MPF_DIR
G54 G0 X0 Y0 Z0
G01 X50 F100
M30

A subprogram header uses %_N_WK1_SPF + ;$PATH=/_N_SPF_DIR. On the PC use something like WINPCIN, with parameters matching the system’s RS232 settings.

6. Three rules

  1. No Chinese characters in the path: a transfer path or folder name with Chinese characters will fail to transfer or execute.
  2. Access level must be sufficient: transferring programs / changing network settings needs “user” level or above, or the operation is refused.
  3. Do not unplug media mid-machining: especially USB; either run from CF or copy the program into the NC first.
Three rules: no Chinese in paths, sufficient access level, do not unplug media mid-machining (a USB dropout damages the workpiece)

7. Choosing in three steps: which route for which size

  • Tens of KB to a few MB, fits in NC -> copy into the NC, most robust.
  • Tens of MB+, does not fit -> EXTCALL from the CF card (first choice), or map a network drive and EXTCALL to it.
  • Very large, streamed -> network-drive online DNC (X130 + network manager), with a stable network.

Frequently Asked Questions

What is the difference between EXTCALL and copying the program into the NC?

Copying puts the program into NC working memory and runs it there, limited by memory size; EXTCALL makes the NC read and execute the program directly from external memory (CF/USB/local/network), so the size is limited only by the external medium’s capacity. Large mould programs suit EXTCALL better.

Why run from CF rather than USB?

Siemens explicitly does not recommend executing directly from a USB stick: if the USB is unplugged or loses contact during machining, the job stops and the workpiece is damaged. A CF card sits more securely in its slot, and a DNC run has no speed loss. USB is better as a carrier.

Does network-drive online machining drop speed?

DNC over Ethernet is normally fast enough; but “online” means the program is read from the network in real time, so network jitter, share permissions and server load directly affect the feed or even interrupt it. For stability use the X130 factory port with a wired connection, not unstable wireless.

Last updated: 2026-11-01

828D SD setting data vs MD machine data

Where to go next

  • FANUC Troubleshooting — the full guide library: alarms, diagnosis numbers, servo, spindle, PMC and electrical faults, organised by symptom.
  • CNC Repair Tools — which instrument measures what: multimeters, clamp meters, insulation testers and oscilloscopes, with the specification that actually matters.
  • Remote Technical Support — have the readings reviewed with you: alarm reverse lookup, PMC ladder analysis and servo tuning advice by call. Repair companies and integrators welcome.

Read the guide, get the right instrument, or walk the diagnosis through with someone — pick whichever you need.

Also available in Chinese: 西门子 828D 外部程序 / DNC 在线加工:EXTCALL 语法、CF/USB 直接运行、网盘在线、RS232 的边界
The original Chinese version — same procedure, with the full field notes.
© 版权声明
THE END
喜欢就支持一下吧
点赞12赞赏分享
评论 抢沙发

请登录后发表评论

    暂无评论内容

CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
CNC电气调试问题解答 | 数控机床电气工程师资料共享屋
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
图片-CNCShare | 数控电气技术中心
SINUMERIK 828D External Programs / DNC: EXTCALL Syntax, Running from CF/USB, Network Online-CNCShare | 数控电气技术中心
西门子 828D 外部程序 / DNC 在线加工:EXTCALL 语法、CF/USB 直接运行、网盘在线、RS232 的边界-CNCShare | 数控电气技术中心
HEIDENHAIN TNCremo / TNCcmd Program Transfer: Ethernet LSV2 Port 19000-CNCShare | 数控电气技术中心
海德汉 TNCremo / TNCcmd 传输程序:以太网 LSV2 端口 19000、连接设置、批量 TNCcmd-CNCShare | 数控电气技术中心
HEIDENHAIN TNC Block Quick Reference: BEGIN/BLK FORM/TOOL CALL/L/C/CR/APPR/CYCL DEF-CNCShare | 数控电气技术中心
海德汉 TNC 基本程序段速查表:BEGIN/BLK FORM/TOOL CALL/L/C/CR/APPR/CYCL DEF 一页对照-CNCShare | 数控电气技术中心
海德汉 TNC 对话式编程入门:一个最小程序看懂 BEGIN/BLK FORM/TOOL CALL/L/C/CR/APPR/循环-CNCShare | 数控电气技术中心
HEIDENHAIN TNC Conversational Programming for Beginners: One Minimal Program-CNCShare | 数控电气技术中心
Mitsubishi M80 Data Backup & Restore: MPARA Is a Password, Not a File-CNCShare | 数控电气技术中心
三菱 M80 数据备份与恢复:MPARA 是密码不是文件,整体备份 7 项 + 单文件 ALL.PRM + 电池-CNCShare | 数控电气技术中心
Mitsubishi M80 Magazine Scrambled Quick Chart: Symptom, Tool Registration Fields and R Registers-CNCShare | 数控电气技术中心
三菱 M80 刀库乱刀速查表:现象·原因·先查 + T 登录四个位置 + R 寄存器-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题