Moxa Technologies 5400 Series user manual Delimiter

Page 45

NPort 5400 Series User’s Manual

Web Console Configuration

can be configured for 0 to 1024 bytes. Set to 0 if you do not need to limit the length.

Delimiter 1

Setting

Factory Default

Necessity

00 to FF

None

Optional

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.

ATTENTION

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 1 KB, 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.

Delimiter process

Setting

Factory Default

Necessity

Do nothing

 

 

Delimiter + 1

Do Nothing

Optional

Delimiter + 2

 

 

Strip Delimiter

 

 

 

 

 

[Delimiter + 1] or [Delimiter + 2]: The data will be transmitted when an additional byte (for Delimiter +1), or an additional 2 bytes (for Delimiter +2) of data is received after receiving the Delimiter.

[Strip Delimiter]: When the Delimiter is received, the Delimiter is deleted (i.e., stripped), and the remaining data is transmitted.

[Do nothing]: The data will be transmitted when the Delimiter is received.

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

5-19

Image 45
Contents Sixth Edition, March NPort 5400 Series User’s ManualCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications Power Requirements Software FeaturesSerial Communication Parameters MechanicalGetting Started ‰ Panel Layout ‰ Connecting the HardwarePanel Layout NPort 5410/5450/5450INPort 5430/5430I Wiring Requirements Connecting the HardwareConnecting the Power Grounding the NPortConnecting to a Serial Device Connecting to the NetworkLED Indicators LED Name LED Color LED FunctionPull high/low resistors for the RS-485 Port Adjustable Pull High/low Resistors for the RS-485 PortInitial IP Address Configuration Default IP address Factory Default IP AddressInitializing the NPort’s IP Address LCM DisplayDetailed Menu Options Button Name ActionInact. time Delimiter ARP NPort Administration SuiteTelnet Console Page Page Choosing the Proper Operation Mode Real COM Mode TCP Server Mode TCP Client Mode UDP ModePair Connection Mode Disabled Mode Reverse Telnet ModeWeb Console Configuration Opening Your Browser NPort 5400 Series User’s Manual Web Console Configuration Time Basic SettingsServer name Time zoneWeb/Telnet Console LCM password protectTime server Web consoleNetwork Settings Reset button protectMethod Function Definition IP Address IP ConfigurationNetmask GatewayIP Address Report Snmp SettingsSetting Factory Default Necessity 4002 Optional Serial SettingsAuto report to IP Auto report to UDP portSerial Parameters Operating Settings Real COM ModeInterface Max. Connection Max ConnectionMax Connection 2 to Ignore jammed IPSetting Factory Default Necessity To 65535 ms Optional Setting Factory Default Necessity To FF None OptionalDelimiter Delimiter processSetting Factory Default Necessity To 99 min Min Optional TCP Server ModeTCP alive check time Inactivity timeAllow driver control Delimiter Setting Factory Default Necessity 4001 Required TCP Client ModeCommand port Setting Factory Default Necessity 966 OptionalNPort 5400 Series User’s Manual Web Console Configuration Delimiter Destination IP address 2/3/4 Destination IP addressDesignated Local Port 1/2/3/4 Connection controlConnect/Disconnect Description UDP ModeDelimiter process Pair Connection Mode Pair Connection Master ModeLocal listen port Setting Factory Default Necessity To 99 min Min Required Pair Connection Slave ModeSetting Factory Default Necessity To 99 min Optional Reverse Telnet ModeSetting Factory Default Necessity 4001 Optional Means it will never disconnectDisabled Mode Accessible IP SettingsOnly one host of specific IP address can access the NPort Hosts on the specific subnet can access the NPortAuto Warning Settings Auto warning E-mail and Snmp trapMail Server Snmp Trap Server Event TypeDCD changed Password changedDSR changed MailMonitor Monitor Async-SettingsMonitor Line Monitor AsyncLoad Factory Default Change Password‰ Overview ‰ Installing NPort Administrator ‰ Configuration Configuring NPort AdministratorInstalling NPort Administrator Page Page Configuration Specify by IP Address Broadcast SearchUnlock Password Protection Password ProtectionConfiguring the NPort Page Page Upgrading the Firmware Web ConsolePage Import Configuration Export ConfigurationBroadcast Search Æ Monitor Æ Add Target Monitor Æ Add Target Æ Rescan Once the Monitor function is running Monitor Æ Load Configured COM PortPage Page Page Port Monitor On-line COM Mapping COM MappingPage Fast Flush only flush local buffer Page Page Off-line COM Mapping Page IP Address Report Automatic Message Log IP Serial LIB What is IP Serial Library? Why Use IP Serial Library?How to install IP Serial Library? Example Program IP Serial LIB Function GroupsServer Control Port Control Input/Output Data Port Status MiscellaneousPinouts and Cable Wiring Ethernet Port Pinouts Serial Port Pinouts Port Pinout DiagramsCable Wiring Diagrams Ethernet Cables Serial CablesDB9 Female to DB9 Male for NPort DB9 Female to DB25 Male for NPort Well Known Port Numbers TCP Socket Application ServiceNPort 5400 Series User’s Manual Well Known Port Numbers UDP Socket Application ServiceIP MIB Icmp MIB Snmp Agents with MIB II & RS-232 like groupAddress Translation MIB System MIB Interfaces MIBTCP MIB Snmp MIB Input Signal Table Output Signal TableAuto IP Report Protocol Info n Auto IP Report FormatID List AP ID & Hardware ID Mapping TableService Information Following services are provided Moxa Internet ServicesProblem Report Form Moxa Product† NPortSerial Number Product Return Procedure