Moxa Technologies 5400 user manual TCP Server Mode, Force Transmit

Page 40

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’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 fetches the serial data from it’s 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.

Optimal force transmit timeout differs according to 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. Force Transmit timeout is specified in milliseconds and must be larger than 10 ms.

If the user wants to send the series of characters in a packet, the serial device attached to NPort should send characters without time delay larger than Force Transmit timeout between characters and the total length of data must be smaller than or equal to NPort’s internal buffer size. The serial communication buffer size of NPort is 1 Kbytes per port.

TCP Server Mode

5-14 NPort 5400 Series User’s Manual

Image 40
Contents Series User’s Manual Third Edition, MayTrademarks Copyright NoticeDisclaimer Table of Contents Chapter IP Serial LIB Introduction Product Features Package ChecklistOverview Product Specifications IntroductionPower Requirements MechanicalEnvironment Regulatory ApprovalsPanel Layout Connecting the Hardware Getting StartedPanel Layout Connecting the Hardware Wiring RequirementsConnecting the Power Getting StartedConnecting to the Network Connecting to a Serial DeviceLED Indicators Grounding NPortConfiguration This chapter includes the following sectionsFactory Default IP Address Default IP addressInitializing NPort’s IP Address LCM DisplayButton Name Action Initial IP Address ConfigurationDetailed Menu Options Inact. time Delimiter Initial IP Address Configuration NPort Administration Suite ARPTelnet Console NPort 5400 Series User’s Manual Initial IP Address Configuration Page Choosing the Proper Operation Mode TCP Server Mode TCP Client Mode UDP ModeReal COM Mode Choosing the Proper Operation ModeNPort 5400 Series User’s Manual Web Console Configuration Opening Your Browser Web Console Configuration Basic Settings TimeServer name Time zoneNetwork Settings Setting Factory Default NecessityConsole Time serverNPort 5400 Series User’s Manual Netmask IP AddressGateway IP Configuration DNS server 1 / DNS severWeb Console Configuration Snmp Settings IP Address ReportSerial Settings Port aliasWeb Console Configuration Serial Parameters Operating Settings Real COM ModeSetting Factory Default Necessity To 99 min Min Optional TCP alive check timeSetting Factory Default Necessity To FF None Optional Max ConnectionMax. Connection Max Connection 2 toSetting Factory Default Necessity To 65535 ms Optional TCP Server ModeForce Transmit Inactivity time Max Connection 2 toSetting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode NPort 5400 Series User’s Manual Destination IP address 2/3/4 Destination IP addressTCP connection UDP Mode Local listen port Accessible IP Settings Only one host of specific IP address can access the NPortHosts on the specific subnet can access the NPort Any host can access the NPortEvent Type Auto Warning SettingsDCD changed Setting Factory Default Necessity Enable, Disable Optional DSR changedMail TrapMail Server Auto warning E-mail and Snmp TrapSnmp Trap Server Change Password Load Factory Default Page Configuring Windows Administrator Installing Windows Administrator Configuring Windows Administrator Configuration Broadcast Search Lock Unlock Password ProtectionUnlock Configuring NPort 5410/5430/5340I BlankFixed Lock FixedUpgrade Firmware Export/Import Monitor Add Target Select target from the listConfiguring Windows Administrator NPort 5400 Series User’s Manual Port Monitor COM Mapping On-line COM MappingConfiguring Windows Administrator Fast Flush only flush local buffer Off-line COM Mapping IP Location Configuring Windows Administrator 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 ProgramIP Serial LIB InquiryPage Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port PinoutsCable Wiring Diagrams Pinouts and Cable WiringEthernet Cables Serial Cables DB9 Female to DB9 Male for NPortDB9 Female to DB25 Male for NPort TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service Snmp Agent with MIB II & RS-232 like group IP MIB Icmp MIBSystem MIB Interfaces MIB Address Translation MIBInput Signal Table Output Signal Table Well Known Port NumbersPage Service Information Moxa Internet Services Following services are providedService Information Problem Report FormMoxa Product NPort Serial Number Product Return Procedure Revision History NPort 5400 Series User’s Manual D-5NPort 5400 Series User’s Manual Auto IP Report Protocol Auto IP Report Format Info nID List AP ID & Hardware ID Mapping Table