NPort 6000 Series User’s Manual
Edition 17.0, January 2018
www.moxa.com/product
© 2018 Moxa Inc. All rights reserved.
NPort 6000 Series User’s Manual
Moxa China (Shanghai office)
Fax: +49-89-3 70 03 99-99
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
© 2018 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.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
Moxa.
Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited
to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the
products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for
its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Technical Support Contact Information
www.moxa.com/support
Americas
-free: 1-888-669-2872
+1-714-528-6777
+1-714-528-6778
+49-89-3 70 03 99-0
-free: 800-820-5036
+86-21-5258-9955
+86-21-5258-5505
ia-Pacific
+886-2-8919-1230
+91-80-4172-9088
+91-80-4132-1045
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Package Checklist ............................................................................................................................... 1-2
NPort 6610/6650 ......................................................................................................................... 1-2
NPort 6150, NPort 6250, and NPort 6450 ....................................................................................... 1-3
Product Features ................................................................................................................................ 1-4
Product Selection Chart ....................................................................................................................... 1-4
2. Getting Started.................................................................................................................................. 2-1
Panel Layout ...................................................................................................................................... 2-2
NPort 6150/6250 ......................................................................................................................... 2-2
NPort 6450 ................................................................................................................................. 2-2
NPort 6610/6650 ......................................................................................................................... 2-3
Panel, DIN-Rail, and Rack-Mounting ...................................................................................................... 2-4
Connecting the Hardware..................................................................................................................... 2-5
Wiring Requirements ................................................................................................................... 2-5
Connecting the NPort 6600 VDC’s Power ........................................................................................ 2-5
Grounding the NPort 6600 VDC ..................................................................................................... 2-6
Connecting to the Network ........................................................................................................... 2-6
Connecting to a Serial Device ....................................................................................................... 2-6
LED Indicators ............................................................................................................................ 2-6
Adjustable Pull High/Low Resistors for the RS-485 Port .................................................................... 2-7
3. Initial IP Address Configuration ........................................................................................................ 3-1
Static and Dynamic IP Addresses .......................................................................................................... 3-2
Factory Default IP Address ................................................................................................................... 3-2
Configuration Options .......................................................................................................................... 3-2
Device Search Utility .................................................................................................................... 3-2
Web Console ............................................................................................................................... 3-2
LCM Console/Front Panel (NPort 6610, 6650, and 6450 only)............................................................ 3-2
ARP ........................................................................................................................................... 3-3
Telnet Console ............................................................................................................................ 3-4
Serial Console ............................................................................................................................. 3-7
4. Introducing Serial Port Operation Modes .......................................................................................... 4-1
Overview ........................................................................................................................................... 4-2
Guide to NPort 6000 Modes .................................................................................................................. 4-2
Device-Control Applications .................................................................................................................. 4-3
Real COM and Secure Real COM Modes .......................................................................................... 4-3
Reverse Real COM Mode ............................................................................................................... 4-4
RFC2217 Mode ............................................................................................................................ 4-4
Socket Applications ............................................................................................................................. 4-5
TCP Server and Secure TCP Server Modes ...................................................................................... 4-5
TCP Client and Secure TCP Client Modes ......................................................................................... 4-5
UDP Mode .................................................................................................................................. 4-6
Pair Connection and Secure Pair Connection Modes ................................................................................. 4-6
Ethernet Modem Mode ......................................................................................................................... 4-7
Terminal Applications .......................................................................................................................... 4-7
Terminal ASCII Mode ................................................................................................................... 4-8
Terminal BIN Mode ...................................................................................................................... 4-8
SSH Mode .................................................................................................................................. 4-8
Reverse Terminal Applications .............................................................................................................. 4-8
Reverse Telnet ............................................................................................................................ 4-9
Reverse SSH ............................................................................................................................... 4-9
Printer Modes ..................................................................................................................................... 4-9
Dial In/Out Modes ............................................................................................................................. 4-10
Disabled Mode .................................................................................................................................. 4-10
5. Configuration with the Web Console ................................................................................................. 5-1
Using Your Web Browser ...................................................................................................................... 5-2
Browser Cookie Settings............................................................................................................... 5-2
Trusted Site Settings ................................................................................................................... 5-3
Opening the Web Console ............................................................................................................. 5-4
Web Console Navigation ...................................................................................................................... 5-5
Network Configuration ......................................................................................................................... 5-5
Basic Network Settings ................................................................................................................ 5-5
Advanced Network Settings .......................................................................................................... 5-8
Setting up the DDNS ................................................................................................................... 5-9
Configuring the Route Table........................................................................................................ 5-10
6. Module Settings ................................................................................................................................ 6-1
NM-TX01, NM-TX02, NM-FX01-M-SC, NM-FX01-S-SC, NM-FX02-M-SC, NM-FX02-S-SC ................................ 6-2
Using Ethernet Redundancy .......................................................................................................... 6-2
The STP/RSTP Concept ................................................................................................................ 6-3
Differences between RSTP and STP ................................................................................................ 6-5
STP Example .............................................................................................................................. 6-6
Configuring Turbo Ring ........................................................................................................................ 6-8
The Turbo Ring Concept ............................................................................................................... 6-8
Configuring Turbo Ring 2 ............................................................................................................ 6-10
7. Configuring Serial Port Operation Modes .......................................................................................... 7-1
Port Setting Basics .............................................................................................................................. 7-2
Device Control Applications .................................................................................................................. 7-2
Real COM Mode ........................................................................................................................... 7-2
Reverse Real COM Mode ............................................................................................................... 7-5
RFC2217 Mode ............................................................................................................................ 7-7
Socket Applications ............................................................................................................................. 7-8
TCP Server Mode ......................................................................................................................... 7-8
TCP Client Mode ........................................................................................................................ 7-11
UDP Mode ................................................................................................................................ 7-13
Pair Connection Mode ........................................................................................................................ 7-14
Pair Connection Master Mode ...................................................................................................... 7-14
Pair Connection Slave Mode ........................................................................................................ 7-15
Ethernet Modem Mode ....................................................................................................................... 7-16
Terminal Applications ........................................................................................................................ 7-18
Terminal ASCII (TERM_ASC) ....................................................................................................... 7-18
Terminal BIN (TERM_BIN) .......................................................................................................... 7-20
SSH ......................................................................................................................................... 7-21
Reverse Terminal Applications ............................................................................................................ 7-22
Reverse Telnet Mode ................................................................................................................. 7-22
Reverse SSH Mode .................................................................................................................... 7-23
Printer Applications ........................................................................................................................... 7-24
RAW PRN Mode ......................................................................................................................... 7-24
LPD PRN Mode .......................................................................................................................... 7-25
Dial In/Out Applications ..................................................................................................................... 7-25
PPP Mode ................................................................................................................................. 7-25
PPPD Mode ............................................................................................................................... 7-26
SLIP Mode ................................................................................................................................ 7-27
SLIPD Mode .............................................................................................................................. 7-27
Dynamic Mode .......................................................................................................................... 7-28
Disabled Mode .................................................................................................................................. 7-28
8. Additional Serial Port Settings .......................................................................................................... 8-1
Port Communication Parameters ........................................................................................................... 8-2
Serial Parameters ........................................................................................................................ 8-2
Port Data Buffering/Log ....................................................................................................................... 8-3
Port Modem Settings ........................................................................................................................... 8-4
Port Cipher Settings ............................................................................................................................ 8-4
User Table ......................................................................................................................................... 8-5
Welcome Message .............................................................................................................................. 8-5
9. System Configuration Settings .......................................................................................................... 9-1
Basic Settings .................................................................................................................................... 9-2
Server Settings ........................................................................................................................... 9-2
Time Settings ............................................................................................................................. 9-2
Accessible IP List ................................................................................................................................ 9-3
Host Table ......................................................................................................................................... 9-4
Firmware Upgrade .............................................................................................................................. 9-4
Backup/Restore .................................................................................................................................. 9-5
Pre-Shared Key ........................................................................................................................... 9-5
Configuration Import ................................................................................................................... 9-5
Configuration Export .................................................................................................................... 9-6
Certificate .......................................................................................................................................... 9-6
Ethernet SSL/TLS Certificate Import .............................................................................................. 9-6
Certificate/Key Delete .................................................................................................................. 9-7
SSL/TLS Configurations ................................................................................................................ 9-7
10. Administration Settings .................................................................................................................. 10-1
Account Management ........................................................................................................................ 10-2
Notification Message .................................................................................................................. 10-2
User Account ............................................................................................................................ 10-3
Access Permission ..................................................................................................................... 10-4
Password and Login Policy .......................................................................................................... 10-6
SNMP Agent ..................................................................................................................................... 10-7
Authentication Server ........................................................................................................................ 10-8
Console Setting ................................................................................................................................ 10-8
Load Factory Defaults ........................................................................................................................ 10-9
11. Log, Monitoring and Warning .......................................................................................................... 11-1
System Log Settings ......................................................................................................................... 11-2
Configure the Remote Log Server ....................................................................................................... 11-3
System Monitoring ............................................................................................................................ 11-3
Serial Status ............................................................................................................................. 11-3
System Status .......................................................................................................................... 11-5
Auto Warning Settings ..................................................................................................................... 11-10
Event Log Settings .................................................................................................................. 11-10
Event Settings ........................................................................................................................ 11-10
Serial Event Settings ............................................................................................................... 11-11
Email Alert ............................................................................................................................. 11-12
SNMP Trap ............................................................................................................................. 11-13
12. Common Settings and Others .......................................................................................................... 12-1
Common Settings ............................................................................................................................. 12-2
Ping ......................................................................................................................................... 12-2
Change Password ............................................................................................................................. 12-2
Save Configuration ........................................................................................................................... 12-3
Restart ............................................................................................................................................ 12-3
Restart System ......................................................................................................................... 12-3
Restart Ports............................................................................................................................. 12-3
Logout............................................................................................................................................. 12-4
13. Software Installation/Configuration ............................................................................................... 13-1
Overview ......................................................................................................................................... 13-2
NPort Windows Driver Manager .......................................................................................................... 13-2
Installing NPort Windows Driver Manager ..................................................................................... 13-2
Using NPort Windows Driver Manager .......................................................................................... 13-4
Command Line Installation/Removal .......................................................................................... 13-13
Device Search Utility (DSU) ............................................................................................................. 13-15
Installing Device Search Utility .................................................................................................. 13-15
Configuring Device Search Utility (DSU) ..................................................................................... 13-18
Linux Real TTY Drivers .................................................................................................................... 13-19
Basic Procedures ..................................................................................................................... 13-19
Hardware Setup ...................................................................................................................... 13-19
Installing Linux Real TTY Driver Files ......................................................................................... 13-19
Mapping TTY Ports ................................................................................................................... 13-19
Removing Mapped TTY Ports ..................................................................................................... 13-20
Removing Linux Driver Files ...................................................................................................... 13-20
The UNIX Fixed TTY Driver ............................................................................................................... 13-21
Installing the UNIX Driver......................................................................................................... 13-21
Configuring the UNIX Driver ..................................................................................................... 13-21
14. Android API Instructions ................................................................................................................ 14-1
Overview ......................................................................................................................................... 14-2
How to Start MxNPortAPI ........................................................................................................... 14-2
MxNPortAPI Function Groups .............................................................................................................. 14-3
Example Program ............................................................................................................................. 14-3
A. Pinouts and Cable Wiring .................................................................................................................. A-1
Port Pinout Diagrams .......................................................................................................................... A-2
NPort 6150/6250/6450: RS-232/422/485 (male DB9) ..................................................................... A-2
NPort 6600: RS-232/422/485 (male RJ45) ..................................................................................... A-2
Cable Wiring Diagrams ........................................................................................................................ A-3
Ethernet Cables........................................................................................................................... A-3
Serial Cables (RS-232) ................................................................................................................. A-3
Serial Cables (RS-422/4-Wire RS-485) ........................................................................................... A-5
Serial Cables (2-wire RS-485) ....................................................................................................... A-6
Pin Assignments for DB9 and DB25 Connectors ............................................................................... A-7
B. RFC2217 ............................................................................................................................................ B-1
C. Well-Known Port Numbers ................................................................................................................ C-1
D. SNMP Agents with MIB II & RS-232 Like Groups .............................................................................. D-1
RFC1213 MIB-II Supported SNMP Variables .......................................................................................... D-2
RFC1317 RS-232 Like Groups .............................................................................................................. D-3
Moxa-NP6000-MIB ............................................................................................................................. D-4
E. RADIUS Server .................................................................................................................................. E-1
What is RADIUS? ................................................................................................................................ E-2
Definition ................................................................................................................................... E-2
Client/Server Architecture ............................................................................................................ E-2
Setting up the NPort 6000 ................................................................................................................... E-3
Setting up the RADIUS Server IP Address ....................................................................................... E-3
Serial Port Configuration .............................................................................................................. E-3
Setting up UNIX Hosts ......................................................................................................................... E-3
Setting up Windows NT Hosts ............................................................................................................... E-4
Setting up Windows 2000 Hosts ........................................................................................................... E-6
Setting up Windows 2003 Hosts ........................................................................................................... E-8
1
1. Introduction
The NPort 6000 series of secure serial device servers has many exceptional features. More than 20 models
comprise the NPort 6000 series of secure serial device servers. The main differences between the models are
the number of ports and the type of network connection employed. All instructions and information presented
for the NPort 6000 apply to all models in the series. Any differences between models will be specified. Please
refer to the Product Selection Chart section in this chapter for details on differences between models in the
series.
The following topics are covered in this chapter:
Overview
Package Checklist
NPort 6610/6650
NPort 6150, NPort 6250, and NPort 6450
Product Features
Product Selection Chart
NPort 6000 Series Introduction
Overview
The NPort 6000 can be used to connect any serial device to an Ethernet network and supports many different
operation modes. In particular, the NPort 6000 also supports Secure TCP Server, Secure TCP Client, Secure
Pair-Connection, and Secure Real COM modes for security-critical applications, such as banking, telecom,
access control, and remote site management. Moreover, for firmware v1.14 and above, the NPort 6000 series
enhances its security level to comply with industry standard IEC 62443-4-2 at level 2 in the following focused
areas: more secure protocols supported, authentication control, more complex data encryptions, and so on.
The NPort 6000’s Any Baudrate feature, which is based on Moxa’s UART IC, allows the use of nonstandard
baudrates. For example, a baudrate of 500 kbps may be required for some special applications. Many device
servers could only be configured for a baudrate of 460.8 kbps, resulting in an error rate of 7.84%. For serial
communication, the acceptable margin of error is only 3%. The NPort 6000 allows you to configure the
baudrate more accurately, and it can be configured to transmit serial data at the rate of 491.5 kbps. This is only
a 1.7% margin of error, which is well within the acceptable margin for serial data.
For some applications, data must be delivered reliably even if communication is disrupted. The NPort 6000
provides a powerful function to ensure that data is buffered in case of a communication failure. When a
communication failure occurs, the data is stored in the NPort 6000. Upon resumption of communication, the
buffered data will be sent to the destination. The default size of the port buffer is 64 KB for each port. For the
NPort 6610, NPort 6250, NPort 6450, and NPort 6650, users may increase the buffer size by using an external
SD card.
Package Checklist
Each NPort 6000 serial device server is shipped in a separate box, which also includes a number of standard
accessories. In addition, several optional accessories can be ordered separately. When you receive your
shipment, please check the contents of the box carefully and notify your Moxa sales representative if any of the
items are missing or appear to be damaged.
NPort 6610/6650
Six models of the NPort 6610 and eleven models of the NPort 6650 are available:
Model Name Number of Serial Ports Power Requirements
NPort 6610-8 8 RS-232 100 to 240 VAC, power cord
NPort 6610-16 16
NPort 6610-32 32
NPort 6610-8-48V 8 RS-232 ±48 VDC (20 to 72 VDC, -20 to -72 VDC), terminal
NPort 6610-16-48V 16
NPort 6610-32-48V 32
NPort 6650-8/
NPort 6650-8-T
NPort 6650-16/
NPort 6650-16-T
8 RS-232/422/485 100 to 240 VAC, power cord
16
block
NPort 6650-8-48V 8 RS-232/422/485 ±48 VDC (20 to 72 VDC, -20 to -72 VDC), terminal
NPort 6650-16-48V 16
NPort 6650-32-48V 32
NPort 6650-8-HV-T 8 RS-232/422/485 88 to 300 VDC terminal block
NPort 6650-16-HV-T 16
NPort 6650-32-HV-T 32
block
NPort 6000 Series Introduction
Standard Accessories for the NPort 6610 and NPort 6650
• 1 NPort 6600 device server
• CBL-RJ45M9-150: 8-pin RJ45 to DB9 male connection cable, 150 cm
• Power cord (AC models only)
• 2 rackmount ears
• Software and documentation CD
• Quick installation guide (printed)
• Warranty card
Cable Accessories for the NPort 6610 and NPort 6650 (can be purchased separately)
• CBL-RJ45M9-150 (8-pin RJ45-to-male DB9 cable; 150 cm)
• CBL-RJ45F9-150 (8-pin RJ45-to-female DB9 cable; 150 cm)
• CBL-RJ45M25-150 (8-pin RJ45-to-male DB25 cable; 150 cm)
• CBL-RJ45F25-150 (8-pin RJ45-to-female DB25 cable; 150 cm)
Extension Modules for the NPort 6450 and NPort 6600 (can be purchased separately)
• NM-TX01/NM-TX01-T: Network module with one 10/100BaseTX Ethernet port (RJ45 connector; supports
cascade redundancy)
• NM-TX02/NM-TX02-T: Network module with two 10/100BaseTX Ethernet ports (RJ45 connector; supports
cascade redundancy)
• NM-FX01-S-SC/NM-FX01-S-SC-T: Network module with one 100BaseFX single-mode fiber port (SC
connector; supports cascade redundancy)
• NM-FX02-S-SC/NM-FX02-S-SC-T: Network module with two 100BaseFX single-mode fiber ports (SC
connectors; supports cascade redundancy)
• NM-FX01-M-SC/NM-FX01-M-SC-T: Network module with one 100BaseFX multimode fiber port (SC
connector; supports cascade redundancy)
• NM-FX02-M-SC/NM-FX02-M-SC-T: Network module with two 100BaseFX multimode fiber ports (SC
connectors; supports cascade redundancy)
NPort 6150, NPort 6250, and NPort 6450
One model of the NPort 6150, three models of the NPort 6250, and one model of the NPort 6450 are available:
Model Name Number of Serial Ports Power Requirements
NPort 6250/6250-T 2 100-240 VAC, adapter
NPort 6250-M-SC/6250-M-SC-T 2 100-240 VAC, adapter
NPort 6250-S-SC/6250-S-SC-T 2 100-240 VAC, adapter
NPort 6450/6450-T 4 100-240 VAC, adapter
Standard Accessories for the NPort 6150 and NPort 6250
• Software and documentation CD
• Quick installation guide (printed)
• Power adapter (standard temp. models only)
• Warranty card
• 2 attachable wall-mount ears
DIN-Rail Accessories for the NPort 6150, NPort 6250, and NPort 6450 (can be purchased
separately)
• DK-35A DIN-rail mounting kit (35 mm)
• DIN-rail power supply
NPort 6000 Series Introduction
Product Features
All models in the NPort 6000 series have the following features:
• Secure data access modes, including Secure Real COM, Secure TCP Server, Secure TCP Client, and Secure
Pair Connection
• Versatile socket-operating modes, including TCP Server, TCP Client, UDP, and Real COM driver
• Port-buffering function to prevent loss of serial data when communication is disrupted
• Enhanced remote configuration with HTTPS and SSH
• Definable multi-user account management
• High Secure Mode is supported to disable less secure protocols and cipher suites as well as enforce the
longest key length for data encryptions
• Port speeds of up to 921.6 kbps
• Redundant Ethernet Ring capability (STP, RSTP, Turbo Ring, and Turbo Ring 2)
• Any Baudrate feature for easy configuration for custom baudrates
Product Selection Chart
The following table shows the main differences between the NPort 6000 models:
Product Serial
6150/6150-T 1 RS-232,
6250/6250-T 2 RS-232,
6250-M-SC/
6250-M-SC-T
6250-S-SC/
6250-S-SC-T
6450/6450-T 4 RS-232,
6650-8/
6650-8-T
6650-16/
6650-16-T
6650-32 32 RS-232,
Serial
ports
interface
RS-422,
RS-485
RS-422,
2 RS-232,
RS-422,
2 RS-232,
RS-422,
RS-422,
8 RS-232,
RS-422,
16 RS-232,
RS-422,
RS-485
RS-422,
Power Casing Built-in
network
12 to 48 VDC Aluminum (1 mm) Ethernet – – –
12 to 48 VDC Aluminum (1 mm) Ethernet – – yes
12 to 48 VDC Aluminum (1 mm) Multimode
Fiber
12 to 48 VDC Aluminum (1 mm) Si ngle-m ode
Fiber
12 to 48 VDC Aluminum (1 mm) Ethernet yes yes yes
100-240 VAC SECC sheet metal (1 mm) Ethernet yes yes yes
100-240 VAC SECC sheet metal (1 mm) Ethernet yes yes yes
100-240 VAC SECC sheet metal (1 mm) Ethernet yes yes yes
Optional
network
– – yes
– – yes
Configurable
alarm LED and
SD
card
6650-8-48V 8 RS-232,
6650-16-48V 16 RS-232,
6650-32-48V 32 RS-232,
NPort
6650-8-HV-T
RS-422,
RS-422,
RS-422,
8 RS-232,
RS-422,
±48 VDC SECC sheet metal (1 mm) Ethernet yes yes yes
±48 VDC SECC sheet metal (1 mm) Ethernet yes yes Yes
±48 VDC SECC sheet metal (1 mm) Ethernet yes yes Yes
88-300 VDC SECC sheet metal (1 mm) Ethernet yes yes Yes
NPort 6000 Series Introduction
Product Serial
NPort
6650-16-HV-T
NPort
6650-32-HV-T
ports
16 RS-232,
32 RS-232,
Serial
interface
RS-422,
RS-422,
Power Casing Built-in
network
88-300 VDC SECC sheet metal (1 mm) Ethernet yes yes Yes
88-300 VDC SECC sheet metal (1 mm) Ethernet yes yes Yes
Optional
network
Configurable
alarm LED and
SD
card
2
2. Getting Started
This chapter covers the hardware installation of the NPort 6000. Software installation is covered in the next
chapter.
The following topics are covered in this chapter:
Panel Layout
NPort 6150/6250
NPort 6450
NPort 6610/6650
Panel, DIN-Rail, and Rack-Mounting
Connecting the Hardware
Wiring Requirements
Connecting the NPort 6600 VDC’s Power
Grounding the NPort 6600 VDC
Connecting to the Network
Connecting to a Serial Device
LED Indicators
Adjustable Pull High/Low Resistors for the RS-485 Port
NPort 6000 Series Getting Started
Panel Layout
NPort 6150/6250
NPort 6450
Note: The LCD panel is only available with standard temperature models.
NPort 6000 Series Getting Started
NPort 6610/6650
NPort 6000 Series Getting Started
The NPort 6150, 6250, and 6450 device servers have
in “ears” for attaching the device
server to a wall or the inside of a cabinet. We suggest using two screws per ear to attach the
device servers to a wall or the inside of a cabinet. The heads of the screws should be less than
6.0 mm in diameter, and the shafts should be less than 3.5 mm in diameter, as shown in the
Panel, DIN-Rail, and Rack-Mounting
Wall or Cabinet Mounting
built-
NPort 6150 NPort 6250 NPort 6450
DIN-Rail Mounting
DIN-rail attachments can be purchased separately to attach the NPort 6150, 6250, and 6450 to a DIN-rail.
When snapping the attachments to the DIN-rail, make sure that the stiff metal springs are at the top.
NPort 6150 NPort 6250 NPort 6450
Rack-Mounting
Use four screws to attach the NPort 6610/6650 to a standard rack.
NPort 6610/6650
NPort 6000 Series Getting Started
ATTENTION
Disconnect the power before installing and wiring
Disconnect the power cord before installing
Do not exceed the maximum current for the wiring
Determine the maximum possible current for each power wire and common wire. Observe all electrical codes
dictating the maximum current allowable for each wire size.
Use caution when handling the NPort 6000 after it has been plugged in. The internal components generate
hea
Connecting the Hardware
This section describes how to connect the NPort 6000 to serial devices for the first time.
Wiring Requirements
ent exceeds the maximum rating, the wiring could overheat, causing serious damage to your
; use caution when handling
t, and the casing may get too hot to touch.
You should also heed the following guidelines:
• Use separate paths to route wiring for power and devices. If power-wiring and device-wiring paths must
cross, make sure the wires are perpendicular at the intersection point.
NOTE: Do not run signal or communication wiring and power wiring in the same wire conduit. To avoid
interference, wires with different signal characteristics should be routed separately.
• The type of signal transmitted through a wire should determine which wires should be kept separate. The
rule of thumb is that wires sharing similar electrical characteristics may be bundled together.
• Keep input wiring and output wiring separate.
• It is good practice to label the wiring to all devices in the system.
and/or wiring your NPort 6000.
Connecting the NPort 6600 VDC’s Power
To connect the NPort 6600-32/16/8-48V’s power cord with its terminal block, follow the steps given below:
Loosen the screws on the V+ and V- terminals of the NPort 6600 VDC’s terminal
block.
Connect the power cord’s VDC wire to the terminal block’s V+ terminal and the
If the power is properly supplied, the “Ready” LED will glow solid red until the system is ready, at which time
the “Ready” LED will change to green.
DC’s power cord to its terminal block.
power cord’s DC Power Ground wire to the terminal block’s V- terminal; then,
tighten the terminal block screws. (Note: The NPort 6600 VDC
if the DC and DC Power Ground are reversed.)
-cm of screw torque and 22-14 AWG of suitable electric wire to connect
NPort 6000 Series Getting Started
The Shielded Ground (sometimes called Protected Gro
contact from the right of the 5-pin power terminal block connector located on the rear
ATTENTION
This product is intended to
The serial port is not opened by server-side software.
Grounding the NPort 6600 VDC
Grounding and wire routing help limit the effects of noise due to electromagnetic interference (EMI). Run the
ground connection from the ground screw to the grounding surface before connecting devices.
und) contact is the second
VDC. Connect the SG wire to the earth ground.
be mounted to a well-grounded mounting surface such as a metal panel.
Connecting to the Network
Connect one end of the Ethernet cable to the NPort 6000’s 10/100M Ethernet port and the other end of the
cable to the Ethernet network. If you are using a fiber-port version of the NPort 6000, connect the fiber cable
from the Ethernet network to the NPort 6000’s fiber port.
If the cable is properly connected, the NPort 6000 will indicate a valid connection to the Ethernet as follows:
• The Ethernet LED glows solid green when connected to a 100 Mbps Ethernet network.
• The Ethernet LED glows solid orange when connected to a 10 Mbps Ethernet network.
• The Ethernet LED flashes when Ethernet packets are being transmitted or received.
Connecting to a Serial Device
Connect the serial data cable between the NPort 6000 and the serial device. Serial data cables are available as
optional accessories.
LED Indicators
The LED indicators on the front panel of the NPort 6000 are described in the following table.
LED Name LED Color LED Function
PWR Red Power is being supplied to the power input.
Ready Red Steady on: Power is on, and the NPort 6000 is booting up.
Blinking: An IP conflict occurs, or the DHCP or BOOTP server does
respond properly.
Green Steady on: Power is on, and the NPort 6000 is functioning normally.
Blinking: The device server has been located by NPort Search Utility.
Off Power is off, or there is a power error condition.
Link Orange The NPort 6000 is connected to a 10-Mbps Ethernet connection.
Green The NPort 6000 is connected to a 100-Mbps Ethernet connection.
Off The Ethernet cable is disconnected or has a short.
P1 to P16 in-use LED Green The serial port is opened by server-side software.
P1, P2, P3, P4
(6150/6250/6450)
P1 to P16 Tx
(6610/6650)
Orange The serial port is receiving data.
Green The serial port is transmitting data.
Off No data is being transmitted or received through the serial port.
Green The serial port is transmitting data.
Off Data is not being transmitted through the serial port.
NPort 6000 Series Getting Started
Steady on: The NPort 6000 device server is connected to an Ethernet
ATTENTION
Do not use the 1 K
232 interface. Doing so will degrade the
RS
LED Name LED Color LED Function
P1 to P16 Rx
(6610/6650)
The NPort 6450 and 6650 models have additional LEDs for the alarm and optional network modules:
LED Name LED Color LED Function
Module
(6450/6610/6650)
Link (on optional
network modules
NM-FX01-M-SC,
NM-FX01-S-SC)
Alarm
(6450/6610/6650)
Orange The serial port is receiving data.
Off No data is being received through the serial port.
Green The fiber-optic network module is plugged in and has been detected.
Off The fiber-optic network module is not present.
Orange
fiber connection, but the port is idle.
Blinking: The fiber port is transmitting or receiving data.
Red The relay output (DOUT) is open (exception).
Off The relay output (DOUT) is short (normal condition).
Adjustable Pull High/Low Resistors for the RS-485 Port
In some critical environments, you may need to add termination resistors to prevent the reflection of serial
signals. When using termination resistors, it is important to set the pull high/low resistors correctly so that the
electrical signal is not corrupted. The NPort 6000 uses jumper settings or DIP switches to set the pull high/low
resistor values for each serial port.
To set the pull high/low resistors to 150 K
are not shorted by jumper caps. (For the NPort 6650, make sure both of the assigned DIP switches are in the
OFF position.) This is the default setting.
To set the pull high/low resistors to 1 K
shorted by jumper caps. (For the NPort 6650, make sure both of the assigned DIP switches are in the ON
position.)
-232 signals, shorten the maximum allowed communication distance, and the Rx LED may light up.
Ω setting on the NPort 6000 when using the RS-
, make sure that the two jumpers assigned to the serial port
, make sure that the two jumpers assigned to the serial port are
NPort 6150/6250/6450 Jumpers
NPort 6000 Series Getting Started
NPort 6650 DIP Switches
SW
ON
OFF
1 2 3
Pull High Pull Low Terminator
1 KΩ 1 KΩ 120 Ω
150 KΩ 150 KΩ
–
3
3. Initial IP Address Configuration
When setting up the NPort 6000 for the first time, the first thing you should do is configure its IP address. This
chapter introduces the different methods that can be used.
The following topics are covered in this chapter:
Static and Dynamic IP Addresses
Factory Default IP Address
Configuration Options
Device Search Utility
Web Console
LCM Console/Front Panel (NPort 6610, 6650, and 6450 only)
ARP
Telnet Console
Serial Console
NPort 6000 Series Initial IP Address Configuration
ATTENTION
Consult your network administrator on how to reserve a fixed IP address for your NPort 6000 in the MAC-IP
mapping table when using a DHCP Server or BOOTP Server. For most applications, you should assign a fixed
IP address to your NPort 6000.
Static and Dynamic IP Addresses
Determine whether your NPort 6000 needs to use a static IP or dynamic IP address (either DHCP or
BOOTP/PPPoE application).
• If your NPort 6000 is used in a static IP environment, you will assign a specific IP address, using one
of the tools described in this chapter.
• If your NPort 6000 is used in a dynamic IP environment, the IP address will be assigned
automatically from over the network. In this case, set the IP configuration mode to DHCP, DHCP/BOOTP,
BOOTP, or PPPoE.
Factory Default IP Address
The NPort 6000 is configured with the following default private IP address:
192.168.127.254
Note that IP addresses that begin with “192.168” are referred to as private IP addresses. Devices configured
with a private IP address are not directly accessible from a public network. For example, you would not be able
to ping a device with a private IP address from an outside Internet connection. If your application requires
sending data over a public network, such as the Internet, your NPort 6000 will need a valid public IP address,
which can be leased from a local ISP.
Configuration Options
Device Search Utility
You may configure your NPort 6000 with the bundled Device Search Utility for Windows. Note that you will be
asked to enter the user
name and password to access the NPort 6000 device. The default username is admin and the default password
is moxa . Please refer to Chapter 13, Software Installation/Configuration , for details on how to install and use
the Device Search Utility.
Web Console
You may configure your NPort 6000 using a standard web browser. Note that you will be asked to enter the
username and password to access the NPort 6000 device. The default username is admin and the default
password is moxa . Please refer to Chapter 5, Configuration with the Web Console , for details on how to access
and use the NPort 6000 web console.
LCM Console/Front Panel (NPort 6610, 6650, and 6450 only)
The NPort 6610, 6650, and 6450 only give you the option to configure some settings through the front panel,
also known as the LCM (Liquid Crystal Module) console. The LCM console can be configured for read-only or
writeable access. Read-only access allows settings to be viewed but not changed. Factory default settings are
NPort 6000 Series Initial IP Address Configuration
Only standard temperature models come with an LCM console.
ATTENTION
In order to use the ARP setup method, both your computer and the NPort 6000 must be connected t
same LAN. Alternatively, you may use a crossover Ethernet cable to connect the NPort 6000 directly to your
computer’s Ethernet card. Before executing the ARP command, your NPort 6000 must be configured with the
factory default IP address (192.168.127
and your computer and the NPort 6000 must be on the same
subnet.
for writeable access, where configuration is allowed through the LCM console to users in thevAdministration
Group only. (For account management details, please reference Chapter 10. Administration Settings )
LCM console is configured for writeable status, the LCM console will require you to enter the user
the password before allowing you access. The password will not be required if the LCM console is
-only access.
The MENU button activates the main menu. It is also used to cancel a selection and return to a previous menu.
The UP and DOWN buttons navigate between available options.
The SEL button confirms a selection or enters a submenu.
The IP environment (Static, DHCP, PPPoE, etc.) is configured under Main Menu Network setting IP
config. The IP address is configured under Main Menu Network setting IP address. After the address
has been entered, you will need to restart the NPort under Main Menu Save/Restart .
The following instructions explain how to set the NPort 6000’s IP address through the LCM console:
1. Press MENU to activate the Main Menu.
2. The first line of the display indicates the current menu and should read Main Menu . The second line
indicates the current selection and should read Server setting . Use the UP and DOWN buttons to select
Network setting . Press SEL to enter the Network setting menu.
3. In the Network setting menu, select IP config . Don’t forget to press SEL to confirm your selection.
4. In the IP config menu, use the UP and DOWN buttons to select the option that matches your IP
environment (Static, DHCP, etc.). Press SEL to confirm your choice. You may also press MENU to cancel
your selection and return to the previous submenu.
5. You should be back in the Network setting menu. From the Network setting menu, select IP address .
6. Use the UP and DOWN buttons to modify the digit currently selected by the blinking cursor. Press SEL to
move to the next digit. Continue modifying the IP address until all the digits have been entered. If you make
a mistake, press MENU to cancel all changes and return to the Network setting menu. You cannot go back
one digit.
7. Once you have finished modifying the IP address, your changes are saved but not in effect. In order for your
changes to take effect, you will need to restart the NPort. You may view and modify your changes by
selecting IP address at the Network setting menu again.
8. Press the menu button to exit the Network setting menu and return to the Main Menu . Use the UP and
DOWN buttons to select Save/Restart and press SEL . Use the UP and DOWN buttons to select Yes and
press SEL to restart.
ARP
You may use the ARP (Address Resolution Protocol) command to set up an IP address for your NPort 6000. The
ARP command tells your computer to associate the NPort 6000’s MAC address with an IP address. Afterwards,
use Telnet to access the NPort 6000, and its IP address will be reconfigured.
.254),
o the
NPort 6000 Series Initial IP Address Configuration
ATTENTION
Figures in this section were taken from the NPort 6650’s Telnet console.
To use ARP to configure the IP address, complete the following:
1. Obtain a valid IP address for your NPort 6000 from your network administrator.
2. Obtain your NPort 6000’s MAC address from the label on the bottom panel.
3. Execute the ARP s command from your computer’s MS-DOS prompt as follows:
arp -s <IP address> <MAC address>
For example,
C:\> arp -s 192.168.200.100 00-90-E8-04-00-11
4. Next, execute a special Telnet command by entering the following exactly:
telnet 192.168.200.100 6000
When you enter this command, a Connect failed message will appear, as shown below.
5. After the NPort 6000 reboots, its IP address will be assigned to the new address, and you can reconnect
using Telnet to verify that the update was successful.
Telnet Console
Depending on how your computer and network are configured, you may find it convenient to use network
access to set up your NPort 6000’s IP address. This can be done using Telnet.
1. From the Windows desktop, select Start Run and type the following in the Run window:
telnet 192.168.127.254
If your IP address is different from the default setting, use your IP address instead. Click OK .
2. The console terminal type selection is displayed as shown. Enter 1 for ansi/vt100 and press ENTER to
continue.
NPort 6000 Series Initial IP Address Configuration
3. You will be asked to enter the username and password to access the NPort 6000 device. If you're accessing
the NPort the first time, the default username is admin and the default password is moxa . Press ENTER
to proceed.
4. Press N or use the arrow keys to s elect Network and then press ENTER .
5. Press B or use the arrow keys to select Basic and then press ENTER .
NPort 6000 Series Initial IP Address Configuration
6. Use the arrow keys to move the cursor to IP address . Use the DELETE , BACKSPACE , or SPACE keys to
erase the current IP address; then, type in the new IP address and press ENTER. Note that if you are using
a dynamic IP configuration (BOOTP, SHCP, etc.), you will need to go to the IPv4 Configuration Field (or
IPv6 Configuration Field) and press ENTER to select the appropriate configuration.
7. Press ESC twice to return to previous page. Press Y to confirm the modification.
8. Press ESC to return to previous page.
9. Press A or use the arrow keys to select Save and then press ENTER . Press ENTER again to confirm the
save command.
NPort 6000 Series Initial IP Address Configuration
ATTENTION
The NPort 6610/ 6650 has a dedicated serial console port. For the PIN definition, see the RS-232 PINOUT on
. For all other NPort 6000
models, port 1
10. Press R or use the arrow keys to select Restart and then press ENTER.
11. Press S or use the arrow keys to select System; then press ENTER to restart the NPort 6000.
Serial Console
The NPort 6000 supports configuration through the serial console, which is the same as the Telnet console but
accessed through the RS-232 console port rather than through the network. Once you have entered the serial
console, the configuration options and instructions are the same as if you were using the Telnet console.
The following instructions and screenshots show how to enter the serial console using PComm Terminal
Emulator, which is available free of charge as part of the PComm Lite suite. You may use a different terminal
emulator utility, although your actual screens and procedures may vary slightly from the following instructions.
1. Turn off the power to the NPort 6000. Use a serial cable to connect the NPort 6000’s serial console port to
your computer’s male RS-232 serial port.
-2 under the following heading: NPort 6600: RS -232/422/485 (male RJ45)
serves as the serial console port.
2. From the Windows desktop, select Start All Programs PComm Lite Terminal Emulator.
3. The PComm Terminal Emulator window should appear. From the Port Manager menu, select Open , or
simply click the Open icon as shown below:
NPort 6000 Series Initial IP Address Configuration
4. The Property window opens automatically. Select the Communication Parameter tab; then, select the
appropriate COM port for the connection (COM1 in this example). Configure the parameters for 19200, 8,
N, 1 (19200 for Baudrate, 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 click OK .
6. If you are using the NPort 6610/6650, you may power it up at this point. If you are using the NPort 6150,
6250, or 6450, hold down the grave accent key (`) while powering it up, as shown below. Note that the
grave accent key (sometimes called backwards apostrophe) is NOT the apostrophe key—it is the key
usually found next to the number 1 key.
The NPort 6000 will then automatically switch from data mode to console mode.
NPort 6000 Series Initial IP Address Configuration
7. If the NPort 6000 has been set up for password protection, you will be prompted to enter the password.
After you entered the password, or if password protection was not enabled, you will be prompted to select
the terminal mode. Press 1 for ansi/vt100 and then press ENTER .
8. The main menu should come up. Once you are in the console, you may configure the IP address through the
Network menu item, just as with the Telnet console. Please refer to steps 4 to 11 in the Telnet Console
section to complete the initial IP configuration.
4
4. Introducing Serial Port Operation Modes
In this chapter, we describe the various operation modes of the NPort 6000. NPort 6000 modes are grouped by
type of application, such as Device Control or Reverse Terminal. The options include an operation mode that
relies on a driver installed on the host computer and operation modes that rely on TCP/IP socket programming
concepts. After selecting the proper operation mode, refer to Chapter 5, Configuration with the Web
Console , for detailed information on configuration parameters.
The following topics are covered in this chapter:
Overview
Guide to NPort 6000 Modes
Device-Control Applications
Real COM and Secure Real COM Modes
Reverse Real COM Mode
RFC2217 Mode
Socket Applications
TCP Server and Secure TCP Server Modes
TCP Client and Secure TCP Client Modes
UDP Mode
Pair Connection and Secure Pair Connection Modes
Ethernet Modem Mode
Terminal Applications
Terminal ASCII Mode
Terminal BIN Mode
SSH Mode
Reverse Terminal Applications
Reverse Telnet
Reverse SSH
Printer Modes
Dial In/Out Modes
Disabled Mode
NPort 6000 Series Introducing Serial Port Operation Modes
Overview
The NPort 6000 network enables traditional serial (RS-232/422/485) devices. The serial device server is a tiny
computer equipped with a CPU 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.
Traditional SCADA and data collection systems rely on serial ports to collect data from various kinds of
instruments. Since the NPort 6000 network-enables instruments equipped with an RS-232, RS-422, or RS-485
communication port, your SCADA and data collection system will be able to access all instruments connected
to a standard TCP/IP network, regardless of whether the devices are used locally or at a remote site.
The NPort 6000 is an external IP-based network device that allows you to expand the number of serial ports for
a host computer on demand. As long as your host computer supports the TCP/IP protocol, you will not be
limited by the host computer’s bus limitation (such as ISA or PCI), nor will you be limited by the absence of
drivers for various operating systems.
In addition to providing socket access, the NPort 6000 also comes with a Real COM/TTY driver that transmits
all serial signals intact. This enables you to preserve your existing COM/TTY-based software without needing to
invest in additional software.
Three different socket modes are available: TCP Server, TCP Client, and UDP Server/Client. The main
difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient
to send an acknowledgement to the sender. UDP does not require this type of verification, making it possible
to offer faster delivery. UDP also allows unicast or multi-unicast of data to one IP or groups of IP addresses.
The NPort 6000 also supports console management applications, including Reverse Telnet, as well as Reverse
SSH terminal modes. Reverse terminal modes enable you to connect to a server’s console port through an IP
network for remote control and/or monitoring of that server.
The NPort 6000 supports standard SSL secure data access for Real COM/TTY mode, TCP server mode, TCP
Client mode, and Pair Connection mode. Data transmitted on the Ethernet will be well protected.
Guide to NPort 6000 Modes
On the NPort 6000, each serial port is independently configurable for a different mode with different settings.
For example, on the NPort 6450, an administrator can easily configure two ports for Real COM mode, one port
for Ethernet Modem mode, and one port for Reverse Telnet mode. Please refer to Chapter 7, Configuring Serial
Port Operation Modes , for detailed information and configuration instructions.