Hi
KRC4 V8.3.37
EthernetKRL V2.2.9
Any one here that is can help me out with an UDP interface problem. Trying to set up an UDP protocol based interface betwine KRC4 and PLC.
In the XML config file I have configuration EXTERNAL/TYPE to server.
Receiving messages from robot to PLC is no problem but responding to right port number on robot is a little tricky. Read the Ethernet manual that if I configuration EXTERNAL/TYPE to server, the INTERNAL/TYPE port number is ignored. So the robot is using random port numbers every time it opens an new connection. If I use WireShark tool to capture the message from robot I'm able to find out what port it uses and respond back successful to that port. But of course I can´t use that method all the time.
Changing EXTERNAL/TYPE to client wont work for us because robot is the one that is sending packets first.
Using TCP protocol in not an option for us but I did do some testing with it and it worked fine then. Reason it worked is that I´m able so see the ip and port number of the connected client i TCP/protocol.
-zicki