Moxa Technologies 5400 Series user manual TCP Server Mode

Page 24

NPort 5400 Series User’s Manual

Choosing the Proper Operation Mode

ATTENTION

The driver used for Real COM Mode comes with the NPort Windows Administrator. The driver is installed automatically on your computer when you install NPort Administration Suite.

The important point is that Real COM Mode allows users to continue using RS-232/422/485 serial communications software that was written for pure serial communications applications. The driver intercepts data sent to the host’s COM port, packs it into a TCP/IP packet, and then redirects it through the host’s Ethernet card. At the other end of the connection, the NPort accepts the Ethernet frame, unpacks the TCP/IP packet, and then transparently sends it to the appropriate serial device attached to one of the NPort’s serial ports.

ATTENTION

Real COM Mode allows several hosts to have access control over the same NPort. The driver that comes with your NPort controls host access to attached serial devices by checking the host’s IP address.

Modify the Accessible IP Setting table when the legal IP address should be required in your application

TCP Server Mode

In TCP Server mode, the NPort provides a unique IP:Port address on a TCP/IP network. The NPort waits passively to be contacted by the host computer, allowing the host computer to establish a connection with and get data from the serial device. This operation mode also supports up to 4 simultaneous connections, so that multiple hosts can collect data from the same serial device—at the same time.

As illustrated in the figure, data transmission proceeds as follows:

1.The host requests a connection from the NPort configured for TCP Server Mode.

2.Once the connection is established, data can be transmitted in both directions—from the host to the NPort, and from the NPort to the host.

4-3

Image 24
Contents NPort 5400 Series User’s Manual Sixth Edition, MarchCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications Software Features Power RequirementsSerial Communication Parameters Mechanical‰ Panel Layout ‰ Connecting the Hardware Getting StartedPanel Layout NPort 5410/5450/5450INPort 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 TCP Client Mode UDP 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 consoleNetwork Settings Reset button protectMethod 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 Operating Settings Real COM ModeInterface 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 Mode Pair Connection Master 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 Settings Auto warning E-mail and Snmp trapMail 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 What is IP Serial Library? Why Use 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 PinoutsCable Wiring Diagrams Ethernet Cables Serial CablesDB9 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 providedProblem Report Form Moxa Product† NPortSerial Number Product Return Procedure