Moxa Technologies 5400 Series user manual TCP Client Mode, UDP Mode, Pair Connection Mode

Page 25

NPort 5400 Series User’s Manual

Choosing the Proper Operation Mode

TCP Client Mode

In TCP Client mode, the NPort can actively establish a TCP connection to a pre-defined host computer when serial data arrives.

After the data has been transferred, the NPort can automatically disconnect from the host computer by using the TCP alive check time or Inactivity time settings. Refer to chapter 5 for more details.

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

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

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.

UDP Mode

Compared to TCP communication, UDP is faster and more efficient. In UDP mode, you can multicast data from the serial device to multiple host computers, and the serial device can also receive data from multiple host computers, making this mode ideal for message display applications.

Pair Connection Mode

Pair Connection Mode employs two NPort 5400 units in tandem, and can be used to remove the

15-meter distance limitation imposed by the RS-232 interface. One NPort 5400 is connected from its RS-232 port to the COM port of a PC or other type of computer, such as a hand-held PDA, and the serial device is connected to the RS-232 port of the other NPort 5400. The two NPort 5400 units are then connected to each other with a cross-over Ethernet cable, both are connected to the same LAN, or in a more advanced setup, they communicate with each other over a WAN (i.e., through one or more routers). Pair Connection Mode transparently transfers both data and modem control signals (although it cannot transmit the DCD signal) between the two NPort device servers.

4-4

Image 25
Contents Sixth Edition, March NPort 5400 Series User’s ManualTrademarks Copyright NoticeDisclaimer Table of Contents Chapter IP Serial LIB Introduction Product Features Package ChecklistOverview Product Specifications Power Requirements Software FeaturesSerial Communication Parameters MechanicalGetting Started ‰ Panel Layout ‰ Connecting the HardwareNPort 5410/5450/5450I Panel LayoutNPort 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 UDP Mode TCP Client 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 consoleReset button protect Network SettingsMethod 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 Real COM Mode Operating SettingsInterface 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 Master Mode Pair Connection 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 E-mail and Snmp trap Auto Warning SettingsMail 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 Why Use IP Serial Library? What is 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 DiagramsEthernet Cables Serial Cables Cable Wiring DiagramsDB9 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 ServicesMoxa Product† NPort Problem Report FormSerial Number Product Return Procedure