Jump to content
  • 0

Connecting to an In-Sight Vision System or Sensor


Bryon Sol

Question

Often with new In-Sight Vision Systems or Vision Sensors, or ones that have been on the shop floor for a while, you find that you can't connect to the system.  You may forget what the IP Address is of the camera, or if it's new it comes set to DHCP and you can't get connected.

The steps below will help you get connected.  We recommend in order to simplify the setup, use hard-wired Ethernet from your PC to a simple Ethernet Switch and nothing else. The reason for this is to make sure that we don't have any address conflicts and that simple communications can work.  Do not use a router, or a managed switch, just a simple unmanaged switch.  Typically we could also go directly from the PC to the camera without the switch, but some older PCs do not have auto-crossover hardware whereas most switches these days do allow for this.

Step 1:   Connect your PC and camera to a stand alone network switch, use the wired network port of your PC.

CamSwitchPC2.jpg.e8d722241a8e7a8c700419b4787cc66b.jpg

Step 2:  Set a Static IP Address for the PC's Ethernet Port
This depends greatly on your operating system how you get to the list of network adapters.  But in the end we typically want to get to "Network Connections"

In most Windows operating systems once you get to Control Panel, go to Network and Sharing Center, then "Change adapter Settings", you should see a screen something like this with your various network adapters.

image.png.254f12838b1c26bb5922ae6735ffee91.png

Right Click on Ethernet (or whatever your wired network adapter is) and select Properties.

image.png.3604145cbc6c7f6329b40d6b114d01ae.png

Next select the IPV4 line and click Properties again.

image.png.50ac91b88d646eb455742b311b6aff84.png

Set the IP address to a static address.  Most companies will use 192.168.0.X or 192.168.1.X for their company network, some will use the 172.16.X.X range and some will use the 10.X.X.X range.  We just want to pick something that does not conflict with your company network.  Often a 192.168.3.X address will work, so for our example we will use 192.168.3.100

image.png.f308324065b06dba16ecd8d753328021.png

So your settings will look like this:

image.png.2b4e3693197f4736f90aefd063195d07.png

After you click OK, you will now have a static IP Address on your PC.

Step 3:  Open In-Sight Explorer

Step 4:  Click on Get Connected

Step 5:  If you see the camera in the list, you can select it and click Connect, but most likely it will not be there, so you will need to click Add

Screenshot_8.jpg

 

Step 6: Decide if you want to change the Camera's IP Address or your PC, and set the appropriate device's IP Address.
The Camera will show up in the list, if you select it you will see it's IP Address.
If the camera is part of a working machine, you want to change your PC's IP address to be in the same range as the camera, so go back to Step 2.
If the camera is new or not part of a working machine, then it's okay to change it's address as shown below. 
 
Screenshot_1.jpg.5ab771f4c908c5e1978b8c03f5e59d4e.jpg

Step 7:  Go back to Get Connected and select the camera and connect!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

One other thing to mention is to check your Firewall settings.   When you first install the software, the first time you run it, it asks for permissions and most people don't give full permissions.

For each version if In-Sight Explorer it is a good idea to check off all the boxes under Domain, Private and Public in your WIndows Firewall (or other Firewall) program.

image.png.fd2531221f6b6aa81d513031649da6e6.png

Link to comment
Share on other sites

  • 0

Cognex uses a discovery protocol to find cameras.  Are you on a network with managed switches?  It's possible that the discovery broadcast can't get to the camera.

I recommend going direct PC->Camera without a switch in the middle when people have problems.

If that doesn't work there are two things to try:

1.  Leave the Add Sensor window open and power cycle the camera - in 30 seconds to 2 minutes it should pop up.

2. If that doesn't work you might have Firewall software blocking things.  From Cognex' website here is the list of ports you need open.

Port Number Service
TCP 21 FTP
TCP 23 Telnet
UDP 68 DHCP (In-Sight vision system only)
TCP 80 HTTP
TCP 502 Modbus
TCP 1069 In-Sight Protocol
UDP 1069 In-Sight Discovery
TCP 1070 Machine Status data
UDP 2222 EtherNet/IP
TCP 5753 Audit Message Server
TCP 44818 EtherNet/IP
UDP 44818 EtherNet/IP
UDP 45237 iQ Sensor Solution
TCP 50000 DataChannel

Specifically make sure the TCP and UDP ports 1069 are open for In-Sight Discovery and In-Sight Protocol.

 

Link to comment
Share on other sites

  • 0

If you are trying to reach the camera over a VPN, you most likely will not be able to discover the camera. The UDP discovery protocol is blocked by most VPNs. 

Instead, you will need to go to the System menu and add a camera through the Explorer Host Table. In order to do this, you need to know the IP address of the camera. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...