Moxa Technologies 5400 Series user manual What is IP Serial Library?, Why Use IP Serial Library?

Page 88

NPort 5400 Series User’s Manual

IP Serial LIB

Overview

What is IP Serial Library?

IP Serial Library is a Windows library with frequently used serial command sets and subroutines. IP Serial Library is designed to reduce the complexity and poor efficiency of serial communication over TCP/IP. For example, Telnet can only transfer data, but it can't monitor or configure the serial line's parameters.

Why Use IP Serial Library?

For programmers who are familiar with serial communication, IP Serial Library provides well-designed function calls that have the same style as MOXA's PComm Library.

IP Serial Library is amazingly simple and easy to understand. By including it in your VB, C, or Delphi programming environment, you can program your own TCP/IP application with the ability to control serial communication parameters.

NPort serial device servers use 2 TCP ports for communication between the NPort and host computer's Real COM driver. The NPort uses a data port and command port to provide pure data transfer without decode and encode. Compared to using only one TCP port to control serial communication (such as RFC 2217), IP Serial Library uses a command port to communicate with the NPort in user's program. IP Serial Library not only runs with excellent efficiency but also runs without any decode or encode problems.

How to install IP Serial Library?

IP Serial Lib comes with the NPort Administration Suite. Refer to the IPSerial directory for more detail about the function definitions.

7-2

Image 88
Contents NPort 5400 Series User’s Manual Sixth Edition, MarchTrademarks Copyright NoticeDisclaimer Table of Contents Chapter IP Serial LIB Introduction Product Features Package ChecklistOverview Product Specifications Software Features Power RequirementsSerial Communication Parameters Mechanical‰ Panel Layout ‰ Connecting the Hardware Getting StartedNPort 5410/5450/5450I Panel LayoutNPort 5430/5430I 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 UDP Mode TCP Client ModePair Connection 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 consoleReset button protect Network SettingsMethod Function Definition 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 Real COM Mode Operating SettingsInterface 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 Pair Connection Master Mode Pair Connection ModeLocal listen port 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 NPortAuto warning E-mail and Snmp trap Auto Warning SettingsMail Server 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 Why Use IP Serial Library? What is IP Serial Library?How to install 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 PinoutsEthernet Cables Serial Cables Cable Wiring DiagramsDB9 Female to DB9 Male for NPort 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 providedMoxa Product† NPort Problem Report FormSerial Number Product Return Procedure