Moxa Technologies 5400 user manual TCP Client Mode, UDP Mode, Real COM Mode

Page 25

Choosing the Proper Operation Mode

TCP Client Mode

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

After the data has been transferred, 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.

Real COM Mode

NPort comes equipped with COM drivers that work with Windows 95/98/ME/NT/2000/XP systems, and also TTY drivers for Linux systems. The driver establishes a transparent connection between host and serial device by mapping the IP:Port of the NPort’s serial port to a local COM/TTY port on the host computer. 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.

NPort 5400 Series User’s Manual 4-3

Image 25
Contents Third Edition, May Series User’s ManualTrademarks Copyright NoticeDisclaimer Table of Contents Chapter IP Serial LIB Introduction Product Features Package ChecklistOverview Introduction Product SpecificationsMechanical Power RequirementsEnvironment Regulatory ApprovalsGetting Started Panel Layout Connecting the HardwarePanel Layout Wiring Requirements Connecting the HardwareConnecting the Power Getting StartedConnecting to a Serial Device Connecting to the NetworkLED Indicators Grounding NPortThis chapter includes the following sections ConfigurationDefault IP address Factory Default IP AddressInitializing NPort’s IP Address LCM DisplayButton Name Action Initial IP Address ConfigurationDetailed Menu Options Inact. time Delimiter Initial IP Address Configuration ARP NPort Administration SuiteTelnet Console NPort 5400 Series User’s Manual Initial IP Address Configuration Page Choosing the Proper Operation Mode TCP Server Mode UDP Mode TCP Client ModeReal COM Mode Choosing the Proper Operation ModeNPort 5400 Series User’s Manual Web Console Configuration Opening Your Browser Web Console Configuration Time Basic SettingsServer name Time zoneSetting Factory Default Necessity Network SettingsConsole Time serverNPort 5400 Series User’s Manual Netmask IP AddressGateway DNS server 1 / DNS sever IP ConfigurationIP Address Report Web Console Configuration Snmp SettingsPort alias Serial SettingsWeb Console Configuration Serial Parameters Real COM Mode Operating SettingsSetting Factory Default Necessity To 99 min Min Optional TCP alive check timeMax Connection Setting Factory Default Necessity To FF None OptionalMax. Connection Max Connection 2 toSetting Factory Default Necessity To 65535 ms Optional TCP Server ModeForce Transmit Max Connection 2 to Inactivity timeCommand port Setting Factory Default Necessity 4001 RequiredSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode NPort 5400 Series User’s Manual Destination IP address 2/3/4 Destination IP addressTCP connection UDP Mode Local listen port Only one host of specific IP address can access the NPort Accessible IP SettingsHosts on the specific subnet can access the NPort Any host can access the NPortEvent Type Auto Warning SettingsDCD changed DSR changed Setting Factory Default Necessity Enable, Disable OptionalMail TrapMail Server Auto warning E-mail and Snmp TrapSnmp Trap Server Change Password Load Factory Default Page Configuring Windows Administrator Installing Windows Administrator Configuring Windows Administrator Configuration Broadcast Search Lock Unlock Password ProtectionUnlock Blank Configuring NPort 5410/5430/5340IFixed Lock FixedUpgrade Firmware Export/Import Add Target Select target from the list MonitorConfiguring Windows Administrator NPort 5400 Series User’s Manual Port Monitor On-line COM Mapping COM MappingConfiguring Windows Administrator Fast Flush only flush local buffer Off-line COM Mapping IP Location Configuring Windows Administrator Page 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 GroupsIP Serial LIB InquiryPage Pinouts and Cable Wiring Ethernet Port Pinouts Serial Port Pinouts Port Pinout DiagramsPinouts and Cable Wiring Cable Wiring DiagramsEthernet Cables Serial Cables DB9 Female to DB9 Male for NPortDB9 Female to DB25 Male for NPort Well Known Port Numbers TCP Socket Application ServiceUDP Socket Application Service IP MIB Icmp MIB Snmp Agent with MIB II & RS-232 like groupAddress Translation MIB System MIB Interfaces MIBWell Known Port Numbers Input Signal Table Output Signal TablePage Service Information Following services are provided Moxa Internet ServicesService Information Problem Report FormMoxa Product NPort Serial Number Product Return Procedure NPort 5400 Series User’s Manual D-5 Revision HistoryNPort 5400 Series User’s Manual Auto IP Report Protocol Info n Auto IP Report FormatID List AP ID & Hardware ID Mapping Table