Moxa Technologies 5400 Series user manual Fast Flush only flush local buffer

Page 80

NPort 5400 Series User’s Manual

Configuring NPort Administrator

6.Select the COM Number.

This assigns a COM Number that your PC host can use to access the NPort’s serial port. Available COM Numbers and status are shown in the drop-down list. COM Numbers that are already being used by the system, including COM Numbers that are already mapped to NPort serial ports, will be shown as “in use”. COM Numbers that have been selected for mapping will be shown as “assigned” if the changes have not been applied yet. The currently selected COM Number for the NPort serial port will be shown as “current”.

If you select multiple serial ports or multiple device servers, remember to check the “Auto Enumerating” function. COM Numbers will then be assigned automatically in numerical order, starting from the COM Number that you select.

7.Hi-performancemode is the default for Tx mode. If the driver completes sending data out to the NPort 5400, the driver will respond “Tx Empty” to the program.

Under Classical mode, the driver will not notify the user’s program that Tx is completed until all Tx data has been sent out from the NPort 5400. This mode will cause lower throughput. If you want to ensure that all data is sent out before further processing, classical mode is recommended.

Enable/Disable Tx/Rx FIFO. If disabled, the NPort 5400 will send one byte each time the Tx FIFO becomes empty; and an Rx interrupt will be generated for each incoming byte. This will result in a faster response and lower throughput. If you want to use XON/XOFF flow control, we recommend setting FIFO to Disable.

Network Timeout is used when the COM port is opened. Since the COM port is on the network rather than physically attached to the PC host, there can be some lag when communicating with the serial device. The Network Timeout field allows you to set the number of milliseconds before an operation will time out. The default value is 5000 milliseconds, and between 500 and 20000 milliseconds can be entered.

Fast Flush (only flush local buffer)

We have added one optional Fast Flush function to MOXA’s new NPort Real COM driver. NPort Administrator Suite for 2G NPort adds it after version 1.2.

For some applications, the user’s program will use the Win32 “PurgeComm()” function before it reads or writes data. With our design, after the program uses this Purge Comm() function, the NPort driver will keep querying the NPort’s firmware several times to make sure there is really no data queued in the NPort firmware buffer, rather than just flushing the local buffer. This kind of design is used because of some special considerations.

6-23

Image 80
Contents NPort 5400 Series User’s Manual Sixth Edition, MarchDisclaimer Copyright NoticeTrademarks Table of Contents Chapter IP Serial LIB Introduction Overview Package ChecklistProduct Features Product Specifications Software Features Power RequirementsSerial Communication Parameters Mechanical‰ Panel Layout ‰ Connecting the Hardware Getting StartedNPort 5430/5430I Panel LayoutNPort 5410/5450/5450I Connecting the Hardware Wiring RequirementsConnecting the Power Grounding the NPortConnecting to the Network Connecting to a Serial DeviceLED Indicators LED Name LED Color LED FunctionAdjustable Pull High/low Resistors for the RS-485 Port Pull high/low resistors for the RS-485 PortInitial IP Address Configuration Factory Default IP Address Default IP addressInitializing the NPort’s IP Address LCM DisplayButton Name Action Detailed Menu OptionsInact. time Delimiter NPort Administration Suite ARPTelnet Console Page Page Choosing the Proper Operation Mode Real COM Mode TCP Server Mode Pair Connection Mode TCP Client ModeUDP Mode Reverse Telnet Mode Disabled ModeWeb Console Configuration Opening Your Browser NPort 5400 Series User’s Manual Web Console Configuration Basic Settings TimeServer name Time zoneLCM password protect Web/Telnet ConsoleTime server Web consoleMethod Function Definition Network SettingsReset button protect IP Configuration IP AddressNetmask GatewaySnmp Settings IP Address ReportSerial Settings Setting Factory Default Necessity 4002 OptionalAuto report to IP Auto report to UDP portSerial Parameters Interface Operating SettingsReal COM Mode Max Connection Max. ConnectionMax Connection 2 to Ignore jammed IPSetting Factory Default Necessity To FF None Optional Setting Factory Default Necessity To 65535 ms OptionalDelimiter Delimiter processTCP Server Mode Setting Factory Default Necessity To 99 min Min OptionalTCP alive check time Inactivity timeAllow driver control Delimiter TCP Client Mode Setting Factory Default Necessity 4001 RequiredCommand port Setting Factory Default Necessity 966 OptionalNPort 5400 Series User’s Manual Web Console Configuration Delimiter Destination IP address Destination IP address 2/3/4Designated Local Port 1/2/3/4 Connection controlUDP Mode Connect/Disconnect DescriptionDelimiter process Local listen port Pair Connection ModePair Connection Master Mode Pair Connection Slave Mode Setting Factory Default Necessity To 99 min Min RequiredReverse Telnet Mode Setting Factory Default Necessity To 99 min OptionalSetting Factory Default Necessity 4001 Optional Means it will never disconnectAccessible IP Settings Disabled ModeOnly one host of specific IP address can access the NPort Hosts on the specific subnet can access the NPortMail Server Auto Warning SettingsAuto warning E-mail and Snmp trap Event Type Snmp Trap ServerPassword changed DCD changedDSR changed MailMonitor Async-Settings MonitorMonitor Line Monitor AsyncChange Password Load Factory DefaultConfiguring NPort Administrator ‰ Overview ‰ Installing NPort Administrator ‰ ConfigurationInstalling NPort Administrator Page Page Configuration Broadcast Search Specify by IP AddressPassword Protection Unlock Password ProtectionConfiguring the NPort Page Page Web Console Upgrading the FirmwarePage Export Configuration Import ConfigurationBroadcast Search Æ Monitor Æ Add Target Monitor Æ Add Target Æ Rescan Monitor Æ Load Configured COM Port Once the Monitor function is runningPage Page Page Port Monitor COM Mapping On-line COM MappingPage Fast Flush only flush local buffer Page Page Off-line COM Mapping Page IP Address Report Automatic Message Log IP Serial LIB How to install IP Serial Library? What is IP Serial Library?Why Use IP Serial Library? IP Serial LIB Function Groups Example ProgramServer Control Port Control Input/Output Data Port Status MiscellaneousPinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port PinoutsDB9 Female to DB9 Male for NPort Cable Wiring DiagramsEthernet Cables Serial Cables DB9 Female to DB25 Male for NPort TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NPort 5400 Series User’s Manual Well Known Port NumbersSnmp Agents with MIB II & RS-232 like group IP MIB Icmp MIBSystem MIB Interfaces MIB Address Translation MIBInput Signal Table Output Signal Table TCP MIB Snmp MIBAuto IP Report Protocol Auto IP Report Format Info nID List AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedSerial Number Problem Report FormMoxa Product† NPort Product Return Procedure