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 support@moxa.com Worldwide: support@usa.moxa.
NPort 5400 Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2007 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of The MOXA Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ..................................................................................... 1-1 Chapter 2 Getting Started ................................................................................ 2-1 Chapter 3 Initial IP Address Configuration..................................................... 3-1 Chapter 4 Choosing the Proper Operation Mode .......................................... 4-1 Chapter 5 Web Console Configuration .................................
Auto warning: E-mail and SNMP trap ...............................................5-27 Event Type ........................................................................................5-28 Monitor......................................................................................................... 5-30 Monitor Line.......................................................................................5-30 Monitor Async....................................................................................
1 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; on the NPort 5450/5450I, the serial ports are RS-232/422/485 ports.
NPort 5400 Series User’s Manual Introduction 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.
NPort 5400 Series User’s Manual Introduction Product Specifications LAN Ethernet Protection 10/100 Mbps, RJ45 Built-in 1.5 KV magnetic isolation NPort 5410 Serial Interface Interface RS-232 No. of Ports 4 Port Type DB9 Male Signals TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND Serial Line Protection 15 KV ESD for all signals NPort 5430/5430I Serial Interface Interface RS-422/485 No.
NPort 5400 Series User’s Manual Introduction 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, XON/XOFF, DSR/DTR (NPort 5410, 5450, and 5450I only) Transmission Speed 50 bps to 921.
2 Chapter 2 Getting Started This chapter includes information about installing NPort 5400 Series device servers.
NPort 5400 Series User’s Manual Getting Started Panel Layout NPort 5410/5450/5450I Power input RESET V+ V- LAN RJ45 10/100 Mbps Ethernet port Terminal Block power input 5410 NP5410_61405 192.168.127.254 Serial Device Server Port 1 RS-232 Port 2 RS-232 Indicator LEDs Port 3 RS-232 Port 4 RS-232 Input buttons LCM display panel Male DB9 serial port NPort 5430/5430I Power input RESET V+ V- LAN RJ45 10/100 Mbps Ethernet port Terminal Block power input 5430 N P 5430_61405 192.168.127.
NPort 5400 Series User’s Manual Getting Started 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. Wiring Requirements ATTENTION Safety First! Be sure to disconnect the power cord before installing and/or wiring your NPort 5400.
NPort 5400 Series User’s Manual Getting Started ATTENTION This product is intended to be mounted to a well-grounded mounting surface such as a metal panel. SG: The Shielded Ground (sometimes called Protected Ground) contact is the left most contact of the 3-pin power terminal block connector when viewed from the angle shown here. Connect the SG wire to an appropriate grounded metal surface.
NPort 5400 Series User’s Manual Getting Started 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.
3 Chapter 3 Initial IP Address Configuration 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. For more details about network settings, see the Network Settings section from Chapter 5, Web Console Configuration.
NPort 5400 Series User’s Manual Initial IP Address Configuration 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. 3.
NPort 5400 Series User’s Manual Initial IP Address Configuration There are four push buttons on the NPort’s nameplate.
NPort 5400 Series User’s Manual Initial IP Address Configuration Main Menu Server setting Serial number Server name Firmware ver Model name Network Ethernet status setting MAC address IP config IP address Netmask Gateway DNS server 1 DNS server 2 Serial set Select port Baud rate Data bit Stop bit Parity Flow control Tx/Rx fifo Interface Tx/Rx bytes Line status Op Mode set Select port Select mode [mode] Real COM Alive timeout Max connection Delimiter 1 Delimiter 2 Force Tx Console D C D D D D C C C C C
NPort 5400 Series User’s Manual Initial IP Address Configuration 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. The first option, NONE, is displayed, with a down arrow all the way to the right. This is an indication that there are other options from which to choose.
NPort 5400 Series User’s Manual Initial IP Address Configuration 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. 3. Execute the ‘arp -s’ command from your computer’s MS-DOS prompt by typing: arp –s 192.168.200.100 00-90-E8-xx-xx-xx This is where 192.168.200.100 is the new IP address and 00-90-E8-xx-xx-xx is the MAC address for your NPort.
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 press Enter.
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.
4 Chapter 4 Choosing the Proper Operation Mode 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.
NPort 5400 Series User’s Manual Choosing the Proper Operation Mode 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.
NPort 5400 Series User’s Manual Choosing the Proper Operation Mode 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.
NPort 5400 Series User’s Manual Choosing the Proper Operation Mode 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. Refer to chapter 5 for more details. As illustrated in the figure, data transmission proceeds as follows: 1.
NPort 5400 Series User’s Manual Choosing the Proper Operation Mode 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. The system then waits for a host on the network to initiate a connection. The difference is that the RAW mode does not provide the conversion function provided by Telnet.
5 Chapter 5 Web Console Configuration 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.
NPort 5400 Series User’s Manual Web Console Configuration 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. Type 192.168.127.254 in the Address input box (use the correct IP address if different from the default), and then press Enter. 3. Input the password if prompted.
NPort 5400 Series User’s Manual Web Console Configuration 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.
NPort 5400 Series User’s Manual Web Console Configuration Basic Settings Server name Setting Factory Default Necessity 1 to 39 characters NP[model name]_[Serial No.] Optional 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. Functions such as Auto warning “Email” or “SNMP Trap” can add real-time information to the message.
NPort 5400 Series User’s Manual Web Console Configuration 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 Factory Default Necessity None Optional (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. Input the correct “Time Server” IP address or domain address.
NPort 5400 Series User’s Manual Web Console Configuration 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. Factory Default Necessity No Required 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. I.e., 60 sec. after booting up, the Reset Button will be disabled automatically.
NPort 5400 Series User’s Manual Web Console Configuration IP Address Setting E.g., 192.168.1.1 Factory Default Necessity 192.168.127.254 Required (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. Choose a proper IP address which is unique and valid in your network environment.
NPort 5400 Series User’s Manual Web Console Configuration DNS server 1 / DNS sever 2 Setting E.g., 192.168.1.1 Factory Default Necessity None Optional (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 to the web server.
NPort 5400 Series User’s Manual Web Console Configuration 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. Auto report to IP Setting Factory Default Necessity E.g., 192.168.1.1 or URL None Optional (IP addresses of the form x.x.x.0 and x.x.x.255 are invalid.
NPort 5400 Series User’s Manual Web Console Configuration Port alias Setting 1 to 15 characters Factory Default Necessity None Optional (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.
NPort 5400 Series User’s Manual Web Console Configuration Interface Setting Factory Default Necessity NPort 5410: RS-232 only NPort 5410: RS-232 Required NPort 5430: NPort 5430: RS-485 2-wire Required NPort 5450: RS-232 Required 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.
NPort 5400 Series User’s Manual Web Console Configuration TCP alive check time Setting Factory Default 0 to 99 min 7 min 0 min: TCP connection is not closed due to an idle TCP connection. Necessity Optional 1 to 99 min: The NPort automatically closes TCP connection if there is no TCP activity for the given time. After the connection is closed, the NPort starts listening for another Real COM driver’s connection from another host.
NPort 5400 Series User’s Manual Web Console Configuration 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. Set to 0 if you do not need to limit the length.
NPort 5400 Series User’s Manual Web Console Configuration 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.
NPort 5400 Series User’s Manual Web Console Configuration 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.
NPort 5400 Series User’s Manual Web Console Configuration Delimiter 1 Setting 00 to FF Delimiter 2 Setting Factory Default Necessity None Optional Factory Default Necessity 00 to FF None Optional 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. ATTENTION Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
NPort 5400 Series User’s Manual Web Console Configuration 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. The NPort’s serial communication buffer size is 1K bytes per port.
NPort 5400 Series User’s Manual Web Console Configuration TCP alive check time Setting Factory Default 0 to 99 min 7 min 0 min: TCP connection is not closed due to an idle TCP connection. Necessity Optional 1 to 99 min: The NPort automatically closes the TCP connection if there is no TCP activity for the given time. Inactivity time Setting Factory Default 0 to 65535 ms 0 ms 0 ms: TCP connection is not closed due to an idle serial line.
NPort 5400 Series User’s Manual Web Console Configuration 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 Factory Default None Necessity Optional Delimiter 2 Setting Factory Default Necessity 00 to FF None Optional 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. ATTENTION Delimiter 2 is optional.
NPort 5400 Series User’s Manual Web Console Configuration 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. The serial communication buffer size of the NPort is 1 Kbytes per port.
NPort 5400 Series User’s Manual Web Console Configuration Connect/Disconnect Description Startup/None (default) A TCP connection will be established on startup, and will remain active indefinitely. Any Character/None A TCP connection will be established when any character is received from the serial interface, and will remain active indefinitely.
NPort 5400 Series User’s Manual Web Console Configuration Delimiter 2 Setting Factory Default Necessity 00 to FF None Optional 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. ATTENTION Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
NPort 5400 Series User’s Manual Web Console Configuration Destination IP address 1 Setting Factory Default Necessity IP address range Begin: Empty Required E.g., End: Empty Port: 4001 Begin: 192.168.1.1 End: 192.168.1.10 Destination IP address 2/3/4 Setting Factory Default Necessity IP address range Begin: Empty Optional E.g., End: Empty Port: 4001 Begin: 192.168.1.11 End: 192.168.1.
NPort 5400 Series User’s Manual Web Console Configuration TCP alive check time Setting Factory Default 0 to 99 min 7 min 0 min: TCP connection is not closed due to an idle TCP connection. Necessity Required 1 to 99 min: The NPort 5400 closes the TCP connection automatically if there is no TCP activity for the given time. Destination IP address Setting Factory Default Necessity IP address or Domain Name blank Optional (E.g., 192.168.1.1) TCP port No.
NPort 5400 Series User’s Manual Web Console Configuration Reverse Telnet Mode TCP alive check time Setting Factory Default Necessity 0 to 99 min 0 Optional Specifies the time slice for checking if the TCP connection is alive. If no response, the NPort 5400 will disconnect the original connection. Inactivity time Setting Factory Default 0 to 65535 ms 0 Idle time setting for auto-disconnection. 0 min. means it will never disconnect.
NPort 5400 Series User’s Manual Web Console Configuration 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. Accessible IP Settings allows you to add or remove “Legal” remote host IP addresses to prevent unauthorized access.
NPort 5400 Series User’s Manual Web Console Configuration 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 Input format Disable 192.168.1.120 / 255.255.255.255 192.168.1.0 / 255.255.255.0 192.168.0.0 / 255.255.0.0 192.168.1.0 / 255.255.255.128 192.168.1.128 / 255.255.255.
NPort 5400 Series User’s Manual Web Console Configuration 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 SNMP trap server IP or domain name Setting IP or Domain Name Factory Default None Necessity Optional Event Type Cold start This refers to starting the system from power off (contrast this with warm start).
NPort 5400 Series User’s Manual Web Console Configuration 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. DCD changed The DCD (Data Carrier Detect) signal has changed, also indicating that the modem connection status has changed.
NPort 5400 Series User’s Manual Web Console Configuration 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. Monitor Async-Settings Click on Async Setting under Monitor to show the run-time settings for each of the four serial ports.
NPort 5400 Series User’s Manual Web Console Configuration 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.
6 Chapter 6 Configuring NPort Administrator 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 COM Mapping ¾ On-line COM Mapping ¾ Off-line COM Mapping IP Address Report Log Message Automatically
NPort 5400 Series User’s Manual Configuring NPort Administrator 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.
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.
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.
NPort 5400 Series User’s Manual 7. Configuring NPort Administrator Click on Finish to complete the installation of NPort 5400 Administration Suite. Configuration The Administrator-Configuration window is divided into four parts. y y y y The top section contains the function list and online help area. (Windows NT does not support this .chm file format.) The five Administrator function groups are listed in the left section.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. 1. Click the Search icon.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. When using Broadcast Search to obtain a list of NPort device servers on the network, each device server will show a status of either Lock, Unlock or Blank.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. 4. The “Lock” status will change to “Unlock,” and the Administrator utility will keep this NPort 5400 in the Unlock status throughout this Administrator session.
NPort 5400 Series User’s Manual Configuring NPort Administrator 1. To start NPort Administrator, click on Start Æ NPort Administration Suite Æ NPort 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. 3. The progress bar shows that Administrator is retrieving configuration information from the specific NPort 5400.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. 5. You will now be able to modify Time Zone, Local Date, Local Time, and Time Server. ATTENTION You can simultaneously modify the configurations of multiple NPort 5400s that are of the same model.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. Upgrading the Firmware Follow these steps to upgrade the firmware of an NPort 5400. 1. To start NPort Administrator, click on Start Æ NPort Administration Suite Æ NPort Administrator. 2.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. Monitor Use one of the following two methods to start the Monitor function. Broadcast Search Æ Monitor Æ Add Target 1.
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.
NPort 5400 Series User’s Manual 4. Configuring NPort Administrator 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. Once the Monitor function is running: 1. The NPort 5400 list will appear on the Monitor screen.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. 4. Select a Refresh Rate (the default is 3 seconds) on the General Settings page.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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” or “Not Alive,” or has lost connection with the Monitor program. 6. Right click in the NPort 5400 list section and select Go to start monitoring the NPort 5400.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. 10. If the NPort 5400 gets reconnected, a warning will be displayed to remind the user that the NPort 5400 is now “Alive.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. Select or de-select Monitor Items. Use the single arrowhead buttons to move highlighted items from one box to the other.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. The first way is with On-line COM Mapping. On-line COM Mapping will check to make sure that the NPort 5400 is connected correctly to the network, and then install the driver on the host computer.
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. 5. Select COM Settings to modify COM No., default setting, etc.
NPort 5400 Series User’s Manual 6. Configuring NPort Administrator 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”.
NPort 5400 Series User’s Manual • • 8. Configuring NPort Administrator 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. In order to accommodate other applications that require a faster response time, the new NPort driver implements a new “Fast Flush” option.
NPort 5400 Series User’s Manual 9. Configuring NPort Administrator 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. 10. Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. Off-line COM Mapping 1. Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort 5400 to the network.
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.
NPort 5400 Series User’s Manual Configuring NPort Administrator 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. The IP location server is the host PC on which you installed the NPort Adminustration Suite. 1. Configure the NPort 5400 with Dynamic IP settings (DHCP, BOOTP, or DHCP/BOOTP).
NPort 5400 Series User’s Manual 4. Configuring NPort Administrator 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. Accordingly, NPort Administrator keeps a record of activity messages in the Message Log, located in the installation file directory.
7 Chapter 7 The following topics are covered in this chapter: Overview IP Serial LIB Function Groups Example Program IP Serial LIB
NPort 5400 Series User’s Manual IP Serial LIB 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. For example, Telnet can only transfer data, but it can't monitor or configure the serial line's parameters.
NPort 5400 Series User’s Manual IP Serial LIB IP Serial LIB Function Groups Server Control Port Control nsio_init nsio_end nsio_resetserver nsio_checkalive nsio_open nsio_close nsio_ioctl nsio_flowctrl nsio_DTR nsio_RTS nsio_lctrl nsio_baud nsio_resetport Input/Output Data Port Status Inquiry nsio_read nsio_lstatus nsio_SetReadTimeouts nsio_data_status nsio_write nsio_SetWriteTimeouts Miscellaneous nsio_break nsio_break_on nsio_break_off nsio_breakcount Example Program char NPortip=”192.168.1.
A Appendix A Pinouts and Cable Wiring In this appendix, we cover the following topics.
NPort 5400 Series User’s Manual Pinouts and Cable Wiring 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 A-2
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 A-3
NPort 5400 Series User’s Manual Pinouts and Cable Wiring DB9 Female to DB25 Male for NPort 5410 A-4
B Appendix B Well Known Port Numbers 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. The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports. The Well Known Ports are those from 0 through 1023.
NPort 5400 Series User’s Manual Well Known Port Numbers 49 (Login Host Protocol) (Login) 53 Domain Name Server (domain) 79 Finger protocol (Finger) 80 World Wide Web HTTP 119 Network News Transfer Protocol (NNTP) 123 Network Time Protocol 213 IPX 160 – 223 Reserved for future use UDP Socket Application Service 0 reserved 2 Management Utility 7 Echo 9 Discard 11 Active Users (systat) 13 Daytime 35 Any private printer server 39 Resource Location Protocol 42 Host name serve
C Appendix C SNMP Agents with MIB II & RS-232 like group 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.
NPort 5400 Series User’s Manual System MIB SysServices SNMP Agents Interfaces MIB IP MIB ICMP MIB ifInUnknownProtos ipReasmFails IcmpOutTimeExcds ifOutOctets ipFragOKs IcmpOutParmProbs ifOutUcastPkts ipFragFails IcmpOutSrcQuenchs ifOutNUcastPkts ipFragCreates IcmpOutRedirects ifOutDiscards ipAdEntAddr IcmpOutEchos ifOutErrors ipAdEntIfIndex IcmpOutEchoReps ifOutQLen ipAdEntNetMask IcmpOutTimestamps ifSpecific ipAdEntBcastAddr IcmpOutTimestampReps ipAdEntReasmMaxSize IcmpOutAddrM
NPort 5400 Series User’s Manual SNMP Agents Address Translation MIB AtNetAddress TCP MIB SNMP MIB tcpRetransSegs snmpInTotalSetVars tcpConnState snmpInGetRequests tcpConnLocalAddress snmpInGetNexts tcpConnLocalPort snmpInSetRequests tcpConnRemAddress snmpInGetResponses tcpConnRemPort snmpInTraps tcpInErrs snmpOutTooBigs tcpOutRsts snmpOutNoSuchNames snmpOutBadValues snmpOutGenErrs snmpOutGetRequests snmpOutGetNexts snmpOutSetRequests snmpOutGetResponses snmpOutTraps snmpEnableAuthenTraps
D Appendix D Auto IP Report Protocol 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. The NPort will use this IP address for a period of time after receiving it.
NPort 5400 Series User’s Manual Auto IP Report Protocol Auto IP Report Format “MOXA”, 4 bytes Info[0] Info[1] … Info[n] Info [n] Field ID Length Data Length 1 1 Variable, Length is “Length Field” ID List ID Value Description Length Note 1 2 3 Server Name Hardware ID MAC Address Variable 2 6 ASCII char Little-endian 4 5 6 7 8 Serial Number IP Address Netmask Default Gateway Firmware Version 4, 4, 4, 4, 4, 9 AP ID 6 bytes MAC address.
E 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.
NPort 5400 Series User’s Manual Service Information 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. The following services are provided E-mail for technical support................................support@moxa.com World Wide Web (WWW) Site for product information: .................
NPort 5400 Series User’s Manual Service Information Problem Report Form MOXA NPort 5400 Series Customer name: Company: Tel: Fax: Email: Date: 1. MOXA Product: NPort 5410 NPort 5450 2. Serial Number: NPort 5430 NPort 5430I NPort 5450I _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see.
NPort 5400 Series User’s Manual Service Information 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. Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer.