NPort 5600 Series User’s Manual

Configuring NPort Administrator

This parameter defines the time interval during which NPort fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort stores the data in the internal buffer. NPort transmits data stored in the buffer via TCP/IP, but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout.

The optimal Force transmit timeout depends on your application, but it must be at least larger than one character interval within the specified baudrate. For example, assume that the serial port is set to 1200 bps, 8 data bits, 1 stop bit, and none for parity. In this case, the total number of bits needed to send a character is 10 bits, and the time required to transfer one character is

( 10 (bits) / 1200 (bits/s) ) * 1000 (ms/s) = 8.3 ms.

Therefore, you should set Force transmit timeout to be larger than 8.3 ms, so in this case, it must be greater than or equal to 10 ms.

If the user wants to send the series of characters in the same packet, the serial device attached to NPort should send that series of characters during a time interval less than the Force Transmit timeout for NPort, and the total length of data must be less than or equal to NPort’s internal buffer size. The serial communication buffer size for NPort is 1 KB per port.

TCP Server Mode

TCP alive check time

Setting

Factory Default

Necessity

0 to 99 min

7 min

Optional

 

 

 

0 min: TCP connection is not closed due to an idle TCP connection.

1 to 99 min: NPort automatically closes the TCP connection if there is no TCP activity for the given time. After the connection is closed, NPort starts listening for another host’s TCP connection.

5-14

Page 44
Image 44
Moxa Technologies NPort 5600 user manual TCP Server Mode, TCP alive check time