NPort 5110 Series User’s Manual First Edition, December 2004 www.moxa.com/product Moxa Technologies Co., Ltd. Tel: Fax: Web: +886-2-8919-1230 +886-2-8919-1231 www.moxa.com MOXA Technical Support Worldwide: support@moxa.com.tw The Americas support@moxa.
NPort 5110 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 2004 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks MOXA is a registered trademark of Moxa Technologies Co., Ltd. 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 ...................................................
Chapter 6 Configuring Windows Administrator...................................................... 6-1 Chapter 7 IP Serial LIB .............................................................................................. 7-1 Appendix A Pinouts and Cable Wiring....................................................................... A-1 Appendix B Well Known Port Numbers ..................................................................... B-1 Appendix C SNMP Agents with MIB II & RS-232 Like Groups ..
1 Chapter 1 Introduction Welcome to NPort 5110, an advanced, 1-port RS-232 serial device server that makes it easy to network-enable your devices.
NPort 5110 Series User’s Manual Introduction Overview NPort 5110 serial device server is designed to make your industrial serial devices Internet ready instantly, and is well-suited for POS security market applications.
NPort 5110 Series User’s Manual Introduction Product Specifications LAN Ethernet 10/100 Mbps, RJ45 Protection Built-in 1.5 KV magnetic isolation NPort 5110 Serial Interface Interface RS-232 No.
2 Chapter 2 Getting Started This chapter includes information about installing NPort 5110.
NPort 5110 Series User’s Manual Getting Started Panel Layout NPort 5110 Rear Panel View RJ45 10/100M Ethernet port Reset button Power input Top Panel View RESET 9-30VDC 10/100M Ethernet DIN-Rail screw hole 5110 Serial Device Server Wallmount screw hole Ready Link Tx/Rx Port 1 RS-232 Front Panel View Male DB9 serial port Stick-on pad Connecting the Hardware This section describes how to connect NPort 5110 to serial devices for first time testing purposes.
NPort 5110 Series User’s Manual Getting Started Connecting to the Network Connect one end of the Ethernet cable to NPort 5110’s 10/100M Ethernet port and the other end of the cable to the Ethernet network. NPort 5110 will indicate a valid connection to the Ethernet in the following ways: ! The Ethernet LED maintains a solid green color when connected to a 100 Mbps Ethernet network. ! The Ethernet LED maintains a solid orange color when connected to a 10 Mbps Ethernet network.
3 Chapter 3 Initial IP Address Configuration When setting up your NPort 5110 for the first time, you should first configure the IP address. This chapter introduces the method to configure the device server’s IP address. For more details about network settings, see the Network Settings section from Chapter 5, Web Console Configuration.
NPort 5110 Series User’s Manual Initial IP Address Configuration Initializing NPort 5110’s IP Address 1. Determine whether your NPort 5110 needs to use a Static IP or Dynamic IP (either DHCP or BOOTP application). 2. If NPort 5110 is used in a Static IP environment, you can use NPort 5110 Administration Suite, ARP, Web Console, Telnet Console, or Serial Console to configure the new IP address. 3.
NPort 5110 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 5110 from your network administrator. 2. Obtain NPort 5110’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.
NPort 5110 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.
NPort 5110 Series User’s Manual Initial IP Address Configuration 6. Use the Backspace key to erase the current IP address, type in the new IP address, and then press Enter. 7. Press any key to continue.
NPort 5110 Series User’s Manual Initial IP Address Configuration 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 NPort 5110. Serial Console (19200, n, 8, 1) You may use the RS-232 console port to set up the IP address for NPort 5110.
NPort 5110 Series User’s Manual Initial IP Address Configuration 1. Connect NPort 5110’s serial port 1 directly to your computer’s male RS-232 serial port. 2. From the Windows desktop click on Start $ Programs $ PComm Lite $ Terminal Emulator. 3. When the PComm Terminal Emulator window opens, first click on the Port Manager menu item and select Open, or simply click on the Open icon. 4. The Property window opens automatically.
NPort 5110 Series User’s Manual Initial IP Address Configuration 8. Input the password when prompted. Note that this page will only appear when the NPort 5110 has been set up for password protection. 9. Start configuring the IP address under Network Settings. Refer to step 4 in the Telnet Console section for instructions on how to configure the rest of the IP settings.
4 Chapter 4 Choosing the Proper Operation Mode In this section, we describe the various NPort 5110 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 5110 Series User’s Manual Choosing the Proper Operation Mode Overview NPort 5110 Serial Device Servers are used to network-enable traditional RS-232 devices. A Serial Device Server is a tiny computer equipped with a CPU, real-time OS, and TCP/IP protocols that can bi-directionally transfer 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 5110 Series User’s Manual Choosing the Proper Operation Mode UDP Mode Compared to TCP communication, UDP is faster and more efficient. In UDP mode, you can unicast or multicast data from the serial device to one or multiple host computers, and the serial device can also receive data from one or multiple host computers, making this mode ideal for message display applications.
NPort 5110 Series User’s Manual Choosing the Proper Operation Mode Ethernet Modem Mode The Ethernet Modem operation mode is designed for use with legacy operating systems, such as MS-DOS, that do not support TCP/IP Ethernet. By connecting one NPort 5110’s serial port to the MS-DOS computer’s serial port, it is possible to use legacy software originally designed to transmit data via modem, but now transmit the data over the Ethernet.
5 Chapter 5 Web Console Configuration The Web Console is the most user-friendly method available to configure NPort 5110. This chapter introduces the Web Console function groups and function definitions.
NPort 5110 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 5110 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). 4. The NPort 5110 homepage will open. On this page, you can see a brief description of the Web Console’s nine function groups.
NPort 5110 Series User’s Manual Web Console Configuration Basic Settings Server name Setting Factory Default Necessity 1 to 39 characters [model name]_[Serial No.] Optional This option is useful for specifying the location or application of different NPort 5110s. Web/Telnet Console The “Disable” option for “Web Console” and “Telnet Console” is included for security reasons.
NPort 5110 Series User’s Manual Web Console Configuration Network Settings You must assign a valid IP address to NPort 5110 before it will work in your network environment. Your network system administrator should provide you with an IP address and related settings for your network. The IP address must be unique within the network (otherwise, NPort 5110 will not have a valid connection to the network). First time users can refer to Chapter 3, “Initial IP Address Configuration,” for more information.
NPort 5110 Series User’s Manual Web Console Configuration IP address Setting Factory Default Necessity E.g., 192.168.1.1 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 address 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 5110 Series User’s Manual Web Console Configuration connect to the web server. DNS is the way that Internet domain names are identified and translated into IP addresses. A domain name is an alphanumeric name, such as moxa.com, that it is usually easier to remember. A DNS server is a host that translates this kind of text-based domain name into the numeric IP address used to establish a TCP/IP connection. In order to use NPort 5110’s DNS feature, you need to configure the DNS server.
NPort 5110 Series User’s Manual Web Console Configuration 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.) Reports generated by the Auto report function will be automatically sent to this IP address. Auto report to TCP port Setting E.g.
NPort 5110 Series User’s Manual Web Console Configuration Port alias Setting Factory Default Necessity 1 to 15 characters None Optional (E.g., PLC-No.1) “Port alias” is included to allow easy identification of the serial devices that are connected to NPort 5110’s serial port. Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual. You should set up NPort 5110’s serial parameters with the same communication parameters used by your serial devices.
NPort 5110 Series User’s Manual Web Console Configuration Operating Settings Click on Operating Settings, located under Main Menu, to display the operating settings for both of NPort 5110’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 5110 automatically closes the TCP connection if there is no TCP activity for the given time.
NPort 5110 Series User’s Manual Web Console Configuration Max connection 2 to 4: Allows 2 to 4 host’s Real COM drivers to open the specific NPort 5110 serial port, at the same time. When multiple hosts’ Real COM drivers open the serial port at the same time, the COM driver only provides a pure data tunnel without control ability. That is, this serial port parameter will use firmware’s settings, not depend on your application program (AP).
NPort 5110 Series User’s Manual Web Console Configuration buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout. The optimal Force transmit timeout depends on your application, but it must be at least larger than one character interval within the specified baud rate. For example, assume that the serial port is set to 1200 bps, 8 data bits, 1 stop bit, and no parity.
NPort 5110 Series User’s Manual Web Console Configuration for the given time. After the connection is closed, NPort 5110 starts listening for another host’s TCP connection. This parameter defines the maintenance status as Closed or Listen for the TCP connection. The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time.
NPort 5110 Series User’s Manual Web Console Configuration Force transmit Setting 0 to 65535 ms 0: Disable the force transmit timeout. Factory Default 0 ms Necessity Optional 1 to 65535: Forces the NPort 5110’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 5110 fetches the serial data from its internal buffer.
NPort 5110 Series User’s Manual Web Console Configuration 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 5110 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 5110 Series User’s Manual Web Console Configuration ATTENTION The Inactivity time should at least be set larger than that of Force transmit timeout. To prevent the unintended loss of data due to the session being disconnected, it is highly recommended that this value is set large enough so that the intended data transfer is completed. ATTENTION Inactivity time is ONLY active when “TCP connect on” is set to “Any character.
NPort 5110 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, so in this case, it must be greater than or equal to 10 ms.
NPort 5110 Series User’s Manual Web Console Configuration UDP Mode Delimiter 1 Setting Factory Default Necessity 00 to FF None Optional Delimiter 2 Setting Factory Default Necessity 00 to FF None Optional Once the NPort 5110 receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it out the NPort 5110’s Ethernet port. ATTENTION Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
NPort 5110 Series User’s Manual Web Console Configuration internal buffer. NPort 5110 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. The optimal Force transmit timeout depends on your application, but it must be at least larger than one character interval within the specified baud rate.
NPort 5110 Series User’s Manual Web Console Configuration Pair Connection Slave 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 5110 automatically closes the TCP connection if there is no TCP activity for the given time.
NPort 5110 Series User’s Manual Web Console Configuration Pair Connection Master 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 5110 automatically closes the TCP connection if there is no TCP activity for the given time. Destination IP address Setting IP address or Domain Name (E.g., 192.168.1.
NPort 5110 Series User’s Manual Web Console Configuration Ethernet Modem Dial-in NPort 5110 listens for a TCP/IP connection request from the remote Ethernet modem or host. NPort 5110’s response depends on the ATS0 value, as outlined below. ATS0=0 (default): NPort 5110 will temporarily accept the TCP connection and then send the “RING” signal out through the serial port. The serial controller must reply with “ATA” within 2.
NPort 5110 Series User’s Manual Web Console Configuration Disconnection request from remote site After the TCP connection has been shut down by the remote Ethernet modem or PC, NPort 5110 will send the “NO CARRIER” signal via the serial port and then return to command mode. Ethernet Modem Setting Value Notes Necessity The TCP port that other devices valid must use to contact this device. To Required TCP port port No. avoid conflicts with standard TCP ports, the default is set to 4001.
NPort 5110 Series User’s Manual Web Console Configuration 17 AT&F Serial port DTR control AT&D0=recognize DTE always ready AT&D1, AT&D2=reply DTE when DTR On (default) Restore manufacturer’s settings 18 AT&G Select guard time 16 AT&D reply “OK” only 19 AT&R Serial port RTS option command reply “OK” only 20 AT&S Serial port DSR control reply “OK” only 21 AT&V View settings Write current settings to flash for next boot up 22 AT&W S Registers No.
NPort 5110 Series User’s Manual Web Console Configuration TCP port Setting Factory Default Necessity 1 to 65535 4001 Required The TCP port that other devices must use to contact this device. To avoid conflicts with standard TCP ports, the default is set to 4001. 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.
NPort 5110 Series User’s Manual Web Console Configuration ! Any host can access the NPort 5110 Disable this function by un-checking the “Enable the accessible IP list” checkbox. Refer to the following table for more configuration examples. 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.
NPort 5110 Series User’s Manual Web Console Configuration From E-mail address Setting 1 to 63 characters Factory Default None Necessity Optional E-mail address 1/2/3/4 Setting 1 to 63 characters Factory Default None Necessity Optional ATTENTION Consult your Network Administrator or ISP for the proper mail server settings. The Auto warning function may not work properly if it is not configured correctly. NPort 5110 SMTP AUTH supports LOGIN, PLAIN, CRAM-MD5 (RFC 2554).
NPort 5110 Series User’s Manual Web Console Configuration IP address changed The user has changed NPort 5110’s IP address. When the IP address changes, NPort 5110 will send an e-mail with the new IP address before NPort 5110 reboots. If the NPort 5110 is unable to send an e-mail message to the mail server within 15 seconds, NPort 5110 will reboot anyway, and abort the e-mail auto warning. Password changed The user has changed NPort 5110’s password.
NPort 5110 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. If the password is erased, then NPort 5110 will not have password protection. ATTENTION If you forget the password, the ONLY way to configure NPort 5110 is by using the Reset button on NPort 5110’s casing to “Load Factory Default.
6 Chapter 6 Configuring Windows Administrator The following topics are covered in this chapter: ! Overview ! Installing Windows Administrator ! Configuration " Broadcast Search " Unlock Password Protection " Configuring NPort 5110 " Upgrade Firmware " Export/Import ! Monitor ! Port Monitor ! COM Mapping ! " On-line COM Mapping " Off-line COM Mapping IP Location
NPort 5110 Series User’s Manual Configuring Windows Administrator Overview Windows Administrator is designed to let you install and configure your NPort 5110 products easily over the network. Windows Administrator provides five function groups that ease the installation process, allows off-line COM mapping, and provides monitoring and IP location server functions.
NPort 5110 Series User’s Manual Configuring Windows Administrator 3. Click on Next to install program files in the default directory, or select an alternative location. 4. Click on Next to install the program using the default program name, or select a different name.
NPort 5110 Series User’s Manual Configuring Windows Administrator 5. Click on Install to proceed with the installation. 6. The Installing window reports the progress of the installation.
NPort 5110 Series User’s Manual Configuring Windows Administrator 7. Click on Next to proceed with the installation. 8. Click on Finish to complete the installation of NPort 5110 Administration Suite.
NPort 5110 Series User’s Manual Configuring Windows Administrator Configuration The Administrator-Configuration window is divided into four parts. ! ! ! ! The top part is the function list and online help area. (Windows NT does not support this .chm file format.) The left part lists the five Administrator function groups. The right part shows a list of NPort 5110 serial device servers, each of which can be selected to process user requirements.
NPort 5110 Series User’s Manual Configuring Windows Administrator Broadcast Search 1. The Broadcast Search function is used to locate all NPort 5110s 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 5110s connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host.
NPort 5110 Series User’s Manual 2. Configuring Windows Administrator The Broadcast Search window will open and display the Model, IP Address, MAC Address, and Progress (of the search for that particular device).
NPort 5110 Series User’s Manual 3. Configuring Windows Administrator When the search is complete, the Broadcast Search window closes, and the NPort 5110s that were located are displayed in the right pane of the Administrator window. If you found more than one server connected to this network, refer to the MAC address sticker on your server(s) to determine which servers are the ones you wish to configure.
NPort 5110 Series User’s Manual Configuring Windows Administrator Unlock Password Protection 1. If the NPort 5110 is password protected, then you will not be able to use the right click method to open the configuration page. 2. Instead, select an NPort 5110 with “Lock” status, right click the locked NPort 5110, and then select the unlock button. 3. After inputting the correct password, the Administrator will display a message box as shown here.
NPort 5110 Series User’s Manual 4. Configuring Windows Administrator The previous “Lock” status will switch to “Unlock” status. Administrator will keep this NPort 5110 in the Unlock status throughout this Administrator session.
NPort 5110 Series User’s Manual Configuring Windows Administrator Configuring NPort 5110 1. Input the password to Unlock the NPort 5110. Right click on a specific NPort 5110 and select configure to start the configuration. 2. The progress bar shows that Administrator is retrieving configuration information from the specific NPort 5110.
NPort 5110 Series User’s Manual 3. Configuring Windows Administrator 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. ATTENTION You can simultaneously modify the configurations of multiple NPort 5110s that are of the same model. To select multiple NPort 5110s, hold down the Ctrl key when selecting additional NPort 5110s, or hold down the Shift key to select a group of NPort 5110s.
NPort 5110 Series User’s Manual Configuring Windows Administrator Upgrade Firmware 1. Input the password to Unlock the NPort 5110, and then right click on a specific NPort 5110 and select the Upgrade Firmware function to start upgrading the firmware. 2. Select the correct ROM file to be downloaded to the NPort 5110. 3. Wait patiently while the Upgrade Firmware action is being processed.
NPort 5110 Series User’s Manual Configuring Windows Administrator Export/Import Right click on a specific NPort 5110 and select the Export function to start Exporting the configuration file. 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 5110. The Import Configuration function is used to import a NPort 5110 configuration from a file into one or more of the same model NPort 5110.
NPort 5110 Series User’s Manual Configuring Windows Administrator ATTENTION You can simultaneously import the same configuration file into multiple NPort 5110s that are of the same model. To select multiple NPort 5110s, hold down the Ctrl key when selecting an additional NPort 5110, or hold down the Shift key to select a block of NPort 5110s. Monitor 1.
NPort 5110 Series User’s Manual Configuring Windows Administrator 4. Select Add Target. 5. When you select Add Target, you will see a NPort 5110 list that looks the same as when using Configuration $ Broadcast Search. Check the NPort 5110 you would like to Monitor, and then click OK. 6. The NPort 5110 list will now appear on the Monitor screen. 7. Right click the panel and select Settings.
NPort 5110 Series User’s Manual Configuring Windows Administrator 8. 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. 9. Select a Refresh Rate (the default is 3 seconds).
NPort 5110 Series User’s Manual Configuring Windows Administrator 10. 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 NPort 5110s in the monitor is “Alive” or “Not Alive,” or has lost connection with the Monitor program. 11. Press Go to start Monitor.
NPort 5110 Series User’s Manual Configuring Windows Administrator 12. For this example, the NPort 5110 shown in the list will be monitored. 13. When one of the NPort 5110s loses connection with the Monitor program, a warning alert will display automatically. The warning music will be played at the same time. 14. In the Monitor screen, you can see that the “Not Alive” NPort 5110 is shown in red color.
NPort 5110 Series User’s Manual Configuring Windows Administrator 15. If the NPort 5110 gets reconnected, a warning will be displayed to remind the user that the NPort 5110 is now “Alive.” 16. The NPort 5110 that was reconnected, and is now “Alive,” will be shown in black color.
NPort 5110 Series User’s Manual Configuring Windows Administrator 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. Use the double arrowhead buttons to move all items in one box to the other.
NPort 5110 Series User’s Manual Configuring Windows Administrator COM Mapping Windows Administration Suite comes with Windows 95/98/ME/NT/2000/XP Real COM drivers. After you install NPort 5110 Administration Suite, there are two ways to set up the NPort 5110’s 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 5110 is connected correctly to the network, and then install the driver on the host computer.
NPort 5110 Series User’s Manual Configuring Windows Administrator 3. Add the target to which you would like to map COM ports. 4. The NPort 5110 list that appears is the list generated by the previous Broadcast Search. Select the NPort 5110 that you would like to map COM ports to. 5. Select COM Settings to modify COM No., default setting, etc.
NPort 5110 Series User’s Manual 6. Configuring Windows Administrator 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 NPort 5110s, 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. If the driver finishes sending data out to the NPort 5110, the driver will respond to the program with “Tx Empty.
NPort 5110 Series User’s Manual Configuring Windows Administrator Enable/Disable Tx/Rx FIFO. If disabled, NPort 5110 will send one byte each time the Tx FIFO becomes empty; and an Rx interrupt will be generated for each incoming byte. This will result in a faster response and lower throughput. If you want to use XON/XOFF flow control, we recommend setting FIFO to Disable. Fast Flush (only flush local buffer) ! We have added one optional Fast Flush function to Moxa’s new NPort Real COM driver.
NPort 5110 Series User’s Manual Configuring Windows Administrator 7. The Serial Parameter settings shown here are the default settings when the NPort 5110 is powered on. However, the program can redefine the serial parameters to different values after the program opens the port via Win 32 API. 8. After setting the COM Mapping, remember to select Apply Change to save the information in the host system registry.
NPort 5110 Series User’s Manual 9. Configuring Windows Administrator Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host. 10. 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.
NPort 5110 Series User’s Manual Configuring Windows Administrator Off-line COM Mapping 1. Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort 5110 to the network. 2. Select Apply change.
NPort 5110 Series User’s Manual Configuring Windows Administrator IP Location When NPort 5110 is used in a dynamic IP environment, users must spend more time with IP management tasks. NPort 5110 products help out by periodically reporting their IP address to the IP location server, in case the dynamic IP has changed. ! Receive NPort 5110’s IP location report ! Centralize NPort 5110’s IP management in a dynamic IP environment. 1. Configure NPort 5110 to get an IP address dynamically.
NPort 5110 Series User’s Manual Configuring Windows Administrator 3. Next, configure the Local Listen Port to be the same as the NPort 5110’s “Auto report to UDP port” setting. 4. Click Go to start receiving the Auto IP address report from the NPort 5110.
7 Chapter 7 The following topics are covered in this chapter: ! Overview ! IP Serial LIB Function Groups ! Example Program IP Serial LIB
NPort 5110 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 5110 Series User’s Manual IP Serial LIB IP Serial LIB Function Groups Server Control Port Control Input/Output Data Port Status Inquiry 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 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 NPort /*data buffer, 25
A Appendix A Pinouts and Cable Wiring In this appendix, we cover the following topics.
NPort 5110 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 5110 PIN SIGNAL 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS 9 --- A-2
NPort 5110 Series User’s Manual Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables A-3
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 5110 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 5110 Series User’s Manual TCP Socket Well Known Port Numbers Application Service 42 Host name server (names server) 43 Whois (nickname) 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 Da
NPort 5110 Series User’s Manual UDP Socket Well Known Port Numbers Application Service 161 SNMP (Simple Network Mail Protocol) 162 SNMP Traps 213 IPX (Used for IP Tunneling) B-3
C Appendix C SNMP Agents with MIB II & RS-232 Like Groups NPort 5110 has built-in SNMP (Simple Network Management Protocol) agent software that supports SNMP Trap, RFC1317 RS-232 like groups and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementation for NPort 5110.
NPort 5110 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 IcmpOutAddr
NPort 5110 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
NPort 5110 Series User’s Manual SNMP Agents The Input Signal Table The Output Signal Table rs232InSigTable rs232OutSigTable rs232InSigEntry rs232OutSigEntry rs232InSigPortIndex rs232OutSigPortIndex rs232InSigName rs232OutSigName rs232InSigState rs232OutSigState C-4
D Appendix D Auto IP Report Protocol NPort Series provides several ways to configure Ethernet IP addresses. One method is DHCP Client. When you set up the NPort to use DHCP Client to configure Ethernet IP addresses, a DHCP request is sent automatically over the Ethernet to find the DHCP Server. In response, 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 5110 Series User’s Manual Auto IP Report Protocol You will then be able to develop your own programs to receive this information from the NPort. Here is NPort’s Auto IP Report Protocol. Click on the following link to link to a specific example. http://web2.moxa.com.tw/services/download/download.asp Auto IP Report Format “MOXA”, 4 bytes Info[0] Info [n] Field Length ID 1 Info[1] Length 1 ...
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 5110 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.tw Website for product information: .............................
NPort 5110 Series User’s Manual Service Information Problem Report Form MOXA NPort 5110 Customer name: Company: Tel: Fax: Email: Date: Moxa Product: Serial Number: NPort 5110 _________________ Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see. A clearly written description of the problem will allow us to reproduce the symptoms, and expedite the repair of your product.
NPort 5110 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.