Good afternoon.
I have the following task: stacks of boxes move along the conveyor. There are two types of boxes: ProdID = 111 (brown) and ProdID = 222 (light blue). Upon receiving a signal from the sensor, I stop specific parts of the conveyor, and the robot executes a program: it picks up the top box and places it on one of two pallets, depending on the ProdID.
Question: How can I pass the ProdID value of the picked-up box to the robot?