Delta ISPSoft — 3.3.5.6 Ethernet - Advance: Socket

ISPSoft User Manual 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 within the range between 0 and 65535.  Users can set a communication port used by the local CPU module for this connection. The port number must be within the range between 0 and 65535.

 Users can set the length of data which will be sent by the local CPU module. The length must be within the range between 0 words and 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 within the range between 0 words and 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 keep alive time for the connection. If no data is transmitted, and the keep alive period has elapsed, the CPU module will terminate the connection automatically.

The port number used by the local CPU module and the port number used by the remote device can not be the same, and the devices where data which will be sent is stored cannot overlap the devices where data which will be received is stored. If the IP address of the remote device is 192.168.1.100, the port number used by the remote device is 65500, and the port number used by the local CPU module is 65501, the remote device and the local CPU module can transmit data through this TCP connection. 3-184