Hi everyone! I’m using IRC5 compact robot controller and Cognex ISM1403 camera. The issue appeared when I tried to load another camera job from RAPID program.
My job is saved in cameras memory. Camera job names matches. I tried to define job, like You said, before and I tried to call it directly from string. I don’t know why, but it’s not working. It shouldn’t be a tricky place where You could make mistakes, but somehow it is..
I did exactly what You said and got nothing. Maybe there is certain configuration I have to do for camera? As far away I got everything working except this thing.
I did my camera configuration exactly as in Application manual - Integrated Vision - nothing more. If your program stop on LoadJob i think, that the promlem is in Job not in camera. Otherwise the CamSetProgramMode CognexCamera; would not be working.
Ok, I did try to make new Job, and I maybe find a solution to this issue. When You are making a Job, after setting up the image, calibration and adding location/inspection tool, you must then click the option output to RAPID. When the Job is synchronized to RAPID error doesn’t appear.
I didn’t mentioned - I did that and I get outputs from camera. But if there is multiple jobs uploaded to camera’s memory, it selects random job and gives me latest output values of that job.
I have a question about integrated vision. Do you know how to export all the results of the vision coordinates if there are multiple objects on the image?
Currently I use the example codes from the IV snippet:
You have to use a loop. See Application manual - Integrated Vision. In chapter 6.3.11 called Finding multiple items of the same type you will find more information.
Solved. The problem was, that cameras firmware version was later than ABB integrated vision plugin version. It was 4.10.02 instead of 4.09.01. You can downgrade Cognex camera firmware with old version In-Sight Explorer, so I downloaded In-Sight Explorer 4.9.1, downgraded cameras firmware to 4.09.01 and everything works fine now. Anyway, thanks IzaR for Your help!