Summary of Contents for Moxa Technologies NPort 5200 Series
Page 1
5200 Series User’s Manual Fourth Edition, May 2004...
Page 2
Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
Getting Started .................2-1 Panel Layout ..................2-2 Connecting the Hardware ..............2-3 Wiring Requirements ................2-3 Connecting the Power................2-3 Grounding NPort 5200 Series..............2-4 Connecting to the Network ............... 2-4 Connecting to a Serial Device..............2-4 LED Indicators..................2-4 Chapter 3 Initial IP Address Configuration .............3-1...
Page 5
Export/Import.................... 6-9 Monitor ....................6-9 Port Monitor..................6-12 COM Mapping ..................6-13 On-line COM Mapping................6-13 Off-line COM Mapping ................6-16 IP Location ................... 6-16 Chapter 7 IP Serial LIB ..................7-1 Overview ....................7-2 IP Serial LIB Function Groups..............7-3 Example Program ..................
Introduction Chapter 1 Welcome to the NPort 5200 Series of advanced serial device servers that make it easy to network enable your serial devices. The NPort 5200 Series consists of 4 models: NPort 5210 (2 ports for RS-232), NPort 5230 (1 port for RS-232; 1 port for RS-422/485), NPort 5232 (2 ports for RS-422/485), and NPort 5232I (2 ports for RS/422/485, with isolation).
API (Winsock or BSD Sockets) by providing TCP Server Mode, TCP Client Mode, and UDP Mode. And thanks to NPort 5200 Series’ Real COM/TTY drivers, software that works with COM/TTY ports can be set up to work over a TCP/IP network in no time. This excellent feature preserves your software investment and lets you enjoy the benefits of networking your serial devices instantly.
Serial Communication Parameters Parity None, Even, Odd, Space, Mark Data Bits 5, 6, 7, 8 Stop Bit 1, 1.5, 2 Flow Control RTS/CTS (only for RS-232 port), XON/XOFF Transmission Speed 50 bps to 115.2 Kbps NPort 5200 Series User’s Manual...
Page 10
0 to 55°C (32 to 131°F), 5 to 95%RH Storage Temperature -40 to 85°C (-4 to 185°F), 5 to 95%RH Regulatory Approvals FCC Class A, CE Class A Safety UL, CUL, TÜV WARRANTY 5 years NPort 5200 Series User’s Manual...
Chapter 2 This chapter includes information about installing NPort 5200. The following topics are covered: Panel Layout Connecting the Hardware Wiring Requirements Connecting the Power Grounding NPort 5200 Series Connecting to the Network Connecting to a Serial Device LED Indicators...
Getting Started Connecting the Hardware This section describes how to connect NPort 5200 Series to serial devices for first time testing purposes. We cover Wiring Requirements, Connecting the Power, Grounding NPort 5200 Series, Connecting to the Network, Connecting to a Serial Device, and LED Indicators.
NPort 5210. Refer to Chapter 1 under Optional Accessories for information on the RJ45-to-DB25 and RJ45-to-DB9 cables. LED Indicators The top panels of NPort 5200 Series have four LED indicators, as described in the following table. LED Name...
Initial IP Address Configuration Chapter 3 When setting up your NPort 5200 for the first time, the first thing you should do is configure the IP address. This chapter introduces the method to configure the device server’s IP address. Select one of the initial IP Address configuration methods to configure NPort 5200’s IP Address.
NPort 5200s. See Chapter 5 for details on how to install NPort 5200 Administration Suite, and how to use this suite of useful utilities to set up IP addresses and configure your NPort 5200 Series serial device servers.
3. When the Telnet window opens, if you are prompted to input the Console password, input the password and then press Enter. Note that this page will only appear if the NPort 5200 is password protected. NPort 5200 Series User’s Manual...
Page 18
5. Type 1 to select IP address and then press Enter. 6. Use the Backspace key to erase the current IP address, type in the new IP address, and then press Enter. 7. Press any key to continue. NPort 5200 Series User’s Manual...
2. From the Windows desktop click on Start Programs PComm Lite Terminal Emulator. 3. When the PComm Terminal Emulator window opens, first click on the Port Manager menu item and select Open, or simply click on the Open icon. NPort 5200 Series User’s Manual...
Page 20
NPort 5200 has been set up for password protection. 9. Start configuring the IP address under Network Settings. Refer to step 4 in the Telnet Console section for the rest of the IP settings. NPort 5200 Series User’s Manual...
Choosing the Proper Operation Mode Chapter 4 In this section, we describe the various NPort 5200 operation modes. The options include an operation mode that uses a driver installed on the host computer, and operation modes that rely on TCP/IP socket programming concepts. After choosing the proper operation mode in this chapter, refer to Chapter 5 for detailed configuration parameter definitions.
1. The host requests a connection from the NPort 5200 configured for TCP Server Mode. 2. Once the connection is established, data can be transmitted in both directions—from the host to the NPort 5200, and from the NPort 5200 to the host. NPort 5200 Series User’s Manual...
Real COM Mode allows several hosts to have access control of the same NPort 5200. The driver that comes with your NPort 5200 controls host access to attached serial devices by checking the host’s IP address. Refer to Accessible IP Settings in Chapter 5 for more details. NPort 5200 Series User’s Manual...
Web Console Configuration Chapter 5 The Web Console is the most user-friendly method available to configure NPort 5200 Series. This chapter introduces the Web Console function groups and function definitions. Opening Your Browser Basic Settings Network Settings Serial Settings Operation Mode Settings...
NPort 5200 uses cookies only for “password” transmission. Refer to Chapter 3, “Initial IP Address Configuration,” to see how to configure the IP address. Examples shown in this chapter use the Factory Default IP address (192.168.127.254). NPort 5200 Series User’s Manual...
Page 27
If your NPort 5200 application requires using password protection, you must enable the cookie function in your browser. If the cookie function is disabled, you will not be allowed to enter the Web Console Screen. NPort 5200 Series User’s Manual...
GMT (Greenwich Mean Time) Optional Local time Setting Factory Default Necessity User adjustable time GMT (Greenwich Mean Time) Optional (1900/1/1-2037/12/31) Click on the Modify button to open the Modify time settings window to input the correct local time. NPort 5200 Series User’s Manual...
The IP address must be unique within the network (otherwise, NPort 5200 will not have a valid connection to the network). First time users can refer to Chapter 3, “Initial IP Address Configuration,” for more information. NPort 5200 Series User’s Manual...
Page 30
DHCP or BOOTP server. The Timeout for each try increases from 1 second, to 3 seconds, to 5 seconds. If the DHCP/BOOTP Server is unavailable, the firmware will use the default IP address (192.168.127.254), Netmask, and Gateway for IP settings. NPort 5200 Series User’s Manual...
Page 31
NPort 5200 is physically located. IP Address Report When NPort 5200 Series products are used in a dynamic IP environment, users must spend more time with IP management tasks. For example, if NPort 5200 works as a server (TCP or UDP), then the host, which acts as a client, must know the IP address of the server.
Click on Serial Settings, located under Main Menu, to display serial port settings for ports 1 and To modify serial settings for a particular port, click on either Port 1 or Port 2 under Serial Settings, located under Main Menu on the left side of the browser window. NPort 5200 Series User’s Manual...
Page 33
Stop bits will be set to 1.5 when Data bits is set to 5 bits. Parity Setting Factory Default Necessity None, Even, Odd, Space, Mark None Required Flow control Setting Factory Default Necessity None, RTS/CTS, DTR/DSR, Xon/Xoff RTS/CTS Required NPort 5200 Series User’s Manual...
Page 34
NPort 5200’s serial ports provide a 16-byte FIFO both in the Tx and Rx directions. To prevent data loss during communication, disable the FIFO setting when your serial device does not have a FIFO. 5-10 NPort 5200 Series User’s Manual...
1 and 2 4-wire RS-485 Required 2-wire RS-485, 5232I 4-wire RS-485 Operating Settings Click on Operating Settings, located under Main Menu, to display the operating settings for both of NPort 5200’s serial ports. Real COM Mode NPort 5200 Series User’s Manual 5-11...
Page 36
Ethernet. However, to use the delimiter function, you must at least enable Delimiter 1. If Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not work properly. 5-12 NPort 5200 Series User’s Manual...
1 to 99 min: NPort 5200 automatically closes the TCP connection if there is no TCP activity for the given time. After the connection is closed, NPort 5200 starts listening for another host’s TCP connection. NPort 5200 Series User’s Manual 5-13...
Page 38
Ethernet. However, to use the delimiter function, you must at least enable Delimiter 1. If Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not work properly. 5-14 NPort 5200 Series User’s Manual...
Page 39
TCP port conflict with other applications, the user can set the Command port to another port if needed. IP-Serial Lib will automatically check the Command Port on NPort 5200 so that the user does not need to configure the program. NPort 5200 Series User’s Manual 5-15...
The Inactivity time should at least be set larger than that of Force transmit timeout. To prevent the unintended loss of data due to the session being disconnected, it is highly recommended that this value is set large enough so that the intended data transfer is completed. 5-16 NPort 5200 Series User’s Manual...
Page 41
Destination IP address 1 Setting Factory Default Necessity IP address or Domain Name None Required (E.g., 192.168.1.1) Allows NPort 5200 to connect actively to the remote host whose IP address is set by this parameter. NPort 5200 Series User’s Manual 5-17...
Start up: Attempts to establish a TCP connection as soon as the NPort 5200 is powered on. Any Character: Attempts to establish a TCP connection as soon as the NPort 5200 starts receiving serial data. UDP Mode 5-18 NPort 5200 Series User’s Manual...
Page 43
The serial communication buffer size for NPort 5200 is 1 KB per port. Destination IP address 1 Setting Factory Default Necessity IP address range Begin: Empty Required E.g., Begin: 192.168.1.1 End: Empty End: 192.168.1.10 Port: 4001 NPort 5200 Series User’s Manual 5-19...
Hosts on a specific subnet can access the NPort 5200 Enter “IP address/255.255.255.0” (e.g., “192.168.1.0/255.255.255.0”). Any host can access the NPort 5200 Disable this function by un-checking the “Enable the accessible IP list” checkbox. Refer to 5-20 NPort 5200 Series User’s Manual...
NPort 5200 reboots. If the NPort 5200 is unable to send an e-mail message to the mail server within 15 seconds, NPort 5200 will reboot anyway, and abort the e-mail auto warning. 5-22 NPort 5200 Series User’s Manual...
Page 47
NPort 5210, and port 1 for NPort 5230). Since NPort 5232 and NPort 5232I do not have RS-232 interface, the DCD changed and DSR changed options will not appear in the Event Type screen. NPort 5200 Series User’s Manual 5-23...
By using the Import function of Windows Administrator, your configuration can be re-loaded into NPort 5200 after using “Load Factory Default.” Refer to Chapter 6 for more details about the Export and Import function. 5-24 NPort 5200 Series User’s Manual...
Web Console Configuration Load Factory Default This function will reset all of NPort 5200’s settings to the factory default values. Be aware that previous settings will be lost. NPort 5200 Series User’s Manual 5-25...
Configuring Windows Administrator Chapter 6 The following topics are covered in this chapter: Overview Installing Windows Administrator Configuration Broadcast Search Unlock Password Protection Configuring NPort 5200 Upgrade Firmware Export/Import Monitor Port Monitor COM Mapping On-line COM Mapping Off-line COM Mapping IP Location...
Administrator and the IP Serial Library, and provides everything you need to remotely manage, monitor, and modify your NPort 5200s—hassle free. Device Server Administrator ONLY supports NPort 5200 Series products. Installing Windows Administrator 1. Once the Setup program starts running, click on Yes to proceed.
Page 53
5. Click on Install to proceed with the installation. 6. The Installing window reports the progress of the installation. 7. Click on Next to proceed with the installation. 8. Click on Finish to complete the installation of NPort 5200 Administration Suite. NPort 5200 Series User’s Manual...
Since the Broadcast Search function searches by MAC address and not IP address, all NPort 5200s connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host. NPort 5200 Series User’s Manual...
Address to locate NPort 5200s connected to the LAN. Unlock Password Protection If the NPort 5200 is password protected, then you will not be able to use the right click method to open the configuration page. NPort 5200 Series User’s Manual...
Page 56
The NPort 5200 is not password protected, and “Search by IP address” was used to locate it. Lock Fixed The NPort 5200 is password protected, “Specify by IP address” was used to locate it, and the password has not yet been entered from within the current Administrator session. NPort 5200 Series User’s Manual...
You can simultaneously modify the configurations of multiple NPort 5200s that are of the same model. To select multiple NPort 5200s, hold down the Ctrl key when selecting additional NPort 5200s, or hold down the Shift key to select a group of NPort 5200s. NPort 5200 Series User’s Manual...
You can simultaneously upgrade the firmware of multiple NPort 5200s that are of the same model. To select multiple NPort 5200s, hold down the Ctrl key when selecting an additional NPort 5200, or hold down the Shift key to select a block of NPort 5200s. NPort 5200 Series User’s Manual...
1. First use Broadcast Search under the Configuration Function group, and then click on Monitor Add Target Select target from the list. 2. First click on Monitor, and then Add Target Rescan. Select Broadcast under the Configuration menu bar item. Click on Monitor. NPort 5200 Series User’s Manual...
Page 60
Use the single arrowhead buttons to move highlighted items from one box to the other. Use the double arrowhead buttons to move all items in one box to the other. Select a Refresh Rate (the default is 3 seconds). 6-10 NPort 5200 Series User’s Manual...
Page 61
If the NPort 5200 gets reconnected, a warning will be displayed to remind the user that the NPort 5200 is now “Alive.” The NPort 5200 that was reconnected, and is now “Alive,” will be shown in black color. NPort 5200 Series User’s Manual 6-11...
Select or de-select Monitor Items. Use the single arrowhead buttons to move highlighted items from one box to the other. Use the double arrowhead buttons to move all items in one box to the other. 6-12 NPort 5200 Series User’s Manual...
Add the target to which you would like to map COM ports. The NPort 5200 list that appears is the list generated by the previous Broadcast Search. Select the NPort 5200 to which you would like to map COM ports. NPort 5200 Series User’s Manual 6-13...
Page 64
Tx FIFO becomes empty; and an Rx interrupt will be generated for each incoming byte. This will result in a faster response and lower throughput. If you want to use XON/XOFF flow control, we recommend setting FIFO to Disable. 6-14 NPort 5200 Series User’s Manual...
Page 65
The host computer will not have the ability to use the COM port until after Apply Change is selected. Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host. NPort 5200 Series User’s Manual 6-15...
When NPort 5200 is used in a dynamic IP environment, users must spend more time with IP management tasks. NPort 5200 Series products help out by periodically reporting their IP address to the IP location server, in case the dynamic IP has changed.
Page 67
Then configure the Local Listen Port to be the same as the NPort 5200’s “Auto report to UDP port” setting. Click Go to start receiving the Auto IP address report from the NPort 5200. NPort 5200 Series User’s Manual 6-17...
How to install IP Serial Library IP Serial Lib comes with the NPort 5200 Administration Suite. Refer to the IPSerial directory for more detail about the function definitions. NPort 5200 Series User’s Manual...
/* wait for 1000 ms for data */ nsio_read(port, buffer, 200); /* read 200 bytes from port 1 */ nsio_close(portid); /* close this serial port */ nsio_end(); /* close IP Serial Library */ NPort 5200 Series User’s Manual 7-3...
Pinouts and Cable Wiring Appendix A In this appendix, we cover the following topics. Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts Cable Wiring Diagrams Ethernet Cables Serial Cables...
Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts 8-pin RJ45 RS-232 Port Pinouts for NPort 5210 Terminal Block RS-232 & RS-422/485 Pinouts for NPort 5230 NPort 5200 Series User’s Manual...
Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables Serial Cables 8-pin RJ45 to DB25 Female for NPort 5210 (Cable Name: CBL-RJ45F25-150) NPort 5200 Series User’s Manual A-3...
Page 76
8-pin RJ45 to DB25 Male for NPort 5210 (Cable Name: CBL-RJ45M25-150) 8-pin RJ45 to DB9 Female for NPort 5210 (Cable Name: CBL-RJ45F9-150) 8-pin RJ45 to DB9 Male for NPort 5210 (Cable Name: CBL-RJ45M9-150) NPort 5200 Series User’s Manual...
Well Known Port Numbers Appendix B In this appendix, which is included for your reference, we provide a list of Well Known port numbers that may cause network problems if you set NPort 5200 to one of these ports. Refer to RFC 1700 for Well Known port numbers, or refer to the following introduction from the IANA.
Page 78
Finger Protocol World Wide Web HTTP Remote Telnet Service Sun Remote Procedure Call (Sunrpc) Network news Tcanster Protocol (NNTP) Network Time protocol (nnp) SNMP (Simple Network Mail Protocol) SNMP Traps IPX (Used for IP Tunneling) NPort 5200 Series User’s Manual...
Page 79
SNMP Agents with MIB II & RS-232 Appendix C like groups NPort 5200 has built-in SNMP (Simple Network Management Protocol) agent software that supports SNMP Trap, RFC1317 RS-232 like groups and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementation for NPort 5200. RFC1213 MIB-II supported SNMP variables: System MIB Interfaces MIB...
Service Information Appendix D This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics. MOXA Internet Services Problem Report Form Product Return Procedure Revision History...
Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. The following services are provided E-mail for technical support ....... support@moxa.com.tw World Wide Web (WWW) Site for product information: ......http://www.moxa.com ......http://www.moxa.com.tw NPort 5200 Series User’s Manual...
Service Information Problem Report Form MOXA NPort 5200 Series Customer name: Company: Tel: Fax: Email: Date: 1. Moxa Product: NPort 5210 NPort 5230 NPort 5232 NPort 5232I 2. Serial Number: _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see.
Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer. The PRA should be visible on the outside of the package, and include a description of the problem, along with the return address and telephone number of a technical contact. NPort 5200 Series User’s Manual...
Service Information Revision History Document Edition Revision Date Revision Details August 25, 2003 1. Updated the edition of this manual on the title page. 2. Updated the Moxa Email and phone number on the title page. 3. p.2-4 Changed “Link” to “Ethernet” under “Connecting to the Network”.
Page 88
6. p. 6-17 Changed “TCP” to “UDP”. 7. Added Appendix E. NPort 5200 Series User’s Manual...
Auto IP Report Protocol Appendix E NPort Series provides several ways to configure Ethernet IP addresses. One of them is DHCP Client. When you set up the NPort to use DHCP Client to configure Ethernet IP addresses, it will automatically send a DHCP request over the Ethernet to find the DHCP Server. And then the DHCP Server will send an available IP address to the NPort.