Home› Programming
Discussion
Back to discussions page
danield271
Posts: 11 Apprentice
Communication between cognex vision system and UR10e. |
1.1K views
|
Answered | |
/ Most recent by Ren_Ren
in Programming
|
21 comments |

in Programming
Hi,
I'm trying to receive 4 different parameters from a cognex camera. using the The UR10e cobot. This one should receive four double value of X,Y,R,P(X and Y means the pixel coordinate value of target object from camera, and R means the rotation degree of target object, and P means the match percent of target object). I'm using the code provided by UR (https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/vision-system-with-the-robot-15576/) but this doesn't work. I'm able to open the socket but I'm not 4 logical values (see attached photo).
Thanks for your help.
I'm trying to receive 4 different parameters from a cognex camera. using the The UR10e cobot. This one should receive four double value of X,Y,R,P(X and Y means the pixel coordinate value of target object from camera, and R means the rotation degree of target object, and P means the match percent of target object). I'm using the code provided by UR (https://www.universal-robots.com/how-tos-and-faqs/how-to/ur-how-tos/vision-system-with-the-robot-15576/) but this doesn't work. I'm able to open the socket but I'm not 4 logical values (see attached photo).
Thanks for your help.
also how is your data string that is returned structured on the camera?
Also, have you looked at just using the URCap that Cognex has? Assuming that you are using the camera for pick and place and not some other task. It allows you to calibrate the camera to the robot and then use robot guidance with the cap to communicate. You can find information on the cap at https://www.cognex.com/programs/urcap-solution
Any idea about the real commands I have to send to the in-sight in order to get a snapshot?
I have a similar issue as well. I tried to use URcaps but the problem is that camera is mounted on top and not able to see the tool during calibration. So, calibration results are not correct. I also feel that it would be much flexible to establish the calibration and read the respective cells from in-sight software instead of using URCaps.
Is it possible to share UR code how you establish the communication and send & read comments from in-sight software?
Thank you very much in advance.
Im just wandering if i can send string data to from cognex to UR?
Im currently working on a barcode project that uses cognex and ur. which frankly new to me.
Thank you very much in advance