# \[Solved\] Communication between kawasaki and cognex

**URL:** <https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262>\
**Category:** Technical questions\
**Created:** [March 14, 2018, 12:39pm UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262 "2018-03-14T12:39:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![martijn-keijzer](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@martijn-keijzer](https://www.robotexchange.io/u/martijn-keijzer)\
**Post date:** [March 14, 2018, 12:39pm UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262/1 "2018-03-14T12:39:23Z")

</div>

i’m having some trouble with the communication between the kawasaki and a cognex camera. i’m able to establish a connection. but having trouble logging in and recieving actual data.  
can someone help me with this?

---

<div class="post-metadata">

**Author:** ![4lloyd](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/4/d78d45/32.png) [@4lloyd](https://www.robotexchange.io/u/4lloyd)\
**Post date:** [March 14, 2018, 3:24pm UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262/2 "2018-03-14T15:24:48Z")

</div>

Which device creates/starts the connection and which one waits to be connected to?  
Which protocol are you using?  
What information does need to be exchanged?

---

<div class="post-metadata">

**Author:** ![martijn-keijzer](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@martijn-keijzer](https://www.robotexchange.io/u/martijn-keijzer)\
**Post date:** [March 15, 2018, 9:34am UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262/3 "2018-03-15T09:34:11Z")

</div>

The kawasaki robot esablishes the connection. the cognex is waiting to be connected to.  
i’m using TCP. And want to get some X and Y coordinates from the camera.

---

<div class="post-metadata">

**Author:** ![Mathijs](https://www.robotexchange.io/user_avatar/www.robotexchange.io/mathijs/32/7_2.png) [@Mathijs](https://www.robotexchange.io/u/Mathijs)\
**Post date:** [March 15, 2018, 2:53pm UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262/4 "2018-03-15T14:53:26Z")

</div>

TCP Communication is a bit harder on the Kawasaki robots. A working example can be found here:

[TCP communication: Cognex - Kawasaki](https://docs.google.com/document/d/1mYxNv3kXzpR99YYoSEOvfvQXt-AhsPEtmq-VFOGHbGE/edit)

My suggestion would be to put the code in the [Kawasaki IDE](http://ftp.kawasakirobot.de/files/public/Software/KIDE/) so you can upload the code real easy.

Good luck!

---

<div class="post-metadata">

**Author:** ![martijn-keijzer](https://www.robotexchange.io/letter_avatar_proxy/v4/letter/m/77aa72/32.png) [@martijn-keijzer](https://www.robotexchange.io/u/martijn-keijzer)\
**Post date:** [March 16, 2018, 11:50am UTC](https://www.robotexchange.io/t/solved-communication-between-kawasaki-and-cognex/262/5 "2018-03-16T11:50:14Z")

</div>

Thanks! got it working now
