Moxa Technologies 5400 Series user manual

Page 81

NPort 5400 Series User’s Manual

Configuring NPort Administrator

However, it might take more time (on the order of several hundred milliseconds) than a native COM1, because it needs to work via Ethernet. That’s why the native COM ports on the motherboard can work fast with this function call, but the NPort requires much more time. In order to accommodate other applications that require a faster response time, the new NPort driver implements a new “Fast Flush” option. Note that by default, this function is disabled.

To begin with, make sure there are some “PurgeComm()” functions being used in your application program. In this kind of situation, you might find that your NPort exhibits a much poorer operation performance than when using the native COM1 port. Once you have enabled the “Fast Flush” function, you can check to see if there has been an improvement in performance.

By default, the optional “Fast Flush” function is disabled. If you would like to enable this function, from the “NPort Administrator,” double click on the COM ports that are mapped to the NPort, and then select the “Fast Flush” checkbox. You should find that when “Fast Flush” is enabled, the NPort driver will work faster with “PurgeComm().”

8.The Serial Parameter settings shown here are the default settings when the NPort 5400 is powered on. However, the program can redefine the serial parameters to different values after the program opens the port via Win 32 API.

6-24

Image 81
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