这一栏不堆产品,只做选型与原理的横向比对。本期把 EtherCAT 主站的实现路线放在一起看——系统型、软件型、硬件型到底差在哪,帮你早期选对方向;确定路线后,再交给我们的模块去落地。No product pitches here — just a side-by-side of EtherCAT master implementations: system, software and hardware masters, so you pick the right direction early; once set, hand it to our modules to build.
系统型(TwinCAT / CODESYS)、软件型(SOEM / IgH)、硬件型(讯成 ECM-XF)——把实现形态、实时性、开发门槛与成本一张表说清。System (TwinCAT / CODESYS), software (SOEM / IgH) and hardware (NextW ECM-XF) masters — implementation shape, real-time, dev threshold and cost in one table.
下面把三种路线拆开看:它们的"主站栈"分别跑在哪里、实时性从哪来、又各自要你付出什么。Let's open the three routes: where the master stack runs, where real-time comes from, and what each asks of you.
主站栈内置于一整套开发环境:在 Windows(TwinCAT 实时内核)或各类控制器(CODESYS Control 运行时)上,拓扑自动扫描、在线诊断、运动控制(NC / SoftMotion)开箱即用。适合"买成熟工具、最快出活"的团队。The master stack ships inside a full IDE: on Windows (TwinCAT real-time kernel) or various controllers (CODESYS Control runtime), topology auto-scan, online diagnostics and motion (NC / SoftMotion) work out of the box. For teams that "buy mature tooling and ship fastest".
开源主站栈跑在通用硬件上:SOEM(MIT,C,用户态,可上 Linux/Windows/裸机 MCU,轻量)与 IgH(GPLv2,Linux 内核模块,配 PREEMPT_RT/Xenomai 实时性高)。免费、源码可见,但实时调度与维护要你自己扛。Open-source stacks on general hardware: SOEM (MIT, C, user-space, Linux/Windows/bare-metal MCU, lightweight) and IgH (GPLv2, Linux kernel module, high real-time with PREEMPT_RT/Xenomai). Free and visible, but you own real-time scheduling and upkeep.
一颗主站芯片把协议栈与 DC 固化在硬件里,主控 MCU 只通过 SPI(≤96MHz)下配置、取过程数据,无需实时。最小周期 125µs、最多 128 从站、内置 CoE/FoE 与 GPIO/QEI/ADC/DAC,工业级 −40~+105℃。适合要确定性、又不想养实时软件的 PLC / 机器人 / CNC。One master chip freezes the stack and DC in hardware; the host MCU only pushes config and pulls process data over SPI (≤96MHz) — no real-time needed. 125µs min cycle, 128 slaves, built-in CoE/FoE and GPIO/QEI/ADC/DAC, industrial −40~+105℃. For deterministic PLC / robot / CNC without babysitting real-time software.
一张表看差异(选型层面参考,非具体型号 datasheet):One table for the differences (selection-level reference, not a vendor datasheet):
| 路线Route | 代表Examples | 主站栈在哪Stack runs on | 实时性 / 抖动Real-time | 开发门槛Dev effort | 许可 / 费用License | 平台依赖Lock-in | 典型场景Use cases |
|---|---|---|---|---|---|---|---|
| 系统型System | TwinCAT(倍福) CODESYS |
实时内核 + IDE 内置RT kernel + built-in IDE | 优(工具保底)Excellent (tooling) | 低,可视化配置Low, visual | 商业授权Commercial | 生态 / 工具绑定Vendor / tool | 标准 PLC、产线设备Standard PLC, lines |
| 软件型Software | SOEM(MIT) IgH(GPLv2) |
通用 Linux / MCUGeneric Linux / MCU | 看平台与调度Depends on platform | 中–高,自担实时Mid–High, own RT | 开源免费Free / OSS | 低,源码自持Low, own code | 嵌入式、OEM、定制Embedded, OEM |
| 硬件型Hardware | 讯成 ECM-XF ECM-XFU / XFL |
独立主站芯片Dedicated chip | 优(协议栈固化)Excellent (frozen) | 低,宿主免实时Low, host no RT | 芯片采购Chip cost | 芯片厂商Chip vendor | PLC / 机器人 / CNCPLC / robot / CNC |
从一颗元件到一台整机,每一道工序都可控、可测、可交付。From a single component to a finished device — every step is controllable, testable and deliverable.
精密贴片、回流焊与波峰焊工艺,支撑高良率组装。Precision placement, reflow & wave soldering for high-yield assembly.
从原理图到样机快速落地,缩短想法到实物的距离。From schematic to working prototype, fast — shorten the idea-to-product gap.
功能测试、老化与来料检验,让每一台都可靠。Functional test, burn-in and incoming inspection for reliability.
自有渠道直采,元件齐全、响应快、交期稳。Direct sourcing through our own channels — broad parts, fast response, steady lead time.
无论选型咨询还是具体方案,留下信息,我们直接对接。Whether a selection consult or a concrete build, leave a note and we'll reach out.