# Keyence CV-X452F / UR5e Connection

**URL:** <https://forum.universal-robots.com/t/keyence-cv-x452f-ur5e-connection/30829>\
**Category:** Robot Communication\
**Created:** [October 9, 2023, 7:50pm UTC](https://forum.universal-robots.com/t/keyence-cv-x452f-ur5e-connection/30829 "2023-10-09T19:50:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeiglera](https://avatars.discourse-cdn.com/v4/letter/z/d2c977/32.png) [@zeiglera](https://forum.universal-robots.com/u/zeiglera)\
**Post date:** [October 9, 2023, 7:50pm UTC](https://forum.universal-robots.com/t/keyence-cv-x452f-ur5e-connection/30829/1 "2023-10-09T19:50:31Z")

</div>

I am trying to connect my Keyence CV-X452F controller to my UR5e cobot. I am able to ping the robot from the controller, but when I run the setup program on the robot I receive the error below:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/c/c62cb4097949f6b8b237d51464c5c08a362a91f5.jpeg)

I have tried adding a sync() function per recommendations for similar issues posted to this forum, but haven’t had any luck with that either. Has anyone had a similar experience or have any advice?

---

<div class="post-metadata">

**Author:** ![cg1](https://avatars.discourse-cdn.com/v4/letter/c/c77e96/32.png) [@cg1](https://forum.universal-robots.com/u/cg1)\
**Post date:** [October 10, 2023, 7:29am UTC](https://forum.universal-robots.com/t/keyence-cv-x452f-ur5e-connection/30829/2 "2023-10-10T07:29:04Z")

</div>

This most definetly a missing Sync() somewhere in the code.

Are you using a Urcap? because this might not be your fault then and might be a bug in the URCap.

I would start removing sections of your code in a effort to try and isolate where the error might be introduced.  
But as a rule of thumb all while loops need a sync() call so another way to debug it, would be to save the program to a usb and open the script file in notepad or smiular and simply use ctrl+f to find all the while loops and then double check that they have a corresponding sync() call.

Hope this helps.  
best regards CG1
