CalWest ManufacturingRobotics Fontana, CA

Call or text (818) 397-4809

FANUC iRPickTool and conveyor tracking, explained from a working line

How a FANUC robot picks a part the camera saw further upstream, off a belt that doesn't stop, and how two robots on the same belt split the work without reaching for the same part.

FANUC iRPickTool is the software that lets FANUC robots pick parts off a conveyor that keeps moving. Our twin-delta tray loading line runs on it: vision finds every part on the moving belt, and two FANUC delta robots pick them and place them into trays, sharing the load.

In short

iRPickTool is FANUC’s controller software for robots that pick parts from, or place them onto, a moving conveyor. A camera running iRVision, or a photo eye, finds each part. An encoder on the belt tells each robot controller how far the part has travelled since then. iRPickTool queues the parts and splits them between robots, so each robot meets its own parts where they are now and no two reach for the same one.

What does FANUC iRPickTool do?

iRPickTool is a software option on the FANUC robot controller, sold as a basic version (J944) and a standard version (J945). It builds on line tracking, which lets a robot follow a moving conveyor, and adds what a multi-robot pick line needs: part queues, load balancing across robots, trays, fixed stations and ready-made pick and place programs.

Line Tracking option vs iRPickTool

Line tracking is a controller option in its own right, and iRPickTool is built on top of it.

Line Tracking option iRPickTool
What it covers The robot follows the belt: encoder input, a tracking frame that moves with the belt count, and tracking moves in the program Line tracking, plus part queues, load balancing across robots, trays and fixed stations
Finding parts A trigger, such as a photo eye, marks the belt count each part is tracked from An iRVision camera or a photo eye, with each part queued and handed to one robot
Programs Written for the job Setup screens for the whole line. The standard version (J945) adds ready-made pick and place programs
Conveyor shape Straight or circular Line or circle, set for each conveyor
Published limits — FANUC Europe lists up to 32 robots, 16 trays of up to 160 cells, 32 conveyors, 84 conveyor stations and 84 fixed stations

How does FANUC line tracking use the conveyor encoder?

On a line like ours the robot doesn’t look at the part when it picks it. The camera took its picture upstream, and the encoder count says how far the belt has moved since.

When the camera takes a picture, the controller stores the encoder count at that instant with every part it found. After that, the part’s position along the belt is where it was found plus the belt travel since: the current count minus the stored count, divided by the encoder scale. The encoder scale is counts per millimetre of belt travel. It is taught with the tracking frame by touching a target on the belt, running the belt forward and touching the same target again.

The controller redoes that sum the whole time the robot follows the part, so a small scale error grows with distance. An error along the belt that gets worse the further a part travels is the usual sign. Two causes are easy to miss:

  • An encoder on the drive shaft measures how far the pulley turned, not how far the belt moved. A belt slipping on its pulley looks like a bad scale.
  • A replaced encoder, bracket or drive pulley means re-teaching the scale and checking the tracking frame.

Circular tracking

A circular conveyor, such as a rotary table, is tracked the same way, and in iRPickTool it is a setting on the conveyor: tracking type Line or Circle. The tracking frame is taught by touching one point on a fixture three times as the table carries it upstream, to the middle and downstream of the robot’s reach, as near the outer edge as possible for accuracy. On a table that turns clockwise the frame’s Z axis points down, so check it before entering tray or part heights. Parts also turn as they travel, so the pick position is taught to the angle a part had when it was found, not the angle it has when the robot gets there.

Does each robot need its own encoder?

Not always. Each controller does that sum for itself while its robot moves, so every controller on the line needs a steady feed of the belt count. There are three common ways to provide it:

  • An encoder wired to each controller’s line tracking input.
  • One encoder shared through a pulse multiplexer, which splits the signal so several controllers count the same pulses, at the cost of extra cabling.
  • FANUC’s Ethernet encoder option, where one controller reads the encoder and sends the count to the others over the network.

The choice depends on how the line is set up in iRPickTool, and it is made early. The tracking frame, the camera calibration and every taught position are measured against the belt count, so changing the encoders later means redoing them.

On our twin-delta line, each robot has its own camera and its own encoder, and both controllers hold the full line map.

How does the camera find parts on a moving belt?

The camera is fixed above the belt, upstream of the robot it serves. iRVision runs on the robot controller, and FANUC provides 2D line tracking vision processes built for moving parts. For each part, the vision process reports where it sits on the belt and how far it is turned.

The camera fires by belt distance, not by time, usually often enough that each part is seen more than once as it crosses the view. A poor find in one frame gets a second chance, and a duplicate check drops the repeats. Exposure has to be short or the part smears, which takes bright, steady light. Calibration ties the image to the tracking frame, using a grid laid on the belt; our iRVision calibration guide covers it. Cameras mounted on the arm are covered on the vision-guided robotics page.

One camera for the line A camera for each robot
What each camera sees Every part The first sees every part; the second sees what the first robot left
Image processing One controller runs all of it Each controller runs its own camera
Watch for A part that shifts after the picture is still picked where it was seen Changing the first robot’s vision or pick rate changes what the second robot gets, so tune upstream first

Our twin-delta line uses a camera for each robot.

How do FANUC controllers on one line share part data?

The controllers on a multi-robot line are linked in a robot ring over Ethernet. FANUC calls it RIPE, short for ROS Interface Packets over Ethernet, with one controller as the ring’s leader. Through that link, each controller knows about every part on the belt, including the parts that belong to the other robot.

That shared view keeps two robots from reaching for the same part. Each part is given to one robot, and the other knows it is spoken for. A part the upstream robot can’t get to in time is passed downstream rather than lost. If a robot stops, iRPickTool’s load balancing hands its parts to the robots still running.

How does iRPickTool load sharing split picks between two robots?

Each robot owns a stretch of belt, set by three lines across it:

  • Upstream boundary: where the robot is allowed to start on a part. It is set inside the robot’s reach.
  • Downstream boundary: the furthest point the robot is allowed to follow a part, also set inside its reach.
  • Discard line: a little upstream of the downstream boundary. A part the robot hasn’t started on by here is left for the next robot.

The discard line has to leave room for a whole pick: the time from starting to track a part until the robot has lifted it clear of the belt (the lift-off is usually a tracked move too), multiplied by belt speed, plus margin. Set it too tight and the part crosses the downstream boundary mid-pick, which the controller reports as TRAK-005 Track destination gone. FANUC’s fixes are to move the discard line, correct the boundaries, shorten the robot’s motion or slow the belt.

Cam 1Cam 2Robot 1Robot 2UXDUXDBelt travelCam 1Cam 2Robot 1Robot 2UXDUXDBelt travel
Fig. 1Two robots on one belt, not to scale. U is each robot’s upstream boundary, D its downstream boundary and X its discard line. Parts that pass robot 1’s discard line ride on to robot 2.

The split itself is the load balance setting. Give iRPickTool a ratio, such as an even split or a bigger share for the robot with shorter moves, and it allocates parts to match. Turn it off and each robot takes every part it can reach. That gets the most out of a full belt, but on a sparse belt the upstream robot does nearly all the work. Parts can also be allocated by type using iRVision model IDs.

How many robots does a conveyor tracking line need?

Work it out from numbers measured on your own line, in this order:

  1. Parts arriving

    Belt speed divided by the average spacing between parts gives the average feed. Then look at the worst bunching, which arrives much faster than the average.

  2. What one robot clears

    Time a full pick-and-place cycle while tracking. Sixty divided by that time in seconds, times the number of parts the gripper takes per cycle, is one robot's picks per minute.

  3. Time in the window

    Upstream boundary to discard line, divided by belt speed, is how long each part is available. A faster belt shortens it even at the same feed.

  4. Compare, with margin

    If one robot clears the worst bunching with room to spare, one will do. If not, a second robot downstream takes what the first lets pass.

A tracking line can be simulated before it is built. FANUC’s iRPickPRO comes as part of ROBOGUIDE and models conveyor tracking lines with several robots, including reach, throughput, robot duty and reducer life. A running iRPickTool line can also log up to 1,000 part events, and ROBOGUIDE can play that flow of parts back, which is one way to study misses that happen too fast to see on the floor.

Whether a delta is the right arm at all is covered on our delta robot pick and place page.

Tuning on our floor before it ships

We tune vision picks and tracking on our own floor. The FANUC cells we build are run off in our Fontana shop, then commissioned on yours. Setup goes in a fixed order, because each step is measured against the one before:

  1. Robot ring: set up the other controllers first, then the ring’s leader (MASTER on the pendant).
  2. Encoders: switch each one on and check that the count changes on every controller as the belt runs.
  3. Tracking frame and encoder scale, taught by touching a target on the belt.
  4. Camera calibration, with the grid laid on the belt.
  5. Pick and place positions, touched up on a part the camera has found.
  6. Boundaries and a discard line for each robot, leaving room for a whole pick.
  7. Slow runs first, then the belt at full speed.

When picks miss, the pattern of the miss shows where to look:

What you see Where to look first
Robot lands behind or ahead of the part, worse further downstream Encoder scale, or belt slip on the encoder’s drive pulley
Robot drifts across the belt as the part travels Tracking frame X axis not parallel to belt travel
Error depends on where the part was in the camera view Camera calibration
Error changes with how the part is turned Tool frame (UTOOL)
TRAK-005 Track destination gone Discard line too close to the downstream boundary

Everything gets checked again at commissioning, because a plant’s belt, light and product never behave quite like they did in our shop. The robot side is on our FANUC robot programming page, and the line itself is written up as a twin-delta tray loading project.

Terms used on a FANUC tracking line

More FANUC and robot cell terms are in our robotics glossary.

Term What it means
Tracking frame A coordinate frame fixed to the conveyor, with X in the direction of travel. Positions taught in it are shifted along X by the belt travel the encoder counts, so they move with the part.
Encoder scale Encoder counts per millimetre of belt travel.
Trigger The encoder count stored when a part is detected. Tracking for that part starts from it.
UFRAME A user frame: a fixed coordinate frame on a table or fixture that taught positions are measured from. On the belt, the tracking frame plays this role.
UTOOL The tool frame: where the gripper’s working point (the TCP) sits relative to the robot faceplate. Every touch-up during setup depends on it.

Common questions

How do two robots avoid picking the same part?
iRPickTool gives every part it finds to exactly one robot, and the controllers share that information over a robot ring on Ethernet, so each robot knows which parts belong to the other. A part the upstream robot cannot reach before its discard line is passed on to the next robot instead of being dropped. A duplicate check also stops one part seen in two camera frames from being counted twice.
What does TRAK-005 Track destination gone mean?
It means the part crossed the robot's downstream boundary while the robot was still tracking it. On an iRPickTool line, a common cause is a discard line set too close to the downstream boundary for the robot's pick time and the belt speed. FANUC's suggested fixes are to move the discard line upstream, set the upstream and downstream boundaries properly, shorten the robot's motion, or slow the conveyor.
Can iRPickTool track parts with a photo eye instead of a camera?
Yes. A photo eye can be the trigger instead of a camera, and the encoder count is stored when the eye sees a part. The catch is that a photo eye only reports when a part passed, not where it sits across the belt or how it is turned. Parts have to arrive in a known lane and orientation, which is why lines with loose, randomly placed parts use iRVision.
What happens if one robot on a shared belt stops?
With load balancing on, iRPickTool redistributes the stopped robot's parts to the robots that are still running. The remaining robots can only pick as fast as they can move, so if the line was sized to need every robot, some parts will ride past the last robot while one is down.

Sources

  1. FANUC America: iRPickTool line tracking software
  2. FANUC America: iRPickTool and iRVision for line tracking
  3. FANUC Tech Transfer: iRPickTool / iRPickPRO introduction
  4. FANUC Tech Transfer: iRPickTool setup overview
  5. FANUC Tech Transfer: iRPickTool tracking frames
  6. FANUC Tech Transfer: iRPickTool RIPE setup
  7. FANUC Tech Transfer: iRPickTool improving tracking accuracy
  8. FANUC Tech Transfer: Addressing TRAK-005 Track Destination Gone errors
  9. US Patent 9,046,890 B2: Line tracking data over Ethernet (FANUC Robotics America)
  10. FANUC America: Line Tracking, linear and circular conveyor tracking
  11. FANUC Europe: iRPickTool advanced line tracking (published limits, iRPickPRO in ROBOGUIDE)
  12. FANUC Tech Transfer: iRPickTool circular tracking
  13. FANUC America: Robot support and manuals (R-30iB Plus iRPickTool Operator's Manual, B-83924EN; via the Customer Resource Center)

Start a project

Bring us the process. We'll bring the cell.

Send a phone video of the manual process, or a part drawing, by text or email. We come back with a cell concept and a plan: robot, tooling, controls and code.

Call or text
Call or text
(818) 397-4809
Email
sales@calwestmfg.com
Shop
13815 Arrow Rte, Fontana, CA 92335
Hours
Mon–Fri 7:00am – 3:45pm

FANUC Authorized System Integrator (ASI). Part of CalWest Manufacturing, founded 2012: AS9100D and ISO 9001 certified, ITAR registered.