Moxa Technologies NPort 5600 Local TCP port, Setting Factory Default Necessity 4001 Required

Page 47

NPort 5600 Series User’s Manual

Configuring NPort Administrator

 

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 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.

Local TCP port

Setting

Factory Default

Necessity

1 to 65535

4001

Required

 

 

 

The “Local TCP port” is the TCP port that NPort uses to listen to connections, and that other devices must use to contact NPort. 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 so that the user does not need to configure the program.

5-17

Image 47
Contents Seventh Edition, July NPort 5600 Series User’s ManualDisclaimer Copyright NoticeTrademarks Table of Contents Chapter IP Serial LIB Page Introduction Overview Package ChecklistProduct Features Product Specifications Serial Communication Parameters Advanced Built-in FeaturesSoftware Features Power RequirementsGetting Started ‰ Panel Layout ‰ Connecting the HardwareFront panel of NPort 5600 series Rear panel of NPort 5600 series AC PowerRear panel of NPort 5600 series DC Power Panel LayoutConnecting NPort 5610-16/8-48V’s Power Connecting the HardwareWiring Requirements Connecting NPort 5610/30/50-16/8’s PowerGrounding NPort 5610-16/8-48V Connecting to the NetworkAdjustable Termination Resistor for the RS-485 Port Connecting to a Serial DeviceLED Indicators Link Indicator on the Rear Panel of NPort 5650 Fiber ModelNPort 5650 DIP Switches Initial IP Address Configuration LCM Display Factory Default IP AddressDefault IP address Initializing NPort’s IP AddressDetailed Menu Options Button Name ActionLevel ARP NPort Administration SuiteTelnet 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 Local time TimeServer name Time zoneConsole Network SettingsGateway IP ConfigurationIP Address NetmaskContact Snmp SettingsDNS server 1 / DNS server Community nameAuto report period IP Address ReportAuto report to IP Auto report to TCP portPort alias Serial SettingsSerial Parameters TCP alive check time Operating SettingsReal COM Mode Setting Factory Default Necessity To 99 min Min OptionalIgnore jammed IP Max connection Setting Factory Default Necessity RequiredMax. connection Max connection 2 toForce transmit Packing length Setting Factory Default Necessity RequiredDelimiter Delimiter processTCP Server Mode Max connection Packing length Local TCP port Setting Factory Default Necessity 4001 RequiredCommand port Setting Factory Default Necessity 966 OptionalInactivity time TCP Client ModeIgnore jammed IP Delimiter process Connection control Destination IP addressDestination IP address 2/3/4 Designated Local Port 1/2/3/4Connect/Disconnect Description UDP Mode Force transmit Setting Factory Default Necessity To 99 min Min Required Pair Connection ModePair Connection Master Mode Blank Pair Connection Slave ModeMap CR-LF Reverse Telnet ModeSetting Factory Default Necessity To 99 min Optional RFC2217 Mode Disabled ModeSetting Factory Default Necessity To FF hex None Optional Packing length Setting Factory Default Necessity OptionalTCP/IP compression PPP ModeSetting Factory Default Necessity Yes or No Optional Modem Initial stream Accessible IP SettingsSource IP address IP netmaskAllowable Hosts Input format Hosts on a specific subnet can access the NPortAny host can access the NPort PPP User TableMail Server Auto Warning SettingsAuto warning E-mail and Snmp Trap Snmp Trap Server Event TypeMail Setting Factory Default Necessity Enable, Disable OptionalDCD changed DSR changedMonitor Async MonitorMonitor Line Monitor Async-Settings Change PasswordLoad Factory Defaults ‰ Overview ‰ Installing NPort Administrator ‰ Configuration Configuring NPort AdministratorInstalling 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 Fixed LockUnlock BlankConfiguring 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 COM Mapping Port MonitorOn-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? Port Control Input/Output Data Port Status Miscellaneous IP Serial LIB Function GroupsExample Program Server Control‰ Cable Wiring Diagrams Pinouts and Cable WiringSerial Port Pinouts Port Pinout DiagramsEthernet Port Pinouts Serial Cables for NPort 5610/5650 RS-232 Cable Wiring DiagramsRJ45 8-pins to Female DB9 Ethernet CablesRJ45 8-pins to Female DB25 RJ45 8-pins to Male DB9RJ45 8-pins to Female DB25 Serial Cables for NPort 5630 RS-422/4-wire RS-485NPort 5600 Series User’s Manual Well Known Port Numbers Serial Cables for NPort 5630 2-wire RS-485Serial Cables for NPort 5650 RS-422/4-wire RS-485 RJ45 8-pins to Male DB25 Serial Cables for NPort 5650 2-wire RS-485Pin Assignments for DB9 Male and Female Connectors Pin Assignments for DB9 and DB25 ConnectorsPin Assignments for DB25 Male and Female Connectors Well Known Port Numbers TCP Socket Application ServiceSnmp Agent with MIB II & RS-232 Like Group UDP Socket Application ServiceSnmp Agent with MIB II & RS-232 Like Group Address Translation MIB System MIB Interfaces MIBInput Signal Table Output Signal Table Auto IP Report Protocol AP ID & Hardware ID Mapping Table Auto IP Report FormatInfo n ID ListService Information Following services are provided Moxa Internet ServicesSerial Number Problem Report FormMoxa Product Product Return Procedure