[Solved] Communication between kawasaki and cognex

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?