Moxa Technologies 5110 Series Local TCP port, Setting Factory Default Necessity 4001 Required

Page 36

NPort 5110 Series User’s Manual

Web Console Configuration

Force transmit

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

0: Disable the force transmit timeout.

1 to 65535: Forces the NPort 5110’s TCP/IP protocol software to try to pack serial data received during the specified time into the same data frame.

This parameter defines the time interval during which NPort 5110 fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort 5110 stores the data in the internal buffer. NPort 5110 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 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.

Local TCP port

Setting

Factory Default

Necessity

1 to 65535

4001

Required

The “Local TCP port” is the TCP port that NPort 5110 uses to listen to connections, and that other devices must use to contact NPort 5110. To avoid conflicts with well known TCP ports, the default is set to 4001.

Command port

Setting

Factory Default

Necessity

1 to 65535

966

Optional

The “Command port” is a listen TCP port for IP-Serial Lib commands from the host. In order to prevent a TCP port conflict with other applications, the user can set the Command port to another port if needed. IP-Serial Lib will automatically check the Command Port on NPort 5110 so that the user does not need to configure the program.

5-14

Image 36
Contents NPort 5110 Series User’s Manual First Edition, DecemberNPort 5110 User’s Manual Copyright NoticeTrademarks DisclaimerTable of Contents Ethernet Port Pinouts Serial Port Pinouts Ethernet CablesIntroduction Package Checklist Product FeaturesOverview Product Specifications Panel Layout Connecting the Hardware Getting StartedConnecting the Hardware Connecting the PowerPanel Layout Connecting to the Network Connecting to a Serial DeviceLED Indicators LED Name LED Color LED FunctionInitial IP Address Configuration Factory Default IP Address NPort 5110 Administration SuiteDefault IP address 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 ModeUDP Mode Real COM ModePair Connection Mode Ethernet Modem Mode Web Console Configuration Opening Your Browser NPort 5110 Series User’s Manual Web Console Configuration Basic Settings Web/Telnet ConsoleServer name Web ConsoleNetwork Settings IP configurationMethod Function Definition IP address NetmaskGateway DNS server 1 / DNS serverSnmp Settings IP Address ReportCommunity name ContactSerial Settings Auto report to IPAuto report to TCP port Auto report periodSerial Parameters Operating Settings Real COM ModeTCP alive check time Max connectionSetting Factory Default Necessity To FF hex None Optional Setting Factory Default Necessity To 65535 ms OptionalMax connection 2 to DelimiterTCP Server Mode Inactivity timeSetting Factory Default Necessity To FF None Optional Setting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode Delimiter Destination IP address Destination IP address 2/3/4TCP connect on UDP Mode Local listen port Pair Connection Slave Mode Pair Connection Master Mode Ethernet Modem Dial-inDial-out Disconnection request from local siteAT Commands Disconnection request from remote siteRegisters AT&DAccessible IP Settings TCP port Setting Factory Default Necessity 4001 RequiredAuto Warning Settings Auto Warning E-mail and Snmp TrapMail 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 Lock UnlockBlank FixedConfiguring NPort Page Upgrade Firmware Export/Import Monitor Select Add Target Page Page Page Page Port Monitor COM Mapping On-line 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 What is IP Serial Library? Why Use IP Serial Library?How to install IP Serial Library IP Serial LIB Function Groups Example ProgramPinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port PinoutsDB9 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 Auto IP Report Format Info nID List 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