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 | 数控电气技术中心
HEIDENHAIN iTNC 530 vs TNC 620 / 640 / TNC7: Differences, MP vs Cfg, and Program Migration-CNCShare | 数控电气技术中心
海德汉 iTNC530 / TNC620 / TNC640 / TNC7 怎么区分与迁移?参数体系 MP→Cfg、循环兼容性与程序转换清单-CNCShare | 数控电气技术中心
FANUC Acceleration/Deceleration and Corner Slowdown: 1620 Rapid, 1622 Cutting, and the Trade-offs-CNCShare | 数控电气技术中心
FANUC 加减速时间常数与拐角减速怎么调?1620 快移 / 1622 切削进给 + 拐角过冲与圆角变钝的平衡-CNCShare | 数控电气技术中心
SINUMERIK 828D Cycle Alarms 61000 / 62000 / 65xxx: How to Read and Fix Them-CNCShare | 数控电气技术中心
SINUMERIK 828D 循环报警 61000/62000/65xxx 怎么查?六位号段判定 + 61000 无刀补 + 循环参数校验排错-CNCShare | 数控电气技术中心
数控机床集中润滑报警怎么查?打油时序 + PMC 定时器 + 压力开关 X 点 + 油泵过载 + A 地址反查-CNCShare | 数控电气技术中心
FANUC AICC / Nano Smoothing Setup: G05.1 Q1, Parameter-Side Enable, and Six Reasons It Does Nothing-CNCShare | 数控电气技术中心
FANUC 高速高精度 AICC / 纳米平滑怎么开?G05.1 Q1 指令 + 参数侧使能 + 开了没效果的 6 个原因-CNCShare | 数控电气技术中心
FANUC Parameter Write Protect (PWE): How to Unlock Parameters, SW0100, and the 3210/3211 vs 3202#4 NE9 Mix-Up-CNCShare | 数控电气技术中心
FANUC 参数改不了/写不进去怎么解除?PWE 参数写入开关 + SW0100 + 3210/3211 与 3202#4 NE9 混淆纠正-CNCShare | 数控电气技术中心
SINUMERIK 828D External Programs / DNC: EXTCALL Syntax, Running from CF/USB, Network Online-CNCShare | 数控电气技术中心
文章精选
专心做好一件事
打造更优雅的WordPress主题-CNCShare | 数控电气技术中心
专心做好一件事
打造更优雅的WordPress主题