NPort 5100 Series User’s Manual Fifth Edition, February 2012 www.moxa.com/product © 2012 Moxa Inc. All rights reserved.
NPort 5100 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 © 2012 Moxa Inc. All rights reserved. Trademarks The MOXA logo is a registered trademark of Moxa Inc. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents 1. Introduction ...................................................................................................................................... 1-1 Overview ........................................................................................................................................... 1-2 Package Checklist ............................................................................................................................... 1-2 Product Features ..................
COM Mapping ................................................................................................................................... 6-17 On-line COM Mapping ................................................................................................................ 6-18 Off-line COM Mapping ................................................................................................................ 6-22 IP Address Report ....................................................................
1 1. Introduction NPort 5100 and NPort 5110-T are advanced, 1-port RS-232/422/485 serial device servers that make it easy to network-enable serial devices.
NPort 5100 Series Introduction Overview NPort 5100 series device servers are designed to make your industrial serial devices Internet ready instantly, and are well-suited for POS security market applications.
NPort 5100 Series Introduction Product Specifications 1-3
2 2. Getting Started This chapter includes information about installing NPort 5100.
NPort 5100 Series Getting Started Panel Layout of NPort 5100 Series NOTE: The layouts of NPort 5130 and NPort 5150 are the same as for NPort 5110. Connecting the Hardware This section describes how to connect the NPort 5100 to serial devices for first time testing purposes. We cover Connecting to the Network, Connecting to a Serial Device, and LED Indicators. Connecting the Power Connect the 12 to 48 VDC power cord with NPort 5100’s power input.
NPort 5100 Series Getting Started Connecting to a Serial Device Connect the serial data cable between NPort 5100 and the serial device. NPort 5100’s serial port uses the RS-232/422/485 interface to transmit data. The port uses a standard male DB9 pin assignment. Refer to Appendix A to see the signal definitions for the port. LED Indicators NPort 5100 has 3 LED indicators, as described in the following table. LED Name LED Color Red LED Function Steady on: Power is on and NPort 5100 is booting up.
NPort 5100 Series Getting Started NPort 5150/5130 Jumpers 2-4
3 3. Initial IP Address Configuration When setting up your NPort 5100 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 5100 Series Initial IP Address Configuration Initializing the NPort 5100’s IP Address 1. Determine whether your NPort 5100 needs to use a Static IP or Dynamic IP (either DHCP or BOOTP application). 2. If the NPort 5100 is used in a Static IP environment, you can use NPort 5100 Administration Suite, ARP, Web Console, Telnet Console, or Serial Console to configure the new IP address. 3.
NPort 5100 Series 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 5100 from your network administrator. 2. Obtain the NPort 5100’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 5100 Series 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. 7. Press any key to continue.
NPort 5100 Series 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 the NPort 5100. Serial Console (19200, n, 8, 1) You may use the RS-232/422/485 console port to set up the IP address for NPort 5100.
NPort 5100 Series Initial IP Address Configuration 4. The Property window opens automatically. From the Communication Parameter page, select the appropriate COM port for the connection, COM1 in this example, and 19200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits. 5. From the Property window’s Terminal page, select ANSI or VT100 for Terminal Type and then click OK.
NPort 5100 Series Initial IP Address Configuration 9. Start configuring the IP address under Network Settings. Refer to step 4 in the Telnet Console section for the rest of the IP settings.
4 4. Choosing the Proper Operation Mode In this section, we describe the various NPort 5100 operation modes. The options include Real COM Mode, which 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 5100 Series Choosing the Proper Operation Mode Overview NPort 5100 serial device servers network-enable traditional RS-232/422/485 devices, in which a serial 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 5100 Series Choosing the Proper Operation Mode ATTENTION Real COM Mode allows several hosts to have access control to the same NPort 5100. The driver that comes with your NPort 5100 controls host access to attached serial devices by checking the host’s IP address. Refer to the Accessible IP Settings section of Chapter 5 for more details. TCP Server Mode In TCP Server Mode, NPort 5100 is configured with a unique IP:Port combination on a TCP/IP network.
NPort 5100 Series 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 5100 Series 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 TCP Server 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 TCP Server mode does not provide the conversion function provided by Telnet.
5 5. Web Console Configuration The Web Console is the most user-friendly method available to configure NPort 5100. In this chapter, we introduce the Web Console function groups and function definitions.
NPort 5100 Series 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 5100 Series Web Console Configuration 4. The NPort 5100 homepage will open next. 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 the NPort 5100 is to load factory defaults by using the Reset button located near the NPort 5100’s RJ45 Ethernet port. Remember to use NPort Administrator to export the configuration file when you have finished the configuration.
NPort 5100 Series Web Console Configuration Web/Telnet 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 5100. The factory default for both Web console and Telnet console is Enable.
NPort 5100 Series Web Console Configuration IP configuration 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 assigns IP address IP address Setting Factory Default Necessity E.g., 192.168.1.1 (IP 192.168.127.
NPort 5100 Series Web Console Configuration 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 then the computer uses the response to 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.
NPort 5100 Series Web Console Configuration Auto report to IP Setting Factory Default Necessity E.g., 192.168.1.1 or None Optional URL (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 Factory Default Necessity E.g.
NPort 5100 Series Web Console Configuration Serial Parameters ATTENTION Check the serial communication parameters in your Serial Device’s user’s manual. You should set up NPort 5100’s serial parameters with the same communication parameters used by your serial devices. Baudrate Setting Factory Default Necessity 110 bps to 230.4 Kbps 115.2 Kbps Required Setting Factory Default Necessity 5, 6, 7, 8 8 Required (NPort 5110) 110 bps to 921.
NPort 5100 Series Web Console Configuration Operating Settings Click Operating Settings, located under Main Menu, to display the operating settings for both of NPort 5100’s serial ports. Real COM 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. 1 to 99 min: NPort 5100 automatically closes the TCP connection if there is no TCP activity for the given time.
NPort 5100 Series Web Console Configuration data tunnel without control ability. That is, this serial port parameter will use the firmware’s settings, not depend on your application program (AP). Application software that is based on the COM driver will receive a driver response of “success” when the software uses any of the Win32 API functions. The firmware will only send the data back to the driver on the host.
NPort 5100 Series Web Console Configuration 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 5100 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 5100 Series Web Console Configuration TCP Server 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. 1 to 99 min: The NPort 5100 automatically closes the TCP connection if there is no TCP activity for the given time. After the connection is closed, the NPort 5100 starts listening for another host’s TCP connection.
NPort 5100 Series Web Console Configuration Max connection is usually used when the user needs to receive data from different hosts simultaneously. The factory default only allows 1 connection at a time. Max. connection 1: NPort only allows 1 host to open the TCP connection to the specific serial port. Max connection 2 to 4: Allows 2 to 4 host’s TCP connection request to open this NPort 5100 serial port, at the same time.
NPort 5100 Series Web Console Configuration Delimiter process Setting Factory Default Necessity Do nothing Do Nothing Optional Delimiter + 1, Delimiter + 2 Strip Delimiter [Delimiter + 1] or [Delimiter + 2]: The data will be transmitted when an additional byte (for Delimiter +1), or an additional 2 bytes (for Delimiter +2) of data is received after receiving the Delimiter. [Strip Delimiter]: When the Delimiter is received, the Delimiter is deleted (i.e.
NPort 5100 Series Web Console Configuration TCP Client 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. 1 to 99 min: NPort 5100 automatically closes the TCP connection if there is no TCP activity for the given time. Inactivity time Setting Factory Default Necessity 0 to 65535 ms 0 ms Optional 0 ms: TCP connection is not closed due to an idle serial line.
NPort 5100 Series Web Console Configuration ATTENTION Inactivity time is ONLY active when “TCP connect on” is set to “Any character.” Ignore jammed IP Setting Factory Default Necessity No or Yes No Optional Previously, when Max connections > 1, and the serial device is transmitting data, if any one of the connected hosts is not responding, it will wait until the data has been transmitted successfully before transmitting the second group of data to all hosts.
NPort 5100 Series Web Console Configuration 0: Disable the force transmit timeout. 1 to 65535: Forces the NPort 5100’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 5100 fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort 5100 stores the data in the internal buffer.
NPort 5100 Series Web Console Configuration Connection control Setting Factory Default Necessity Startup/None, Any Startup/None Required Character/None, Any Character/Inactivity Time, DSR ON/DSR OFF, DSR ON/None, DCD ON/DCD OFF, DCD ON/None The meaning of each of the above settings is given in the table below. In general, both the Connect condition and Disconnect condition are given.
NPort 5100 Series Web Console Configuration 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 5100 Series Web Console Configuration 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. If the user wants to send a series of characters in the same packet, the serial device attached to NPort 5100 should send that series of characters during a time interval less than the Force transmit timeout for NPort 5100, and the total length of data must be less than or equal to NPort 5100’s internal buffer size.
NPort 5100 Series Web Console Configuration 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: The NPort 5100 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 blank Optional 4001 Required Name (E.g., 192.168.1.1) TCP port No. The Pair Connection “Master” will contact the network host that has this IP address.
NPort 5100 Series Web Console Configuration Ethernet Modem Mode Dial-in NPort 5100 listens for a TCP/IP connection request from the remote Ethernet modem or host. NPort 5100’s response depends on the ATS0 value, as outlined below. ATS0=0 (default): NPort 5100 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.5 seconds to accept the connection request, after which NPort 5100 enters data mode.
NPort 5100 Series Web Console Configuration No. AT command Description 1 ATA Answer manually 2 ATD : Dial up the IP address: Port No.
NPort 5100 Series Web Console Configuration 12 S11 DTMF duration and spacing (always=100 ms) 13 S12 Escape code guard time no action applied (default=50, unit 1/50 sec) to control the idle time for “+++” TCP alive check time Setting Factory Default Necessity 0 to 99 min 7 min Required 0 min: TCP connection is not closed due to an idle TCP connection. 1 to 99 min: NPort 5100 closes the TCP connection automatically if there is no TCP activity for the given time.
NPort 5100 Series Web Console Configuration If data received through NPort 5100’s Ethernet port is sent using the “enter” command, the data will be transmitted out the serial port with an added 1. “carriage return + line feed” if you select the option (i.e., the cursor will jump to the next line, and return to the first character of the line) 2. “carriage return” if you select the option (i.e., the cursor will return to the first character of the line) 3.
NPort 5100 Series Web Console Configuration Allowable Hosts Input format Any host Disable 192.168.1.120 192.168.1.120 / 255.255.255.255 192.168.1.1 to 192.168.1.254 192.168.1.0 / 255.255.255.0 192.168.0.1 to 192.168.255.254 192.168.0.0 / 255.255.0.0 192.168.1.1 to 192.168.1.126 192.168.1.0 / 255.255.255.128 192.168.1.129 to 192.168.1.254 192.168.1.128 / 255.255.255.
NPort 5100 Series Web Console Configuration 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 5100 SMTP AUTH supports LOGIN, PLAIN, CRAM-MD5 (RFC 2554).
NPort 5100 Series Web Console Configuration 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, the NPort 5110/5150 will immediately send an e-mail or send an SNMP trap.
NPort 5100 Series Web Console Configuration Monitor Async Click Async under Monitor to show the current status of the serial port. Monitor Async-Settings Click Async Setting under Monitor to show the run-time settings for the serial port. 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 5100 will not have password protection.
NPort 5100 Series Web Console Configuration Load Factory Default This function will reset all of NPort 5100’s settings to the factory default values. Be aware that previous settings will be lost.
6 6.
NPort 5100 Series Configuring NPort Administrator Overview Device Server Administrator lets you install and configure your NPort 5100 Series products easily over the network. Five function groups are provided to ease the installation process, allow off-line COM mapping, and provide monitoring and IP location server functions.
NPort 5100 Series Configuring NPort Administrator 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 5100 Series Configuring NPort Administrator 6. Click Next to proceed with the installation. 7. Click Finish to complete the installation of NPort 5100 Administration Suite. Configuration The Administrator-Configuration window is divided into four parts. • The top section contains the function list and online help area. (Windows NT does not support this .chm file format.) • The five Administrator function groups are listed in the left section.
NPort 5100 Series Configuring NPort Administrator Broadcast Search The Broadcast Search function is used to locate all NPort 5100s 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 5100s connected to the LAN will be located, regardless of whether or not they are part of the same subnet as the host. 1. Position the cursor in the right middle section of the Administrator window and then click the right mouse button.
NPort 5100 Series Configuring NPort Administrator 3. When the search is complete, the Broadcast Search window will close, and the NPort 5100s that were located will be 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 server(s) are the ones you wish to configure.
NPort 5100 Series Configuring NPort Administrator 2. After inputting the correct password, the Administrator will display an “Unlock ok” message. 3. The “Lock” status will change to “Unlock,” and the Administrator utility will keep this NPort 5100 in the Unlock status throughout this Administrator session.
NPort 5100 Series Configuring NPort Administrator Configuring the NPort 5100 In this section, we illustrate how to access the NPort 5100’s configuration utility. You should first make sure that you can connect over the network from your computer to the NPort 5100. 1. To start NPort Administrator, click Start NPort Administration Suite NPort Administrator. 2. Unlock the NPort 5100 you wish to configure if it is password protected.
NPort 5100 Series 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. ATTENTION You can simultaneously modify the configurations of multiple NPort 5100s that are of the same model. To select multiple NPort 5100s, hold down the Ctrl key when selecting additional NPort 5100s, or hold down the Shift key to select a group of NPort 5100s.
NPort 5100 Series Configuring NPort Administrator 2. Unlock the NPort 5100 you wish to configure if it is password protected. Right click a specific NPort 5100 and select the Upgrade Firmware function to start upgrading the firmware. 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 5100s that are of the same model.
NPort 5100 Series Configuring NPort Administrator Export Configuration To export the configuration of an NPort 5100, right click the NPort 5100, 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 5100.
NPort 5100 Series Configuring NPort Administrator ATTENTION You can simultaneously import the same configuration file into multiple NPort 5100s that are of the same model. To select multiple NPort 5100s, hold down the Ctrl key when selecting an additional NPort 5100, or hold down the Shift key to select a block of NPort 5100s. Monitor Use one of the following two methods to start the Monitor function. Broadcast Search Monitor Add Target 1.
NPort 5100 Series Configuring NPort Administrator 2. Click Monitor Add Target from the menu bar, or click the right mouse button and select Add Target. 3. Click Rescan. 4. Select your targets from the list, and then click OK.
NPort 5100 Series Configuring NPort Administrator Once the Monitor function is running: 1. The NPort 5100 list will appear on the Monitor screen. 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.
NPort 5100 Series Configuring NPort Administrator 4. Select a Refresh Rate (the default is 3 seconds) on the General Settings page. 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 5100s in the monitor is “Alive” or “Not Alive,” or has lost connection with the Monitor program. 6.
NPort 5100 Series Configuring NPort Administrator 7. For this example, the NPort 5100s shown in the list will be monitored. 8. When one of the NPort 5100s 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 5100s that are “Not Alive” are shown in red color. 10.
NPort 5100 Series Configuring NPort Administrator 11. The NPort 5100s 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 5100 Series Configuring NPort Administrator Use the following procedure to map COM ports: 1. On-line COM Mapping: Connect NPort 5100 to the network Set NPort 5100 to the proper IP address Map COMs to your host Apply Change. 2. Off-line COM Mapping: Map COMs to your host Apply Change Connect the NPort 5100 to the network Configure NPort 5100’s IP address. On-line COM Mapping 1. Broadcast Search for NPort 5100s on the network. 2. Select the COM Mapping function group. 3.
NPort 5100 Series Configuring NPort Administrator 5. Select COM Settings to modify COM No., default setting, etc. 6. Select the COM Number. 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 5100s, remember to check the “Auto Enumerating” function to use the COM No. you select as the first COM No. 7. Hi-performance mode is the default for Tx mode.
NPort 5100 Series Configuring NPort Administrator In order to accommodate other applications that require a faster response time, the new NPort driver implements a new “Fast Flush” option. Note that by default, this function is disabled. • To begin with, make sure there are some “PurgeComm()” functions being used in your application program. In this kind of situation, you might find that your NPort exhibits a much poorer operation performance than when using the native COM1 port.
NPort 5100 Series Configuring NPort Administrator 9. After setting the COM Mapping, remember to select Apply Change to save the information in the host system registry. The host computer will not have the ability to use the COM port until after Apply Change is selected. 10. Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host. 11. To save the configuration to a text file, select Export COM Mapping.
NPort 5100 Series Configuring NPort Administrator Off-line COM Mapping 1. Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort 5100 to the network. 2. Modify the port settings as needed. 3. Right click in the NPort list section and select Apply Change.
NPort 5100 Series Configuring NPort Administrator IP Address Report When NPort 5100 is used in a dynamic IP environment, users must spend more time with IP management tasks. NPort 5100 Series products help out by periodically reporting their IP address to the IP location server, in case the dynamic IP has changed. 1. Configure the NPort 5100 with Dynamic IP settings (DHCP, BOOTP, or DHCP/BOOTP). Assign the remote Auto IP report server’s IP address and UDP port. 2.
NPort 5100 Series Configuring NPort Administrator 4. Click Go to start receiving the Auto IP address report from the NPort 5100.
7 7.
NPort 5100 Series Windows CE NPort CE Driver Manager for Overview NPort CE Driver Manager is designed for use with NPort 5000 serial ports that are set to Real COM mode. The software manages the installation of drivers that allow you to map unused COM ports on your PC to serial ports on the NPort 5000. These drivers are designed for use with Windows CE 5.0/6.0.
NPort 5100 Series Windows CE NPort CE Driver Manager for 2. Click on the COM Mapping page and then the “Search” button to scan for NPort servers. 3. All NPort servers that were located will appear in the NPort CE Driver Manager window. Click on the server whose COM ports you would like to map to and then select the port index. Note that multiple selections are allowed. 4. Select the port(s) at the Port Index and then click on the “Add” button to map to the COM Port(s).
NPort 5100 Series Windows CE NPort CE Driver Manager for 5. Return to the COM Setting page. You should be able to see the newly mapped COM Port(s). 6. To configure the settings for a particular COM Port, select the row of the desired port, and then modify the setting in the “Settings” panel, as shown below. Tx Mode “Hi-Performance” is the default for Tx mode. After the driver sends data to the NPort server, the driver immediately issues a “Tx Empty” response to the program.
8 8.
NPort 5100 Series 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 5100 Series IP Serial LIB Example Program char NPort 5100-Nip=”192.168.1.10”; char buffer[255]; /*data buffer, 255 chars */ int port = 1; /*1st port */ int portid; /* port handle */ nsio_init(); /*initial IP Serial Library */ portid = nsio_open(NPort 5100ip, port); /*1st port, NPort 5100 IP=192.168.1.
A A.
NPort 5100 Series Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Pin Signal 1 Tx+ 2 Tx- 3 Rx+ 6 Rx- NPort 5110 Serial Port Pinouts DB9 Male RS-232 Port Pinouts for NPort 5110/5110-T Pin RS-232 1 DCD 2 RxD 3 TxD 4 DTR 5 GND 6 DSR 7 RTS 8 CTS NPort 5130 Serial Port Pinouts DB9 Male RS-422/485 Port Pinouts for NPort 5130 Pin RS-422/2-wire RS-485 1 TxD-(A) 4-wire RS-485 --- 2 TxD+(B) --- 3 RxD+(B) Data+(B) 4 RxD-(A) Data-(A) 5 GND GND 6 --- -
NPort 5100 Series Pinouts and Cable Wiring Cable Wiring Diagrams Ethernet Cables A-3
B 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 5100 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 5100 Series Well Known Port Numbers 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 server (names server) 43 Whois (nickname) 49 (Login Host Protocol) (Login) 53 Domain Name Server (domain) 69 Trivial Transfer Protocol (TETP) 70 Gopher Protocol 79 Finger Protocol 80 World Wide Web HTTP 107 Remote Telnet Service 111 Sun Remot
C SNMP Agents with MIB II & RS-232/422/485 Link Groups C. NPort 5100 has built-in SNMP (Simple Network Management Protocol) agent software that supports SNMP Trap, RFC1317 RS-232/422/485 like groups and RFC 1213 MIB-II. The following table lists the standard MIB-II groups, as well as the variable implementation for NPort 5100.
NPort 5100 Series RS-232/422/485 Link Groups SNMP Agents with MIB II & UDP MIB TCP MIB SNMP MIB UdpInDatagrams tcpRtoAlgorithm snmpInPkts UdpNoPorts tcpRtoMin snmpOutPkts UdpInErrors tcpRtoMax snmpInBadVersions UdpOutDatagrams tcpMaxConn snmpInBadCommunityNames UdpLocalAddress tcpActiveOpens snmpInASNParseErrs UdpLocalPort tcpPassiveOpens snmpInTooBigs tcpAttempFails snmpInNoSuchNames Address Translation MIB tcpEstabResets snmpInBadValues AtIfIndex tcpCurrEstab snmpInReadOnlys
D 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. But the NPort will send a DHCP request again to the DHCP Server.
NPort 5100 Series Auto IP Report Protocol ID List ID Value Description Length 1 Server Name Variable Note ASCII char 2 Hardware ID 2 Little-endian 3 MAC Address 6 6 bytes MAC address. If the MAC address is "00-90-E8-01-02-03", the MAC[0] is 0, MAC[1] is 0x90(hex), MAC[2] is 0xE8(hex), and so on.
E E. Compliance Notice CE Warming This is a Class A product. In a domestic environment, this product may cause radio interference in which case the user may be required to take appropriate measures. Federal Communications Commission Statement FCC - This device complies with part 15 of the FCC Rules.