ModelRailPro logo ModelRailPro NLENDE

Z21 vs DCC-EX: which command station suits you?

Two digital command stations, two philosophies — the facts side by side: protocols, price, feedback and ModelRailPro connection.

The key difference

The black Z21 (Roco/Fleischmann, art. 10820) is a ready-to-run manufacturer product: plug in and drive, with a factory warranty and manufacturer support. DCC-EX (EX-CommandStation) is an open-source project you build yourself on an Arduino Mega, ESP32 or STM32 — strong on price, flexible in configuration, but dependent on community support via forum and Discord. Both command stations work with ModelRailPro, but they make very different demands on the user.

The choice comes down to three questions: which protocols do I need, what is my budget, and how much do I want to configure myself? The comparison below helps you decide based on verified specs — no marketing claims.

Specifications side by side

Z21 black (art. 10820)DCC-EX (EX-CommandStation)
TypeReady-to-run, factory productOpen-source DIY or RTR kit
ProtocolDCC (14/28/128 steps) + Motorola MM I/IIDCC only (14/28/128 steps)
mfxNot supportedNot supported
RailCom cutoutYesYes (ESP32 + EX8874, v5.6.0, 2026)
RailCom feedbackYes (via R-BUS / CAN)To be confirmed on a layout
Feedback busesR-BUS (max. 160 blocks), CAN, LocoNet, X-BUSGPIO pins / EXRAIL (no R-BUS/LocoNet)
Track current3 A, 12–24 V adjustableDepends on motor shield
ModelRailPro connectionUDP 21105 (Z21 LAN)TCP 2560 (Wi-Fi/Ethernet) or USB serial
Guide price~€250–350 (indicative)DIY ~€25–60 / RTR ~€80–150 (indicative)
SupportFactory warranty (Roco/Fleischmann)Community (forum, Discord)

Black Z21 — ready-to-run digital control

The black Z21 delivers 3 amperes of track current, adjustable between 12 and 24 V. It supports DCC with 14, 28 or 128 speed steps and Motorola MM I and II — useful if you also want to run older Märklin locos that only have a Motorola decoder. A common misconception: no Z21 model supports mfx. For mfx auto-registration you need a Märklin CS2 or CS3.

For feedback the Z21 offers several buses: R-BUS (maximum 160 blocks), CAN, LocoNet and X-BUS. The station generates a RailCom cutout so that RailCom decoders can report back their position. ModelRailPro connects via the Z21 LAN protocol on UDP port 21105.

Model differences: the white z21 presumably connects via Wi-Fi only (no separate LAN port) and has no separate programming track. Whether the white z21 has LocoNet is to be confirmed on a layout. The z21 start also lacks the extra connectors. Anyone wanting R-BUS or LocoNet feedback should choose the black Z21.

Guide price black Z21: approx. €250–350 (indicative; prices vary by dealer and timing).

DCC-EX — open-source for the DIY enthusiast

DCC-EX runs on an Arduino Mega, ESP32 or STM32 with a motor shield (e.g. L298N or EX8874). You build it yourself or buy a pre-assembled RTR kit. Protocol: DCC only. Older Motorola locos will not run unless fitted with a DCC decoder.

A RailCom cutout is available on the ESP32 + EX8874 motor shield combination (EX-CommandStation version 5.6.0, released 2026). Full RailCom feedback — where decoders actively send their address back to the station — is in development and is to be confirmed on a layout. Feedback currently runs via EXRAIL logic and GPIO pins; R-BUS and LocoNet are not present.

ModelRailPro connects via TCP port 2560 (Wi-Fi or Ethernet) or USB serial. DCC-EX is also compatible with JMRI and WiThrottle (both auto-detected on port 2560). See the DCC-EX page for the current ModelRailPro connection status.

Guide price: DIY build approx. €25–60; RTR kit approx. €80–150 (indicative). No factory warranty; support via the DCC-EX community (dcc-ex.com).

When to choose which command station?

Choose the Z21 (black) if you:

  • want to start immediately without building anything
  • want to run Motorola locos (MM I/II) alongside DCC
  • want feedback via R-BUS, LocoNet or CAN
  • prefer a factory warranty and manufacturer support

Choose DCC-EX if you:

  • have a tight starting budget
  • enjoy building and configuring yourself
  • use DCC decoders exclusively
  • need JMRI or WiThrottle compatibility

Both command stations are compatible with ModelRailPro. The choice is not about the software but about your hardware requirements. Considering Märklin locos as well? Read Z21 vs Märklin CS3.

Related guides

Frequently asked questions

Does ModelRailPro work with both Z21 and DCC-EX?
Yes. ModelRailPro connects the Z21 over UDP port 21105 and DCC-EX over TCP port 2560 or USB. See the hardware page for the current connection status of both stations.
Can I run Märklin locos with the Z21?
Locos with a Motorola decoder: yes, the Z21 supports MM I and II. mfx decoders: no — no Z21 model supports mfx. For mfx you need a Märklin CS2 or CS3.
Is DCC-EX stable enough for a permanent layout?
DCC-EX is used by thousands of modellers worldwide and is actively developed. Whether it is the right choice depends on your comfort with DIY electronics and community support versus a manufacturer warranty.
Download ModelRailPro Try free for 30 days

← Back to hardware · DCC-tools