AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Why a loading robot cannot place a part on a moving conveyor belt

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

Short answer

WaitWobj waits forever at a loading station because an empty flat belt never registers a tracked object. Register a virtual placement object instead: each time the conveyor position advances one part pitch and the belt-clear sensors qualify the space, issue one latched new object strobe, and retire the object once the part is placed. The strobe follows conveyor position, never belt speed or elapsed time.

On this page
  1. Why WaitWobj never returns on an empty belt
  2. Fixes that look right and fail
  3. Get a conveyor position, not a conveyor speed
  4. Register one virtual object per pitch
  5. Queue the object, then let the robot follow it
  6. Worked example: spacing four parts on a flat belt at one pitch
  7. Prove it on the belt before the first part
  8. Questions asked

WaitWobj waits forever at your loading station because an empty flat belt never registers a tracked object. The instruction suspends the program until the tracker offers a work object, and on the loading side there is no part for a sync switch or a camera to detect — the robot is what creates the part-on-belt condition. So create the object yourself: register a virtual placement object each time the conveyor position advances one part pitch and the belt-clear sensors confirm the space is free, drive it with one latched new object strobe, and retire it once the part is placed. Take the strobe from conveyor position feedback rather than belt speed or elapsed time, and the robot follows the belt exactly as it does at the unloading station.

Why WaitWobj never returns on an empty belt #

At the unloading station a real part reaching the sync switch creates the edge that registers an object against the conveyor coordinate system; the tracker then carries that object along the belt coordinate and the robot picks it. At the loading station none of that exists yet. The belt is bare, so no switch fires and nothing is there for a camera — even a vision-based tracker such as KUKA's PickControl, which adds integrated image processing to conveyor tracking, has nothing to see.

WaitWobj is not waiting for better motion coordinates; it waits for a work-object event that nothing in the cell will ever produce. On the unloading side the same instruction stalls for a different reason, covered in why WaitWobj waits forever when the tracking object is not connected. The cure here is to give four jobs separate owners: position tracking (where a registered location has moved), space qualification (the location and the pitch around it are clear), object registration (one placement location enters the queue), and robot coordination (consume it, report completion, retire it).

Fixes that look right and fail #

This is not a robot-path fault; it is a missing registration plus a missing position reference, and each tempting shortcut fails for a specific reason.

Attempted fix Why it fails
Reworking the placement path WaitWobj waits for an object event, not for better coordinates.
Following the analog Velocity Signal alone Speed says how fast the belt moves at one instant, not where each placement location begins; small scale and sampling errors accumulate into position error through stops and restarts.
Forcing new object strobe from an output An unqualified pulse can register duplicates, occupied spaces, or wrongly spaced locations.
Two clear-belt sensors, then deleting the old object Clearance detection can authorize placement, but deleting an object the robot and tracker are still using corrupts queue order.
Teaching several moving targets independently Taught points do not preserve spacing when the conveyor position at registration changes.

Get a conveyor position, not a conveyor speed #

The tracking function needs a coordinate it can count. Universal Robots documents conveyor tracking driven both by an encoder with digital pulses and by an encoder that outputs a Modbus register; either gives the tracker a position that survives speed changes and stops. ABB's application manual for the OmniCore conveyor tracking option describes the same architecture: objects registered at the synchronization switch sit in a queue that the conveyor position updates as the belt moves.

Whatever the controller, verify four things before trusting the signal: direction, scale, count continuity, and mechanical coupling. Jog the belt a measured distance and compare the physical travel against the reported conveyor travel; reverse the configured direction or correct the scale if the signs or the distances disagree. How much resolution the tracking needs per meter of belt is its own limit, covered in what limits counts per meter in robot conveyor tracking.

If the installation exposes only the analog Velocity Signal, establish whether the controller integrates it into a position or merely reads it as a speed reference: record the reported position while starting, stopping, and restarting the belt. A value that freezes during the stop and resumes without a jump may be usable; an offset that grows over repeated cycles needs a true position reference. What a tracker does with a speed change mid-cycle is a separate failure, covered in why robot conveyor tracking ignores encoder speed changes.

Register one virtual object per pitch #

Generate the registration event from conveyor position and occupancy logic, in this order:

  1. Define the registration reference: the conveyor coordinate at which a new location becomes eligible.
  2. Set the part pitch from the part envelope, the gripper clearance, and the spacing the process needs between parts.
  3. Let the belt-clear sensors qualify each candidate location: the footprint of the new part plus the clearance to the preceding part.
  4. When the conveyor position has advanced one pitch since the last registration and the space is clear, issue one new object strobe.
  5. Latch the request so the strobe cannot repeat while the position stays inside the same registration window. If the belt stops inside the window the latch stays set; otherwise repeated program scans stack several objects on one physical location.
  6. Retire the object after placement completes or after it leaves the usable tracking range, and never delete the previous object just because a new one was created.

Do not derive the strobe from elapsed time: any belt that changes speed or stops breaks the tie between time and distance.

Queue the object, then let the robot follow it #

Run the sequence in this order: confirm that a qualified location exists, register exactly one virtual object, then execute WaitWobj, which now returns the queued object. Approach in the conveyor work-object frame, match the tracked motion while the target is inside the robot's usable tracking envelope, release the part, confirm the gripper state, mark the object consumed, and admit the next location. The queue itself is a first-in, first-out list of conveyor positions, the same structure behind how to track conveyor parts with an encoder and a FIFO buffer. Register each location when its own pitch crosses the reference rather than firing everything at once; that keeps belt position, queue order, and physical spacing aligned.

Worked example: spacing four parts on a flat belt at one pitch #

Inputs, with their sources:

  • Parts in one row: 4 — your loading case, a single row of parts to place on the bare belt.
  • Part pitch P: part length plus gripper clearance plus process gap, taken from your part drawing and gripper envelope, in the same unit as the conveyor position counter (millimeters or inches). It is a dimension you set; no catalog states it.
  • Queue capacity: 254 objects that have passed the synchronization switch — the documented queue for the OmniCore conveyor tracking option in ABB's application manual. Use your own controller's documented figure if it differs.

The rule, in words: every part owns exactly one tracked object from registration until its placement completes; the objects sit one pitch apart in conveyor coordinates; at the busiest instant every unplaced part is live in the queue at once.

Arithmetic:

  • Live entries at the busiest instant: N = 4, one per part, none placed yet.
  • First-to-last spacing: (N − 1) × P = (4 − 1) × P = 3 × P.
  • Belt consumed by the row: N × P = 4 × P — each part owns its full pitch, including the gap behind it.
  • Capacity check: N live entries against the 254-object queue.

Result: one unique tracked location per part, the first and the last 3 pitches apart, with the queue barely touched.

Decision: register part k when the conveyor position crosses the reference plus (k − 1) × P with the space clear — one latched strobe per part — and retire each object the moment its placement reports complete. Capacity will never constrain this row; if the live-object count climbs toward that 254-object limit, retirement is missing, and the fix is deleting at placement completion, not a bigger queue.

Prove it on the belt before the first part #

  • Run the first passes at reduced speed with placement disabled or with a non-process test piece, guarding and interlocks in place as the cell's risk assessment requires under the robot safety standard it was built to (ISO 10218-1, adopted in the US as ANSI/RIA R15.06); a robot following a virtual object moves with no part on the belt, so treat the whole belt as its workspace.
  • Mark one belt location and verify the tracked coordinate follows the mark through start, stop, and restart.
  • Command the registrations and confirm the tracker holds unique locations in the order the belt carries them.
  • Measure the physical pitch between placed parts and compare it with the commanded pitch after steady motion and again after a conveyor restart.
  • Block the clear-belt condition and verify no new object strobe fires.
  • Stop the belt inside a registration window and verify exactly one object exists.
  • Delay the robot deliberately and confirm expired or unreachable objects are rejected without shifting the remaining queue.

Repeat until the placement error stops growing from the first part to the last. Error that grows part by part points at the position scale or at velocity integration; a constant offset points at the registration reference or the taught placement offset.

Questions asked

Can I generate the new object strobe from a timer instead of conveyor position?

Only on a belt that never changes speed and never stops, which no real conveyor promises. If the belt stops mid-interval, the timer stacks several objects onto one physical location, and after any speed change every later location shifts. Derive the strobe from the conveyor position counter so that distance, not time, opens each registration window; spacing then survives stops and restarts.

The controller only sees the analog Velocity Signal. What should I add?

Add a pulse encoder as the position source: on the tail pulley, or as a measuring wheel riding the belt, mounted so it cannot slip. Before buying anything, log the reported position through a start, a stop and a restart. A value that freezes cleanly and resumes without a jump means the controller already integrates the signal; an offset that grows cycle to cycle means it does not, and the encoder is mandatory.

Can I queue the whole row of parts with a single strobe?

Only if the tracker is explicitly built to expand one event into a correctly offset group, which most are not. The safer sequence issues one strobe per part as its own pitch crosses the registration reference. That keeps queue order, belt position and physical spacing in step, and it lets the belt-clear sensors qualify each location on its own.

How small can the part pitch be?

The process sets the floor: part length, plus the gripper clearance, plus the gap the downstream station needs. Below that, parts collide or the gripper cannot release cleanly. Tracking adds one condition: keep the pitch many times larger than the conveyor position's resolution, so every registration window has unambiguous edges and the latch cannot misfire between scans.

Keep reading

  • Troubleshooting

    WaitWObj Waits Forever: Tracking Object Not Connected

    WaitWObj ConveyorTest\RelDist:=0.5 blocks by design until the conveyor tracking interface submits and accepts a tracking object for CNV1; socket coordinates never do that job. Prove three conditions in order: ActUnit CNV1 with a changing encoder position, okConverter TRUE after StrToVal, and an accepted object event. At an example 200 mm/s belt the 0.5 mm wait distance releases in 2.5 ms, so a hold you can see means the object queue is still empty.

    Servo and stepper motion

  • Explainer

    How robot outputs fire at fixed conveyor pulse counts

    Divide each target pulse count by your documented encoder scale (here 48,780 pulses per radian) to get a position threshold in radians, then fire the digital output on a below-to-at-or-above crossing of that threshold with a one-shot latch. A sustained greater-than comparison stays true every scan and repeats the command.

    Servo and stepper motion

  • Troubleshooting

    Why a recorded path drifts during conveyor tracking

    A hand-taught recorded path replays through fixed coordinates, so on a moving line the tool misses the part by conveyor speed times elapsed time since the trigger — zero at the path start, largest at the end. Confirm the part moves, measure whether the miss grows or stays constant, verify encoder scaling and the trigger, then re-teach the contour as tracked waypoints or stop the line.

    Servo and stepper motion