Moxa Technologies NPort 5400 Series User Manual

Moxa Technologies NPort 5400 Series User Manual

Moxa technologies nport 5400 series user's manual
Hide thumbs Also See for NPort 5400 Series:
Table of Contents

Advertisement

NPort 5400 Series
User's Manual
Sixth Edition, March 2007
www.moxa.com/product
Moxa Technologies Co., Ltd.
Tel:
+886-2-8919-1230
Fax:
+886-2-8919-1231
Web: www.moxa.com
MOXA Technical Support
Worldwide:
support@moxa.com
The Americas:
support@usa.moxa.com

Advertisement

Table of Contents
loading

Summary of Contents for Moxa Technologies NPort 5400 Series

  • Page 1 NPort 5400 Series User’s Manual Sixth Edition, March 2007 www.moxa.com/product Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 Web: www.moxa.com MOXA Technical Support Worldwide: The Americas: support@moxa.com support@usa.moxa.com...
  • Page 2: Copyright Notice

    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.
  • Page 3: Table Of Contents

    Chapter 1 Introduction ... 1-1 Overview... 1-2 Package Checklist ... 1-2 Product Features ... 1-2 Product Specifications ...1-3 Chapter 2 Getting Started ... 2-1 Panel Layout... 2-2 Connecting the Hardware...2-3 Wiring Requirements...2-3 Connecting the Power ...2-3 Grounding the NPort 5400 ...2-3 Connecting to the Network ...2-4 Connecting to a Serial Device ...2-4 LED Indicators ...2-4...
  • Page 4 Auto warning: E-mail and SNMP trap ...5-27 Event Type ...5-28 Monitor... 5-30 Monitor Line...5-30 Monitor Async...5-30 Monitor Async-Settings ...5-30 Change Password ...5-31 Load Factory Default ...5-31 Chapter 6 Configuring NPort Administrator... 6-1 Overview... 6-2 Installing NPort Administrator ...6-2 Configuration ... 6-5 Broadcast Search ...6-6 Specify by IP Address ...6-6 Password Protection ...6-7...
  • Page 5: Chapter 1 Introduction

    Welcome to the MOXA NPort 5400 Series of advanced serial device servers, which make it easy to enable network operation of your serial devices. All device servers in the series come with four serial ports. On the NPort 5410, the serial ports are RS-232 ports; on the NPort 5430/5430I, the serial ports are RS-422/485 ports;...
  • Page 6: Overview

    NPort 5400 Series User’s Manual Overview NPort 5400 Series 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 RS-232/422/485 serial devices—such as PLCs, meters, and sensors—to an IP-based Ethernet LAN, making it possible for your software to access serial devices anywhere over a local LAN or the Internet.
  • Page 7: Product Specifications

    NPort 5400 Series User’s Manual Product Specifications Ethernet Protection NPort 5410 Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection NPort 5430/5430I Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection RS-485 Data Direction...
  • Page 8 NPort 5400 Series User’s Manual Serial Communication Parameters Parity Data Bits Stop Bit Flow Control Transmission Speed Software Features Protocols Utilities OS Driver Support Configuration Power Requirements Power Input Power Consumption Mechanical Material Dimensions (W × H × D) Gross Weight...
  • Page 9: Chapter 2 Getting Started

    This chapter includes information about installing NPort 5400 Series device servers. The following topics are covered: Panel Layout Connecting the Hardware Wiring Requirements Connecting the Power Grounding the NPort 5400 Connecting to the Network Connecting to a Serial Device LED Indicators...
  • Page 10: Panel Layout

    NPort 5400 Series User’s Manual Panel Layout NPort 5410/5450/5450I RESET RJ45 10/100 Mbps Ethernet port Terminal Block power input Port 1 RS-232 Indicator LEDs Male DB9 serial port NPort 5430/5430I RESET RJ45 10/100 Mbps Ethernet port Terminal Block power input...
  • Page 11: Connecting The Hardware

    NPort 5400 Series User’s Manual Connecting the Hardware This section describes how to connect the NPort 5400 to serial devices for first time testing purposes. We cover Wiring Requirements, Connecting the Power, Grounding the NPort 5400 Series, Connecting to the Network, Connecting to a Serial Device, and LED Indicators.
  • Page 12: Connecting To The Network

    NPort 5400 Series User’s Manual ATTENTION This product is intended to be mounted to a well-grounded mounting surface such as a metal panel. Connecting to the Network Connect one end of the Ethernet cable to the NPort 5400’s 10/100M Ethernet port and the other end of the cable to the Ethernet network.
  • Page 13: Adjustable Pull High/Low Resistors For The Rs-485 Port

    NPort 5400 Series User’s Manual Adjustable Pull High/low Resistors for the RS-485 Port In some critical environments, you may need to add termination resistors to prevent the reflection of serial signals. When using termination resistors, it is important to set the pull high/low resistors correctly so that the electrical signal is not corrupted.
  • Page 14: Initial Ip Address Configuration

    Initial IP Address Configuration Chapter 3 When setting up your NPort 5410/5430/5430I/5450/5450I for the first time, the first thing you should do is configuring the IP address. This chapter introduces the method to configure the NPort’s IP address. Select one of the initial IP Address configuration methods to configure the NPort’s IP Address.
  • Page 15: Initializing The Nport's Ip Address

    NPort 5400 Series User’s Manual Initializing the NPort’s IP Address 1. Determine whether your NPort needs to use a Static IP or Dynamic IP (either DHCP or BOOTP application). 2. If the NPort is used in a Static IP environment, you can use LCM Display, NPort Administration Suite, ARP, Web Console, or Telnet Console to configure the new IP address.
  • Page 16 NPort 5400 Series User’s Manual There are four push buttons on the NPort’s nameplate. Going from left to right, the buttons are: Button Name menu MENU up cursor down cursor scrolls down through a list of items shown on the LCM panel’s second line select The buttons are manipulated in a manner similar to the way a modern cellular phone operates.
  • Page 17 NPort 5400 Series User’s Manual Main Menu Server setting Network setting Serial set Op Mode set Console Ping Save/Restart The part of the LCM operation that still requires some explanation is how to edit the configurable options. In fact, you will only encounter two types of configurable options.
  • Page 18: Nport Administration Suite

    NPort 5400 Series User’s Manual The second type of configurable option is when there are only a small number of options from which to choose (although only one option will be visible at a time). Consider the PARITY attribute under PORT SETTING as an example. Follow the tree graph to arrive at the following PARITY screen.
  • Page 19: Telnet Console

    NPort 5400 Series User’s Manual Take the following steps to use ARP to configure the IP address: 1. Obtain a valid IP address for your NPort from your network administrator. 2. Obtain the NPort’s MAC address from the label on its bottom panel.
  • Page 20 NPort 5400 Series User’s Manual Initial IP Address Configuration 4. Type 2 to select Network settings, and then press Enter. 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...
  • Page 21 NPort 5400 Series User’s Manual Initial IP Address Configuration 7. Press any key to continue… 8. Type m and then press Enter to return to the main menu. 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 the NPort.
  • Page 22: Choosing The Proper Operation Mode

    Choosing the Proper Operation Mode Chapter 4 In this chapter, we describe the various NPort 5400 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.
  • Page 23: Overview

    NPort 5400 Series User’s Manual Overview NPort device servers enable network operation of 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.
  • Page 24: Tcp Server Mode

    NPort 5400 Series User’s Manual ATTENTION The driver used for Real COM Mode comes with the NPort Windows Administrator. The driver is installed automatically on your computer when you install NPort Administration Suite. The important point is that Real COM Mode allows users to continue using RS-232/422/485 serial communications software that was written for pure serial communications applications.
  • Page 25: Tcp Client Mode

    NPort 5400 Series User’s Manual TCP Client Mode In TCP Client mode, the NPort can actively establish a TCP connection to a pre-defined host computer when serial data arrives. After the data has been transferred, the NPort can automatically disconnect from the host computer by using the TCP alive check time or Inactivity time settings.
  • Page 26: Reverse Telnet Mode

    NPort 5400 Series User’s Manual Reverse Telnet Mode Console management is commonly used by connecting to Console/AUX or COM ports of routers, switches, and UPS units. Rtelnet works the same as RAW mode in that only one TCP port is listened to after booting up.
  • Page 27: Web Console Configuration

    Web Console Configuration Chapter 5 The Web Console is the most user-friendly way to configure the NPort 5410/5430/5430I. This chapter will introduce the Web Console function groups and function definitions. This chapter uses the NPort 5230 as an example. The function and definition is totally the same with NPort 5400 series devices servers.
  • Page 28: Opening Your Browser

    NPort 5400 Series User’s Manual Opening Your Browser 1. Open your browser with the cookie function enabled. (To enable your browser for cookies, right click on your desktop Internet Explorer icon, select Properties, click on the Security tab, and then select the three Enable options as shown in the figure below.) 2.
  • Page 29 NPort 5400 Series User’s Manual ATTENTION 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). The NPort 5410/5430/5430I/5450/5450I homepage will open. On this page, you can see a brief description of the Web Console’s nine function groups.
  • Page 30: Basic Settings

    NPort 5400 Series User’s Manual Basic Settings Server name Setting 1 to 39 characters This option is useful for specifying the location or application of different NPort device servers. Time The NPort 5410/5430/5430I/5450/5450I has a built-in Real-Time Clock for time calibration functions.
  • Page 31 NPort 5400 Series User’s Manual Click on the Modify button to open the Modify time settings window to input the correct local time. Time server Setting IP or Domain address (E.g., 192.168.1.1 or time.stdtime.gov.tw or time.nist.gov) The NPort 5410/5430/5430I/5450/5450I uses SNTP (RFC-1769) for auto time calibration.
  • Page 32: Network Settings

    NPort 5400 Series User’s Manual password, press SEL, etc. Once the password has been entered, press SEL until the LCM screen is activated. Reset button protect Setting No or Yes Options are No and Yes, with default = No. NOTE: Select the Yes option to allow limited use of the Reset Button. In this case, the Reset Button can be used for only 60 seconds.
  • Page 33 NPort 5400 Series User’s Manual IP Address Setting E.g., 192.168.1.1 (IP addresses of the form x.x.x.0 and x.x.x.255 are invalid.) An IP address is a number assigned to a network device (such as a computer) as a permanent address on the network. Computers use the IP addressed to identify and talk to each other over the network.
  • Page 34: Snmp Settings

    NPort 5400 Series User’s Manual DNS server 1 / DNS sever 2 Setting E.g., 192.168.1.1 (IP addresses of the form x.x.x.0 and x.x.x.255 are invalid.) When the user wants to visit a particular website, the computer asks a Domain Name System (DNS) server for the website’s correct IP address, and the computer users the response to connect...
  • Page 35: Serial Settings

    NPort 5400 Series User’s Manual configure the Auto IP report function. There are two ways to develop an “Auto IP report Server” to receive the NPort’s Auto IP report. 1. Use NPort Administrator’s IP Address Report function. 2. Refer the Appendix E for the “Auto IP report protocol” to develop your own software.
  • Page 36: Serial Parameters

    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 the NPort’s serial port. Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual. You should set up the NPort’s serial parameters with the same communication parameters used by your serial...
  • Page 37: Operating Settings

    NPort 5400 Series User’s Manual Interface Setting NPort 5410: RS-232 only NPort 5430: RS-422, 2-wire RS-485, 4-wire RS-485 NPort 5450: RS-232, RS-422, 2-wire RS-485, 4-wire RS-485 Operating Settings Press Operating Settings to display the operating settings for each of the NPort’s serial ports.
  • Page 38 NPort 5400 Series User’s Manual TCP alive check time Setting 0 to 99 min 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: The NPort automatically closes TCP connection if there is no TCP activity for the given time.
  • Page 39 NPort 5400 Series User’s Manual Default = 0, The Delimiter Process will be followed, regardless of the length of the data packet. If the data length (in bytes) matches the configured value, the data will be forced out. The data length can be configured for 0 to 1024 bytes.
  • Page 40: Tcp Server Mode

    NPort 5400 Series User’s Manual 10 (bits) / 1200 (bits/s) * 1000 (ms/s) = 8.3 ms. Therefore, you should set Force Transmit timeout to be larger than 8.3 ms. Force Transmit timeout is specified in milliseconds and must be larger than 10 ms.
  • Page 41 NPort 5400 Series User’s Manual If the value of inactivity time is set to 0, the current TCP connection is maintained until there is connection close request. Although inactivity time is disabled, the NPort will check the connection status between the NPort and remote host by sending “keep alive” packets periodically. If the remote host does not respond to the packet, it assumes that the connection was closed down unintentionally.
  • Page 42 NPort 5400 Series User’s Manual Delimiter 1 Setting 00 to FF Delimiter 2 Setting 00 to FF Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port.
  • Page 43: Tcp Client Mode

    NPort 5400 Series User’s Manual is specified in milliseconds and must be larger than 10 ms. If the user wants to send a series of character in a packet, the serial device attached to the NPort should send characters without time delay larger than Force Transmit timeout between characters and the total length of data must be smaller than or equal to the NPort’s internal buffer size.
  • Page 44 NPort 5400 Series User’s Manual TCP alive check time Setting 0 to 99 min 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: The NPort automatically closes the TCP connection if there is no TCP activity for the given time.
  • Page 45 NPort 5400 Series User’s Manual can be configured for 0 to 1024 bytes. Set to 0 if you do not need to limit the length. Delimiter 1 Setting 00 to FF Delimiter 2 Setting 00 to FF Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port.
  • Page 46 NPort 5400 Series User’s Manual is specified in milliseconds and must be larger than 10 ms. If the user wants to send a series of characters in a packet, the serial device attached to the NPort should send characters without time delay larger than Force Transmit timeout between characters and the total length of data must be smaller than or equal to the NPort’s internal buffer size.
  • Page 47: Udp Mode

    NPort 5400 Series User’s Manual Connect/Disconnect Startup/None (default) Any Character/None Any Character/ Inactivity Time DSR On/DSR Off DSR On/None DCD On/DCD Off DCD On/None UDP Mode Packing length Setting 0 to 1024 Default = 0, The Delimiter Process will be followed, regardless of the length of the data packet. If the data length (in bytes) matches the configured value, the data will be forced out.
  • Page 48 NPort 5400 Series User’s Manual Delimiter 2 Setting 00 to FF Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port. Note: Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
  • Page 49: Pair Connection Mode

    NPort 5400 Series User’s Manual Destination IP address 1 Setting IP address range E.g., Begin: 192.168.1.1 End: 192.168.1.10 Destination IP address 2/3/4 Setting IP address range E.g., Begin: 192.168.1.11 End: 192.168.1.20 Local listen port Setting 1 to 65535 The UDP port that the NPort listens to, and that other devices must use to contact the NPort. To avoid conflicts with well known UDP ports, the default is set to 4001.
  • Page 50: Pair Connection Slave Mode

    NPort 5400 Series User’s Manual TCP alive check time Setting 0 to 99 min 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: The NPort 5400 closes the TCP connection automatically if there is no TCP activity for the given time.
  • Page 51: Reverse Telnet Mode

    NPort 5400 Series User’s Manual Reverse Telnet Mode TCP alive check time Setting 0 to 99 min Specifies the time slice for checking if the TCP connection is alive. If no response, the NPort 5400 will disconnect the original connection.
  • Page 52: Disabled Mode

    NPort 5400 Series User’s Manual Disabled Mode When Operation mode is set to Disabled, that particular port will be disabled. Check the “Apply the above settings to all serial ports” to apply this setting to the other port. Accessible IP Settings The NPort has an IP address based filtering method to control access to the NPort.
  • Page 53: Auto Warning Settings

    NPort 5400 Series User’s Manual Allowable Hosts Any host 192.168.1.120 192.168.1.1 to 192.168.1.254 192.168.0.1 to 192.168.255.254 192.168.1.1 to 192.168.1.126 192.168.1.129 to 192.168.1.254 Auto Warning Settings Auto warning: E-mail and SNMP trap Mail Server Mail Server Setting IP or Domain Name...
  • Page 54: Event Type

    NPort 5400 Series User’s Manual ATTENTION Consult your Network Administrator or ISP for the proper mail server settings. Auto warning function may not work properly without proper settings. NPort SMTP AUTH supports LOGIN, PLAIN, CRAM-MD5 (RFC 2554). SNMP Trap Server...
  • Page 55 NPort 5400 Series User’s Manual Password changed The user has changed the NPort’s password. When the password changes, the NPort will send an e-mail with the password change notice before the NPort reboots. If the NPort fails to send mail to the mail server after 15 seconds, the NPort will be rebooting directly and abort the mail auto warning.
  • Page 56: Monitor

    NPort 5400 Series User’s Manual Monitor Monitor Line Click on Line under Monitor to show the operation mode and status of each connection (IPx), for each of the four serial ports. Monitor Async Click on Async under Monitor to show the current status of each of the four serial ports.
  • Page 57: Change Password

    NPort 5400 Series User’s Manual Change Password Input the “Old password” and “New password” to change the password. Leave the password boxes blank to erase the password. In this case, the NPort will not have password protection. ATTENTION If you forget the password, the ONLY way to configure the NPort is by using the Reset button on the NPort’s casing to “Load Factory Default.”...
  • Page 58: Configuring Nport Administrator

    Configuring NPort Administrator Chapter 6 The following topics are covered in this chapter: Overview Installing NPort Administrator Configuration Broadcast Search Specify by IP Address Password Protection Unlock Password Protection Configuring the NPort 5400 Web Console Upgrading the Firmware Export Configuration Import Configuration Monitor Port Monitor...
  • Page 59: Overview

    NPort 5400 Series User’s Manual Overview NPort Administration Suite is an integrated software suite that bundles NPort Administrator and the IP Serial Library, providing everything you need to manage, monitor, and modify your NPort 5400 from a remote location. With NPort Administrator, you can easily install and configure your NPort 5400 device server over the network.
  • Page 60 NPort 5400 Series User’s Manual Configuring NPort Administrator 3. Click on Next to install the program using the default program name, or select a different name. 4. Click on Install to proceed with the installation.
  • Page 61 NPort 5400 Series User’s Manual Configuring NPort Administrator 5. The Installing window reports the progress of the installation. 6. Click on Next to proceed with the installation.
  • Page 62: Configuration

    NPort 5400 Series User’s Manual 7. Click on Finish to complete the installation of NPort 5400 Administration Suite. Configuration The Administrator-Configuration window is divided into four parts. The top section contains the function list and online help area. (Windows NT does not support this .chm file format.)
  • Page 63: Broadcast Search

    NPort 5400 Series User’s Manual Broadcast Search The Broadcast Search function is used to locate all NPort 5400s that are connected to the same LAN as your computer. Since the Broadcast Search function searches by MAC address and not IP address, all NPort 5400s connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host.
  • Page 64: Password Protection

    NPort 5400 Series User’s Manual Password Protection The NPort 5400 can be password-protected to prevent unauthorized configuration changes. The six possible protection states are described below. Note that the term “Fixed’ is borrowed from the standard fixed IP address networking terminology.
  • Page 65: Configuring The Nport 5400

    NPort 5400 Series User’s Manual 1. Select the NPort 5400 with “Lock” status, click the right mouse button, and then select Unlock. 2. Input the password and then click on OK. 3. NPort Administrator will display an “Unlock ok” message.
  • Page 66 NPort 5400 Series User’s Manual 1. To start NPort Administrator, click on Start Administrator. 2. Unlock the NPort 5400 you wish to configure if it is password protected. Right click on the NPort 5400 and select Configure to start the configuration.
  • Page 67 NPort 5400 Series User’s Manual 4. Refer to Chapter 5 for each parameter’s function definition. To modify the configuration, you must first click in the modify box to activate the parameter setting box. For example, click on the middle modify box.
  • Page 68: Web Console

    NPort 5400 Series User’s Manual Web Console You can use the web console to configure device servers in the NPort 5000 line. The web console can be opened from NPort Administrator by right clicking on the device server and selecting the Web function.
  • Page 69 NPort 5400 Series User’s Manual 3. Select the correct ROM file to download. 4. Wait while the Upgrade Firmware action is processed. ATTENTION You can simultaneously upgrade the firmware of multiple NPort 5400s that are of the same model. To select multiple NPort 5400s, hold down the Ctrl key when selecting an additional NPort 5400, or hold down the Shift key to select a block of NPort 5400s.
  • Page 70: Export Configuration

    NPort 5400 Series User’s Manual Export Configuration To export the configuration of an NPort 5400, right click on the NPort 5400, select Export Configuration, and then follow the onscreen instructions. The Export Configuration function is a handy tool that can be used to produce a text file containing the current configuration of a particular NPort 5400.
  • Page 71: Monitor

    NPort 5400 Series User’s Manual ATTENTION You can simultaneously import the same configuration file into multiple NPort 5400s that are of the same model. To select multiple NPort 5400s, hold down the Ctrl key when selecting an additional NPort 5400, or hold down the Shift key to select a block of NPort 5400s.
  • Page 72 NPort 5400 Series User’s Manual Configuring NPort Administrator Monitor Add Target Rescan 1. Click on Monitor under Function. 2. Click on Monitor Add Target from the menu bar, or click the right mouse button and select Add Target. 3. Click on Rescan.
  • Page 73 NPort 5400 Series User’s Manual 4. Select your targets from the list, and then click on OK. Monitor Load Configured COM Port Use the Load Configured COM Port function to monitor device servers that are being used for COM Mapping.
  • Page 74 NPort 5400 Series User’s Manual 2. Right click the panel and select Settings. 3. 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.
  • Page 75 NPort 5400 Series User’s Manual 5. On the Advanced Settings page, select Display warning message for new event and/or Play warning music for new event. In the second case, you must enter the path to the WAV file that you want to be played. “New event” means that one of the NPort 5400s in the monitor is “Alive”...
  • Page 76 NPort 5400 Series User’s Manual 8. When one of the NPort 5400s loses connection with the Monitor program, a warning alert will display automatically. The warning music will be played at the same time. 9. In the Monitor screen, you can see that the NPort 5400s that are “Not Alive” are shown in red color.
  • Page 77: Port Monitor

    NPort 5400 Series User’s Manual 11. The NPort 5400s that were reconnected, and are now “Alive,” will be shown in black color. Port Monitor The process described here is the same as in the previous “Monitor” section. The only difference is that you can select more items under Port Monitor than under Monitor.
  • Page 78: Com Mapping

    NPort 5400 Series User’s Manual COM Mapping Windows Administration Suite comes with Windows 95/98/ME/NT/2000/XP Real COM drivers. After you install NPort 5400 Administration Suite, there are two ways to set up the NPort 5400 serial port as your host’s remote COM port.
  • Page 79 NPort 5400 Series User’s Manual Configuring NPort Administrator 3. Add the target to which you would like to map COM ports. 4. The NPort 5400 list that appears is the list generated by the previous Broadcast Search. Select the NPort 5400 to which you would like to map COM ports.
  • Page 80 NPort 5400 Series User’s Manual 6. Select the COM Number. This assigns a COM Number that your PC host can use to access the NPort’s serial port. Available COM Numbers and status are shown in the drop-down list. COM Numbers that are already being used by the system, including COM Numbers that are already mapped to NPort serial ports, will be shown as “in use”.
  • Page 81 NPort 5400 Series User’s Manual However, it might take more time (on the order of several hundred milliseconds) than a native COM1, because it needs to work via Ethernet. That’s why the native COM ports on the motherboard can work fast with this function call, but the NPort requires much more time.
  • Page 82 NPort 5400 Series User’s Manual 9. After setting the COM Mapping, remember to select 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 Apply Change is selected.
  • Page 83: Off-Line Com Mapping

    NPort 5400 Series User’s Manual 11. 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.
  • Page 84 NPort 5400 Series User’s Manual Configuring NPort Administrator 2. Modify the port settings as needed. 3. Right click in the NPort list section and select Apply Change. 6-27...
  • Page 85: Ip Address Report

    NPort 5400 Series User’s Manual IP Address Report When the NPort 5400 is used in a dynamic IP environment, users must spend more time with IP management tasks. To make things easier, the NPort 5400 can periodically report its IP address to the IP location server, in case the address has changed.
  • Page 86: Automatic Message Log

    NPort 5400 Series User’s Manual 4. Click Go to start receiving the Auto IP address report from the NPort 5400 Automatic Message Log Since NPort Administrator may be used in a multi-user environment, it is possible for a user to modify a device server’s configuration with other users unaware of the changes.
  • Page 87: Ip Serial Lib

    IP Serial LIB Chapter 7 The following topics are covered in this chapter: Overview IP Serial LIB Function Groups Example Program...
  • Page 88: Overview

    NPort 5400 Series User’s Manual Overview What is IP Serial Library? IP Serial Library is a Windows library with frequently used serial command sets and subroutines. IP Serial Library is designed to reduce the complexity and poor efficiency of serial communication over TCP/IP.
  • Page 89: Ip Serial Lib Function Groups

    NPort 5400 Series User’s Manual IP Serial LIB Function Groups Server Control nsio_init nsio_end nsio_resetserver nsio_checkalive Example Program char NPortip=”192.168.1.10”; char buffer[255]; int port = 1; int portid; nsio_init(); portid = nsio_open(NPortip, port); nsio_ioctl(portid, B9600, (BIT_8 | STOP_1 | P_NONE) );...
  • Page 90: Appendix A Pinouts And Cable Wiring

    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...
  • Page 91: Port Pinout Diagrams

    NPort 5400 Series User’s Manual Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts DB9 Male RS-232 Port Pinouts for NPort 5410/5450/5450I Terminal Block RS-232 & RS-422/485 Pinouts for NPort 5430/5430I Pinouts and Cable Wiring...
  • Page 92: Cable Wiring Diagrams

    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...
  • Page 93 NPort 5400 Series User’s Manual Pinouts and Cable Wiring DB9 Female to DB25 Male for NPort 5410...
  • Page 94: Appendix B Well Known Port Numbers

    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 the NPort into the same port. Refer to RFC 1700 for Well Known port numbers of refer to the following introduction from the IANA.
  • Page 95 NPort 5400 Series User’s Manual 160 – 223 UDP Socket (Login Host Protocol) (Login) Domain Name Server (domain) Finger protocol (Finger) World Wide Web HTTP Network News Transfer Protocol (NNTP) Network Time Protocol Reserved for future use Application Service reserved...
  • Page 96 SNMP Agents with MIB II & RS-232 Appendix C The NPort 5400 has built-in SNMP (Simple Network Management Protocol) agent software. It supports SNMP Trap, RFC1317 RS-232 like group and RFC 1213 MIB-II. The following table lists the standard MIB-II group, as well as the variable implementation for the NPort 5400. RFC1213 MIB-II supported SNMP variables: System MIB Interfaces MIB...
  • Page 97 NPort 5400 Series User’s Manual System MIB SysServices ifInUnknownProtos ipReasmFails ifOutOctets ifOutUcastPkts ifOutNUcastPkts ifOutDiscards ifOutErrors ifOutQLen ifSpecific UDP MIB UdpInDatagrams UdpNoPorts UdpInErrors UdpOutDatagrams UdpLocalAddress UdpLocalPort Address Translation MIB AtIfIndex AtPhysAddress AtNetAddress Interfaces MIB IP MIB ipFragOKs ipFragFails ipFragCreates ipAdEntAddr ipAdEntIfIndex...
  • Page 98 NPort 5400 Series User’s Manual Address Translation MIB AtNetAddress RFC1317: RS-232 MIB objects Generic RS-232-like Group rs232Number The Input Signal Table rs232InSigTable rs232InSigEntry rs232InSigPortIndex rs232InSigName rs232InSigState TCP MIB tcpRetransSegs snmpInTotalSetVars tcpConnState snmpInGetRequests tcpConnLocalAddress snmpInGetNexts tcpConnLocalPort snmpInSetRequests tcpConnRemAddress snmpInGetResponses tcpConnRemPort snmpInTraps...
  • Page 99: Appendix D Auto Ip Report Protocol

    Auto IP Report Protocol Appendix D NPort device servers provide 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 100 NPort 5400 Series User’s Manual Auto IP Report Format “MOXA”, 4 bytes Info[0] Info [n] Field Length ID List ID Value Description Server Name Hardware ID MAC Address Serial Number IP Address Netmask Default Gateway Firmware Version AP ID AP ID & Hardware ID Mapping Table...
  • Page 101: Appendix E Service Information

    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 E...
  • Page 102: Moxa Internet Services

    NPort 5400 Series User’s Manual MOXA Internet Services Customer satisfaction is our number one concern, and to ensure that customers receive the full benefit of our products, MOXA Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates.
  • Page 103: Problem Report Form

    NPort 5400 Series User’s Manual Problem Report Form Customer name: Company: Tel: Email: 1. MOXA Product: NPort 5410 NPort 5450 2. Serial Number: _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see.
  • Page 104: Product Return Procedure

    NPort 5400 Series User’s Manual Product Return Procedure For product repair, exchange, or refund, the customer must: Provide evidence of original purchase. Obtain a Product Return Agreement (PRA) from the sales representative or dealer. Fill out the Problem Report Form (PRF). Include as much detail as possible for a shorter product repair time.

Table of Contents