Hi,
I'm new here. We have a Kawasaki robot with D series controller. We tried to do some communication from PC with the controller using UDP.
The problem we have right now is that, the robot can send UDP data to the PC, but we don't know how to send commands back to the robot with UDP.
Here is our procedure that does not work:
First, in the AS, we use UDP_SENDTO to send the data to PC. When the PC received the data, the PC determines the PORT number of the robot from the data. And we use this PORT number to send the commands to the robot, where in the AS program UDP_RECVFROM is used. It does not work. We found that the PORT number always different each time the data is sent.
So are we in the right direction? What would be the solution to this?
Thanks,
Jay