Explainer
Why work numbers decide which vision pick tracks the conveyor
Short answer
Keep the work number that arrives with each vision location and pair it with that item's own conveyor tracking value before the robot picks; receiving data in real time does not by itself match each coordinate to the right workpiece. A monitor that shows only the first item's conveyor value proves nothing about the later items, so the association must live in your program's records.

On this page
Match a real-time vision stream to a moving conveyor by keeping the work number that arrives with each detected location and pairing it with that item's own tracking conveyor value before the pick. Receiving coordinates in real time and associating each coordinate with the right workpiece are two different problems, and the second one is what breaks repeated two-pick cycles. The symptom that confuses people is narrow: in a reported offline test, the monitor showed only the first work number's conveyor value. That is not evidence that later workpieces share the first position or were never received; it means the display alone cannot prove the association, so your program has to carry it explicitly.
The work number is the join key #
Three data streams meet at the pick: the vision system sends locations and inspection results for each detected part; the robot's tracking queue holds conveyor positions derived from the encoder; and the pick routine consumes one target at a time. The field that joins them is the work number. In the F-CON conveyor synchronization documentation it is called work_no, and it is not optional decoration — it is the identity of the item. Every record that crosses from the camera to the robot must carry it, and every record the tracking queue stores must be filed under it.
One documentation trap sits right here: a related conveyor synchronization manual for a different mode has no work_no at all. Read the manual for the mode your controller is actually configured to run, and do not carry assumptions from one mode's documentation into a program written for the other.
What the manual's example covers, and what it does not #
The F-CON manual's example gives you two things: a single pick-and-place motion routine that tracks the conveyor, and a vision TCP/IP receive routine for the coordinate data. That example is written for one pick. It is a correct starting point for the communication structure and the tracking motion, but for several workpieces per frame you must extend both halves yourself: the receive side to store every item, and the selection side to choose among them. Do not assume the single-pick program already implements two picks per frame — it does not.
One frame, several parts: an identifier in every record #
When one camera frame contains several products, the field practice is to send all of the frame's coordinates together, either as one string packet when the data stays below 255 bytes, or as several packets. That byte figure is a condition of the single-string method for that controller configuration, not a universal limit for every protocol. What matters more than the packet count is this: packet arrival order is not item identity. Packet boundaries and physical part boundaries are separate concerns, so each record must state which work number it belongs to.
The clean way to hold this is an item record per part: work number, location, inspection result, and — once the robot accepts it — the tracking conveyor value. That is the same first-in, first-out discipline described in tracking conveyor parts with an encoder and a FIFO buffer, with the work number added as the key that survives the vision-to-robot transfer.
How far a part moves while you decide #
Here is a calculated example for one set of inputs, not a measured result. Take a belt running at 70 mm/s, parts 50 by 70 mm placed with the 50 mm side along travel, and one part arriving per second.
- Part pitch: belt speed × 1 s = 70 mm. Gap between parts: 70 mm − 50 mm = 20 mm.
- Suppose 0.4 s passes between the vision trigger and the moment the robot can command the pick. At the stated belt speed the part has moved 28 mm in that time. This is exactly why the target must advance with the encoder-tracked conveyor position instead of being a fixed taught point.
- Suppose the robot can reach a pick zone 250 mm long. The time window for any part is 250 mm ÷ belt speed ≈ 3.6 s from zone entry.
- Suppose the first pick-and-place takes 1.2 s. Its partner from the same frame has then advanced 70 mm/s × 1.2 s = 84 mm and has 250 mm − 28 mm − 84 mm = 138 mm of zone left, about 2.0 s at belt speed.
For these inputs two picks per frame fit inside the window, and the second pick only works if the robot reads the conveyor value filed under the second item's work number — a stale or copied value from the first item misses by 84 mm of belt travel.
Keep the record alive through the second pick #
Do not clear or overwrite a vision result just because the robot has started moving toward the first item. Each record stays available until its pick completes or the application explicitly rejects that item, and the second selection reads its own record's work number, coordinates and conveyor value. When the cycle ends, the next frame's products are consumed as new records; repeating prior data is a bug in the selection logic, not a conveyor problem.
The same record discipline protects you from a subtle failure: if the second item's pick lands short or long by a fixed amount, suspect that the routine used the first coordinate in the buffer rather than the coordinate belonging to the selected work number. That fault looks like a tracking error but is really an association error, and it is one of the reasons conveyor tracking drifts further from each box in multi-pick cells.
Verify the mapping before the repeated cycle #
Run the checks in order; each one answers a specific question.
- Receive completeness: inspect the received message or messages for one frame. Every intended part must have a location, its work number and its inspection result, and split packets must be assignable to the correct item.
- Association: compare the selected work number with the location the pick routine uses. It must be that work number's coordinate, not the first one displayed.
- Tracking value: observe the conveyor value the program holds for the selected item. A monitor that exposes only the first work number's
conv1value is not sufficient to verify later items — read the program's received data and selection state instead. - Two-pick sequence: run a controlled cycle with two marked parts and trace each selection through pick and place. Each pick must use a distinct, intended record, and the following cycle must select new parts.
Do this first in simulation where you can inject frames and inspect records, within the limits of what conveyor tracking offline simulation can verify, then run the first live cycle at reduced speed with the cell's guarding and interlocks in place, as the machine's risk assessment requires.
One more boundary: the work number fixes data association, not encoder integrity. If positions jump after a stop or a cut cycle, the counts themselves are at fault — start from incremental encoder missing counts after a cut cycle before touching the association logic. Fix the identity problem and the count problem separately; they produce similar symptoms and need different repairs.
Questions asked
Who should assign the work number, the camera or the robot?
The side that first creates the item record. When the vision system detects the part, it stamps the work number into the frame data, and the robot's tracking routine then pairs that number with its own conveyor value. If your vision tool cannot send an identifier, generate one in the robot's receive routine from a frame counter and an item counter, and keep it stable until that pick completes or is rejected.
What changes when one frame's data exceeds the single-packet size?
The data travels as several packets instead of one string. That size condition belongs to the single-string method of one controller family, not to every protocol. Splitting changes the transport, not the association: every record still carries its work number, and the program assembles items by that number, never by packet arrival order, because one frame can contain several products and packets and parts do not split at the same boundaries.
Can the manual's single-pick example run two picks per frame unchanged?
No. Its receive routine and motion routine handle one location. For two picks per frame you extend both: the receive side stores every record with its work number, and the motion side selects the next eligible work number and reads that item's conveyor value. The example gives you the communication structure and the tracking motion structure, not the multi-pick selection logic.
How many parts can one camera frame hold in a typical setup?
The field of view decides, not the trigger rate. With an illustrative pitch of 70 mm between parts, a 200 mm field of view holds up to two complete part positions at once; a 100 mm field of view holds one. Size the field of view for the picks you want per frame, then confirm the camera still resolves each part's location to the accuracy the pick needs at both edges of that view.
