NPort 5600 Series User’s Manual Seventh Edition, July 2006 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.
NPort 5600 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 © 2006 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 Overview ............................................................................................................................ 1-2 Package Checklist .............................................................................................................. 1-2 Product Features......................................................................................
UDP Mode ............................................................................................................ 5-23 Pair Connection Mode .......................................................................................... 5-25 Reverse Telnet Mode ............................................................................................ 5-27 Disabled Mode ...................................................................................................... 5-28 RFC2217 Mode....................
Appendix C SNMP Agent with MIB II & RS-232 Like Group .................................... C-1 Appendix D Auto IP Report Protocol......................................................................... D-1 Appendix E Service Information ................................................................................ E-1 MOXA Internet Services .................................................................................................... E-2 Problem Report Form.....................................
1 Chapter 1 Introduction The MOXA NPort 5600 Series of advanced serial device servers make it easy to network-enable your serial devices. The NPort 5600 Series includes 8 models: NPort 5610-16, NPort 5610-8 (8 or 16 RS-232 ports, with AC power), NPort 5610-16-48V, NPort 5610-8-48V (8 or 16 RS-232 ports, with DC power), NPort 5630-16, NPort 5630-8 (8 or 16 RS-422/485 ports, with AC power), and NPort 5650-16, NPort 5650-8 (8 or 16 RS-232/422/285 ports, with AC power).
NPort 5600 Series User’s Manual Getting Started Overview The NPort 5600 Series serial device servers are designed to make your industrial serial devices Internet ready instantly.
NPort 5600 Series User’s Manual Getting Started Product Specifications LAN Ethernet Protection Optical Fiber Distance Min. TX Output Max. TX Output Sensitivity NPort 5610 Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection NPort 5630 Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection RS-485 Data Direction NPort 5650 Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection 10/100 Mbps, RJ45 Built-in 1.
NPort 5600 Series User’s Manual Getting Started Advanced Built-in Features HMI LCM display with four push buttons Buzzer Real-Time Clock Watch Dog Timer 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 (Excluded NPort 5630) Transmission Speed 50 bps to 921.
2 Chapter 2 Getting Started This chapter includes information about installing NPort 5600 Series.
NPort 5600 Series User’s Manual Initial IP Address Configuration Panel Layout The following figures depict the front and rear panels of the NPort 5600 series.
NPort 5600 Series User’s Manual Initial IP Address Configuration Connecting the Hardware This section describes how to connect NPort 5600 Series to serial devices for first time testing purposes. We cover Wiring Requirements, Connecting NPort 5610/30/50-16/8’s Power, Connecting NPort 5610-16/8-48V’s Power, Grounding NPort 5610-16/8-48V, Connecting to the Network, Connecting to a Serial Device, and LED Indicators.
NPort 5600 Series User’s Manual Initial IP Address Configuration 1. Loosen the screws on the V+ and V- terminals of NPort 5610-16/8-48V’s terminal block. V+ V- 2. Connect the power cord’s 48 VDC wire to the terminal block’s V+ terminal, and the power cord’s DC Power Ground wire to the terminal block’s V- terminal, and then tighten the terminal block screws. (Note: NPort 5610-16/8-48V can still operate even if the DC 48V and DC Power Ground are reversed.
NPort 5600 Series User’s Manual Initial IP Address Configuration Connecting to a Serial Device Connect the serial data cable between NPort 5600 and the serial device. LED Indicators The front panels of NPort 5600 have several LED indicators, as described in the following table. LED Name LED Color off red LED Function Power is off, or power error condition exists. Steady on: Power is on and NPort is booting up. Blinking: Ready Indicates an IP conflict, or DHCP or BOOTP server did not respond properly.
NPort 5600 Series User’s Manual Initial IP Address Configuration To set a termination resistor to 150 KΩ, make sure both of the assigned DIP switches are in the OFF position. This is the default setting. To set a termination resistor to 1 KΩ, make sure both of the assigned DIP switches are in the ON position. ATTENTION Do not use the 1 KΩ setting on the NPort 5650 when using the RS-232 interface. Doing so will degrade the RS-232 signals and shorten the maximum allowed communication distance.
3 Chapter 3 Initial IP Address Configuration When setting up your NPort 5600 for the first time, the first thing you should do is configure the IP address. This chapter introduces several methods to configure NPort’s IP address. Select the method that is the most convenient for you. For more details about network settings, see the Network Settings section from Chapter 5, Web Console Configuration.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode Initializing 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 NPort is used in a Static IP environment, you can use NPort Administration Suite, ARP, Web Console, or Telnet Console to configure the new IP address. 3.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode There are four push buttons on NPort’s nameplate.
NPort 5600 Series User’s Manual Level 1 Main Menu Level 2 Choosing the Proper Operation Mode Level 3 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 Baudrate 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 Cons
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode Parity attribute under Serial set 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. P a r i N O n e t Y ↓ Press the down cursor button once to see Odd as the second option.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode Take the following steps to use ARP to configure the IP address: 1. 2. 3. Obtain a valid IP address for your NPort from your network administrator. Obtain the NPort’s MAC address from the label on its bottom panel. 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 5600 Series User’s Manual Choosing the Proper Operation Mode 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 5600 Series User’s Manual Choosing the Proper Operation Mode 7. Press any key to continue… 8. Type m or M and then press Enter to return to the main menu. 9. Type s or S and then press Enter to Save/Restart the system.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode 10. Type y or Y and then press Enter to save the new IP address and restart NPort.
4 Chapter 4 Choosing the Proper Operation Mode In this chapter, we describe the various NPort 5600 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 5600 Series User’s Manual Web Console Configuration Overview NPort Device Servers network-enable traditional RS-232/422/485 devices, in which a Device Server is a tiny computer equipped with a CPU, real-time OS, and TCP/IP protocols that can bi-directionally translate data between the serial and Ethernet formats. Your computer can access, manage, and configure remote facilities and equipment over the Internet from anywhere in the world.
NPort 5600 Series User’s Manual Web Console Configuration 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. The driver intercepts data sent to the host’s COM port, packs it into a TCP/IP packet, and then redirects it through the host’s Ethernet card.
NPort 5600 Series User’s Manual Web Console Configuration TCP Client Mode In TCP Client mode, NPort can actively establish a TCP connection to a pre-defined host computer when serial data arrives. TCP Client Mode After the data has been transferred, 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. 2.
NPort 5600 Series User’s Manual Web Console Configuration Reverse Telnet Mode Unix Windows NT TCP/IP Telnet NPort 5600 Series 5610-16 RS-232 Router Server Server 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.
NPort 5600 Series User’s Manual Web Console Configuration PPP Mode NPort 5600 Device Server supports standard PPP service for out-of-band management if the Ethernet network crashes. The PPP function enables dial-in access for users who need a remote access solution. When a user at a remote site uses PPP dial-in to connect to NPort 5600, NPort 5600 plays the role of a dial-in server. After the PPP connection is established, the user can remotely manage the NPort 5600.
5 Chapter 5 Web Console Configuration The Web Console is the most user-friendly method available to configure NPort 5600 Series. This chapter will introduce the Web Console function groups and function definitions. The figures in this chapter were borrowed from the manual for NPort 5200, which uses the same Web Console user interface as NPort 5600.
NPort 5600 Series User’s Manual Configuring NPort Administrator Opening Your Browser 1. Open your browser with the cookie function enabled. (To enable your browser for cookies, right click your desktop Internet Explorer icon, select Properties, click 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.
NPort 5600 Series User’s Manual 4. Configuring NPort Administrator The NPort 5600 homepage will open. On this page, you can see a brief description of the Web Console’s nine function groups. ATTENTION If you can’t remember the password, the ONLY way to start configuring NPort is to load factory defaults by using the Reset button located near the NPort’s RJ45 Ethernet port. Remember to use NPort Administrator to export the configuration file when you have finished the configuration.
NPort 5600 Series User’s Manual Configuring NPort Administrator Server name Setting Factory Default Necessity 1 to 39 characters NP[model name]-[Port No.]_ [Serial No.] Optional This option is useful for specifying the location or application of different NPorts. Time NPort 5600 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. ATTENTION First time users should select the time zone first.
NPort 5600 Series User’s Manual Configuring NPort Administrator Console The “Disable” option for Web Console and Telnet Console is included for security reasons. In some cases, you may want to Disable one or both of these Console utilities as an extra precaution to prevent unauthorized users from accessing your NPort. The factory default for both Web Console and Telnet Console is Enable.
NPort 5600 Series User’s Manual Configuring NPort Administrator Method Function Definition Static User defined IP address, Netmask, Gateway. DHCP DHCP Server assigned IP address, Netmask, Gateway, DNS, and Time Server DHCP/BOOTP DHCP Server assigned IP address, Netmask, Gateway, DNS, and Time Server, or BOOTP Server assigned IP address (if the DHCP Server does not respond) BOOTP BOOTP Server assigned IP address IP Address Setting Factory Default Necessity E.g., 192.168.1.
NPort 5600 Series User’s Manual Configuring NPort Administrator ATTENTION In Dynamic IP environments, the firmware will retry 3 times every 30 seconds until network settings are assigned by the DHCP or BOOTP server. The Timeout for each try increases from 1 second, to 3 seconds, to 5 seconds. If the DHCP/BOOTP Server is unavailable, the firmware will use the default IP address (192.168.127.254), Netmask, and Gateway for IP settings. DNS server 1 / DNS server 2 Setting E.g., 192.168.1.
NPort 5600 Series User’s Manual Configuring NPort Administrator IP Address Report When NPort 5600 series products are used in a dynamic IP environment, users must spend more time with IP management tasks. For example, if NPort works as a server (TCP or UDP), then the host, which acts as a client, must know the IP address of the server. If the DHCP server assigns a new IP address to NPort, the host must have some way of determining NPort’s new IP address.
NPort 5600 Series User’s Manual Configuring NPort Administrator Serial Settings Click Serial Settings, located under Main Menu, to display serial port settings for ports 1 and 2. NOTE: Since this figure was borrowed from the manual of NPort 5200, which has only 2 RS-232 ports, there are only 2 ports shown in this figure. Once you have completed the hardware installation of NPort 5600, there should be either 16 or 8 ports shown in the figure, depending on the model you installed.
NPort 5600 Series User’s Manual Configuring NPort Administrator Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual. You should set up NPort’s serial parameters with the same communication parameters used by your serial devices. Baudrate Setting 50 bps to921.6 Kbps Data bits Setting Factory Default Necessity 115.
NPort 5600 Series User’s Manual Configuring NPort Administrator Operating Settings Click Operating Settings located under Main Menu, to display the operating settings for all of NPort’s serial ports. Real COM Mode 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: NPort automatically closes TCP connection if there is no TCP activity for the given time.
NPort 5600 Series User’s Manual Configuring NPort Administrator Max connection Setting 1, 2, 3, 4 Factory Default Necessity 1 Required Max connection is usually used when the user needs to receive data from different hosts simultaneously. The factory default is 1. In this case, only one specific host can access this port of the NPort, and the Real COM driver on that host will have full control over the port. Max.
NPort 5600 Series User’s Manual Configuring NPort Administrator Packing length Setting 0 to 1024 Factory Default Necessity 0 Required 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 5600 Series User’s Manual Configuring NPort Administrator This parameter defines the time interval during which NPort fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort stores the data in the internal buffer. NPort transmits data stored in the buffer via TCP/IP, but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout.
NPort 5600 Series User’s Manual Configuring NPort Administrator Inactivity time Setting Factory Default 0 to 65535 ms 0 ms 0 ms: TCP connection is not closed due to an idle serial line. Necessity Optional 0-65535 ms: NPort automatically closes the TCP connection if there is no serial data activity for the given time. After the connection is closed, NPort starts listening for another host’s TCP connection. This parameter defines the maintenances status as Closed or Listen on the TCP connection.
NPort 5600 Series User’s Manual Configuring NPort Administrator Allow driver control Setting Factory Default Necessity No or Yes No Required If “max connection” is greater than 1, NPort will ignore driver control commands from all connected hosts. However, if you set “Allow driver control” to YES, control commands will be accepted. Note that since NPort 5200 may get configuration changes from multiple hosts, the most recent command received will take precedence.
NPort 5600 Series User’s Manual Configuring NPort Administrator Force transmit Setting 0 to 65535 ms 0: Disable the force transmit timeout. Factory Default Necessity 0 ms Optional 1 to 65535: Forces the NPort’s TCP/IP protocol software to try to pack serial data received during the specified time into the same data frame. This parameter defines the time interval during which NPort fetches the serial data from its internal buffer.
NPort 5600 Series User’s Manual Configuring NPort Administrator TCP Client Mode 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: 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 5600 Series User’s Manual Configuring NPort Administrator ATTENTION Inactivity time is ONLY active when “TCP connect on” is set to “Any character.
NPort 5600 Series User’s Manual Configuring NPort Administrator ATTENTION Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1 KB, the Nport will automatically pack the data and send it to the 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 5600 Series User’s Manual Configuring NPort Administrator Destination IP address 1 Setting IP address or Domain Address Factory Default Necessity None Required (E.g., 192.168.1.1) Allows NPort to connect actively to the remote host whose address is set by this parameter. Destination IP address 2/3/4 Setting IP address or Domain Address Factory Default Necessity None Optional (E.g., 192.168.1.1) Allows NPort to connect actively to the remote host whose address is set by this parameter.
NPort 5600 Series User’s Manual Configuring NPort Administrator 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 5600 Series User’s Manual Configuring NPort Administrator UDP Mode Packing length Setting Factory Default Necessity 0 to 1024 0 Required 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 5600 Series User’s Manual Configuring NPort Administrator ATTENTION Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1 KB, the NPort will automatically pack the data and send it to the 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 5600 Series User’s Manual Configuring NPort Administrator Local listen port Setting Factory Default Necessity 1 to 65535 4001 Required The UDP port that NPort listens to, and that other devices must use to contact NPort. To avoid conflicts with well known UDP ports, the default is set to 4001. Pair Connection Mode Pair Connection Mode employs two NPort 5600 device servers in tandem, and can be used to remove the 15-meter distance limitation imposed by the RS-232 interface.
NPort 5600 Series User’s Manual Configuring NPort Administrator Destination IP address Setting Factory Default Necessity IP address or Domain Name blank Optional (E.g., 192.168.1.1) TCP port No. 4001 Required The Pair Connection “Master” will contact the network host that has this IP address. Data will be transmitted through the port No. (4001 by default). Note that you must configure the same TCP port No. for the device server acting as the Pair Connection “Slave.
NPort 5600 Series User’s Manual Configuring NPort Administrator 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 there is no response, NPort 5600 series will disconnect the original connection. Inactivity time Setting Factory Default Necessity 0 to 65535 ms 0 Optional Idle time setting for auto-disconnection. 0 min. means it will never disconnect.
NPort 5600 Series User’s Manual Configuring NPort Administrator Disabled Mode When Operation mode is set to Disabled, that particular port will be disabled. Select the Apply the above settings to all serial ports option to apply this setting to the other ports. RFC2217 Mode TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Optional 0 min: TCP connection is not closed due to an idle TCP connection.
NPort 5600 Series User’s Manual Configuring NPort Administrator Packing length Setting Factory Default Necessity 0 to 1024 0 Optional 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 5600 Series User’s Manual Configuring NPort Administrator This parameter defines the time interval during which NPort 5600 fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort 5600 stores the data in the internal buffer. NPort 5600 transmits data stored in the buffer via TCP/IP, but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout.
NPort 5600 Series User’s Manual Configuring NPort Administrator Incoming PAP check Setting Factory Default Yes or No No Depends on whether the remote user's application requests PAP check. Source IP address Setting Factory Default Source IP address Necessity Optional Necessity Required Destination IP address Setting Factory Default Destination IP address Designation IP address is IP address of remote dial-in server.
NPort 5600 Series User’s Manual Configuring NPort Administrator y Only one host with a specific IP address can access the NPort Enter “IP address/255.255.255.255” (e.g., “192.168.1.1/255.255.255.255”). y Hosts on a specific subnet can access the NPort Enter “IP address/255.255.255.0” (e.g., “192.168.1.0/255.255.255.0”). y Any host can access the NPort Disable this function. Refer to the following table for more details about the configuration example. Allowable Hosts Any host 192.168.1.120 192.168.1.
NPort 5600 Series User’s Manual Configuring NPort Administrator Auto Warning Settings Auto warning: E-mail and SNMP Trap Mail Server Mail server Setting IP or Domain Name User name Setting 1 to 15 characters Password Setting 1 to 15 characters From E-mail address Setting 1 to 63 characters E-mail address 1/2/3/4 Setting 1 to 63 characters Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity None O
NPort 5600 Series User’s Manual Configuring NPort Administrator SNMP Trap Server SNMP trap server IP or domain name Setting IP or Domain Name Factory Default Necessity None Optional Event Type Cold start This refers to starting the system from power off (contrast this with warm start). When performing a cold start, NPort will automatically issue an Auto warning message by e-mail, or send an SNMP trap after booting up. Warm start This refers to restarting the computer without turning the power off.
NPort 5600 Series User’s Manual Configuring NPort Administrator DCD changed The DCD (Data Carrier Detect) signal has changed, also indicating that the modem connection status has changed. 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 5610 will immediately send an e-mail or send an SNMP trap.
NPort 5600 Series User’s Manual Configuring NPort Administrator Monitor Monitor Line Click Line under Monitor to show the operation mode and status of each connection (IPx), for each of the four serial ports. Monitor Async Click Async under Monitor to show the current status of each of the four serial ports.
NPort 5600 Series User’s Manual Configuring NPort Administrator Monitor Async-Settings Click Async Setting under Monitor to show the run-time settings for each of the four serial ports. 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.
NPort 5600 Series User’s Manual Configuring NPort Administrator Load Factory Defaults This function will reset all of NPort’s settings to their factory default values. Be aware that previous settings will be lost.
6 Configuring NPort Administrator Chapter 6 NPort Administrator and Web Console are two powerful tools that can be used to configure the settings of your NPorts. Choose the method that is most convenient for you. Note that this chapter uses NPort 5230 as an example to introduce the installation and configuration of NPort Administration Suite. The functions and definitions are the same as for NPort 5600.
NPort 5600 Series User’s Manual IP Serial LIB Overview NPort Administrator lets you easily install and configure your NPort 5600 Series product over the network. NPort Administrator provides five function groups that ease the installation process, allow off-line COM mapping, and provide monitoring and IP location server functions.
NPort 5600 Series User’s Manual IP Serial LIB 3. Click Next to install the program using the default program name, or select a different name. 4. Click Install to proceed with the installation. 5. The Installing window reports the progress of the installation.
NPort 5600 Series User’s Manual IP Serial LIB 6. Read through the installation notes and then click Next to proceed. 7. Click Finish to complete the installation of NPort Administration Suite.
NPort 5600 Series User’s Manual IP Serial LIB 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. A list of NPort 5600 serial device servers, each of which can be selected to process user requirements, is displayed in the right section.
NPort 5600 Series User’s Manual IP Serial LIB Broadcast Search The Broadcast Search function is used to locate all NPorts that are connected to the same LAN as your computer. 1. Since the Broadcast Search function searches by MAC address and not IP address, all NPorts connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host. 2.
NPort 5600 Series User’s Manual 3. IP Serial LIB When the search is complete, the Broadcast Search window closes, and the NPorts that were located are displayed in the right pane of the Administrator window. For the example shown here, NPort Administrator found 4 NPort Serial Device Servers on the LAN. As you can see, 2 of the 4 NPorts have password protection, which is indicated by Lock under Status.
NPort 5600 Series User’s Manual IP Serial LIB 2. Instead, select an NPort with “Lock” status, right click the locked NPort, and then select the Unlock button. 3. After entering the correct password, the Administrator will display a message box as shown here. The NPort is now unlocked.
NPort 5600 Series User’s Manual 4. IP Serial LIB The previous “Lock” status will switch to “Unlock” status. Administrator will keep this NPort in the Unlock status throughout this Administrator session. The six states are as follows (note that the term Fixed is borrowed from the standard fixed IP address networking terminology): Lock The NPort is password protected, “Broadcast Search” was used to locate it, and the password has not yet been entered from within the current Administrator session.
NPort 5600 Series User’s Manual IP Serial LIB Configuring NPort 5600 1. 2. To start NPort Administrator, click Start Æ NPort Administration Suite Æ NPort Administrator. Input the password to Unlock the NPort. Right click a specific NPort and select configure to start the configuration. 3. The progress bar shows that Administrator is retrieving configuration information from the specific NPort.
NPort 5600 Series User’s Manual 4. IP Serial LIB 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.
NPort 5600 Series User’s Manual IP Serial LIB ATTENTION You can simultaneously modify the configurations of multiple NPort 5600s that are of the same model. To select multiple NPort 5600s, hold down the Ctrl key when selecting additional NPort 5600s, or hold down the Shift key to select a group of NPort 5600s. Upgrading Firmware 1. Input the password to Unlock the NPort, and then right click a specific NPort and select the Upgrade Firmware function to start upgrading the firmware. 2.
NPort 5600 Series User’s Manual 3. IP Serial LIB Wait patiently while the Upgrade Firmware action is being processed. ATTENTION You can simultaneously upgrade the firmware of multiple NPort 5600s that are of the same model. To select multiple NPort 5600s, hold down the Ctrl key when selecting an additional NPort 5600, or hold down the Shift key to select a block of NPort 5600s. Export/Import 1.
NPort 5600 Series User’s Manual 2. IP Serial LIB The Import Configuration function is used to import an NPort configuration from a file into one or more of the same model NPort. To import a configuration, first select the target servers (use the left mouse button to select servers; simply hold down the Ctrl key when selecting the second, third, etc., NPort). ATTENTION You can simultaneously import the same configuration file into multiple NPort 5600s that are of the same model.
NPort 5600 Series User’s Manual 4. Click Monitor. 5. Select Add Target. IP Serial LIB When you select add target, you will see an NPort list that looks the same as when using Configuration Æ Broadcast Search. 6. Check the NPort you would like to Monitor, and then click OK.
NPort 5600 Series User’s Manual IP Serial LIB 7. The NPort list will now appear on the Monitor screen. 8. Right click the panel and select Settings. 9. 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.
NPort 5600 Series User’s Manual IP Serial LIB 10. Select a Refresh Rate (the default is 3 seconds). 11. Select Display warning message for new event 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 5600s in the monitor is “Alive” or “Not Alive,” or has lost connection with the Monitor program.
NPort 5600 Series User’s Manual IP Serial LIB 12. Right click and select Go to start the Monitor. 13. For this example, the 5 NPorts shown in the list will be monitored. 14. When one of the NPorts loses connection with the Monitor program, a warning alert will display automatically. The warning music will be played at the same time.
NPort 5600 Series User’s Manual IP Serial LIB 15. In the Monitor screen, you can see that the “Not Alive” NPort is marked with red color. 16. Click the Alive column. The Monitor program will sort the NPort list and put all “Not Alive” NPorts at the top of the list. 17. If the NPort gets reconnected, a warning will be displayed to remind the user the NPort is now “Alive.” 18. The NPort that was reconnected, and is now “Alive,” will be shown in black color.
NPort 5600 Series User’s Manual IP Serial LIB Port Monitor 1. 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. 2. 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 from one box to the other.
NPort 5600 Series User’s Manual IP Serial LIB On-line COM Mapping 1. Broadcast Search for NPorts on the network. 2. Select the COM Mapping function group. 3. Add the target to which you would like to map COM ports. 4. The NPort list that appears is the list generated by the previous Broadcast Search. Select the NPort to which you would like to map COM ports.
NPort 5600 Series User’s Manual IP Serial LIB 5. Select COM Setting to modify COM No., default setting, etc. 6. Select the COM No. COM ports that are “In use” or “Assigned” will also be indicated in this drop-down list. If you select multiple serial ports or multiple NPorts, remember to check the “Auto Enumerating” function to use the COM No. you select as the first COM No. Hi-performance mode is the default for Tx mode.
NPort 5600 Series User’s Manual IP Serial LIB Fast Flush (only flush local buffer) We have added one optional Fast Flush function to Moxa’s new NPort Real COM driver. NPort Administrator Suite for 2G NPort adds it after version 1.2. For some applications, the user’s program will use the Win32 “PurgeComm()” function before it reads or writes data.
NPort 5600 Series User’s Manual IP Serial LIB 7. 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. 8. Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host. 9. To save the configuration to a text file, select Export COM Mapping.
NPort 5600 Series User’s Manual IP Serial LIB Off-line COM Mapping 1. Add a target by entering the IP address and selecting the Model Name without physically connecting the NPort to the network. 2. Select Apply change to effect the changes immediately.
NPort 5600 Series User’s Manual IP Serial LIB IP Location When NPort 5600 series products are used in a dynamic IP environment, users must spend more time with IP management tasks. NPort 5600 series products help out by periodically reporting their IP address to the IP location server, in case the dynamic IP has changed. y y Receive NPort’s IP location report Centralize NPort’s IP management in a dynamic IP environment. 1. Configure NPort with Dynamic IP settings.
NPort 5600 Series User’s Manual IP Serial LIB 6-27
7 Chapter 7 The following topics are covered in this chapter: Overview IP Serial LIB Function Groups Example Program IP Serial LIB
NPort 5600 Series User’s Manual Pinouts and Cable Wiring 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 5600 Series User’s Manual Pinouts and Cable Wiring 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.
A Appendix A Pinouts and Cable Wiring In this appendix, we cover the following topics.
NPort 5600 Series User’s Manual Well Known Port Numbers Port Pinout Diagrams Ethernet Port Pinouts Pin RS-232 1 2 3 6 Tx+ TxRx+ Rx- 1 8 Serial Port Pinouts RS-232 Port Pinouts for NPort 5610 Pin RS-232 1 2 3 4 5 6 7 8 DSR (in) RTS (out) GND TxD (out) RxD (in) DCD (in) CTS (in) DTR (out) 1 8 RS-422/485 Port Pinouts for NPort 5630 Pin 1 2 3 4 5 6 7 8 RS-422 4-wire RS-485 ----TxD+ TxDRxDRxD+ GND --- 2-wire RS-485 --------DataData+ GND --- 1 8 RS-232/422/485 Port Pinouts for NPort 5650 Pin R
NPort 5600 Series User’s Manual Well Known Port Numbers Cable Wiring Diagrams Ethernet Cables Straight-Through Cable RJ45 Plug Pin 1 Cable Wiring 3 6 1 2 3 6 1 2 Cross-Over Cable RJ45 Plug Pin 1 Cable Wiring 3 6 1 2 1 2 3 6 Serial Cables for NPort 5610/5650 (RS-232) RJ45 (8-pins) to Female DB9 RJ45 Port RJ45 Connector Female DB9 NPort 5610 NPort 5650 RS-232 Device Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR Male DB9 1 2 3 4 5 6 7 8 9 pins 4 8 5 2 3 1 7 6 A-3 DTR CTS GND RxD TxD DCD
NPort 5600 Series User’s Manual Well Known Port Numbers RJ45 (8-pins) to Male DB9 RJ45 Port RJ45 Connector Male DB9 NPort 5610 NPort 5650 RS-232 Device Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR Female DB9 1 2 3 4 5 6 7 8 9 pins 6 7 5 3 2 1 8 4 DTR CTS GND RxD TxD DCD RTS DSR Female DB25 Male DB25 RJ45 (8-pins) to Female DB25 RJ45 Port RJ45 Connector NPort 5610 NPort 5650 RS-232 Device Cable Wiring 8 pins DSR RTS GND TxD RxD DCD CTS DTR 1 2 3 4 5 6 7 8 25 pins 20 5 7 3 2 8 4 6
NPort 5600 Series User’s Manual Well Known Port Numbers Serial Cables for NPort 5630 (RS-422/4-wire RS-485) RJ45 (8-pins) to Female DB9 RJ45 Port RJ45 Connector Female DB9 RS-422/ 4-wire RS-485 Device NPort 5630 Cable Wiring 8 pins TxD+ TxDRxDRxD+ GND Male DB9 3 4 5 6 7 9 pins 5 2 3 1 7 RxD+ RxDTxDTxD+ GND RJ45 (8-pins) to Male DB9 RJ45 Port RJ45 Connector Male DB9 NPort 5630 Cable Wiring 8 pins TxD+ TxDRxDRxD+ GND Female DB9 RS-422/ 4-wire RS-485 Device 9 pins 5 3 2 1 8 RxD+ RxDTxDTxD+
NPort 5600 Series User’s Manual Well Known Port Numbers RJ45 (8-pins) to Male DB25 RJ45 Port RJ45 Connector Male DB25 RS-422/ 4-wire RS-485 Device NPort 5630 Cable Wiring 8 pins TxD+ TxDRxDRxD+ GND Female DB25 3 4 5 6 7 25 pins 7 2 3 8 5 RxD+ RxDTxDTxD+ GND Serial Cables for NPort 5630 (2-wire RS-485) RJ45 (8-pins) to Female DB9 RJ45 Port RJ45 Connector Female DB9 2-wire RS-485 Device NPort 5630 Cable Wiring 8 pins DataData+ GND Male DB9 5 6 7 9 pins 3 1 7 DataData+ GND RJ45 (8-pins)
NPort 5600 Series User’s Manual Well Known Port Numbers RJ45 (8-pins) to Male DB25 RJ45 Port RJ45 Connector Male DB25 2-wire RS-485 Device NPort 5630 Cable Wiring 8 pins DataData+ GND Female DB25 5 6 7 25 pins 3 8 5 DataData+ GND Serial Cables for NPort 5650 (RS-422/4-wire RS-485) RJ45 (8-pins) to Female DB9 RJ45 Port RJ45 Connector Female DB9 RS-422/ 4-wire RS-485 Device NPort 5650 Cable Wiring 8 pins TxD+ GND TxDRxD+ RxD- Male DB9 2 3 4 5 6 9 pins 8 5 2 3 1 RxD+ GND RxDTxD+ TxD- RJ
NPort 5600 Series User’s Manual Well Known Port Numbers RJ45 (8-pins) to Female DB25 RJ45 Port RJ45 Connector Female DB25 RS-422/ 4-wire RS-485 Device NPort 5650 Cable Wiring 8 pins TxD+ GND TxDRxD+ RxD- Male DB25 25 pins 5 7 3 2 8 2 3 4 5 6 RxD+ GND RxDTxD+ TxD- RJ45 (8-pins) to Male DB25 RJ45 Port RJ45 Connector Male DB25 RS-422/ 4-wire RS-485 Device NPort 5650 Cable Wiring 8 pins TxD+ GND TxDRxD+ RxD- Female DB25 25 pins 4 7 2 3 8 2 3 4 5 6 RxD+ GND RxDTxD+ TxD- Serial Cables for
NPort 5600 Series User’s Manual Well Known Port Numbers RJ45 (8-pins) to Female DB25 RJ45 Port RJ45 Connector Female DB25 Male DB25 2-wire RS-485 Device NPort 5650 Cable Wiring 8 pins GND Data+ Data- 3 5 6 25 pins 7 2 8 GND Data+ Data- RJ45 (8-pins) to Male DB25 RJ45 Port RJ45 Connector Male DB25 2-wire RS-485 Device NPort 5650 Cable Wiring 8 pins GND Data+ Data- Female DB25 3 5 6 25 pins 7 3 8 GND Data+ Data- Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male an
NPort 5600 Series User’s Manual Well Known Port Numbers Pin Assignments for DB25 Male and Female Connectors DB25 Male Connector 14 DTR (out) 20 25 1 2 TxD (out) 3 RxD (in) 4 RTS (out) 5 CTS (in) 6 DSR (in) 7 GND 8 DCD (in) DB25 Female Connector 1 RxD (in) 2 TxD (out) 3 CTS (in) 4 RTS (out) 5 DTR (out) 6 GND 7 DCD (in) 8 13 13 A-10 14 20 DSR (in) 25
B Appendix B Well Known Port Numbers In this appendix, which is included for your reference, we provide a list of Well Known port numbers that may cause network problems if you set NPort 5600 to one of these ports. Refer to RFC 1700 for Well Known port numbers, or 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 range from 0 through 1023.
NPort 5600 Series User’s Manual TCP Socket SNMP Agent with MIB II & RS-232 Like Group Application Service 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
C Appendix C SNMP Agent with MIB II & RS-232 Like Group NPort 5600 has built-in SNMP (Simple Network Management Protocol) agent software. It supports SNMP Trap, RFC1317 RS-232 like group and RFC1213 MIB-II. The following table lists the standard MIB-II group, as well as the variable implementation for NPort 5600.
NPort 5600 Series User’s Manual System MIB Auto IP Report Protocol Interfaces MIB IP MIB ICMP MIB ifOutQLen ipAdEntNetMask IcmpOutTimestamps ifSpecific ipAdEntBcastAddr IcmpOutTimestampReps ipAdEntReasmMaxSize IcmpOutAddrMasks IpNetToMediaIfIndex IcmpOutAddrMaskReps IpNetToMediaPhysAddress IpNetToMediaNetAddress IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB SNMP MIB UdpInDatagrams tcpRtoAlgorithm snmpInPkts UdpNoPorts tcpRtoMin snmpOutPkts UdpInErrors tcpRtoMax snmpInBadVersio
NPort 5600 Series User’s Manual Auto IP Report Protocol Address Translation MIB TCP MIB SNMP MIB snmpOutGetResponses snmpOutTraps snmpEnableAuthenTraps RFC1317: RS-232 MIB objects Generic RS-232-like Group RS-232-like General Port Table RS-232-like Asynchronous Port Group rs232Number rs232PortTable rs232AsyncPortTable rs232PortEntry rs232AsyncPortEntry rs232PortIndex rs232AsyncPortIndex rs232PortType rs232AsyncPortBits rs232PortInSigNumber rs232AsyncPortStopBits rs232PortOutSigNumber rs2
D Appendix D Auto IP Report Protocol 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. The NPort will use this IP address for a period of time after receiving it.
NPort 5600 Series User’s Manual Service Information And then you can develop your own programs to receive this information from the NPort. Here is NPort’s Auto IP Report Protocol. We provide an example for you to easily develop your own programs. You can find this example on MOXA’s website.
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 5600 Series User’s Manual Service Information MOXA Internet Services Customer satisfaction is our primary concern. 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.tw World Wide Web (WWW) Site for product information: .....................
NPort 5600 Series User’s Manual Service Information Problem Report Form MOXA NPort 5600 Series Customer name: Company: Tel: Fax: Email: Date: 1. 2.
NPort 5600 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.