Offset

Pickup of moving parts

With conveyor tracking, the pickup position of the robot may deviate from the center of the part as shown below. This gap occurs as a result of accuracy errors of the vision system calibration, tool calibration, and tracking.

Followings are countermeasures for the problem.

  1. Feed the part with an angle near 0°degree. Then, pick up the part.

  2. Measure the gap between the center of the part and the robot’s pickup position.

  3. Repeat the steps 1 and 2 for five times and calculate the average.

  4. Set the average calculated in step 3 to the program as follows:

    > Jump Cnv_QueGet(1) +X(**)
    
  5. Feed the part with an angle near 90°degree. Then, pick up the part.

  6. If the gap is large, fine-tune the value set in the step (4).

  7. Feed the part with an angle near 0°degree. Then, pick up the part.

  8. If the gap is large, fine-tune the value set in the step (6).

  9. Repeating steps 6 to 8 may improve picking accuracy.

KEY POINTS


If the gap between the center of the part and the pickup position can be measured by using the vision system, compensate the "Offset" as follows:

  1. Feed the part with an angle near 0 degree. Then, pick up the part.

  2. Take the image of the picked part by the camera and record X and Y coordinates.

  3. Repeat the steps 1 and 2 for five times and calculate the average.

  4. Feed the part with an angle near 90°degree. Then, pick up the part.

  5. Take the image of the picked part by the camera and record X and Y coordinates.

  6. Repeat the steps 5 and 6 for five times and calculate the average.

  7. Feed the part with an angle near 180°degree. Then, pick up the part.

  8. Take the image of the picked part by the camera and record X and Y coordinates.

  9. Repeat the steps 7 and 8 for five times and calculate the average.

  10. Feed the part with an angle near 270 degree. Then, pick up the part.

  11. Take the image of the picked part by the camera and record X and Y coordinates.

  12. Repeat the steps 11 and 12 for five times and calculate the average.

  13. Plot the values in the steps 3, 6, 9, and 12 as shown in the figure below, and calculate the offset value.

  14. Set the offset value to the program as follows:

    > Jump Cnv_QueGet(1) +X(offset)
    

KEY POINTS


Depending on the offset value, the upstream limit may be exceeded and error 4406 may occur.

Wait Cnv_QueLen(1, CNV_QUELEN_PICKUPAREA) > 0
Jump Cnv_QueGet(1) -X(offset)

The error can be avoided by doing either of the following:

  • Set the wait time before Jump command.
  • Set the "offset" when registering the queue and not to register when executing the Jump command.