Troubleshooting
Why a robot J4 axis rotates a full turn before its target
Short answer
A J4 axis that swings a full revolution before its target is not overheating or losing steps: the target left the joint configuration unconstrained, and the solver picked the equivalent solution one full turn away. Compare the commanded joint angle and turn count against the joint trace, then apply the configuration or turn-range constraint where targets are created — including the points your program generates, not just the point you taught by hand.

On this page
- Read the full-turn move as a configuration choice
- Separate a commanded turn from a tracking fault
- A worked check on the reported full-turn excursion
- Why an edit on one taught point does not hold
- Apply the constraint where the targets are created
- Verify the regenerated path before production motion
- Failure modes that bring the roll back
- Questions asked
A J4 axis that swings a full revolution on the way to a target is not a motor fault, a lost step or a thermal problem. The target left the joint configuration unconstrained, so the controller selected an equivalent joint solution sitting one full turn away from the one you intended. Both solutions put the tool in the same pose, which is why the move ends looking correct. Read the turn count carried by the commanded target, then apply the constraint where the targets are created — not on the one point you taught by hand.
Read the full-turn move as a configuration choice #
A rotary wrist joint repeats its tool orientation every 360°. J4 parked at 0° and J4 parked at −360° hold the tool in exactly the same orientation, and so do any pair of angles that differ by a whole number of turns. When a target is written as a Cartesian pose alone — tool position and orientation — the inverse kinematics has several valid joint solutions, and on a rotary axis those solutions differ by whole turns. If neither the target nor the controller configuration restricts which solution the solver may select, it can legitimately choose the one that drives J4 through an extra revolution before the tool arrives.
That also tells you the excursion is commanded motion. The joint trace follows its command the whole way; nothing drifts and nothing tracks wrong. Treat it as a target-representation problem first, and reach for drive or feedback diagnostics only when command and actual disagree.
Separate a commanded turn from a tracking fault #
Before changing any configuration, confirm which case you are in, working from the cheapest check to the most expensive:
- Read the commanded J4 angle and turn count stored with the target. If the target itself carries the far solution, the motion was planned into it and the repair is configuration, not tuning.
- Run the move at reduced speed and compare the commanded joint trace with the actual joint trace. A match means the controller did exactly what the target asked; a mismatch points to tracking, drive or feedback.
- Identify where the point came from. A hand-taught point and a dynamically generated point take their turn counts from different places, and a fix applied to one never reaches the other.
- Use the final tool pose only to confirm it is unchanged. Never read the pose as evidence that the joint path was sensible — a full turn is invisible in the end pose.
A worked check on the reported full-turn excursion #
Inputs: start position J4 = 0°, end position J4 = −360°, both read from the reported excursion on the pick-and-place move. The only rule you need is the definition of a rotary joint: two joint solutions that hold the tool in the same orientation differ by 360° multiplied by an integer turn count, so the number of full turns in any excursion is the joint travel divided by 360°.
Arithmetic: net travel ΔJ4 = −360° − 0° = −360°. Turns in the excursion = |ΔJ4| ÷ 360° = 1 full turn. Equivalent end angle = −360° + 1 × 360° = 0°.
Result: the equivalent end angle equals the start angle, so the tool orientation after the move is identical to the orientation before it. The whole revolution of joint travel produced no change at the tool.
Decision: any full turn of J4 travel that ends at an equivalent orientation is a turn-count selection by the solver, not a mechanical, thermal or current fault. One full turn means the solver reached the solution one revolution away; constrain which solution it may pick, and do not chase motor temperature or drive current.
Why an edit on one taught point does not hold #
Point-level turn counts and joint-range limits are related but not interchangeable. The arrows beside the axis sliders change the turn count of the point you are editing, and only that point. A generator that runs later — in the reported setup, the vcHelpers.Robot2 call inside the RTC program — creates its own targets and selects a solution by the same unconstrained rule unless the constraint travels with the target. A constraint only holds when it is applied at every point the generator produces, which is the same reason distance constraints must be applied at each step of a planned trajectory rather than only at its endpoint.
Apply the constraint where the targets are created #
- Find the code path that creates the targets — the call to
vcHelpers.Robot2in the reported setup — and record what it passes: joint coordinates, a Cartesian pose, or turn and configuration data. - If the helper accepts joint or configuration constraints, pass them on every generated target. A constraint passed once, outside the generation loop, does not reach the points created after it.
- If the controller enforces joint ranges globally, set the J4 range in the controller's own configuration and confirm the generated targets obey it. Read that range from the configured limits and the manufacturer's documentation for that exact model; never back-calculate a limit from the observed excursion, because the excursion is the symptom, not the specification.
- Repair existing hand-taught points with the slider arrows and a touch-up. Call that what it is: a point-level fix that says nothing about the next generated point.
- Regenerate a representative set of pick-and-place targets and read their J4 values and turn counts before any motion runs.
Verify the regenerated path before production motion #
Test with the same generation method the application uses, including at least one newly created target, and inspect the planned joint path rather than the final tool pose alone. J4 must stay inside the configured range and carry the intended turn count on every target. Run the first verification moves at reduced speed under the cell's normal safeguarding and your risk assessment: a wrist sweeping an extra revolution enlarges the swept envelope, and anyone or anything inside that envelope is at risk until the path is proven.
If a regenerated point still commands the full turn, log the joint representation of the generated target and the configuration the controller selected. That distinguishes three cases: the constraint never reached the generator's output, the controller rejected it, or a later motion command overrode it. If instead the commanded J4 stays inside the range but the actual joint departs from it, stop editing turn counts and go after tracking and feedback. The command-versus-actual separation is the same one used when a servo axis never reaches its commanded speed, and on an external axis nothing in the joint values means anything until the drive and feedback match what the controller expects.
Failure modes that bring the roll back #
- Fixing only the current point: the slider edit and touch-up clear that point while the generation path stays unconstrained, so the next created target rolls again.
- Judging the move by the final pose: equivalent orientations hide a full revolution of joint travel, so a pose check passes on a bad path.
- Assuming a Cartesian target implies a wrist configuration: it leaves the joint solution ambiguous. Carry configuration or turn data in every target.
- Copying a numeric limit out of the symptom: the excursion shows what happened, not what the joint is allowed to do. The permitted range comes from the configured limits and the model's documentation.
- Treating the roll as a heat fault: a commanded full turn is a configuration problem. Electrical and thermal diagnosis belong to a command-versus-actual mismatch, not to a path the controller followed exactly.
Questions asked
Why does the tool pose still look right after J4 has turned a full revolution?
A rotary joint repeats its tool orientation every 360 degrees, so the pose at the end of a one-turn excursion is identical to the pose at the start. That is exactly why a pose check or a camera confirmation cannot catch this fault. Inspect the joint-position trace instead: a full turn of joint travel that ends at an equivalent orientation is the signature of an unconstrained configuration choice.
Can a full J4 turn ever be the intended motion?
Yes. Work that winds, unwinds or wraps material, or that manages the tool cable, sometimes needs the wrist to pass through whole turns in a planned sequence. In that case the turn count belongs in each target, chosen deliberately, and the configured joint range is set wide enough to permit those turns on purpose. The fault is never the full turn itself — it is a full turn the planner did not choose.
Where does the permitted J4 range actually come from?
From the joint limits configured in the robot controller, cross-checked against the manufacturer's documented travel for that exact model and wrist. The observed excursion is a symptom and cannot be promoted to a specification. If the configured range and the documented travel disagree, the documented travel for the model governs, and the controller configuration is corrected before further motion.
The commanded J4 stays inside the range but the joint still overshoots. What now?
That is a different failure: the axis is not doing what it was told. Compare commanded and actual joint traces over the same move, then read the drive's fault log and check the feedback device. A scaling error in the feedback shows up as wrong travel on every move, not only on generated points, and it is diagnosed against the feedback chain, never against the target generator.


