Explainer
Why ctrlX dual EtherCAT masters treat Motion axes differently
Short answer
On a ctrlX CORE X5 at app version 3.04, only EthercatMaster_1 on port XF50 is bound to the scheduler task that runs Motion, so every drive that must become an Axis sits on XF50 at 2 ms or 4 ms. EthercatMaster_2 on XF52 keeps its own I/O Engineering project for high-speed I/O at 500 us on X5 or 250 us on X7, and drives there run fieldbus-style, not through the Motion app.

On this page
- Which EtherCAT master can run Motion axes on a ctrlX CORE?
- Can a drive cabled to EthercatMaster_2 still be used?
- Can the two EtherCAT masters run different cycle times?
- How fast a pulse can EthercatMaster_2 catch?
- Why do standard ctrlX IO inputs read always TRUE at a fast cycle?
- How do I make the PLC task follow the fast master?
- Will future releases let axes sit on either master?
- Which layout should you commit to today?
- Questions asked
On a ctrlX CORE X5 running app version 3.04, the two EtherCAT master ports are not interchangeable: the Motion app sees only one of them. This article gives the port each device belongs on, the cycle time each master runs, the pulse width the fast master actually caught in a measured loopback, and the layout to commit to today so it survives the per-master axis assignment planned for later releases. The measured values come from an X5; figures stated for other hardware are labeled as stated.
Which EtherCAT master can run Motion axes on a ctrlX CORE? #
On a ctrlX CORE X5 at app version 3.04, only EthercatMaster_1 on port XF50 is bound to the ctrlXAutomation scheduler task that runs Motion, so a drive becomes an Axis in the Motion app only when its cable reaches XF50, never from EthercatMaster_2 on XF52.
The two masters are separate physical RJ45 ports, each with its own segment, its own I/O Engineering project and its own place in the scheduler. A device never moves between masters in software: it belongs to whichever port its cable reaches, and only that master's project can configure it. In the tested layout both masters reached OP state, and each showed its own device list and its own scheduler configuration. That is why a drive on the wrong port cannot be fixed by changing a setting. The cable decides, and the Motion task simply never sees what hangs off the second port.
Can a drive cabled to EthercatMaster_2 still be used? #
Yes for configuration and fieldbus-style operation, no for Motion: ctrlX DRIVE Engineering connects to drives on both masters for parameterization and diagnostics, while a drive on XF52 can only be operated through a fieldbus-style interface comparable to Profinet or EtherNet/IP, not through the Motion app.
Configuration is port-independent, so scaling, diagnostics and tuning all work on either master. Operation is where the wall sits: with no path into the Motion app's axis list, a drive on the second master is commanded through its process image in the PLC, the same pattern as How to run CiA402 axes in structured text without NC. That route is legitimate when the drive exists to supply an I/O image or a directly commanded motion. When the application needs Motion axis functions such as camming or interpolated moves, the drive belongs on master 1, and no software setting changes that in this release.
Can the two EtherCAT masters run different cycle times? #
Yes: each master gets its own I/O Engineering project and its own cycle time, so the tested layout ran the Motion master's drives at 2 ms or 4 ms and the fast-I/O master at 500 us on the X5, with 250 us the stated figure for an X7.
Setting one master's cycle never moves the other's, because they are separate projects. The separation is the same one this controller applies to a second port used as its own network, described for Configure the ctrlX CORE XF51 port for a second Modbus TCP network.
| Master | Port | Bound to the Motion task | Role in the tested layout |
|---|---|---|---|
| EthercatMaster_1 | XF50 | Yes | Drives and axes at the standard Motion cycle |
| EthercatMaster_2 | XF52 | No | High-speed I/O at the fast cycle (500 us on X5, 250 us on X7) |
Treat the fast figures accordingly: the X5 value behind the loopback below is measured, the X7 value is the stated use-case figure and was not part of the test.
How fast a pulse can EthercatMaster_2 catch? #
On the X5 tested, the onboard I/O of a ctrlX DRIVE registered every rising edge of a single-scan toggle loop at the fast master's cycle, while the standard ctrlX IO digital modules stopped resolving those pulses until the cycle was stretched to 4000 us.
The measurement is a loopback on the second master. On a ctrlX DRIVE cabled to XF52, the P-0-0307 digital input image was added to the AT and the P-0-0313 digital output image to the MDT, the drive's input and output process images; a bit set in either parameter means a +24 V HIGH level at the assigned terminal. Both images went into DataLayer Realtime in the PLC, the PLC task was made synchronous to EthercatMaster_2, and output XG31.8 was wired to input XG31.1. The PLC then toggled the output TRUE for one scan and FALSE for the next, continuously.
| I/O used | Cycle time | Result |
|---|---|---|
| ctrlX DRIVE onboard I/O (P-0-0307 in the AT, P-0-0313 in the MDT) | 500 us | every rising edge detected, output toggled TRUE and FALSE each scan |
| ctrlX IO standard digital input and output modules | below 4000 us | rising edges not detected, input read constantly TRUE |
| ctrlX IO standard digital input and output modules | 4000 us | edges detected |
A single-scan pulse is high for exactly one bus cycle and repeats every two cycles, so the pulse train's period is twice the cycle time. At the fast setting that period is 1000 us, which carries 1 s / 0.001 s = 1000 rising edges per second; at the standard modules' working cycle it is 8000 us, which carries 1 s / 0.008 s = 125 rising edges per second. Check any device against the pulse width it must catch before you fix its cycle.
Why do standard ctrlX IO inputs read always TRUE at a fast cycle? #
Because the module's input path needs more than one bus cycle to register a pulse: a signal high for a single cycle looks like a steady level to an input whose filter or internal update time is longer than the pulse, so the PLC reads it as constantly TRUE.
The same wiring that passed on the drive's onboard terminals failed on the standard modules, which points at the input path, not at the master. Two fixes exist. Lengthen the fast master's cycle until edges reappear, which was the working outcome for the modules tested. Or move the signal to I/O with a faster input path, such as a drive's onboard terminals. Before committing a cycle, read the slave's own declared minimum: in the EtherCAT CoE synchronization registers, 0x1C32:02 holds the cycle time and 0x1C32:05 the minimum cycle time the slave accepts, so the master must not be set faster than that value. The module datasheet's minimum pulse width states the same limit in time units, and the edge counter confirms it in practice.
- Input reads always TRUE under fast toggle: the input path is slower than one cycle and the pulses merge; lengthen the cycle until edges appear or use faster I/O.
- Edge count lower than toggle count by a steady fraction: the PLC task is not synchronous to EthercatMaster_2, so scans and bus cycles drift apart; re-bind the task to the fast master.
- Drive not selectable as an Axis: the drive is cabled to XF52; move it to XF50 and re-import it into the master 1 project.
How do I make the PLC task follow the fast master? #
Import the fast master's process images into DataLayer Realtime in the PLC and set the PLC task synchronous to EthercatMaster_2; a task left synchronous to EthercatMaster_1 samples the fast I/O at the slow master's rate and never sees the shorter cycle.
The binding is a scheduler setting, not a line of PLC code: the task that consumes the fast images runs at the fast cycle and sits above slower logic in priority, while master 1's Motion chain keeps its own task. The way task priority ordering works on this controller is laid out in CODESYS PROFINET task priorities on a ctrlX CORE. Prove the binding with the loopback's own counter: toggle the output from the fast task and compare edges counted against toggles sent over a fixed window. Equal counts mean task and bus are locked together. Counts that drift mean the task is still riding master 1.
Will future releases let axes sit on either master? #
Per-master axis assignment is planned but had no target date and was not expected in 2025; both masters running synchronously with each other is the precursor, with app version 3.06 or 3.08 named as the versions where that capability was expected.
Two things have to exist before axes can run at two different cycles: both masters synchronous with each other, and two motion path planner clocks, one per EtherCAT master. The announced restrictions already constrain today's design:
| Axis group | Planned placement rule |
|---|---|
| Axes of a kinematic system | all axes in the same EtherCAT instance |
| Axes of a gantry system | all axes in the same EtherCAT instance |
| Axes in a SyncMotion linkage, for example a Flexprofile | all axes in the same EtherCAT instance |
The intended beneficiary is a printing or converting machine with a high axis count: most axes are fine at the standard Motion cycle and a few cam or dense-path axes would gain cam resolution at high velocity from a faster one. Today every axis runs at the same cycle time, so axes that do not need it still pay CPU for it.
Which layout should you commit to today? #
Put every drive that must become an Axis, and every axis group that links or synchronizes with another, on EthercatMaster_1 at the standard 2 ms or 4 ms cycle, and reserve EthercatMaster_2 for I/O whose timing the Motion cycle cannot resolve.
- A drive that must become a Motion Axis: cable it to XF50. A drive found on XF52 has to be re-cabled and re-imported into the master 1 project; disable the drive and stop the machine before moving the cable, because the move hands the drive to a different scheduler task.
- A drive used only as an I/O image or commanded fieldbus-style: XF52 is a valid home, and ctrlX DRIVE Engineering still configures it there.
- A signal the Motion cycle cannot resolve: XF52, with the input path proven by the pulse test before the cycle is fixed.
- Everything else: XF50, one project, one cycle.
The CPU price of running every axis at one cycle is real but bounded: on this controller, core and I/O-data load scale with the tasks and devices you actually run, as broken down in How the ctrlX PLC license calculates I/O data and core use. Building the machine with every linked axis group on master 1 keeps that layout valid on the day per-master assignment ships, and nothing in today's wiring has to move.
Questions asked
Can I create the axis before the drive is cabled?
Yes. The Motion app supports logic axes created without hardware, and you connect a logic axis to the physical drive later through the axis profile, entering the drive's address in the Motion app's Axis Configuration window. That lets the motion program be built while panels are still being wired. It does not change the port rule: once connected, the drive still has to sit on EthercatMaster_1 for the Motion task to reach it.
Where is each master's cycle time actually set?
In the ctrlX CORE Scheduler's Configuration tab. Tasks are created there and callables assigned to them in a subsequent step, and the cycle time entry specifies the cycle in which a callable runs. Keep the fast master's callable and the PLC task that consumes its process images on one task at the fast cycle, and keep the Motion chain on its own task.
What happens if a scheduler task stops running?
The hardware watchdog of the ctrlX OS Runtime monitors the ctrlX CORE Scheduler: the scheduler notifies it regularly that it is healthy, and a stopped or hung scheduler trips the watchdog instead of leaving outputs frozen without a fault. Treat the watchdog as a backstop. Correct priority and the synchronous binding of the fast task are what actually keep the fast I/O on its cycle.
Does the two-master split change how many drives Motion can synchronize?
No. The vendor states ctrlX MOTION synchronizes up to 250 drives in real time, and that capacity belongs to the Motion app, not to the number of master ports. Moving I/O onto EthercatMaster_2 does not raise it, and running every axis on EthercatMaster_1 does not consume it; the figure counts synchronized drives, not I/O devices on the second master.


