UDP socket support

  • I'm trying to figure out whether it is possible to create UDP sockets on a Fanuc controller (30iA/B, etc).


    I haven't been able to find anything on the API side, and could only find a reference to what I believe is AF_INET in the $HOSTENT[n].$H_ADDRTYPE system variable (it's set to 2, which, at least on Linux, is AF_INET).


    My system variable documentation mentions 'UDP' exactly once, in the description part of the $HOSTC_CFG[n].$SERVER_PORT field:


    Quote

    Specifies the TCP or UDP port number on the server. For Cn: this is the porton the foreign computer. For Sn: this is the port on the robot controller


    but does not give any more detail as to how to open such a socket.


    Does anyone have any idea whether this is possible for users, or is this a system only thing?

Advertising from our partners