Delta Electronics AH500 — 8.2.5.6 Ethernet─Advance: Socket

AH500 Operation Manual An AH500 system supports the transmission of data between the CPU module and other CPU modules or devices by means of the creation of sockets, and supports TCP and UDP. Users can set eight TCP connections and eight UDP connections. If users want to set a TCP connection, they have to select the Enable Socket Function checkbox, and double-click an item in the TCP Socket Connection table to open the TCP Socket Configuration window. If the users want to set a UDP connection, they have to select the Enable Socket Function checkbox, and double-click an item in the UDP Socket Connection table to open the UD Socket Configuration window.

The parameters in the TCP Socket Configuration window are the same as the parameters in the UDP Socket Configuration window except that there is no Keep Alive Timer parameter in the UDP Socket Configuration window. The parameters in the TCP Socket Configuration window are described below.  Users can set a remote IP address.  Users can set a communication port used by the remote device for this TCP connection. The port number must be in the range of 0 to 65535.  Users can set a communication port used by the local CPU module for this connection. The port number must be in the range of 0 to 65535.  Users can set the length of data which will be sent by the local CPU module.

The length must be in the range of 0 words to 500 words.  Uses can set an initial device in the CPU module where data which will be sent is stored.  Users can set the length of data which will be received by the local CPU module. The length must be in the range of 0 words to 500 words.  Uses can set an initial device in the CPU module where data which will be received is stored.  Users can set a maximum keepalive time for the connection. If no data is transmitted, and the keepalive period has elapsed, the CPU module will terminate the connection automatically. 8-47