# Cognex on Virtual Controller

**URL:** <https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038>\
**Category:** RobotStudio\
**Created:** [March 8, 2016, 1:38pm UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038 "2016-03-08T13:38:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liberona](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/liberona/32/4400_2.png) [@Liberona](https://tech-community.robotics.abb.com/u/Liberona)\
**Post date:** [March 8, 2016, 1:38pm UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/1 "2016-03-08T13:38:44Z")

</div>

Hi everyone,

Actually in my workplace, I have:

1.- An energized Cognex Camera model ism1020  
2.- A laptop with RobotStudio 6.02.01 with a virtual controller.

My laptop has installed:

1.- In-Sight Explorer 4.7.3 software  
2.- CognexDrivers.5.2.PR1-64bit

My virtual controller is built for a IRB1200 robot, with this options:

1.- [616-1] PC Interface  
2.- [617-1] Flex Pendant Interface  
3.- 1341-1/1520-1 Integrated Vision Interface

My issue is: Can I connect my Cognex camera via Ethernet, with my virtual controller? Actually all I can do, is - in RobotStudio Vision tab - to try to add a sensor, and RobotStudio succesfully recognizes my Cognex camera

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/9bca0407f940b7ca0484157171e6a6b780754bf4.jpeg)

and after clicking “Aplicar” (Apply) it shows me a login window. I enter user = admin and password = [blank] and later it shows a window saying that “My network setting are correctly modified”

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/99fe685343293a9edbfe553029176a6c86e3fdd3.jpeg)  
This is the only option I have, in order to try to connect the camera, as the following image 3 shows:

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/2X/f/f873475fbad9d9bbf61ec3d045fa8826578fb00a.jpeg)  
After doing this, I don’t have any option and my camera is not available.

Can I connect my camera this way? The IRC5 controller is actually in another place… a this moment I want to make the offline programming, only with the Cognex camera connected, but so far I couldn’t.

Is there any option to programming offline with a real Cognex camera, connected to my virtual controller on my laptop? It would be great so I don’t have to stay next to the real IRC5 controller.

Another option would be to use In-Sight Explorer 4.7.3 (with in-sight I can succesfully connect with my Cognex) and connect the x,y parameters via OPC server. Do you have any advice or experiencie doing this?

Thank you very much for your help.

Regards,

Pablo Liberona

---

<div class="post-metadata">

**Author:** ![Buddy\_K](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@Buddy\_K](https://tech-community.robotics.abb.com/u/Buddy_K)\
**Post date:** [March 24, 2016, 7:40am UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/2 "2016-03-24T07:40:34Z")

</div>

I had the same problem as you. I went to the help menu under RobotStudio and had to follow the instructions.

Help-\> Additional Resources-\>Integrated Vision-\>Configuring Integrated Vision-\>Setting up the camera-\> Additional camera configuration, then scroll down to Connecting to a camera on a virtual controller.

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/77716731ec6a41a3d89bea91abfe40660c1ef320.jpeg)

Now you just copy the code I past below, save it as a .xml inside of notepad. Then copy and past it inside of the virtual controller home folder. I hope that this helps.

\<?xml version="1.0" encoding="ISO-8859-1" ?\>

\<VC\_NETWORK\_DEF\>

10.46.77.126

255.255.252.0

192.168.125.100

255.255.255.0

\</VC\_NETWORK\_DEF\>

---

<div class="post-metadata">

**Author:** ![Buddy\_K](https://avatars.discourse-cdn.com/v4/letter/b/ea5d25/32.png) [@Buddy\_K](https://tech-community.robotics.abb.com/u/Buddy_K)\
**Post date:** [April 12, 2016, 6:42pm UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/3 "2016-04-12T18:42:44Z")

</div>

Also make sure that your static IP is the same as your service port

---

<div class="post-metadata">

**Author:** ![PetrB](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/petrb/32/248_2.png) [@PetrB](https://tech-community.robotics.abb.com/u/PetrB)\
**Post date:** [November 19, 2020, 7:18am UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/4 "2020-11-19T07:18:27Z")

</div>

Where I can find this Integrated vision manual? I have no additional resources in my RS

---

<div class="post-metadata">

**Author:** ![Maxim](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/maxim/32/4429_2.png) [@Maxim](https://tech-community.robotics.abb.com/u/Maxim)\
**Post date:** [November 19, 2020, 7:47am UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/5 "2020-11-19T07:47:21Z")

</div>

Hello PetrB,

Please find attached the Integrated Vision Manuals, one is for IRC5 and the other for OmniCore.

Have a nice day!

Best regards,  
Maxim  
[3HAC067707 AM Integrated Vision OmniCore-en.pdf](https://tech-community.robotics.abb.com/uploads/short-url/aOPf9v3WKhRROHzpqdzGZZpgtn1.pdf) (3.01 MB)  
[Integrated Vision IRC5-revK.pdf](https://tech-community.robotics.abb.com/uploads/short-url/qAUxVNz4Tn4aQCuenxj5fxFzkpA.pdf) (3.27 MB)

---

<div class="post-metadata">

**Author:** ![PetrB](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/petrb/32/248_2.png) [@PetrB](https://tech-community.robotics.abb.com/u/PetrB)\
**Post date:** [November 19, 2020, 10:58am UTC](https://tech-community.robotics.abb.com/t/cognex-on-virtual-controller/7038/6 "2020-11-19T10:58:46Z")

</div>

Thanks, it looks like that information about copying of vc\_network\_definition.xml in HOME dic, was lost in translation, as it’s not mentioned in your manual.
