IP address?communication between Keyence vision system and UR Robot

I cannot get the communication to work between a Keyence CV-X400 series and my cobot/ UR robot. Keep getting an IP address error. What am I missing here?

Some small common issues I have seen:

  • IP address + Mask on one of the sides does not match.
  • Some firewall blocking the connection, specially if one of the computers runs Windows.
  • If they are connected through a switch or a router, review the settings. Try to connect the devices directly to each other if you can (only for testing). If both devices are on the same network, review that both IP addresses are not in use already.

“Unfortunately, there is a lot of misinformation on the internet about this topic. If you’re going to establish a connection over the internet between Keyence or another device, you need to use ‘socket_open’. I struggled a lot myself, sifting through pages of code commands, but in the end, three lines of code were enough.”