omron — Example

V+ Process Manager Documentation Output Parameters Parameter Description sts Status of operation Example .PROGRAM a.ex2.srcclr() AUTO $manager AUTO REAL sts $manager = "/Process/PackXpert Process Manager" $source = "Belt Handler: /Process/Belt" ; Clear the source with the specified name CALL pm.src.clear($manager, $source, sts) ; Clear all source CALL pm.src.clearall($manager, sts) .END pm.trg.avail(rob.idx, trg.idx, count) Abstract Gets the number of available targets for the robot.

Input Parameters Parameter Description rob.idx Index of the robot task trg.idx Target index to access Output Parameters Parameter Description count Number of items available in the queue Example .PROGRAM a.ex2.qlookup() AUTO REAL rob.idx, part.idx, target.idx, count AUTO $part, $target ; Identify the first robot task rob.idx = 3 ; Look up the queue number for a part in the workspace $part = "/Process/Part - Spacing 2" CALL pm.prt.get.idx(rob.idx, $part, part.idx) ACE Reference Guide, 18317-000 Rev A Page 806