Troubleshooting
Delta kinematic axis mapping error before the first move
Short answer
A Cartesian move on a delta kinematic that enters error reaction while every call returns TRUE is a group-configuration fault, not a tuning or limit problem. The joint axes were never added to the kinematic with the add-axis call, so the group enables empty, the machine coordinate system keeps its configuration error and every move is refused. Add all joint axes the model requires, in the configured order, before enabling and setting the coordinate system.

On this page
A Cartesian move on a delta kinematic that enters error reaction while every library call returns TRUE has one missing step in almost every case: the joint axes were never added to the kinematic group. In the CXA_Motion function set the add call is ML_AddAxisToKin, and the documented order is add every joint axis, enable the kinematic, set the machine coordinate system, then move. Skip the add calls and the group enables empty: the enable returns TRUE, the coordinate-system call returns TRUE and the move still enters error reaction, because no joint is mapped to transform. The fix is to call ML_AddAxisToKin once per joint axis, in the configured order, before ML_KinEnable and ML_KinMCSP.
Two errors, one cause #
The fault arrives as a pair of messages, and they are a cause and its consequence. Read both in the right place before you change any code.
| Observation | What it means | Where to read it |
|---|---|---|
| The move function returns TRUE but the motion enters error reaction | The command was accepted into the queue; the fault sits in the kinematic state, not in the target coordinates | Command state and kinematic diagnostics |
| The coordinate-system call reports MCS set configuration faulty | Primary fault: the machine coordinate system cannot be applied because the group holds no mapped joints | motion/kin/<kinematic name>/state/coord-systems/mcs/ in the data layer, which lists every configuration error |
No add_cmd during error reaction on the next move |
Secondary fault: a move was sent while the group was already in error reaction, so it was refused | Kinematic diagnostics; it disappears once the primary error clears |
| TCP feedback frozen after the kinematic enable | The group exists on paper, but no joint feedback reaches the transform | TCP position values on the commissioning page |
| The commissioning page reproduces the same error on a jog | The fault is in the kinematic configuration or state, not in the PLC call order | Run the jog from the commissioning page before debugging PLC logic |
Fix the primary fault first. A move issued during error reaction is always refused, so the secondary message cannot clear until the coordinate-system configuration error does. The error reaction that stops the group is the configured stop behavior doing its job: leave it in place and fix the configuration instead of softening it.
Likely causes, cheapest check first #
Every cause below produces the same symptom: accepted calls, an error reaction on the first move. Check them in this order; in this fault pattern the first one is nearly always the answer.
- No add-axis call in the sequence. The enable and coordinate-system calls run, but nothing maps a joint into the group. Confirm by counting the mapped axes in the kinematic configuration on the commissioning page: zero, or fewer than the model requires, with every single axis healthy, points here. A second marker: the Group pushbutton on the commissioning page works while the PLC sequence does not, because the pushbutton performs the axis assignment and the sequence skipped it.
- An add call that does not match a configured name. The add call returns TRUE even when the kinematic or axis name does not match the configuration. Confirm by re-reading the mapped count after the sequence runs: if it did not rise by one per joint, a name is wrong. Names must match the configured kinematic and axis exactly.
- Enable issued before the add calls complete. Each call is accepted asynchronously, so an enable issued in the same scan as the adds can group an empty set. Confirm by watching that each add command reaches its completed state before the enable is issued.
- Wrong axis count for the model. Three adds on a delta that also carries a wrist leaves that wrist unmapped. Confirm that the mapped count equals the axis count the configured kinematic model requires.
- A move issued during error reaction. After the first failure, every new move is refused with the add_cmd message until the primary error clears. Confirm by gating moves on a clean coordinate-system state.
Why a group with no axes still enables #
Enabling does not check axis membership. It enables whatever is mapped at that moment, so a group with no joints still reports grouped and in standby. Nothing downstream can work, because the transforms have nothing to transform: the forward transform computes the tool center point pose from the joint positions and the inverse transform computes joint setpoints from the TCP target, and both need every joint the kinematic model defines. The transform mechanics are laid out in Delta robot forward and inverse kinematics explained.
The required count comes from the configured model, not from a rule of thumb. A delta kinematic is defined by its rotary joints acting in parallel — three for a plain delta — and a wrist rotation adds one more. The geometry values those joints act on belong to the same configuration; What delta robot geometry parameters your controller must hold covers them.
Worked example, calculated for an example configuration: a delta with three arm drives plus one wrist rotation axis requires 3 + 1 = 4 mapped joint axes. The PLC sequence issues the kinematic enable with no add calls, so 0 axes are mapped and 4 - 0 = 4 joints are missing. With 0 of 4 joints mapped, the inverse transform has no valid joint input, the coordinate-system node reports its configuration error and the first Cartesian move enters error reaction. A partial mapping fails identically: 3 of 4 leaves the wrist unmapped and no Cartesian target can be computed. Read the required count from the kinematic configuration in the commissioning tool; the arithmetic only holds for the model you configured.
The command sequence that clears it #
Run the full sequence from the PLC in this order, and make each step prove itself before the next:
- Enable each joint drive and confirm the axis reports operational.
- Call ML_AddAxisToKin once per joint axis, with the kinematic name and the axis name exactly as configured, in the configured order. Check the library help for the exact input structure and any axis-order requirement.
- Call ML_KinEnable and wait for the command state to report its completed state — the function's TRUE return only means acceptance, so completion is a separate observation. Issue it once per request.
- Call ML_KinMCSP and wait the same way.
- Read
motion/kin/<kinematic name>/state/coord-systems/mcs/: it must list no configuration errors. - Jog one joint with the work area clear and confirm the TCP feedback follows.
- Only now issue ML_KinMoveLinAbs.
Steps 3 and 4 are where most sequences leak the fault back in, so they get their own checks next.
Handshake defects that bring the fault back #
A sequence can call ML_AddAxisToKin correctly and still fail when the state machine around the calls misbehaves. Four defects account for most of these:
- Leaving the wait state too early. A polling state that returns to idle after the first scan re-sends the enable on any command that takes longer than one scan to finish. Leave the wait state only when the command reports its completed state.
- Watching only the done state. If the command reaches the library's error or abort state instead, a machine that waits for done waits forever. Add a branch on the error state and a timeout.
- Writing the result to a local variable instead of the block's output. The caller then never sees a failed command and moves on to the next step with the previous one unfinished.
- No assignment step in the state machine at all. Make grouping one tracked sequence: the add-axis steps become their own states ahead of the enable, so one done flag covers adds, enable and coordinate-system set together.
Decision by symptom #
- Coordinate-system node lists configuration errors, TCP feedback frozen, and the commissioning jog fails the same way as the PLC move: the add calls are missing or not matching. Run the sequence above; once the node is clean and the TCP follows a joint jog, the first Cartesian move is accepted. This is the fault that cleared when the add call was added.
- Commissioning page groups and moves correctly, the PLC does not: the PLC sequence skips the assignment. Fix the sequence order, not the enable.
- Node clean, TCP follows, and the axis faults mid-move with a following error: a different fault family — feedback or dynamics, not mapping. Troubleshooting a Servo Axis That Faults Mid Move picks it up from there.
No add_cmd during error reactionkeeps coming back: a move is being issued before the primary error clears. Gate every move on a clean coordinate-system state and a completed enable.
Questions asked
The kinematic enable returns TRUE — why is that not enough?
A TRUE return only tells you the command was accepted into the queue. Completion and failure are reported separately through the command state. Enabling does not check axis membership, so an empty group enables cleanly on paper; the missing step is the add call that maps each joint into the kinematic before the enable runs.
How many joint axes must be mapped into a delta kinematic?
Whatever the configured kinematic model defines. A plain delta needs its three rotary joints; a wrist rotation axis adds a fourth, so three plus one equals four mapped axes. Read the required count from the kinematic configuration in the commissioning tool and make the mapped count equal it before you enable.
What does the message No add_cmd during error reaction mean?
It means the move was refused because the group was already in its error reaction from an earlier fault, here the coordinate-system configuration error. It is not a motion-limit or tuning problem. Clear the primary configuration error first; once the coordinate-system node is clean, the move command is accepted again.
Why does the commissioning page Group button work when the PLC sequence does not?
The pushbutton performs the complete grouping for the configured kinematic in one step, including the axis assignment. A PLC sequence that only calls the kinematic enable skips that assignment, so the same enable produces an empty group. Replicate the assignment in code with one add call per joint axis, then enable.
Where do I read the coordinate-system configuration errors?
In the controller's data layer, under the kinematic's machine coordinate system node: the path starts with motion/kin, then the kinematic's configured name, then the coordinate-systems section for the machine coordinate system. That node lists every configuration error, and it clears once the joint axes are mapped and the coordinate system is set successfully.


