Moxa Technologies Understanding Moxa TCP Server Mode Settings for Your Network Card

Page 34

NPort 5110 Series User’s Manual

Web Console Configuration

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 baud rate. For example, assume that the serial port is set to 1200 bps, 8 data bits, 1 stop bit, and no 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 a series of characters in the same packet, the serial device attached to NPort 5110 should send that series of characters during a time interval less than the Force transmit timeout for NPort 5110, and the total length of data must be less than or equal to NPort 5110’s internal buffer size. The serial communication buffer size for NPort 5110 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 5110 automatically closes the TCP connection if there is no TCP activity for the given time. After the connection is closed, NPort 5110 starts listening for another host’s TCP connection.

Inactivity time

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

0 ms: TCP connection is not closed due to an idle serial line.

0-65535 ms: NPort 5110 automatically closes the TCP connection if there is no serial data activity

5-12

Image 34
Contents NPort 5110 Series User’s Manual First Edition, DecemberTrademarks NPort 5110 User’s ManualCopyright Notice DisclaimerTable of Contents Ethernet Port Pinouts Serial Port Pinouts Ethernet CablesIntroduction Product Features Package ChecklistOverview Product Specifications Panel Layout Connecting the Hardware Getting StartedConnecting the Power Connecting the HardwarePanel Layout LED Indicators Connecting to the NetworkConnecting to a Serial Device LED Name LED Color LED FunctionInitial IP Address Configuration Default IP address Factory Default IP AddressNPort 5110 Administration Suite Initializing NPort 5110’s IP AddressTelnet Console Page Page Serial Console 19200, n, 8 Page Page Choosing the Proper Operation Mode TCP Server Mode TCP Client ModeReal COM Mode UDP ModePair Connection Mode Ethernet Modem Mode Web Console Configuration Opening Your Browser NPort 5110 Series User’s Manual Web Console Configuration Server name Basic SettingsWeb/Telnet Console Web ConsoleIP configuration Network SettingsMethod Function Definition Gateway IP addressNetmask DNS server 1 / DNS serverCommunity name Snmp SettingsIP Address Report ContactAuto report to TCP port Serial SettingsAuto report to IP Auto report period Serial Parameters TCP alive check time Operating SettingsReal COM Mode Max connectionMax connection 2 to Setting Factory Default Necessity To FF hex None OptionalSetting Factory Default Necessity To 65535 ms Optional DelimiterTCP Server Mode Inactivity timeSetting Factory Default Necessity To FF None Optional Setting Factory Default Necessity 966 Optional Setting Factory Default Necessity 4001 RequiredCommand port Local TCP portTCP Client Mode Delimiter Destination IP address 2/3/4 Destination IP addressTCP connect on UDP Mode Local listen port Pair Connection Slave Mode Pair Connection Master Mode Dial-out Ethernet ModemDial-in Disconnection request from local siteAT Commands Disconnection request from remote siteRegisters AT&DAccessible IP Settings TCP port Setting Factory Default Necessity 4001 RequiredAuto Warning E-mail and Snmp Trap Auto Warning SettingsMail Server Event Type Snmp Trap ServerDCD changed DSR changedChange Password Load Factory DefaultsConfiguring Windows Administrator Overview Installing Windows Administrator ConfigurationInstalling Windows Administrator Page Page Page Configuration Broadcast Search Page Page Unlock Password Protection Blank LockUnlock FixedConfiguring NPort Page Upgrade Firmware Export/Import Monitor Select Add Target Page Page Page Page Port Monitor On-line COM Mapping COM MappingOn-line COM Mapping Off-line COM MappingSelect COM Settings to modify COM No., default setting, etc Page Fast Flush only flush local buffer Page Page Off-line COM Mapping Select Apply changeIP Location Page IP Serial LIB Why Use IP Serial Library? What is IP Serial Library?How to install IP Serial Library IP Serial LIB Function Groups Example ProgramPinouts and Cable Wiring Ethernet Port Pinouts Serial Port Pinouts Port Pinout DiagramsDB9 Male RS-232 port pinouts for NPort Cable Wiring Diagrams Ethernet CablesTCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NPort 5110 Series User’s Manual Well Known Port NumbersNPort 5110 Series User’s Manual Well Known Port Numbers Snmp Agents with MIB II & RS-232 Like Groups System MIB Interfaces MIB Address Translation MIBTCP MIB Snmp MIB Input Signal Table Output Signal Table Auto IP Report Protocol ID List Auto IP Report FormatInfo n AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedProblem Report Form Moxa NPort Moxa Product NPort Serial NumberProduct Return Procedure