NPort 5600 Series User’s Manual www.moxa.com/product Fifth Edition, August 2004 Moxa Technologies Co., Ltd. Tel: +886-2-8919-1230 Fax: +886-2-8919-1231 www.moxa.com support@moxa.com.tw (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 2004 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 ...................................................................................................
Chapter 6 Configuring Windows Administrator.....................................................6-1 Overview ................................................................................................................ 6-2 Installing Windows Administrator........................................................................... 6-2 Configuration ......................................................................................................... 6-4 Broadcast Search ................................
1 Chapter 1 Introduction Welcome to the MOXA NPort 5600 Series of advanced serial device servers that make it easy to network-enable your serial devices. The NPort 5600 Series has six models: NPort 5610-16, NPort 5610-8 (16/8 ports for RS-232, with AC power), NPort 5610-16-48V, NPort 5610-8-48V (16/8 ports for RS-232, with DC power), NPort 5630-16, and NPort 5630-8 (16/8 ports for RS-422/485, with AC power). In this manual, we often refer to the six products collectively as “5600” or “5600 Series.
NPort 5600 Series User’s Manual Introduction Overview NPort 5600 Series serial device servers are designed to make your industrial serial devices Internet ready instantly. The compact size of NPort 5600 device servers makes them the ideal choice for connecting your RS-232 (NPort 5610-16/8) or RS-422/485 (NPort 5630-16/8) serial devices—such as PLCs, meters, and sensors—to an IP-based Ethernet LAN, making it possible for your software to access serial devices anywhere over a local LAN or the Internet.
NPort 5600 Series User’s Manual Introduction Product Specifications LAN Ethernet Protection 10/100 Mbps, RJ45 Built-in 1.5 KV magnetic isolation NPort 5610 Serial Interface Interface No. of Ports Port Type Signals Serial Line Protection RS-232 16/8 RJ45 8-pin TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND 15 KV ESD for all signals NPort 5630 Serial Interface Interface No.
NPort 5600 Series User’s Manual Software Features Protocols Utilities Real COM/TTY Drivers Configuration Power Requirements Power Input Power Consumption Mechanical Material Dimensions (W × H × D) Introduction ICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP, HTTP, SMTP, SNTP NPort Administrator for Windows 95/98/ME/NT/2000/XP Windows 95/98/ME/NT/2000/XP Real COM driver, Linux real TTY driver Web Browser, Telnet Console, or Windows Utility 100 to 240 VAC, 47 to 63 Hz, or 48 VDC NPort 5610-16/8: 200 mA
2 Chapter 2 Getting Started This chapter includes information about installing NPort 5600 Series.
NPort 5600 Series User’s Manual Getting Started Panel Layout Front panel of NPort 5610-16-48V Font panel of NPort 5630-16 Rear panel of NPort 5610-16 (AC Power) Rear panel of NPort 5610-16 -48V (DC Power) Reset Button—Press the Reset button continuously for 5 sec to load factory defaults: Use a pointed object, such as a straightened paper clip or toothpick, to press the reset button. This will cause the Ready LED to blink on and off.
NPort 5600 Series User’s Manual Getting Started 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-16/8’s Power, Connecting NPort 5610-16/8-48V’s Power, Grounding NPort 561-16/8-48V, Connecting to the Network, Connecting to a Serial Device, and LED Indicators.
NPort 5600 Series User’s Manual Getting Started Connecting NPort 5610-16/8-48V’s Power To connect NPort 5610-16/8-48V’s power cord with its terminal block, follow the steps given below: 1. Loosen the screws on the V+ and V- terminals of NPort 5610-16/8-48V’s terminal block. ON OFF 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.
NPort 5600 Series User’s Manual Getting Started The bottom left corner LED indicator maintains a solid orange color when the cable is properly connected to a 10 Mbps Ethernet network. 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 Ready LED Function Power is off, or power error condition exists.
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 Initial IP Address Configuration 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 Initial IP Address Configuration There are four push buttons on NPort’s nameplate.
NPort 5600 Series User’s Manual Initial IP Address Configuration As you use the buttons to operate the LCM display, you will notice that with very few exceptions, moving up one level causes the bottom line of the display to move to the top line of the display. You will also notice that the bottom three options in level 2, and all of the options in level 3 have either a C or D attached. The meaning is as follows: • C = configurable (i.e.
NPort 5600 Series User’s Manual Initial IP Address Configuration The part of the LCM operation that still requires some explanation is how to edit the configurable options. In fact, you will only encounter two types of configurable options. The first type involves entering numbers, such as IP addresses, Netmasks, etc. In this case, you change the number one digit at a time.
NPort 5600 Series User’s Manual Initial IP Address Configuration In order to use this setup method, both your computer and NPort must be connected to the same LAN. Or, you may use a cross-over Ethernet cable to connect the NPort directly to your computer’s Ethernet card. Your NPort must be configured with the factory default IP address—192.168.127.254—before executing the ARP command, as described below. Take the following steps to use ARP to configure the IP address: 1.
NPort 5600 Series User’s Manual Initial IP Address Configuration 3. When the Telnet window opens, if you are prompted to input the Console password, input the password and then press Enter. Note that this page will only appear if the NPort is password protected. 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 Initial IP Address Configuration 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. 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 section, we describe the various NPort 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 operating mode in this chapter, refer to Chapter 5 for detailed configuration parameter definitions.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode 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 Choosing the Proper Operation Mode TCP Client Mode In TCP Client mode, NPort can actively establish a TCP connection to a pre-defined host computer when serial data arrives. 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.
NPort 5600 Series User’s Manual Choosing the Proper Operation Mode The driver used for Real COM Mode comes with the NPort Windows Administrator which will install automatically on your computer when you install NPort Administration Suite. The important point is that Real COM Mode allows users to continue using RS-232/422/485 serial communications software that was written for pure serial communications applications.
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 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 5600 Series User’s Manual Web Console Configuration 4. The NPort 5600 homepage will open. On this page, you can see a brief description of the Web Console’s nine function groups. 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 next to the LCM Display. Remember to use Windows Administrator to export the configuration file when you have finished the configuration.
NPort 5600 Series User’s Manual Web Console Configuration Basic Settings 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. First time users should select the time zone first.
NPort 5600 Series User’s Manual Web Console Configuration Click on the Modify button to open the Modify time settings window to input the correct local time. Time server Setting Factory Default Necessity IP or Domain address None Optional (E.g., 192.168.1.1 or time.stdtime.gov.tw) NPort 5600 uses SNTP (RFC-2030) for auto time calibration. Input the correct “Time server” IP address or domain address.
NPort 5600 Series User’s Manual Web Console Configuration Network Settings You must assign a valid IP address to NPort 5600 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 5600 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 5600 Series User’s Manual Web Console Configuration network. Choose a proper IP address which is unique and valid in your network environment. Netmask Setting Factory Default Necessity E.g., 255.255.255.0 255.255.255.0 Required A subnet mask represents all the network hosts at one geographic location, in one building, or on the same local area network.
NPort 5600 Series User’s Manual Web Console Configuration server 2 configuration items to configure the IP address of the DNS server. DNS server 2 is included for use when DNS server 1 is unavailable. NPort plays the role of DNS client, in the sense that the NPort will actively query the DNS server for the IP address associated with a particular domain name.
NPort 5600 Series User’s Manual Web Console Configuration Auto report to IP Setting E.g., 192.168.1.1 Factory Default Necessity None Optional (IP addresses of the form x.x.x.0 and x.x.x.255 are invalid.) Reports generated by the Auto report function will be sent automatically to this IP address. Auto report to TCP port Setting E.g.
NPort 5600 Series User’s Manual Web Console Configuration Port alias Setting 1 to 15 characters Factory Default Necessity None Optional (E.g., PLC-No.1) “Port Alias” is specially designed to allow easy identification of the serial devices which are connected to NPort’s serial port. Serial Parameters 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.
NPort 5600 Series User’s Manual Web Console Configuration Flow control Setting None, RTS/CTS, DTR/DSR, Xon/Xoff FIFO Setting Factory Default Necessity RTS/CTS Required Factory Default Necessity Enable, Disable Enable Required NPort’s serial ports provide a 16-byte FIFO both in the Tx and Rx directions. Disable the FIFO setting when your serial device does not have a FIFO to prevent data loss during communication.
NPort 5600 Series User’s Manual Web Console Configuration 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. After the connection is closed, NPort starts listening for another Real COM driver connection from another host.
NPort 5600 Series User’s Manual Web Console Configuration Delimiter 1 Setting 00 to FF Delimiter 2 Setting Factory Default Necessity None Optional Factory Default Necessity 00 to FF None Optional Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port. Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
NPort 5600 Series User’s Manual Web Console Configuration TCP Server 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. After the connection is closed, NPort starts listening for another host’s TCP connection.
NPort 5600 Series User’s Manual Web Console Configuration If the Inactivity time is set to 0, the current TCP connection is kept active until a connection close request is received. Although Inactivity time is disabled, the NPort will check the connection status between the NPort and remote host by sending “keep alive” packets periodically. If the remote host does not respond to the packet, NPort assumes that the connection was closed down unintentionally.
NPort 5600 Series User’s Manual Web Console Configuration 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 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 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 Web Console Configuration 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. Inactivity time is ONLY active when “TCP connection on” is set to “Any Character.
NPort 5600 Series User’s Manual Web Console Configuration NPort should send that series of characters during a time interval less than the Force Transmit timeout for NPort, and the total length of data must be less than or equal to NPort’s internal buffer size. The serial communication buffer size for NPort is 1 KB per port. Destination IP address 1 Setting IP address or Domain Address Factory Default Necessity None Required (E.g., 192.168.1.
NPort 5600 Series User’s Manual Web Console Configuration UDP Mode Delimiter 1 Setting 00 to FF Delimiter 2 Setting Factory Default Necessity None Optional Factory Default Necessity 00 to FF None Optional Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’s Ethernet port. Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer.
NPort 5600 Series User’s Manual Web Console Configuration to 1200 bps, 8 data bits, 1 stop bit, and none for parity. In this case, the total number of bits needed to send a character is 10 bits, and the time required to transfer one character is ( 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 5600 Series User’s Manual Web Console Configuration Accessible IP Settings NPort has an IP address based filtering method to control access to itself. Accessible IP Settings allows you to add or block remote host IP addresses to prevent unauthorized access. Access to NPort is controlled by IP address. That is, if a host’s IP address is in the accessible IP table, then the host will be allowed to access the NPort. You can allow one of the following cases by setting the parameter.
NPort 5600 Series User’s Manual Web Console Configuration 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 5-23 Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity None Optional Factory Default Necessity None
NPort 5600 Series User’s Manual Web Console Configuration 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 SMTP AUTH supports LOGIN, PLAIN, CRAM-MD5 (RFC 2554). SNMP Trap Server SNMP trap server IP or domain name Setting IP or Domain Name Factory Default Necessity None Optional Event Type Cold start This refers to starting the system from power off (contrast this with warm start).
NPort 5600 Series User’s Manual Web Console Configuration with the password change notice before NPort reboots. If the NPort is unable to send an e-mail message to the mail server within 15 seconds, NPort will reboot anyway, and abort the e-mail auto warning. 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.
NPort 5600 Series User’s Manual Web Console Configuration Change Password Input the “Old password” and “New password” to change the password. Leave the password boxes blank to erase the password. In this case, the NPort will not have password protection. If you forget the password, the ONLY way to configure NPort is by using the Reset button on NPort’s casing to “Load Factory Default.” Remember to export the configuration file using Windows Administrator when you finish the configuration.
6 Chapter 6 Configuring Windows Administrator Windows 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 Configuring Windows Administrator Overview We understand the importance of software as the foundation of your application, and with this in mind, we designed NPort Administrator to let you easily install and configure your NPort 5600 Series product over the network. NPort Administrator provides five function groups that ease the installation process, allows off-line COM mapping, and provides monitoring and IP location server functions.
NPort 5600 Series User’s Manual Configuring Windows Administrator 4. Click on Next to install the program using the default program name, or select a different name. 5. Click on Install to proceed with the installation. 6. The Installing window reports the progress of the installation. 7. Click on Next to proceed with the installation.
NPort 5600 Series User’s Manual 8. Configuring Windows Administrator Click on Finish to complete the installation of NPort Administration Suite. Configuration The Administrator-Configuration window is divided into four parts. z The top part is the function list and online help area. z The left part lists the five Administrator function groups. z The right part shows the list of NPorts, each of which can be selected to process user requirements.
NPort 5600 Series User’s Manual Configuring Windows Administrator Broadcast Search The Broadcast Search function is used to locate all NPorts that are connected to the same LAN as your computer. 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.
NPort 5600 Series User’s Manual Configuring Windows Administrator Unlock Password Protection If the NPort is password protected, then you will not be able to use the double click method to open the configuration page. Instead, select an NPort with “Lock” status, right click the locked NPort, and then select the Unlock button. After inputting the correct password, the Administrator will display a message box as shown here. The previous “Lock” status will switch to “Unlock” status.
NPort 5600 Series User’s Manual Configuring Windows Administrator session, activating various utilities for this NPort will not require re-entering the server password. Blank The NPort is not password protected, and “Broadcast Search” was used to locate it. Fixed The NPort is not password protected, and “Search by IP address” was used to locate it.
NPort 5600 Series User’s Manual Configuring Windows Administrator You can simultaneously modify the configurations of multiple NPorts that are of the same model. To select multiple NPorts, hold down the Ctrl key when selecting additional NPorts, or hold down the Shift key to select a group of NPorts. Upgrading Firmware Input the password to Unlock the NPort, and then right click on a specific NPort and select the Upgrade Firmware function to start upgrading the firmware.
NPort 5600 Series User’s Manual Configuring Windows Administrator Export/Import Input the password to Unlock the NPort, and then right click on a specific NPort 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.
NPort 5600 Series User’s Manual Configuring Windows Administrator Click on Monitor. Select Add Target. When you select add target, you will see an NPort list that looks the same as when using Configuration Æ Broadcast Search. Check the NPort you would like to Monitor, and then click OK. The NPort list will now appear on the Monitor screen. Right click the panel and select Settings. Select or de-select Monitor Items. Use the single arrowhead buttons to move highlighted items from one box to the other.
NPort 5600 Series User’s Manual Configuring Windows Administrator Select a Refresh Rate (the default is 3 seconds). 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. Press Go to start Monitor.
NPort 5600 Series User’s Manual Configuring Windows Administrator In the Monitor screen, you can see the “Not Alive” NPort is marked with red color. Click the Alive column. The Monitor program will sort the NPort list and put all “Not Alive” NPorts at the top of the list. If the NPort gets reconnected, a warning will be displayed to remind the user the NPort is now “Alive.” The NPort that was reconnected, and is now “Alive,” will be shown in black color.
NPort 5600 Series User’s Manual Configuring Windows Administrator 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. COM Mapping Windows Administration Suite comes with Windows 95/98/ME/NT/2000/XP Real COM drivers. After you install Windows Administration Suite, there are two ways to set up the NPort’s serial port as your host’s remote COM port.
NPort 5600 Series User’s Manual Configuring Windows Administrator Add the target to which you would like to map COM ports. 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. Select COM Setting to modify COM No., default setting, etc. Select the COM No. COM ports that are “In use” or “Assigned” will also be indicated in this drop-down list.
NPort 5600 Series User’s Manual Configuring Windows Administrator Fast Flush (only flush local buffer) 1. We have added one optional “Fast Flush” function in our new NPort Real COM driver. NPort Administrator Suite for 2G NPort adds it after version 1.2. 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 Configuring Windows Administrator Select Discard Change to tell Administrator NOT to save the COM Mapping information to the host. To save the configuration to a text file, select Export COM Mapping. You will then be able to import this configuration file to another host and use the same COM Mapping settings in the other host. Off-line COM Mapping Add a target by inputting the IP address and selecting the Model Name without physically connecting the NPort to the network.
NPort 5600 Series User’s Manual Configuring Windows Administrator Apply change. 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. z Receive NPort’s IP location report z Centralize NPort’s IP management in a dynamic IP environment. Configure NPort with Dynamic IP settings.
NPort 5600 Series User’s Manual Configuring Windows Administrator Click GO to start receiving the Auto IP address report from the NPort.
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 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 5600 Series User’s Manual IP Serial LIB IP Serial LIB Function Groups Server Control Port Control nsio_init nsio_end nsio_resetserver nsio_checkalive nsio_open nsio_close nsio_ioctl nsio_flowctrl nsio_DTR nsio_RTS nsio_lctrl nsio_baud nsio_resetport Input/Output Data Port Status Inquiry nsio_read nsio_lstatus nsio_SetReadTimeouts nsio_data_status nsio_write nsio_SetWriteTimeouts Miscellaneous nsio_break nsio_break_on nsio_break_off nsio_breakcount Example Program char nportip=”192.168.1.
A Appendix A Pinouts and Cable Wiring In this appendix, we cover the following topics.
NPort 5600 Series User’s Manual Pinouts and Cable Wiring Port Pinout Diagrams Ethernet Port Pinouts Serial Port Pinouts RS-232 Pinouts 4-wire RS-422 Pinouts A-2
NPort 5600 Series User’s Manual Pinouts and Cable Wiring 2-wire RS-485 Pinouts Cable Wiring Diagrams Ethernet Cables A-3
NPort 5600 Series User’s Manual Pinouts and Cable Wiring Serial Cables RJ45 (8 pins) to DB9 Female for NPort 5610 RJ45 (8 pins) to DB9 Male for NPort 5610 RJ45 (8 pins) to DB25 Female for NPort 5610 A-4
NPort 5600 Series User’s Manual Pinouts and Cable Wiring RJ45 (8 pins) to DB25 Male for NPort 5610 Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male and Female Connectors DB9 Male Connector DB9 Female Connector Pin Assignments for DB25 Male and Female Connectors DB25 Male Connector DB25 Female Connector A-5
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 Well Known Port Numbers 43 Whois (nickname) 49 (Login Host Protocol) (Login) 53 Domain Name Server (domain) 79 Finger protocol (Finger) TCP Socket Application Service 80 World Wibe Web HTTP 119 Netword 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 serv
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 SysServices SNMP Agent with MIB II & RS-232 Like Group 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 ip
NPort 5600 Series User’s Manual SNMP Agent with MIB II & RS-232 Like Group 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 snmpInReadOn
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 Auto IP Report Protocol 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. http://web2.moxa.com.tw/services/download/download.
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 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 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. Moxa Product: NPort 5610-16-48V (DC Power) NPort 5610-8-48V (DC Power) NPort 5610-16 (AC Power) NPort 5610-8 (AC Power) NPort 5630-16-48V (DC Power) NPort 5630-8-48V (DC Power) NPort 5630-16 (AC Power) NPort 5630-8 (AC Power) 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.
NPort 5600 Series User’s Manual Service Information Revision History Document Edition Revision Date 2nd November 27, 2003 3rd January 7, 2004 Revision Details 1. Update the edition of this manual on the title page. 2. Include product information for NPort 5630 into related chapters of this User’s Manual. 1. Update the edition of this manual on the title page. 2. p. 2-5 Add Real Time Clock section and the warning message regarding dealing with the lithium battery. 4th May 13, 2004 1.