NPort 5600-8-DT Series User’s Manual www.moxa.com/product First Edition, May 2007 Moxa Technologies Co., Ltd. Tel: Fax: Web: +886-2-8910-1230 +886-2-8910-1231 www.moxa.com Moxa Technical Support support@moxa.com Worldwide: The Americas: support@usa.moxa.
NPort 5600-8-DT Series User’s Manual The software described in this manual is furnished under a license agreement and may be used only in accordance with the terms of that agreement. Copyright Notice Copyright © 2007 Moxa Technologies Co., Ltd. All rights reserved. Reproduction without permission is prohibited. Trademarks Moxa is a registered trademark of the Moxa Group. All other trademarks or registered marks in this manual belong to their respective manufacturers.
Table of Contents Chapter 1 Introduction ...............................................................................................1-1 Overview .............................................................................................................................. 1-2 Product Features ................................................................................................................... 1-2 Package Checklist.............................................................................
Accessible IP Settings........................................................................................................... 4-7 Auto Warning Settings.......................................................................................................... 4-7 Email and SNMP trap ............................................................................................. 4-8 Event Type ..............................................................................................................
Activating the Monitor.......................................................................................... 8-14 Port Monitor ....................................................................................................................... 8-16 COM Mapping.................................................................................................................... 8-17 Finding Your Device Server .................................................................................
2-wire RS-485 Cables (NPort 5650-8-DT).......................................................................... A-2 DB9 and DB25 Connectors ................................................................................................. A-3 DB9 Connectors..................................................................................................... A-3 DB25 Connectors...................................................................................................
1 Introduction Chapter 1 The MOXA NPort 5600-8-DT Series, a line of advanced serial device servers, makes it easy to enable your serial devices for network operation.
NPort 5600-8-DT User’s Manual Introduction Overview Your NPort 5600-8-DT Series device server provides instant Ethernet network access to industrial devices through a serial connection. Devices such as PLCs, meters, and sensors can use the device server to connect to an IP-based Ethernet LAN, making the devices accessible from anywhere over a local LAN or the Internet.
NPort 5600-8-DT User’s Manual Introduction Package Checklist The Standard Accessories are shipped with each NPort 5600-8-DT device server. The Optional Accessories can be ordered separately.
2 Overview of Hardware Chapter 2 The NPort 5600-8-DT is a rugged and easy-to-use device networking product. Use this chapter to familiarize yourself with the hardware and specifications.
NPort 5600-8-DT User’s Manual Overview of Hardware Panel Layout Top and Rear View RS-232 console port Alarm speakers Reset button Console Reset Port 2 Port 4 Port 6 Port 8 Port 1 Port 3 Port 5 Port 7 LED indicators LCM console display Input buttons Front View NPort 5610-8-DT, 5650-8-DT, 5650I-8-DT Power switch V+ V12-48 VDC LAN ETH2 ETH1 Port 2 Port 4 Port 6 Port 1 Port 3 Port 5 Port 8 Port 7 DB9(M) serial ports RJ45 10/100 Mbps Ethernet ports Power input Terminal block power inpu
NPort 5600-8-DT User’s Manual Overview of Hardware Bottom View DIP switch reference chart Termination Resistor for the RS-485 Port SW 1 2 3 Pull High Pull Low Terminator ON Default OFF ---- DIP switches for pull high/low resistors Item Description PWR LED Indicates power input status (red) Ready and Fault LEDs Indicates normal operation (green) or IP conflict (red) Link LED Flashes when Ethernet is connected InUse LEDs Flashes when device port is transmitting or receiving data (green)
NPort 5600-8-DT User’s Manual Overview of Hardware LED Indicators Top Panel Indicators Name PWR Ready Fault Link Color red Power is on. off Power is off. green Tx/Rx (P1 to P8) Steady: Blinking: NPort is operational NPort is responding to NPort Administrator “Locate” function off Power is off or fault condition exists. red IP conflict or DHCP or BOOTP server did not respond properly. off No fault condition detected.
NPort 5600-8-DT User’s Manual Overview of Hardware Pin Assignments Ethernet Port Pinouts Connector 1 8 RJ45 Pin Signal 1 RXD+ 2 RXD- 3 TXD+ 4 --- 5 --- 6 TXD- 7 --- 8 --- Device Port Pinouts DB9 Ports (NPort 5610-8-DT, 5650-8-DT, 5650I-8-DT) Connector 1 6 5 9 DB9 (Male) RS-422 2-wire RS-485 4-wire RS-485 Pin RS-232 1 DCD TxD-(A) --- 2 RxD TxD+(B) --- 3 TxD RxD+(B) Data+(B) 4 DTR RxD-(A) Data-(A) 5 GND GND GND 6 DSR --- --- 7 RTS --- --- 8 CTS --
NPort 5600-8-DT User’s Manual Overview of Hardware The NPort 5610-8-DT-J only supports RS-232 signals. Console Port Pinouts Connector 1 8 RJ45 Pin RS-232 1 DSR 2 RTS 3 GND 4 TxD 5 RxD 6 DCD 7 CTS 8 DTR Product Specifications LAN Ethernet Protection 2 × 10/100 Mbps, RJ45 Built-in 1.5 KV magnetic isolation Serial Interface Interface RS-232 (NPort 5610-8-DT, 5610-8-DT-J) RS-232/422/485 (NPort 5650-8-DT, 5650-8-DT-J, 5650I-8-DT) No.
NPort 5600-8-DT User’s Manual Overview of Hardware Advanced Built-in Features HMI 4-button LCM console Audio Alarm 16-bit uncompressed 48 kHz WAV file under 511 KB Real-Time Clock Lithium battery-powered Watch Dog Timer Automatically reboots device server if device server crashes Software Features Protocols Console Ports ICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP, HTTP, SMTP, SNTP, Rtelnet, ARP, RFC2217 NPort Administrator (Windows 95, 98, ME, NT, 2000, XP, 2003, and Vista) Windows: 95, 98, ME,
3 Basic Installation Chapter 3 The NPort 5600-8-DT device server is designed to coordinate between your network, your host computer, and your serial device. Installation of the device server should occur in stages to ensure that each connection is recognized. This chapter will guide you through a typical installation with a Windows PC. For certain applications or environments, you may be guided to other chapters for additional information.
NPort 5600-8-DT User’s Manual Basic Installation Before You Begin This chapter will walk you through the major steps of a typical installation and will offer advice on adjustments and options for specific applications. Please note that certain procedures will vary for your specific application and environment. In these instructions, a Windows PC is used for configuration. For Linux or UNIX environments, please refer to Chapter 10.
NPort 5600-8-DT User’s Manual Basic Installation ATTENTION Wiring Safety Precautions Disconnect power source Do not install or wire this unit or any attached devices with the power connected. Disconnect the power before installation by removing the power cord before installing and/or wiring your unit. Follow maximum current ratings Calculate the maximum possible current in each power wire and common wire. Observe all electrical codes dictating the maximum current allowable for each wire size.
NPort 5600-8-DT User’s Manual Basic Installation STEP 1: Connect network, serial device, and power This step covers the physical installation of the hardware. This step requires the following items: NPort 5600-8-DT Series device server Power adapter and power cord Ethernet cable Serial cable with RJ45 or DB9 connector (depending on model) Serial device Connect to Network After placing the device server in its location, plug one end of the network cable into one of the device server’s Ethernet ports.
NPort 5600-8-DT User’s Manual Basic Installation ATTENTION Grounding and wire routing helps limit the effects of noise due to electromagnetic interference (EMI). Before attaching any serial devices, run your ground wire from your grounding surface to the device server’s grounding contact at the rear panel. Secure the connection with the provided screw. Connect Power Connect the 12 to 48 VDC power line to the NPort 5600-8-DT’s terminal block or power jack. The “Ready” LED will initially glow red.
NPort 5600-8-DT User’s Manual Basic Installation STEP 2: Configure the device server’s general settings This step covers the configuration of general settings using NPort Administrator. You may also use the web, serial, Telnet, or LCM console to configure the device server. Please refer to Chapter 7, 8, and 9 for additional information on using the other consoles.
NPort 5600-8-DT User’s Manual Basic Installation Setting Up the Audio Alarm The NPort 5600-8-DT has a built-in audio alarm to warn you when certain events occur. You can change the audio by using NPort Administrator to upload a16-bit uncompressed 48 kHz WAV audio file no bigger than 511 KB. To select which events activate the audio alarm, go to the “Auto Warning” tab in the “Configuration” window of NPort Administrator.
NPort 5600-8-DT User’s Manual Basic Installation STEP 3: Configure device port operation mode This step covers configuration of a device port’s operation mode. The operation mode determines how the device port will interact with the network. The selection of operation mode will depend on your specific application. Please refer to the chart on the following page for guidance in selecting the operation mode. For additional information, please refer to Chapter 5.
NPort 5600-8-DT User’s Manual Basic Installation Operation Mode Selection Chart You can use this chart to help you select the appropriate operation mode for your application.
NPort 5600-8-DT User’s Manual Basic Installation STEP 4: Configure serial communication parameters This step covers the configuration of each device port’s serial communication parameters, such as baudrate, stop bit, etc.
NPort 5600-8-DT User’s Manual Basic Installation Adjust Serial Parameters The serial communication parameters for each device port can be configured through NPort Administrator. Open your device server’s configuration window using the same method when you adjusted the network parameters. On the “Serial” tab, click “Modify” and select the device port that you wish to configure. Click “Settings” to configure the selected device port. Make adjustments to the parameters as necessary.
NPort 5600-8-DT User’s Manual Basic Installation STEP 5: Map COM port to device This step covers the mapping of COM ports on a Windows PC to NPort device ports. This allows Windows software to access serial devices over the network as if they were local COM devices, for instant device networking without software migration. COM mapping is supported in Real COM and RFC2217 modes only. The following instructions are for device ports operating in Real COM mode.
NPort 5600-8-DT User’s Manual Basic Installation In the Basic Settings tab, select the COM port number that will be mapped to the device port. You can map multiple COM ports at the same time, in which case the “Auto Enumerating” feature may be used to automatically number the COM ports. In the Serial Parameters tab, adjust the settings to match your device. These settings must also match the settings on the device port. Click “OK” when you are satisfied with your changes.
NPort 5600-8-DT User’s Manual Basic Installation Apply Change Right-click COM Mapping in the Function panel and select “Apply Change” in the context menu to save the current COM mapping settings. Your application will now be able to access the target serial device using the COM port.
4 General Settings Chapter 4 The NPort 5600-8-DT is easily configured to suit your network environment and your application. This chapter goes over general settings for your device server.
NPort 5600-8-DT User’s Manual General Settings Overview The NPort 5600-8-DT can be configured through NPort Administrator, the web console, the Telnet console, or the serial console. For each of these configuration interfaces, parameters are organized by type. For this chapter, screenshots from the web console are used to illustrate the available parameters, but the same parameters can be modified using the other interfaces.
NPort 5600-8-DT User’s Manual General Settings Telnet console (default = Enable): This field enables or disables access to the Telnet console. LCM password protect (default = No): This field enables or disables password protection for the LCM console. The LCM console refers to the LCD control panel on the top panel of the device server, which may be used for basic configuration. Reset button protect (default = No): This field enables or disables reset button operation.
NPort 5600-8-DT User’s Manual General Settings established directly from the device server. Otherwise, the connection is established through the gateway as specified in the “Gateway” parameter. Gateway (default = blank): This field is for the IP address of the gateway, if applicable. A gateway is a network computer that acts as an entrance to another network. Usually, the computers that control traffic within the network or at the local Internet service provider are gateway nodes.
NPort 5600-8-DT User’s Manual General Settings IP Address Reports: The IP Address report settings are used when the NPort’s IP address is configured by DHCP or BOOTP (i.e., dynamic rather than static IP address). Using these settings, the NPort can be configured to send periodic IP address reports to a network host. For example, if the NPort is operating as a server (TCP or UDP modes), then the host, operating as a client, must know the NPort’s IP address.
NPort 5600-8-DT User’s Manual General Settings Port alias (default = blank): This optional text field can be used to help you differentiate one device port from another. Baudrate (default = 115.2 Kbps): This field is required. Data bits (default = 8): This field is required. Stop bits (default = 1): This field is required. Parity (default = None): This a required field. Flow control (default = RTS/CTS): This is a required field. FIFO (default = Enable): This is a required field.
NPort 5600-8-DT User’s Manual General Settings Accessible IP Settings The Accessible IP list allows you enable only certain IP addresses to connect to the NPort device server and attached devices. When the accessible IP list is enabled, only IP addresses that are on the list will be able to connect to the NPort.
NPort 5600-8-DT User’s Manual General Settings Email and SNMP trap The Email and SNMP trap parameters are used to configure how e-mail and SNMP traps are sent when an automatic warning is issued by the NPort device server. Mail Server (default = blank): This optional field is for the IP address or domain name of your network mail server, if applicable. The mail server is required for the NPort to send e-mail warnings of administrative events.
NPort 5600-8-DT User’s Manual General Settings Event Type The Event Type parameters are used to configure which events will generate an automatic warning from the NPort device server, and how that warning will be issued. For each listed event, certain automatic warning options are available. If Mail is selected, an e-mail will be sent. If Trap is selected, an SNMP trap will be sent. If Alarm is selected, the built-in audio alarm will activate. Cold start: The NPort has booted up after being powered off.
NPort 5600-8-DT User’s Manual General Settings (Data Communication Equipment) is powered on. A DSR change to low indicates that the DCE is powered off. ATTENTION DCD and DSR signal changes are only applicable for the RS-232 interface. Alarm Audio File This setting is available in the web console only. Please refer to Chapter 7 for additional information. The audio file parameter is used to configure the built-in audio alarm. Select a .WAV file to use as the audio alarm.
5 Introduction to Operation Modes Chapter 5 In this chapter, we describe the various device port operation modes available on the NPort 56008-DT. The operation mode determines how the device port will interact with the network. The selection of operation mode will depend on your specific application. After choosing the proper operation mode in this chapter, please refer to Chapter 6 for information on configuring the operation mode advanced settings.
NPort 5600-8-DT User’s Manual Introduction to Operation Modes Overview The NPort 5600-8-DT connects RS-232/422/485 devices to an Ethernet network. In a typical application, a traditional SCADA and data collection system relies on serial devices to collect data from various kinds of instruments. With the NPort device server, the SCADA and data collection system can access instrument data over a standard TCP/IP network, whether the devices are used locally or at a remote site.
NPort 5600-8-DT User’s Manual Introduction to Operation Modes ATTENTION Real COM drivers are installed automatically with NPort Administrator. Real COM mode allows you to continue using your serial communications software to access devices that are now attached to your NPort device server. On the host, the NPort Real COM driver automatically intercepts data sent to the COM port, packs it into a TCP/IP packet, and redirects it to the network.
NPort 5600-8-DT User’s Manual Introduction to Operation Modes TCP Client Mode In TCP Client mode, the NPort actively establishes a TCP connection to a specific network host when data is received from the attached serial device. After the data has been transferred, the NPort can automatically disconnect from the host computer through the Inactivity time settings. Please refer to Chapter 6 for details on these parameters.
NPort 5600-8-DT User’s Manual Introduction to Operation Modes Reverse Telnet Mode Unix Windows NT TCP/IP Telnet In Reverse Telnet mode, the device port is connected to a server and waits for a terminal session to from a host on the network. This is an appropriate mode for console management, with device ports connected to the console/AUX or COM ports of routers, switches, or UPS units. Unlike TCP Server mode, Reverse Telnet mode assists with CR/LF conversion.
6 Operation Mode Advanced Settings Chapter 6 Each device port on the NPort 5600-8-DT operates in one of the available operation modes, such as Real COM mode or Reverse Telnet mode. For each operation mode, different parameters can be configured. This chapter explains the settings for every parameter for every operation mode.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings Overview The device port operation mode determines how the port interacts with the network. Depending on your application and device, more than one operating mode may be suitable. When setting the operation mode, different parameters may be adjusted depending on the operation mode. For each mode, the default settings should work for most applications. Modify these settings only if absolutely necessary for your application.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings When to Make Adjustments The default settings for each operation mode are designed to work for most applications, and usually do not need to be modified. However, adjustments may be required for the following situations: You need to control network data packing using specific delimiter characters. Adjust Delimiters 1 and 2 and Delimiter process. Multiple hosts will simultaneously access the attached device.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings RFC2217 Mode Pair Connection Mode Reverse Telnet Mode UDP Mode TCP Client Mode TCP Server Mode Real COM Mode Inactivity time Range: 0 to 65535 ms Default: 0 Description: This specifies the time limit for keeping the connection open if no data flows to or from the serial device. If there is no activity for the specified time, the connection will be closed.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings RFC2217 Mode Pair Connection Mode Reverse Telnet Mode UDP Mode TCP Client Mode TCP Server Mode Real COM Mode Allow driver control Range: Yes or No Default: No Description: This specifies whether the device port will respond to driver control commands when multiple simultaneous connections are enabled (see Max connection).
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings ATTENTION When the device port buffer is full, the data will be packed for network transmission, regardless of the settings for Delimiter 1, Delimiter 2, and Force transmit.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings Other Parameters RFC2217 Mode Pair Connection Mode Reverse Telnet Mode UDP Mode TCP Client Mode TCP Server Mode Real COM Mode Local TCP port Range: 1 to 65535 Default: 4001 for port 1, 4002 for port 2, etc. Description: This specifies the TCP port number for communication to the attached device. Socket applications will need to refer to the device using this port number.
NPort 5600-8-DT User’s Manual Operation Mode Advanced Settings RFC2217 Mode Pair Connection Mode Reverse Telnet Mode UDP Mode TCP Client Mode TCP Server Mode Real COM Mode Designated local port 1 through 4 Range: 1 to 65535 Default: none Description: This specifies the TCP port number that will be used for data transmission with the device port.
7 Using the Web Console Chapter 7 The NPort 5600-8-DT’s web console allows it to be managed from anywhere on the network using a standard web browser. This chapter explains how to use the web console.
NPort 5600-8-DT User’s Manual Using the Web Console Overview The NPort can be configured from anywhere on the network through its web console. Simply point the browser to the device server’s IP address to open the web console. Network settings, operation mode, and other items can all be modified through the browser. This is a handy option for configuration if you cannot or do not wish to install NPort Administrator. ATTENTION All device server settings can be accessed using the web console.
NPort 5600-8-DT User’s Manual Using the Web Console ATTENTION If you are not using Internet Explorer, cookies are usually enabled through a web browser setting such as “allow cookies that are stored on your computer” or “allow per-session cookies.” Basic Navigation To open the web console, enter your device server’s IP address in the website address line. If you are configuring the NPort for the first time, you will use the default IP address, 192.168.127.254. If prompted, enter the console password.
NPort 5600-8-DT User’s Manual Using the Web Console Device Server Settings Please refer to Chapter 4 for details on the following settings: Basic Settings Network Settings Serial Settings Accessible IP Settings Auto Warning Settings Change Password For details on Operating Settings, please refer to Chapter 5. Special Functions There are several special functions that are available in the web console. These functions are not available on NPort Administrator.
NPort 5600-8-DT User’s Manual Using the Web Console Async Monitor each device port’s serial signal status. Async-Settings Monitor each device port’s serial run-time settings.
NPort 5600-8-DT User’s Manual Using the Web Console Alarm Monitor the alarm status for certain administrative events. Click “Acknowledge Event” to reset an alarm that has been activated. You can use this method to turn off the audio alarm if it has been activated. Please refer to Chapter 4 for information on selecting events for automatic warning. Load Factory Defaults This will load the NPort’s factory default configuration.
8 Using NPort Administrator Chapter 8 The following topics are covered in this chapter: Overview Installing NPort Administrator Basic Navigation ¾ Window Layout ¾ Activating a Function Configuration ¾ Finding Your Device Server ¾ Status ¾ Device Server Parameters ¾ Firmware and Configuration Management Monitor ¾ Finding Your Device Server ¾ Monitoring Parameters ¾ Activating the Monitor Port Monitor COM Mapping ¾ Finding Your Device Server ¾ COM Mapping Settings ¾ Saving COM Mapping Setting
NPort 5600-8-DT User’s Manual Using NPort Administrator Overview The NPort Administration Suite provides everything you need to manage, monitor, and modify your NPort from a remote location. It includes NPort Administrator and the IP Serial Library. With NPort Administrator, you can easily install and configure your NPort device server over the network. You can also run NPort Administrator from one location to manage multiple device servers.
NPort 5600-8-DT User’s Manual Using NPort Administrator 3. Click Next to accept the proposed Start menu folder, or select a different folder. 4. Click Install to proceed with the installation. 5. The setup wizard will show the progress of the installation.
NPort 5600-8-DT User’s Manual Using NPort Administrator 6. A special notice will appear. Click Next after reading the notice. 7. Click Finish to complete the installation of the NPort Administration Suite.
NPort 5600-8-DT User’s Manual Using NPort Administrator Basic Navigation Window Layout NPort Administrator is designed to make it easy to configure, monitor, or manage any NPort 56008-DT on your network. The interface is organized into four areas as follows: The top section is the menu area. The left panel is the Function panel. This is where you navigate between different functions. You may also use the Function menu on the menu bar.
NPort 5600-8-DT User’s Manual Using NPort Administrator 2. If your device server is already listed in the right panel, you may skip to the next step. If the list of device servers is empty, you will need to “find” your device server. Right-click the desired function in the function panel to open the function context menu. You will need to add device servers to the list by selecting a command such as “Search” or “Add Target”. 3.
NPort 5600-8-DT User’s Manual Using NPort Administrator Specify by IP Address: This allows you to find your device server manually by entering its IP address. Status The NPort may be password-protected to prevent unauthorized configuration changes. Please refer to Chapter 4 for additional information on password protection. The status will be shown in the list of available device servers. There are six possible statuses for device servers on the network.
NPort 5600-8-DT User’s Manual Using NPort Administrator 2. Enter the password and click OK. 3. If the correct password is provided, you will receive an “Unlock ok” message. 4. The device server’s status will be updated to “Unlock”. Device Server Parameters You can configure any NPort 5600-8-DT on the LAN using the Assign IP Address, Configure, orWeb commands in the function context menu.
NPort 5600-8-DT User’s Manual Using NPort Administrator Configure: This opens the target device server’s configuration window. Parameters are grouped into tabs. Please refer to Chapter 4 for a description of all general settings for the NPort 5600-8DT. Click a Modify checkbox to enable changes to the associated parameter. Click OK to implement changes. ATTENTION You can configure multiple units simultaneously, as long as the units are the same model.
NPort 5600-8-DT User’s Manual Using NPort Administrator Firmware and Configuration Management You can manage your device servers’ firmware and configuration using the Upgrade Firmware and Import/Export Configuration commands. Upgrade Firmware: This allows you to upload new firmware to the target NPort device server. You can obtain firmware updates for your NPort 5600-8-DT at www.moxa.com. Browse for the new firmware file and click OK. It will take a few moments for the NPort’s firmware to be updated.
NPort 5600-8-DT User’s Manual Using NPort Administrator ATTENTION You can update the firmware of multiple units simultaneously, as long as the units are the same model. Simply hold down the Ctrl or Shift key when selecting the target device servers. Import/Export Configuration: These commands are used to save or restore the target device server’s configuration. All configuration settings can be stored on a file to be restored later, from anywhere on the network.
NPort 5600-8-DT User’s Manual Using NPort Administrator Add Target: This selects NPort device servers on the LAN for monitoring. You may need to click “Rescan” to search the network again for NPort device servers. Once a device server has been found, select it in order to add it to the Monitor list. You can also select “Input manually” to enter a specific IP address and model for monitoring. Remove Target: This removes a device server from the monitor list.
NPort 5600-8-DT User’s Manual Using NPort Administrator In the Monitor Items tab, you may select which items of information will be monitored. In the General Settings tab, you may select the monitoring refresh rate, which is how often the monitor function will check the status of each NPort on the monitor list. The default is 3 seconds.
NPort 5600-8-DT User’s Manual Using NPort Administrator In the Advanced Settings tab, you may enable an alarm to warn you if a connection is off-line. You may choose an audible alarm as well as a pop-up warning message. Activating the Monitor The Go command activates live monitoring. The monitor list will now be monitored live, as indicate by “Running” in the header.
NPort 5600-8-DT User’s Manual Using NPort Administrator If you configured the monitor function with warnings enabled, a notification will appear if a monitored device server goes off-line. NPorts that are off-line will be also displayed in red in the monitor list. If the NPort is able to re-establish the connection, another notification will appear indicating that the NPort 5600-8-DT is now “Alive”. The monitor list will be updated accordingly.
NPort 5600-8-DT User’s Manual Using NPort Administrator Select the Stop command to suspend live monitoring. Port Monitor The Port Monitor function is identical to the Monitor function, but with many additional items that can be monitored, as shown below. In addition, each item on the port monitor list will be an individual device port on an NPort device server. Each device port can be selected or deselected for monitoring.
NPort 5600-8-DT User’s Manual Using NPort Administrator COM Mapping The NPort Administrator Suite is installed with Real COM drivers that work with Windows 95 and above. These drivers transparently connect a COM port on the PC to a device port on the NPort device server. This allows a local application to use COM5, for example, to communicate with a device attached to the NPort. Use the COM Mapping function to define the mapping assignments.
NPort 5600-8-DT User’s Manual Using NPort Administrator To remove a device server from the COM mapping list, use the Remove Target command in the function context menu. ATTENTION You can configure COM mapping even if your device server is off-line (not connected). When using the Add Target command, simply select the “Input manually” option and enter the IP address and model. This is a useful option for certain field installations where COM mapping must be set up before the NPort is physically installed.
NPort 5600-8-DT User’s Manual Using NPort Administrator In the Basic Settings tab, the COM Number parameter selects the COM port that will be mapped to the device port. The drop-down list shows available COM ports with status.
NPort 5600-8-DT User’s Manual Using NPort Administrator In the Advanced Settings tab, you may configure how serial data is transmitted from the PC to the NPort device port. Tx Mode Hi-Performance is the default for Tx mode. After the driver sends data to the NPort, the driver immediately issues a “Tx Empty” response to the program. Under Classical mode, the driver will not send the “Tx Empty” response until after confirmation is received from the NPort. This causes lower throughput.
NPort 5600-8-DT User’s Manual Using NPort Administrator In the Serial Parameters tab, the COM port’s serial communication parameters are defined. Saving COM Mapping Settings After mapping COM ports to NPort device ports, you will need to save the COM mapping settings to the Real COM driver. Use the Apply Change command in the function context menu to save the mapping settings; use the Discard Change command to delete the changes.
NPort 5600-8-DT User’s Manual Using NPort Administrator You can also save COM mapping settings to a text file, which can then be used to duplicate the COM mapping on another host. Use the Export COM Mapping command in the function context menu to save the current COM mapping settings. Use the Import COM Mapping command to load COM mapping settings from a previously saved file.
NPort 5600-8-DT User’s Manual Using NPort Administrator On the NPort device server, the Auto report to IP parameter must be set to the IP address of the PC that is running NPort Administrator. Select Go from the function context menu to begin monitoring for IP address reports. The IP Address Report window will begin displaying IP reports as they are received. Select Stop from the context menu to suspend monitoring, and Clear to clear the current display of reports.
9 Other Configuration Interfaces Chapter 9 The following topics are covered in this chapter: Overview LCM Console ¾ Main MenuÆServer setting ¾ Main MenuÆNetwork setting ¾ Main MenuÆSerial set ¾ Main MenuÆOp Mode set ¾ Main MenuÆConsole ¾ Main MenuÆAlarm ¾ Main MenuÆLCM passwd prot ¾ Main MenuÆReset btn prot ¾ Main MenuÆPing ¾ Main MenuÆSave/Restart Telnet Console Serial Console
NPort 5600-8-DT User’s Manual Other Configuration Interfaces Overview Typically, you will use either NPort Administrator or the web console to configure the NPort 5600-8-DT. These are not the only options for configuration. For basic onsite configuration, you can use the LCM console built into the device server, without requiring a connection to the network or a laptop. You may also connect to the serial console over the serial console port, or to the Telnet console over one of the Ethernet ports.
NPort 5600-8-DT User’s Manual Other Configuration Interfaces Stop bit Parity Flow control Tx/Rx fifo Interface Tx/Rx bytes Line status Main MenuÆOp Mode set Under Op Mode set, you can view or modify each device port’s operation mode. You will first select the port that you wish to modify or view. Note that you can only select the operation mode. You will not be able to view or modify the advanced operation mode settings through the LCM console.
NPort 5600-8-DT User’s Manual Other Configuration Interfaces Main MenuÆPing You can use the built-in Ping function to verify network operation. Enter the IP address that you wish to ping and check the LCD screen for the response. Main MenuÆSave/Restart If any configuration changes are made through the LCM, you will need to Save/Restart for the changes to take effect. Telnet Console You can use Telnet to open a terminal session with the NPort 5600-8-DT over one of the Ethernet ports.
10 TTY Drivers for Linux and UNIX Chapter 10 The following topics are covered in this chapter: Linux Real TTY Drivers ¾ Basic Steps ¾ Installing Linux Real TTY Driver Files ¾ Mapping TTY Ports ¾ Removing Mapped TTY Ports ¾ Removing Linux Driver Files UNIX Fixed TTY Driver ¾ Installing the UNIX Driver ¾ Configuring the UNIX Driver
NPort 5600-8-DT User’s Manual TTY Drivers for Linux and UNIX Linux Real TTY Drivers Real TTY driver are provided that will map Linux host TTY ports to NPort device ports. Once the mapping has been set up, Linux users and applications can connect to a device port as if it were a local TTY port. These drivers have been designed and tested for the majority of Linux distributions, including Linux kernel version 2.4.x and 2.6.x. Please check MOXA’s website (http://www.moxa.
NPort 5600-8-DT User’s Manual TTY Drivers for Linux and UNIX Mapping TTY Ports Make sure that you set the operation mode of the desired NPort serial port to Real COM mode. After logging in as a super user, enter the directory /usr/lib/npreal2/driver and then execute mxaddsvr to map the target NPort serial port to the host TTY ports. The syntax of mxaddsvr is as follows: mxaddsvr [NPort IP Address] [Total Ports] ([Data port] [Cmd port]) The mxaddsvr command performs the following actions: 1.
NPort 5600-8-DT User’s Manual TTY Drivers for Linux and UNIX Removing Linux Driver Files A utility is included that will remove all driver files, mapped TTY ports, and unload the driver. Enter the directory /usr/lib/npreal2/driver, then execute mxuninst to uninstall the driver. This program will perform the following actions: 1. Unload the driver. 2. Delete all files and directories in /usr/lib/npreal2. 3. Delete directory /usr/lib/npreal2. 4. Modify the system initializing script file.
NPort 5600-8-DT User’s Manual TTY Drivers for Linux and UNIX Configuring the UNIX Driver Modify the configuration: The configuration used by moxattyd is defined in the text file moxattyd.cf, which is in the same directory. You may use vi or any text editor to modify the file, as follows: ttyp1 192.168.1.1 950 You can refer to moxattyd.cf for detailed descriptions of the various configuration parameters. Please note that “Device Name” depends on the OS. See the Device Naming Rule section in README.
11 The IP Serial Library Chapter 11 The following topics are covered in this chapter: Overview IP Serial Library Function Groups Example Program
NPort 5600-8-DT User’s Manual The IP Serial Library Overview What is the IP Serial Library? The IP Serial Library is a Windows library with frequently used serial command sets and subroutines. It is designed to reduce the complexity and improve the efficiency of serial communication over TCP/IP. For example, Telnet can transfer data but cannot monitor or configure the serial line’s parameters.
NPort 5600-8-DT User’s Manual The IP Serial Library IP Serial Library Function Groups Server Control Port Control Input/Output Data Port Status Inquiry Miscellaneous nsio_init nsio_end nsio_resetserver nsio_checkalive nsio_read nsio_SetReadTi meouts nsio_write nsio_SetWriteTi meouts nsio_lstatus nsio_data_status nsio_break nsio_break_on nsio_break_off nsio_breakcount nsio_open nsio_close nsio_ioctl nsio_flowctrl nsio_DTR nsio_RTS nsio_lctrl nsio_baud nsio_resetport Example Program char nportip=“1
12 Troubleshooting Chapter 12 In this chapter, we describe a straightforward procedure that can be used to troubleshoot problems you encounter when operating your NPort. We recommend that you follow these step by step instructions first before contacting MOXA’s technical support team. Connection Problems Step 1: Does the Ethernet LED light up? If not, try the following: Use a straight-through Ethernet cable to connect the unit to the network. Use an Ethernet cable that is less than 100 meters long.
NPort 5600-8-DT User’s Manual Troubleshooting Operation Mode Problems Real COM Mode Step 1: Are you able to install the drivers successfully? If not, try the following: For NAT environments, use NAT port mapping. Verify that ping response time is less than 1000 ms. Go over the installation procedures again in the user’s manual.
NPort 5600-8-DT User’s Manual Troubleshooting UDP Mode Is the remote UDP program properly receiving and transmitting data? If not, try the following: Clean up network traffic if possible to prevent data loss. Make sure your AP is configured with a resending mechanism when data is lost. Switch to TCP Server/Client mode Verify that the designated UDP port matches your application. Check for DHCP issues by having the DHCP server assign a fixed IP to the NPort.
A Cable Wiring Appendix A In this appendix, we cover the following topics.
NPort 5600-8-DT User’s Manual Cable Wiring RS-232 Cables (NPort 5610-8-DT, 5650-8-DT) NPort Serial Device RJ45 DB9(M) DB9(F) DB25(M) DB25(F) DSR 1 6 4 6 20 DTR RTS 2 7 8 4 5 CTS GND 3 5 5 7 7 GND TxD 4 3 2 2 3 RxD RxD 5 2 3 3 2 TxD DCD 6 1 1 8 8 DCD CTS 7 8 7 5 4 RTS DTR 8 4 6 20 6 DSR RS-422, 4-wire RS-485 Cables (NPort 5650-8-DT) NPort Serial Device RJ45 DB9(M) DB9(F) DB25(M) DB25(F) TxD+ 2 7 8 4 5 RxD+ GND 3 5 5 7 7 GND T
NPort 5600-8-DT User’s Manual Cable Wiring DB9 and DB25 Connectors DB9 Connectors Male DB9 Connector DSR (in) 6 RTS (out) 7 CTS (in) 8 1 DCD (in) 2 RxD (in) 3 TxD (out) 4 DTR (out) 5 GND Female DB9 Connector DCD (in) 1 RxD (in) 2 TxD (in) 3 DSR (in) 4 GND 5 6 DTR (out) 7 CTS (in) 8 RTS (out) 9 --- DB25 Connectors Male DB25 Connector 14 DTR (out) 20 25 1 2 TxD (out) 3 RxD (in) 4 RTS (out) 5 CTS (in) 6 DSR (in) 7 GND 8 DCD (in) Female DB25 Connector 1 RxD (in) 2 TxD (out) 3 CTS (in) 4 RTS (out)
B SNMP Agent with MIB II & RS-232-Like Group Appendix B SNMP (Simple Network Management Protocol) agent software is built into the NPort 5600-8-DT. It supports SNMP Trap, the RFC1317 RS-232-like group, and RFC1213 MIB-II. The following table lists the standard MIB-II group and the variable implementation for the NPort 5600-8-DT.
NPort 5600-8-DT User’s Manual System SNMP Agent with MIB II & RS-232-like Group Interfaces IP MIB ICMP MIB ifOutQLen ipAdEntNetMask IcmpOutTimestamp ifSpecific ipAdEntBcastAddr IcmpOutTimestamp ipAdEntReasmMaxSi IcmpOutAddrMask IpNetToMediaIfIndex IcmpOutAddrMask IpNetToMediaPhysA IpNetToMediaNetAd IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB SNMP MIB UdpInDatagrams tcpRtoAlgorithm snmpInPkts UdpNoPorts tcpRtoMin snmpOutPkts UdpInErrors tcpRtoMax snmpInBadVersions UdpOutDatag
NPort 5600-8-DT User’s Manual Address Translation MIB SNMP Agent with MIB II & RS-232-like Group TCP MIB SNMP MIB snmpOutGetResponses snmpOutTraps snmpEnableAuthenTraps RFC1317: RS-232 MIB objects Generic RS-232-like Group rs232Number RS-232-like General Port Table RS-232-like Asynchronous Port Group rs232PortTable rs232AsyncPortTable rs232PortEntry rs232AsyncPortEntry rs232PortIndex rs232AsyncPortIndex rs232PortType rs232AsyncPortBits rs232PortInSigNumber rs232AsyncPortStopBits rs232PortOut
C IP Report Protocol Appendix C There are several ways to configure the IP address of the NPort device server. One of them is DHCP Client. When you set up the device server to use DHCP Client for IP address configuration, it will automatically send a DHCP request over the network to find the DHCP server. The DHCP server will then send an available IP address to the NPort with an expiration time. The NPort will use this IP address until the expiration time has been reached.
NPort 5600-8-DT User’s Manual IP Report Protocol Hardware and AP ID Each model is assigned a Hardware ID and AP ID as shown below: Hardware ID AP ID Product 0x5700 0x80015610 5610-8-DT 0x5702 0x80015610 5650-8-DT 0x5703 0x80015610 5650I-8-DT 0x5704 0x80015610 5610-8-DT-J 0x5706 0x80015610 5650-8-DT-J Example 41 01 04 54 45 53 54 “T” “E” “S” “T” C-2 02 02 16 05 item length 58 hardware ID 0x516 item ID 4F item length 4D server name “TEST” item ID HEX ASCII “M” “O” “