Search the Community

Showing results for tags 'sktudprcv'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 1 result

  1. Dear, I am trying to setup an UDP connection between my Omron NJ301 PLC & my LED power supply CCS PD3-10024-8-EI (https://www.ccs-grp.com/products/model/3329).   My setup: I Close all used sockets. I SktUDPCreate Socket 1 for sending messages. I Fill in DstAdr & DstPortNo to 192.168.000.002 & 40001 (I have pinged with cmd and the IP adress does respond). I Fill in the sendstring with "@00E01172.016.110.007A2CRLF" as per manual. I SktUDPSend this string. I clear the receive buffer to be sure it is empty. I Create socket 2 for receiving messages. I tried filling in only the Dst and filling in both Dst and Src but it has the same result. (DstAdr 192.168.000.016 & DstPortNo 30001) I SktUDPRcv without error then used a TON for 10ms before I check my buffer I Check my receive buffer and it is empty (Size 0) When trying to ping (by using laptop in same network) 192.168.000.016 it automaticly tries to ping 192.168.000.014 without succes.   So my question: Is there another way then using 2 sockets? And does anybody have any clue what I'm doing wrong?