Moxa Technologies 5400 user manual Overview, TCP Server Mode

Page 24

Overview

NPort Device Servers network-enable traditional RS-232/422/485 devices, in which a Device Server is a tiny computer equipped with a CPU, real-time OS, and TCP/IP protocols that can bi-directionally translate data between the serial and Ethernet formats. Your computer can access, manage, and configure remote facilities and equipment over the Internet from anywhere in the world.

Traditional SCADA and data collection systems rely on serial prots (RS-232/422/485) to collect data from various kinds of instruments. Since NPort Serial Device Servers network-enable instruments equipped with an RS-232/422/485 communication port, your SCADA and data collection system will be able to access all instruments connected to a standard TCP/IP network, regardless of whether the devices are used locally or at a remote site.

NPort is an external IP-based network device that allows you to expand the number of serial ports for a host computer on demand. As long as your host computer supports the TCP/IP protocol, you won’t be limited by the host computer’s bus limitation (such as ISA or PCI), or lack of drivers for various operating systems.

In addition to providing socket access, NPort also comes with a Real COM/TTY driver that transmits all serial signals intact. This means that your existing COM/TTY-based software can be preserved, without needing to invest in additional software.

Three different Socket Modes are available: TCP Server, TCP Client, and UDP Server/Client. The main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an acknowledgement to the sender. UDP does not require this type of verification, making it possible to offer speedier delivery. UDP also allows multicasting of data to groups of IP addresses.

Pictures in this Chapter will use NPort 5400 series as an example.

TCP Server Mode

In TCP Server mode, NPort provides a unique IP:Port address on a TCP/IP network. 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-2 NPort 5400 Series User’s Manual

Image 24
Contents Series User’s Manual Third Edition, MayCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications IntroductionPower Requirements MechanicalEnvironment Regulatory ApprovalsPanel Layout Connecting the Hardware Getting StartedPanel Layout Connecting the Hardware Wiring RequirementsConnecting the Power Getting StartedConnecting to the Network Connecting to a Serial DeviceLED Indicators Grounding NPortConfiguration This chapter includes the following sectionsFactory Default IP Address Default IP addressInitializing NPort’s IP Address LCM DisplayInitial IP Address Configuration Button Name ActionDetailed Menu Options Inact. time Delimiter Initial IP Address Configuration NPort Administration Suite ARPTelnet Console NPort 5400 Series User’s Manual Initial IP Address Configuration Page Choosing the Proper Operation Mode TCP Server Mode TCP Client Mode UDP ModeReal COM Mode Choosing the Proper Operation ModeNPort 5400 Series User’s Manual Web Console Configuration Opening Your Browser Web Console Configuration Basic Settings TimeServer name Time zoneNetwork Settings Setting Factory Default NecessityConsole Time serverNPort 5400 Series User’s Manual IP Address NetmaskGateway IP Configuration DNS server 1 / DNS severWeb Console Configuration Snmp Settings IP Address ReportSerial Settings Port aliasWeb Console Configuration Serial Parameters Operating Settings Real COM ModeSetting Factory Default Necessity To 99 min Min Optional TCP alive check timeSetting Factory Default Necessity To FF None Optional Max ConnectionMax. Connection Max Connection 2 toTCP Server Mode Setting Factory Default Necessity To 65535 ms OptionalForce Transmit Inactivity time Max Connection 2 toSetting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode NPort 5400 Series User’s Manual Destination IP address Destination IP address 2/3/4TCP connection UDP Mode Local listen port Accessible IP Settings Only one host of specific IP address can access the NPortHosts on the specific subnet can access the NPort Any host can access the NPortAuto Warning Settings Event TypeDCD changed Setting Factory Default Necessity Enable, Disable Optional DSR changedMail TrapAuto warning E-mail and Snmp Trap Mail ServerSnmp Trap Server Change Password Load Factory Default Page Configuring Windows Administrator Installing Windows Administrator Configuring Windows Administrator Configuration Broadcast Search Unlock Password Protection LockUnlock Configuring NPort 5410/5430/5340I BlankFixed Lock FixedUpgrade Firmware Export/Import Monitor Add Target Select target from the listConfiguring Windows Administrator NPort 5400 Series User’s Manual Port Monitor COM Mapping On-line COM MappingConfiguring Windows Administrator Fast Flush only flush local buffer Off-line COM Mapping IP Location Configuring Windows Administrator Page 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 ProgramIP Serial LIB InquiryPage Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port PinoutsCable Wiring Diagrams Pinouts and Cable WiringEthernet Cables Serial Cables DB9 Female to DB9 Male for NPortDB9 Female to DB25 Male for NPort TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service Snmp Agent with MIB II & RS-232 like group IP MIB Icmp MIBSystem MIB Interfaces MIB Address Translation MIBInput Signal Table Output Signal Table Well Known Port NumbersPage Service Information Moxa Internet Services Following services are providedProblem Report Form Service InformationMoxa Product NPort Serial Number Product Return Procedure Revision History NPort 5400 Series User’s Manual D-5NPort 5400 Series User’s Manual Auto IP Report Protocol Auto IP Report Format Info nID List AP ID & Hardware ID Mapping Table