Moxa Technologies 5400 user manual Local TCP port, Setting Factory Default Necessity 4001 Required

Page 42

Delimiter 2

Setting

Factory Default

Necessity

00 to FF

None

Optional

 

 

 

Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port.

Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1K, the NPort will automatically pack the data and send it to the Ethernet. However, to use the delimiter function, you must at least enable Delimiter 1. If Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not work properly.

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 there is incoming data through the serial port, NPort stores 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 as Force Transmit timeout.

Optimal force transmit timeout differs according to your application, but it must be at least as large as 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 required 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 a series of character 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. NPort’s serial communication buffer size is 1K bytes per port.

Local TCP port

Setting

Factory Default

Necessity

1 to 65535

4001

Required

 

 

 

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 adjust the command port to another port if needed. And IP-Serial Lib will automatically check out the Command Port on NPort so that the user does not need to configure the program.

5-16 NPort 5400 Series User’s Manual

Image 42
Contents Series User’s Manual Third Edition, MayCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications IntroductionEnvironment Power RequirementsMechanical Regulatory ApprovalsPanel Layout Connecting the Hardware Getting StartedPanel Layout Connecting the Power Connecting the HardwareWiring Requirements Getting StartedLED Indicators Connecting to the NetworkConnecting to a Serial Device Grounding NPortConfiguration This chapter includes the following sectionsInitializing NPort’s IP Address Factory Default IP AddressDefault IP address LCM DisplayInitial IP Address Configuration Button Name ActionDetailed 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 Real COM Mode TCP Client ModeUDP Mode Choosing the Proper Operation ModeNPort 5400 Series User’s Manual Web Console Configuration Opening Your Browser Web Console Configuration Server name Basic SettingsTime Time zoneConsole Network SettingsSetting Factory Default Necessity Time serverNPort 5400 Series User’s Manual IP Address NetmaskGateway IP Configuration DNS server 1 / DNS severWeb Console Configuration Snmp Settings IP Address ReportSerial Settings Port aliasWeb Console Configuration Serial Parameters Setting Factory Default Necessity To 99 min Min Optional Operating SettingsReal COM Mode TCP alive check timeMax. Connection Setting Factory Default Necessity To FF None OptionalMax Connection Max Connection 2 toTCP Server Mode Setting Factory Default Necessity To 65535 ms OptionalForce Transmit Inactivity time Max Connection 2 toSetting Factory Default Necessity 966 Optional Setting Factory Default Necessity 4001 RequiredCommand port Local TCP portTCP Client Mode NPort 5400 Series User’s Manual Destination IP address Destination IP address 2/3/4TCP connection UDP Mode Local listen port Hosts on the specific subnet can access the NPort Accessible IP SettingsOnly one host of specific IP address can access the NPort Any host can access the NPortAuto Warning Settings Event TypeDCD changed Mail Setting Factory Default Necessity Enable, Disable OptionalDSR changed TrapAuto warning E-mail and Snmp Trap Mail ServerSnmp Trap Server Change Password Load Factory Default Page Configuring Windows Administrator Installing Windows Administrator Configuring Windows Administrator Configuration Broadcast Search Unlock Password Protection LockUnlock Fixed Configuring NPort 5410/5430/5340IBlank 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 What is IP Serial Library? Why Use IP Serial Library?How to install IP Serial Library? IP Serial LIB IP Serial LIB Function GroupsExample Program InquiryPage Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port PinoutsEthernet Cables Serial Cables Cable Wiring DiagramsPinouts and Cable Wiring 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 providedProblem Report Form Service InformationMoxa 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 ID List Auto IP Report FormatInfo n AP ID & Hardware ID Mapping Table