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 5400 ... 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...
Welcome to MOXA NPort 5400 Series of advanced serial device servers that make it easy to network enable your serial devices. NPort 5410 comes with four RS-232 ports, and NPort 5430/5430I provide four RS-422/485 ports. The following topics are covered in this chapter:...
NPort 5400 Series serial device servers are designed to make your industrial serial devices Internet ready instantly. The compact size of NPort 5400 device servers makes them the ideal choice for connecting your RS-232 (NPort 5410) or RS-422/485 (NPort 5430/5430I) serial devices—such as PLCs, meters, and sensors—to an IP-based Ethernet LAN, making it possible for your software to...
50 bps to 230.4 Kbps ICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP, HTTP, SMTP, SNTP NPort Administrator for Windows 95/98/ME/NT/2000/XP Windows 95/98/ME/NT/2000/XP COM driver, Linux real TTY driver Web Browser, Telnet Console, or Windows Utility NPort 5400 Series User’s Manual...
Page 8
Operating Temperature Storage Temperature Regulatory Approvals Safety WARRANTY NPort 5400 Series User’s Manual 12 to 48 VDC NPort 5410: 385 mA (at 12V max.) NPort 5430: 380 mA (at 12V max.) NPort 5430I: 600 mA (at 12V max.) SECC sheet metal (0.8 mm) With mounting kit: 176 ×...
This chapter includes information about installing NPort 5400 Series. The following topics are covered: Panel Layout Connecting the Hardware Wiring Requirements Connecting the Power Grounding NPort 5400 Connecting to the Network Connecting to a Serial Device LED Indicators Getting Started...
Connecting the Hardware This section describes how to connect NPort 5400 to serial devices for first time testing purposes. We cover Wiring Requirements, Connecting the Power, Grounding NPort 5400, Connecting to the Network, and Connecting to a Serial Device. Wiring Requirements Be sure to disconnect the power cord before installing and/or wiring your NPort 5400.
Connecting to the Network Connect one end of the Ethernet cable to NPort 5400’s 10/100M Ethernet port and the other end of the cable to the Ethernet network. If the cable is properly connected, NPort 5400 will indicate a valid connection to the Ethernet in the following ways: The Ethernet LED maintains a solid green color when connected to a 100 Mbps Ethernet network.
Initial IP Address Configuration Chapter 3 When setting up your NPort 5410/5430/5340I for the first time, the first thing you should do is configuring the IP address. This chapter introduces the method to configure NPort’s IP address. Select one of the initial IP Address configuration methods to configure NPort’s IP Address. For more details about network settings, see the Network Settings section from Chapter 5, Web Console Configuration.
NPort is receiving power. After the red Ready LED turns to green, you will see a display similar to: This is where • NP5410 • 61405 • 192.168.127.254 NPort 5400 Series User’s Manual 192.168.127.254 is the NPort’s name is the NPort’s serial number is the NPort’s IP address...
Page 15
• Use the menu button to move down one level (i.e., right to left on the tree graph) • Use the cursor keys, and down on the tree graph). , to scroll between the various options within a level (i.e., up NPort 5400 Series User’s Manual ↓...
Page 16
Main Menu Server setting Network setting Serial set Op Mode set Console Ping Save/Restart NPort 5400 Series User’s Manual Serial number Server name Firmware ver Model name Ethernet status MAC address IP config IP address Netmask Gateway...
Page 17
Press the down cursor button again to see Space as the fourth option. Press the down cursor button yet again to see the last option, Space. To choose the desired option, press the select button when the option is showing on the screen. NPort 5400 Series User’s Manual ↓ ↑...
After the NPort reboots, its IP address should be updated to the new address, and you can reconnect using either Telnet, Web, or Administrator to check that the update was successful. NPort 5400 Series User’s Manual...
Note that this page will only appear if the NPort is password protected. 4. Type 2 to select Network settings, and then press Enter. 5. Type 1 to select IP address and then press Enter. NPort 5400 Series User’s Manual...
Page 20
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… 8. Type m and then press Enter to return to the main menu. NPort 5400 Series User’s Manual...
Page 21
9. Type s and then press Enter to Save/Restart the system. 10. Type y and then press Enter to save the new IP address and restart NPort. NPort 5400 Series User’s Manual...
Choosing the Proper Operation Mode Chapter 4 In this section, we describe the various NPort 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 operating mode in this chapter, refer to Chapter 5 for detailed configuration parameter definitions.
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.
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...
Page 26
Real COM Mode allows several hosts to have access control of the same NPort. The Moxa driver that comes with your NPort controls host access to attached serial devices by checking the host’s IP address. Modify the Accessible IP Setting table when the legal IP address should be required in your application. NPort 5400 Series User’s Manual...
The Web Console is the most user-friendly way to configure NPort 5410/5430/5340I. This chapter will introduce the Web Console function groups and function definitions. This chapter uses NPort 5230 as an example. The function and definition is totally the same with NPort 5400 series. Opening Your Browser...
Cookies that used by NPort, is only for the “password” transmission. Refer to Chapter 3 “Initial IP Address Configuration” for the IP configuration. Examples that used in this chapter are using Factory Default IP address (192.168.127.254). NPort 5400 Series User’s Manual...
Page 29
Export and Import functions. If your NPort 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 5400 Series User’s Manual...
GMT time according to the Time Zone. Time zone Setting User selectable time zone Local time Setting User adjustable time (1900/1/1-2037/12/31) NPort 5400 Series User’s Manual Factory Default Necessity NP[model name]_[Serial No.] Optional Factory Default Necessity GMT (Greenwich Mean Time)
If you disable both the “Web Console” and “Telnet Console,” you can still use the LCM Display to configure NPort locally, or Windows Administrator to configure NPort either locally or remotely over the network. Network Settings Factory Default Necessity None Optional Factory Default Necessity Enable Required NPort 5400 Series User’s Manual...
Page 33
NPort needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment. For correct gateway IP address information, consult the network administrator. Factory Default Necessity 192.168.127.254 Required Factory Default Necessity 255.255.255.0 Required Factory Default Necessity None Optional NPort 5400 Series User’s Manual...
Page 34
NPort plays the role of DNS client. Functions that support domain name in NPort are Time Sever IP Address, TCP Client-Destination IP Address, Mail Server, SNMP Trap IP Address, and IP Location Server. NPort 5400 Series User’s Manual Factory Default Necessity...
Page 35
Auto report period Setting Time interval (in seconds) Factory Default Necessity public Optional Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity 4002 Optional Factory Default Necessity Optional NPort 5400 Series User’s Manual...
Port alias Setting 1 to 15 characters (E.g., PLC-No.1) Port Alias is specially designed to allow easy identification of the serial devices which are connected to NPort’s serial port. NPort 5400 Series User’s Manual 5-10 Factory Default Necessity None Optional...
1 to 99 min: NPort automatically closes TCP connection if there is no TCP activity for the given time. After the connection is closed, NPort starts listening for another Real COM driver’s connection from another host. NPort 5400 Series User’s Manual 5-12 Factory Default...
Page 39
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. Factory Default Necessity Required Factory Default Necessity None Optional Factory Default Necessity None Optional NPort 5400 Series User’s Manual 5-13...
Force Transmit timeout between characters and the total length of data must be smaller than or equal to NPort’s internal buffer size. The serial communication buffer size of NPort is 1 Kbytes per port. TCP Server Mode NPort 5400 Series User’s Manual 5-14 Factory Default Necessity...
Page 41
NPort from the Ethernet interface. Delimiter 1 Setting 00 to FF Factory Default Necessity 7 min Optional Factory Default Necessity 0 ms Optional Factory Default Necessity Required Factory Default Necessity None Optional NPort 5400 Series User’s Manual 5-15...
Page 42
TCP port conflict with other applications, the user can adjust the command port to another port if needed. And IP-Serial Lib will automatically check out the Command Port on NPort so that the user does not need to configure the program. NPort 5400 Series User’s Manual 5-16 Factory Default...
NPort will then force the existing TCP connection to close. Factory Default Necessity 7 min Optional Factory Default Necessity 0 ms Optional NPort 5400 Series User’s Manual 5-17...
Page 44
Force Transmit timeout between characters and the total length of data must be smaller than or equal to NPort’s internal buffer size. The serial communication buffer size of NPort is 1 Kbytes per port. NPort 5400 Series User’s Manual 5-18 Factory Default...
Page 45
Start up: Attempts to establish a TCP connection as soon as the NPort is powered on. Any Character: Attempts to establish a TCP connection as soon as the NPort starts receiving serial data. Factory Default Necessity None Required Factory Default Necessity None Optional Factory Default Necessity None Optional NPort 5400 Series User’s Manual 5-19...
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. NPort 5400 Series User’s Manual 5-20 Factory Default...
Page 47
UDP ports, the default is set to 4001. Factory Default Necessity 0 ms Optional Factory Default Necessity Begin: Empty Required End: Empty Port: 4001 Factory Default Necessity Begin: Empty Optional End: Empty Port: 4001 Factory Default Necessity 4001 Required NPort 5400 Series User’s Manual 5-21...
For example, a DCD change to high also means “Connected” between local modem and remote modem. If the DCD signal changes to low, it also means that the connection line is down. When the DCD changes, NPort will immediately send an e-mail or send an SNMP trap. NPort 5400 Series User’s Manual 5-23...
Page 50
To configure this feature, you need to click on the event type box. DCD changed and DSR changed event only supported by those models, which have these two signals. For example NPort 5210, 5410 and NPort 5610. NPort 5400 Series User’s Manual 5-24 Factory Default...
By using the Import function of Windows Administrator, your configuration can be re-loaded into NPort after using “Load Factory Default.” Refer to Chapter 6 for more details about the Export and Import function. NPort 5400 Series User’s Manual 5-26...
Web Console Configuration Load Factory Default This function will reset all of NPort’s settings to the factory default values. Be aware that previous settings will be lost. NPort 5400 Series User’s Manual 5-27...
Chapter 6 This chapter uses NPort 5230 as an example to introduce the installation and configuration of NPort Administration Suite. The function and definition is totally the same with NPort 5400 series. The following topics are covered in this chapter:...
1. Once the Setup program starts running, click on Yes to proceed. 2. Click on Next when the Welcome window opens to proceed with the installation. 3. Click on Next to install program files in the default directory, or select an alternative location. NPort 5400 Series User’s Manual...
Page 57
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. NPort 5400 Series User’s Manual...
The left part lists the five Administrator function groups. The right part provides the NPort list, which can be selected to process user requirements. The bottom part is the Log area, which shows useful messages that record the user’s processing history. NPort 5400 Series User’s Manual...
To configure one of the listed NPorts, place the cursor over the row displaying that NPort’s information, and then double click. Before modifying an NPort’s configuration, use Broadcast Search or Specify by IP Address to locate NPorts connected to the LAN. NPort 5400 Series User’s Manual...
The NPort is password protected, “Broadcast Search” was used to locate it, and the password has been entered from within the current Administrator session. Henceforth during this Administrator session, activating various utilities for this NPort will not require re-entering the server password. NPort 5400 Series User’s Manual...
You can simultaneously modify the configurations of multiple NPorts that are of the same model. To select multiple NPorts, hold down the Ctrl key when selecting additional NPorts, or hold down the Shift key to select a group of NPorts. NPort 5400 Series User’s Manual...
You can simultaneously upgrade the firmware of multiple NPorts that are of the same model. To select multiple NPorts, hold down the Ctrl key when selecting an additional NPort, or hold down the Shift key to select a block of NPorts. NPort 5400 Series User’s Manual www.moxa.com for the latest firmware...
You can simultaneously import the same configuration file into multiple NPorts that are of the same model. To select multiple NPorts, hold down the Ctrl key when selecting an additional NPort, or hold down the Shift key to select a block of NPorts. NPort 5400 Series User’s Manual...
Check the NPort you would like to Monitor, and then click OK. The NPort list will now appear on the Monitor screen. Right click the panel and select Settings. NPort 5400 Series User’s Manual 6-10 Select target from the list. Rescan.
Page 65
New event means one of the NPorts in the monitor is “Alive” or “Not Alive,” or has lost connection with the Monitor program. Press Go to start Monitor. In this example, the 5 NPorts shown in the list will be monitored. NPort 5400 Series User’s Manual 6-11...
Page 66
If the NPort gets reconnected, a warning will be displayed to remind the user the NPort is now “Alive.” The NPort that was reconnected will again, and is now “Alive,” will be shown with black color. NPort 5400 Series User’s Manual 6-12...
Port Monitor The process is the same as in the previous “Monitor” section. The only difference is that you can select more items under Port Monitor than under port status. Select the Monitor Items. NPort 5400 Series User’s Manual 6-13...
The NPort list that appears will be based on the Broadcast Search on the Configuration. Select the NPort you want to map COM ports to. NPort 5400 Series User’s Manual 6-14 Set NPort to the proper IP address Apply Change...
Page 69
Tx FIFO becomes empty; and Rx interrupt will be generated for each incoming byte. This will cause faster response and lower throughput. If you want to use XON/XOFF flow control, we recommend setting FIFO to Disable. NPort 5400 Series User’s Manual 6-15...
Page 70
After setting the COM Mapping, remember to select the Apply Change to save the information in the host system registry. The host computer will not have the ability to use the COM port until after selecting Apply Change. NPort 5400 Series User’s Manual 6-16...
To save the configuration to a text file, select Export COM Mapping. You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host. Off-line COM Mapping NPort 5400 Series User’s Manual 6-17...
Receive NPort’s IP location report Centralize NPort’s IP management in a dynamic IP environment. Configure NPort with Dynamic IP settings. For example, DHCP, BootP and DHCP/BootP. Assign the remote Auto IP report server’s IP address and UDP port. NPort 5400 Series User’s Manual 6-18...
Page 73
Select the IP Location Report. The configure the local listen to be the same as the NPort’s “Auto report to UDP port” setting. Press Go to start receiving the Auto IP address report from the NPort. NPort 5400 Series User’s Manual 6-19...
IP Serial Library not only runs with excellent efficiency but also runs without any decode or encode problems. How to install IP Serial Library? IP Serial Lib comes with the NPort Administration Suite. Refer to the IPSerial directory for more detail about the function definitions. NPort 5400 Series User’s Manual...
/*set 9600, N81 */ /* wait for 1000 ms for data */ /* read 200 bytes from port 1 */ /* close this serial port */ /* close IP Serial Library */ NPort 5400 Series User’s Manual 7-3 Miscellaneous nsio_break nsio_break_on nsio_break_off...
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 DB9 Male RS-232 Port Pinouts for NPort 5410 Terminal Block RS-232 & RS-422/485 Pinouts for NPort 5230 NPort 5400 Series User’s Manual...
Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables Serial Cables DB9 Female to DB9 Male for NPort 5410 NPort 5400 Series User’s Manual A-3...
Page 82
DB9 Female to DB25 Male for NPort 5410 NPort 5400 Series User’s Manual...
Page 83
Well Known Port Numbers Appendix B This appendix is for your reference about the Well Known port numbers that may cause network problem if you set NPort into the same port. Refer to RFC 1700 for Well Known port numbers of refer to the following introduction from the IANA.
Page 84
TCP Socket 160 – 223 UDP Socket NPort 5400 Series User’s Manual (Login Host Protocol) (Login) Domain Name Server (domain) Finger protocol (Finger) Application Service World Wibe Web HTTP Netword news Transfer Protocol (NNTP) Network Time Protocol Reserved for future use...
Page 85
SNMP Agent with MIB II & RS-232 like Appendix C NPort 5200 has a built-in SNMP (Simple Network Management Protocol) agent software. It supports SNMP Trap, RFC1317 RS-232 like gourp and RFC 1213 MIB-II. The following table lists the standard MIB-II group, as well as the variable implementation for NPort 5200. RFC1213 MIB-II supported SNMP variables: System MIB Interfaces MIB...
General Port RS-232-like Port Group rs232AsyncPortTable rs232AsyncPortEntry rs232AsyncPortIndex rs232AsyncPortBits rs232AsyncPortStopBits rs232AsyncPortParity The Output Signal Table rs232OutSigTable rs232OutSigEntry rs232OutSigPortIndex rs232OutSigName rs232OutSigState NPort 5400 Series User’s Manual C-3 Asynchronous...
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 Service Information Appendix D...
Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. E-mail for technical support ... World Wide Web (WWW) Site for product information: NPort 5400 Series User’s Manual The following services are provided service@moxa.com.tw http://www.moxa.com...
Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see. A clearly written description of the problem will allow us to reproduce the symptoms, and expedite the repair of your product. Fax: Date: NPort 5430 NPort 5430I NPort 5400 Series User’s Manual D-3...
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 5400 Series User’s Manual...
9. p.2-2 Changed NPort 5410/5430’s nameplate view figures. May 13, 2004 1. Updated the edition of this manual on the title page. 2. Changed the new Moxa logo on NPort 5400 Series User’s Manual D-5 Revision Details “User adjustable time”...
Page 94
NPort 5400 Series User’s Manual the title page. 3. p. 6-16 Added descriptions on newly-added function “Fast Flush”. 4. p. 4-3 Added more descriptions on Real COM Mode. 5. p. 5-13 Added more descriptions under Max connection 2 to 4.
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.
Page 96
AP ID 0x80005000 0x80005000 0x80005000 0x80000312 0x80000312 0x80000312 0x80000312 0x80005610 0x80005610 0x80005610 0x80005610 NPort 5400 Series User’s Manual Info[1] … Length Data Variable, Length is “Length Field” Length Note Variable ASCII char Little-endian 6 bytes MAC address. If the MAC address is "00-90-E8-01-02-03",...