I am setting up a Fanuc SCARA 6IA robot with IRvision. I have everything working but the program looks for a part every time even if it found more than 1 part during the scan. how to i program this to record multiple location so I don't run a vision scan every cycle?
IR vision recording multiple part positions
-
kschaar945 -
December 6, 2023 at 9:48 PM -
Thread is Unresolved
-
-
Lemster68
December 6, 2023 at 9:59 PM Approved the thread. -
In your vision process set number to find to a number higher than 1.
Then in your TP program, you call Vision Run Find to take the picture and find up to that max number to find. It will store them all. Then in a loop you can call Vision get offset and pick your part.
Each time you call Vision Get Offset it will retrieve the next found part until none are left, in which case it will jump to an error label, and only then do you call Vision Run Find again to find more parts.
-
SkyeFire
December 7, 2023 at 5:35 PM Changed the title of the thread from “IR vision recording multiple part posions” to “IR vision recording multiple part positions”. -
Thank you. This worked, I needed to add a counter and the Nfound Vision command for the loop to work.