Moxa Technologies 5600 user manual Overview, TCP Server Mode

Page 24

NPort 5600 Series User’s Manual

Choosing the Proper Operation Mode

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 ports (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.

In addition to providing socket access, 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.

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.

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

Image 24
Contents NPort 5600 Series User’s Manual Fifth Edition, AugustCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications Software Features Power RequirementsMechanical Environment‰ Panel Layout ‰ Connecting the Hardware Getting StartedPanel Layout Connecting the Hardware Wiring RequirementsConnecting NPort 5610/30-16/8’s Power Connecting NPort 5610-16/8-48V’s Power Connecting to the NetworkGrounding NPort 5610-16/8-48V Connecting to a Serial Device LED IndicatorsReal Time Clock LED Name LED Color LED FunctionPage Initial IP Address Configuration Factory Default IP Address Default IP addressInitializing NPort’s IP Address LCM DisplayButton Name Action Detailed Menu OptionsLevel NPort Administration Suite ARPTelnet Console Page Page Choosing the Proper Operation Mode TCP Server Mode TCP Client Mode UDP ModeReal COM Mode Page Web Console Configuration Opening Your Browser NPort 5600 Series User’s Manual Web Console Configuration Basic Settings TimeServer name Time zoneConsole Time serverNetwork Settings Method Function DefinitionIP Address IP Configuration NetmaskGateway DNS server 1 / DNS serverSnmp Settings IP Address ReportCommunity name ContactSerial Settings Auto report to IPAuto report to TCP port Auto report periodSerial Parameters Operating Settings Setting Factory Default Necessity Enable, Disable RequiredRequired InterfaceReal COM Mode TCP alive check timeMax connection Max. connectionNPort 5600 Series User’s Manual Web Console Configuration Setting Factory Default Necessity To FF None OptionalSetting Factory Default Necessity To 65535 ms Optional Force transmitTCP Server Mode Inactivity timeDelimiter Setting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode Delimiter Destination IP address Destination IP address 2/3/4TCP connect on UDP Mode Local listen port Accessible IP Settings Hosts on a specific subnet can access the NPortAny host can access the NPort Allowable Hosts Input formatAuto Warning Settings Auto warning E-mail and Snmp TrapMail Server Event Type Snmp Trap ServerSetting Factory Default Necessity Enable, Disable Optional DCD changedDSR changed MailChange Password Load Factory DefaultsConfiguring Windows Administrator Installing Windows Administrator Page Configuration Broadcast Search Unlock Password Protection LockUnlock Configuring NPort BlankFixed Lock FixedUpgrading Firmware Configuration menu bar item MonitorExport/Import Settings Select Add TargetSelect a Refresh Rate the default is 3 seconds Port Monitor COM Mapping On-line COM MappingPage Fast Flush only flush local buffer Off-line COM Mapping IP Location 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 ProgramServer Control Port Control Input/Output Data Port Status MiscellaneousPage Pinouts and Cable Wiring ‰ Port Pinout DiagramsPort Pinout Diagrams RS-232 Pinouts Wire RS-422 PinoutsEthernet Port Pinouts Serial Port Pinouts Cable Wiring Diagrams Wire RS-485 PinoutsEthernet Cables Serial Cables Pin Assignments for DB9 and DB25 Connectors RJ45 8 pins to DB25 Male for NPortPin Assignments for DB9 Male and Female Connectors Pin Assignments for DB25 Male and Female ConnectorsPage TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NPort 5600 Series User’s Manual Well Known Port NumbersSnmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIBIpNetToMediaNetAddress IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB Snmp MIB Address Translation MIBPage Auto 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 ProductSerial Number Product Return Procedure Revision History Figures