V+ Process Manager Documentation ; Get the number of parts available CALL pm.prt.avail(rob.idx, part.idx, count) ; Look up the queue number for a target in the workspace $target = "/Process/Target 2 - Static" CALL pm.trg.get.idx(rob.idx, $target, target.idx) ; Get the number of partstargets available CALL pm.trg.avail(rob.idx, target.idx, count) .END pm.trg.done(rob.idx, trg.idx, obj.idx, sts) Abstract Indicate a target has been processed. Input Parameters Parameter Description rob.idx Index of the robot task trg.idx Target index to access obj.idx Index of the instance/object to mark as done Was the instance processed by the robot:
sts TRUE = part was processed FALSE = part was not processed Output Parameters None pm.trg.get(rob.idx, trg.idx, obj.idx, $id, position, reference, pal.idx) Abstract Gets a target from the buffer. Input Parameters Parameter Description rob.idx Index of the robot task trg.idx Target index to access obj.idx Index of the object/instance to extract Output Parameters Parameter Description $id Unique identifier of the instance ACE Reference Guide, 18317-000 Rev A Page 807