Getting started with KAS UDP communications
Attached is a basic sample program showing basic UDP communications between 2 KAS PxMM controllers. The concepts here can easily be applied to communicating between a PxMM controller and a PC or other non-Kollmorgen product.
The program SendFeedback below sends a parameter (axis position) over UDP using Port 20 (Server_Port) from a PxMM (address 10.50.67.95 ) to another device with IP address 10.50.67.226
The program ReceivePosition below sets up a second PxMM (with the address 10.50.67.226) to receive a parameter(in this case a relative position) through a UDP connection using port 20 (Listening_Port) from an external devices with IP address 10.50.67.95. The program receives a position and places it in a relative motion command (PN motion engine in this case).
For more information on the UDP functions in KAS :