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

Page 44

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

Image 44
Contents NPort 5600 Series User’s Manual Seventh Edition, JulyDisclaimer Copyright NoticeTrademarks Table of Contents Chapter IP Serial LIB Page Introduction Overview Package ChecklistProduct Features Product Specifications Advanced Built-in Features Software FeaturesPower Requirements Serial Communication Parameters‰ Panel Layout ‰ Connecting the Hardware Getting StartedRear panel of NPort 5600 series AC Power Rear panel of NPort 5600 series DC PowerPanel Layout Front panel of NPort 5600 seriesConnecting the Hardware Wiring RequirementsConnecting NPort 5610/30/50-16/8’s Power Connecting NPort 5610-16/8-48V’s PowerConnecting to the Network Grounding NPort 5610-16/8-48VConnecting to a Serial Device LED IndicatorsLink Indicator on the Rear Panel of NPort 5650 Fiber Model Adjustable Termination Resistor for the RS-485 PortNPort 5650 DIP Switches Initial IP Address Configuration Factory Default IP Address Default IP addressInitializing NPort’s IP Address LCM DisplayButton Name Action Detailed Menu OptionsLevel NPort Administration Suite ARPTelnet Console NPort 5600 Series User’s Manual NPort 5600 Series User’s Manual NPort 5600 Series User’s Manual Choosing the Proper Operation Mode Real COM Mode Real COM ModeTCP Server Mode TCP Server ModePair Connection Mode TCP Client ModeUDP Mode RFC2217 Mode Reverse Telnet ModeDisabled Mode PPP Mode Web Console Configuration Opening Your Browser Basic Settings Time Server nameTime zone Local timeNetwork Settings ConsoleIP Configuration IP AddressNetmask GatewaySnmp Settings DNS server 1 / DNS serverCommunity name ContactIP Address Report Auto report to IPAuto report to TCP port Auto report periodSerial Settings Port aliasSerial Parameters Operating Settings Real COM Mode Setting Factory Default Necessity To 99 min Min Optional TCP alive check timeMax connection Setting Factory Default Necessity Required Max. connectionMax connection 2 to Ignore jammed IPPacking length Setting Factory Default Necessity Required DelimiterDelimiter process Force transmitTCP Server Mode Max connection Packing length Setting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode Inactivity timeIgnore jammed IP Delimiter process Destination IP address Destination IP address 2/3/4Designated Local Port 1/2/3/4 Connection controlConnect/Disconnect Description UDP Mode Force transmit Setting Factory Default Necessity To 99 min Min Required Pair Connection ModePair Connection Master Mode Pair Connection Slave Mode BlankMap CR-LF Reverse Telnet ModeSetting Factory Default Necessity To 99 min Optional Disabled Mode RFC2217 ModePacking length Setting Factory Default Necessity Optional Setting Factory Default Necessity To FF hex None OptionalTCP/IP compression PPP ModeSetting Factory Default Necessity Yes or No Optional Accessible IP Settings Source IP addressIP netmask Modem Initial streamHosts on a specific subnet can access the NPort Any host can access the NPortPPP User Table Allowable Hosts Input formatMail Server Auto Warning SettingsAuto warning E-mail and Snmp Trap Event Type Snmp Trap ServerSetting Factory Default Necessity Enable, Disable Optional DCD changedDSR changed MailMonitor Async MonitorMonitor Line Change Password Monitor Async-SettingsLoad Factory Defaults Configuring NPort Administrator ‰ Overview ‰ Installing NPort Administrator ‰ ConfigurationInstalling NPort Administrator NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB Configuration Broadcast Search Unlock Password Protection NPort 5600 Series User’s Manual IP Serial LIB Lock UnlockBlank FixedConfiguring NPort NPort 5600 Series User’s Manual IP Serial LIB Upgrading Firmware Export/Import Add Target Æ Select target from the list Select Add Target NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB Port Monitor COM MappingOn-line COM Mapping NPort 5600 Series User’s Manual IP Serial LIB Fast Flush only flush local buffer NPort 5600 Series User’s Manual IP Serial LIB Off-line COM Mapping IP Location NPort 5600 Series User’s Manual IP Serial LIB IP Serial LIB How to install IP Serial Library? What is IP Serial Library?Why Use IP Serial Library? IP Serial LIB Function Groups Example ProgramServer Control Port Control Input/Output Data Port Status MiscellaneousPinouts and Cable Wiring ‰ Cable Wiring DiagramsSerial Port Pinouts Port Pinout DiagramsEthernet Port Pinouts Cable Wiring Diagrams RJ45 8-pins to Female DB9Ethernet Cables Serial Cables for NPort 5610/5650 RS-232RJ45 8-pins to Male DB9 RJ45 8-pins to Female DB25Serial Cables for NPort 5630 RS-422/4-wire RS-485 RJ45 8-pins to Female DB25Serial Cables for NPort 5630 2-wire RS-485 NPort 5600 Series User’s Manual Well Known Port NumbersSerial Cables for NPort 5650 RS-422/4-wire RS-485 Serial Cables for NPort 5650 2-wire RS-485 RJ45 8-pins to Male DB25Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male and Female ConnectorsPin Assignments for DB25 Male and Female Connectors TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service Snmp Agent with MIB II & RS-232 Like GroupSnmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIB Address Translation MIBInput Signal Table Output Signal Table Auto IP Report Protocol Auto IP Report Format Info nID List AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedSerial Number Problem Report FormMoxa Product Product Return Procedure