AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why Conveyor Tracking Causes Sweeping Robot Motion

Servo and stepper motion Published 7 min read By AutomateDirectUSA engineering team

Short answer

The sweep is the arm changing elbow or wrist configuration mid-stroke: a target that is comfortable when the window enters the tracking window runs into a joint limit or a singularity further along, so the controller solves for another branch. Switching the linear configuration monitor off before coordination only removes the interruption, not the change. Confirm the cause by comparing the joint positions for one window-relative target at two conveyor positions, then build the stroke so the branch change stays outside it.

On this page
  1. The sweep is a configuration change, not a tracking error
  2. What configuration monitoring does during a tracked stroke
  3. Confirm the cause before changing anything
  4. Computing the mid-edge point of a 200 x 200 mm window
  5. Building the stroke around one configuration
  6. The decision for each finding
  7. Questions asked

That sweep is not the tracked position going wrong: it is the arm changing joint configuration in the middle of the stroke. A window-relative target that is comfortable when the window enters the tracking window becomes hard to reach further along, so the controller solves for a different elbow or wrist branch, and the arm swings through a large joint motion while the tool keeps its line. The reported case shows the signature: a linear move (MovL in the program) sweeps as soon as linear configuration monitoring cannot be used. Switching the monitor off does not remove the change, only the interruption. Confirm the diagnosis by comparing joint positions for the same window-relative target at two conveyor positions, then build the stroke so the branch change stays outside it, or never happens.

The sweep is a configuration change, not a tracking error #

During conveyor tracking the controller chains two transforms: the pose of the tool in the robot base frame equals the base-to-tracked-workobject transform multiplied by the workobject-to-tool transform. The window-relative target can stay perfectly constant while its base-frame location rides along with the conveyor.

One Cartesian tool pose has several joint solutions (elbow up or down, wrist flipped or not), and the configuration data selects one of them. As the target rides, the original branch can run out of reach or hit a joint travel limit, and the solver returns a different branch. The tool stays on its line relative to the window; the arm swings through a large joint motion to get there. That is the sweep.

A wrist singularity produces the same symptom from another direction: when the axes of joint 4 and joint 6 become coincident or parallel, a small tool motion demands large wrist joint speeds. Either way the fault lives in the kinematics of the path, which is why it never appears as position drift in the window frame.

What configuration monitoring does during a tracked stroke #

ConfL monitors the configuration during linear movement and ConfJ controls it during joint movement, as the RAPID technical reference (document 3HAC16581-1) defines them. With the linear monitor active, the controller verifies the configuration during the move and raises an error instead of carrying the stroke through the wrong branch.

The ABB application manual for conveyor tracking (document 3HAC066561-001) draws the consequence for tracking: the linear configuration monitor is switched off with ConfL\Off before coordination with the conveyor begins, because configuration errors would otherwise occur during the tracked move. So on a tracked stroke nobody stops the branch change; the controller simply performs it. A sweep appearing as soon as monitoring is off is therefore expected behavior, not a new fault.

Switching the monitor off is required for the stroke to run at all, and it is also why the joint path becomes your responsibility: the controller no longer catches a bad configuration, so the checks below replace that protection.

Confirm the cause before changing anything #

The symptom alone does not settle it, because three other faults can sweep an arm. Check them in this order, cheapest first, and let the confirming check decide:

  1. Programmed orientation. Vision corners carry position only. If target generation interpolates orientation between corners or reuses a stale pose, the wrist is being commanded to move. Read the orientation of all four targets: each must equal the paint angle. Any difference is a programmed wrist motion; fix the generator, not the configuration.
  2. Tracking geometry. Record the tool pose during the stroke and transform it into the moving window frame. A straight recorded line with a wide elbow excursion clears tracking and points at configuration. A bowed recorded line is a frame or conveyor-reference fault, the case covered in why conveyor tracking drifts further from each box; the reference wiring behind it is covered in robot conveyor tracking: wire the encoder to the controller.
  3. Configuration transition, the expected one for this symptom. In simulation, or in a dry run at reduced speed with the process disabled as the machine's risk assessment requires, place the same window-relative target at an early and a late conveyor position inside the tracking window and read the joint positions the controller solves for. A different elbow or wrist branch for an identical window-relative pose confirms the flip, and the conveyor position where the branch changes is the boundary your stroke must not cross.
  4. Joint limit at the far end. Read the joint-position display at the late position. A value sitting against a configured travel limit means the branch change is forced by the limit, not chosen by the solver: a reach problem that subdivision cannot fix.

Computing the mid-edge point of a 200 x 200 mm window #

The worry in this case is that a midpoint between the vision corners moves with the window and cannot be taught. It does not need to be taught; it can be computed from the two corners every time.

Inputs. The reported window measures 200 mm x 200 mm and the vision system returns its four corners; the interpolation parameter runs from 0 at the first corner of an edge to 1 at the second, and the midpoint uses s = 0.5. Place the window-frame origin at the first corner of the edge being painted, so that corner sits at (0 mm, 0 mm) and the far corner at (200 mm, 0 mm).

Rule. A point on the straight edge between two corners is the weighted average of those corners: P(s) = (1 − s) × P0 + s × P1.

Arithmetic.

  • x = (1 − 0.5) × 0 mm + 0.5 × 200 mm = 100 mm
  • y = (1 − 0.5) × 0 mm + 0.5 × 0 mm = 0 mm

Result. The mid-edge target is (100 mm, 0 mm) in the window frame, and because it is computed from the corners it lands at half the edge of every window the vision system sends. This is a calculated example for the reported window, not a measured point.

Decision. From the reported window size upward, do not run endpoint-only linear strokes across an edge: generate the intermediate targets of each edge from its own two corners, and take the number of subdivisions from the validated joint path. Subdivision places targets where you want them; it does not remove a singularity or freeze the branch. That is the next section's job.

Building the stroke around one configuration #

  1. Execute ConfL\Off before coordination with the conveyor starts, as the tracking application manual documents, so the stroke is never interrupted mid-coordination.
  2. Set the trigger position from the flip boundary found in the comparison: begin the stroke early enough that the last corner is painted before the window travels past the conveyor position where the branch changes.
  3. Normalize the vision geometry first: all four corners into one window frame, one consistent perimeter order, crossed edges and duplicate corners rejected before any target is generated.
  4. Generate every edge's targets parametrically from its own two corners, as in the example above, and carry the paint orientation explicitly on each target.
  5. Establish the entry pose before the tracked stroke: a reachable approach and a starting joint configuration clear of the window, the fixture and the conveyor.
  6. Validate entry, every edge, the corners and the exit across the full tracking window in simulation, then in dry runs, before the stroke runs with the process on.

The decision for each finding #

  • Straight recorded line, different joint branch at two conveyor positions: configuration transition confirmed. Run with the linear monitor off, start before the flip boundary, and subdivide the edges from the corners.
  • Recorded line bows in the window frame: tracking geometry fault. Fix the frame and the conveyor reference first; configuration settings will not touch it.
  • Joint value against a travel limit at the late position: reach problem. Move the trigger point or the window's start position in the tracking window so the far corners stay reachable; if they cannot be, that edge is not paintable at that conveyor position and the station layout has to change.
  • Wrist speeds spike mid-edge while the branch values stay the same: singularity. Change the tool orientation or the stroke start so the wrist axes stay away from alignment.

Questions asked

Why does the sweep grow with window size?

The target's displacement in the base frame during a stroke is conveyor speed multiplied by stroke time, and a longer edge lengthens the stroke. The far corners of a large window are therefore painted much deeper into the tracking window, which is where the original configuration stops working and the solver flips branches. Small windows often finish their edges before the target reaches that region, which is why the fault appears on big parts first.

Does the joint-move configuration control help during tracked strokes?

No. The joint-movement configuration control governs joint moves, while a tracked paint stroke is a linear move, so the linear configuration monitor is the one in play. Changing the joint-move setting does nothing for this stroke. Neither instruction removes the branch change itself; that is a kinematics problem you solve by choosing where the stroke starts and how its targets are built.

Will a taught midpoint between the vision corners fix the sweep?

Not reliably. A midpoint taught for one window size lands in the wrong place on the next window, and a point by itself does not remove a singularity or stop the solver changing branches. Compute the midpoint from the two corners instead so it follows every window, and treat subdivision as a way to place targets where the joint path is valid, not as the fix itself.

How do I tell a wrist singularity from a configuration flip?

Read a motion trace of the stroke. Near a wrist singularity the wrist joint speeds spike while the branch values stay the same; a configuration flip shows joint values stepping from one branch to another at a certain conveyor position, with a fast but bounded move. The first is fixed by changing the tool orientation or where the stroke starts, the second by keeping the whole stroke inside one configuration.

Keep reading

  • Selection guide

    Counting Real Axes Before Selecting a Gantry Motion Controller

    Count independent servos, not marketing axes: this machine is 13 controlled axes (1 X, 4 Y, 4 Z, 4 C), so the controller must coordinate 13. Size the payload forces first — 300 N horizontal and about 1,772 N accelerating up on Z — then use a PLC with integrated motion driving servos on one deterministic fieldbus unless robot-style kinematics or conveyor tracking saves real development time.

    Servo and stepper motion

  • Explainer

    What a Conveyor Tracking Retrofit Needs Beyond an Encoder

    Conveyor tracking works only when the robot controller has the licensed tracking software option and a matching encoder interface unit reading a real encoder driven by the conveyor. An encoder alone, a faster robot program, or a timer estimate changes nothing, because position error equals conveyor speed multiplied by timing error.

    Servo and stepper motion

  • Explainer

    What Limits Counts per Meter in Robot Conveyor Tracking

    No hard maximum exists on the counts-per-meter scaling value. The working limits are the measured calibration counts (below 5000 tracking accuracy suffers, beyond 10000 calibration error dominates) and the encoder interface's maximum count rate at top conveyor speed. A worked example shows how to check both.

    Servo and stepper motion