V+ Process Manager Documentation ; Go through all target queues FOR i = 0 TO pm.trg.count[rob.idx]-1 TYPE "Target Queue Name:
", $pm.trg.type[rob.idx,i] ; Go through all instances in the queue inst.idx = pm.trg.rob.idx[rob.idx,i] WHILE (inst.idx pm.trg.pc.idx[rob.idx,i]) DO CALL pm.trg.get(rob.idx, i, inst.idx, $id, position, reference, pal.idx) CALL pm.trg.get.stat(rob.idx, i, inst.idx, sts, time, $source) CALL pm.trg.getloc(rob.idx, i, inst.idx, pct) TYPE " ID = ", $id TYPE " Position = ", DX(position), ", ", DY(position), ", ", DZ(position) TYPE " Reference = ", reference TYPE " Pallet Index = ", pal.idx TYPE " Status = ", sts TYPE " Time = ", time TYPE " Source = ", $source TYPE " Location % = ", pct TYPE " " CALL pm.trg.move.ptr(inst.idx) END END .END pm.prt.move.ptr(ptr) Abstract Increment the pointer to the next slot in the buffer.
Input Parameters Parameter Description ptr The pointer to increment Output Parameters Parameter Description ptr The incremented pointer Example .PROGRAM a.ex2.queues() AUTO REAL i, rob.idx, inst.idx AUTO REAL reference, pal.idx, sts, time, pct AUTO LOC position AUTO $id, $source ACE Reference Guide, 18317-000 Rev A Page 788