Moxa Technologies NPort W2150A, NPort W2250A User Manual

NPort W2150A/W2250A Series User’s
Manual
Fourth Edition, January 2014
www.moxa.com/product
© 2014 Moxa Inc. All rights reserved.
NPort W2150A/W2250A Series User’s
Moxa Americas
Toll Tel: Fax:
Moxa China (Shanghai office)
Toll Tel: Fax:
Moxa Europe
Tel: Fax:
Moxa Asia
Tel: Fax:
Manual
The software described in this manual is furnished under a license agreement and may be used only in accordance with
Copyright Notice
© 2014 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, e ither expres sed or i mpl ied, incl udin g, but not limit ed 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 ti me.
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
-free: 1-888-669-2872 +1-714-528-6777
+1-714-528-6778
+49-89-3 70 03 99-0
+49-89-3 70 03 99-99
-free: 800-820-5036 +86-21-5258-9955
+86-21-5258-5505
-Pacific
+886-2-8919-1230
+886-2-8919-1231
Table of Contents
1. Introduction ...................................................................................................................................... 1-1
Overview ........................................................................................................................................... 1-2
Package Checklist ............................................................................................................................... 1-2
Product Features ................................................................................................................................ 1-2
Product Specifications ......................................................................................................................... 1-3
Serial Port Pin Assignments .................................................................................................................. 1-5
2. Getting Started ................................................................................................................................. 2-1
Overview ........................................................................................................................................... 2-2
Panel Layout ...................................................................................................................................... 2-2
LED Indicators .................................................................................................................................... 2-3
Top Panel LED Indicators .............................................................................................................. 2-3
End Panel LED Indicators.............................................................................................................. 2-3
Pull High/Low Resistors for RS-422/485 ................................................................................................. 2-4
Placement Options .............................................................................................................................. 2-5
Connecting the Hardware .................................................................................................................... 2-5
Connecting to the Network ........................................................................................................... 2-6
Connecting the Power .................................................................................................................. 2-6
Connecting to a Serial Device ....................................................................................................... 2-6
3. Initial IP Configuration ..................................................................................................................... 3-1
Overview ........................................................................................................................................... 3-2
Factory Default IP Settings .................................................................................................................. 3-2
Using ARP to Assign IP Address ............................................................................................................ 3-2
Using the Telnet Console to Assign IP Address ........................................................................................ 3-3
Using the Serial Console to Assign IP A ddress ........................................................................................ 3-6
4. Introduction to Operation Modes ...................................................................................................... 4-1
Overview ........................................................................................................................................... 4-2
RealCOM Mode ................................................................................................................................... 4-2
RFC2217 Mode ................................................................................................................................... 4-3
TCP Server Mode ................................................................................................................................ 4-3
TCP Client Mode ................................................................................................................................. 4-3
UDP Mode .......................................................................................................................................... 4-4
Pair Connection Modes ........................................................................................................................ 4-4
Ethernet Modem Mode ......................................................................................................................... 4-4
5. Web Console: Basic Settings ............................................................................................................. 5-1
Overview ........................................................................................................................................... 5-2
Basic Settings .................................................................................................................................... 5-4
6. Web Console: Network Settings ........................................................................................................ 6-1
Overview ........................................................................................................................................... 6-2
Network Settings ................................................................................................................................ 6-2
7. Web Console: Serial Port Settings ..................................................................................................... 7-1
Overview ........................................................................................................................................... 7-2
Web Browser Settings .......................................................................................................... 5-2
Navigating the Web Console .................................................................................................. 5-2
General Settings ......................................................................................................................... 6-2
Ethernet Settings ........................................................................................................................ 6-3
WLAN Settings ............................................................................................................................ 6-4
WLAN ................................................................................................................................. 6-4
Profile................................................................................................................................. 6-6
General Settings for WLAN Profile .......................................................................................... 6-8
Security Settings for WLAN Profile ........................................................................................ 6-12
Security Settings for WEP Encryption .................................................................................... 6-16
Security Settings for WPA, WPA2 ......................................................................................... 6-17
Advanced Settings ..................................................................................................................... 6-20
Serial Port Settings ...................................................................................................................... 7-2
Operation Modes .................................................................................................................. 7-2
Settings for RealCOM Mode ................................................................................................... 7-4
Settings for RFC2217 Mode ................................................................................................... 7-8
Settings for TCP Server Mode .............................................................................................. 7-10
Settings for TCP Client Mode ............................................................................................... 7-14
Settings for UDP Mode ........................................................................................................ 7-18
Settings for Pair Connection Master Mode and Pair Connection Slave Mode................................ 7-20
Settings for Ethernet Modem Mode ....................................................................................... 7-21
Communication Parameters ........................................................................................................ 7-22
Data Buffering/Log .................................................................................................................... 7-24
8. Web Console: System Management ................................................................................................... 8-1
Overview ........................................................................................................................................... 8-2
System Management ........................................................................................................................... 8-2
Misc. Network Settings ................................................................................................................. 8-2
Accessible IP List ................................................................................................................. 8-2
SNMP Agent Settings ............................................................................................................ 8-3
User Table .......................................................................................................................... 8-5
Authentication Server ........................................................................................................... 8-6
System Log Settings ............................................................................................................ 8-6
Auto Warning Settings ................................................................................................................. 8-7
Event Settings ..................................................................................................................... 8-7
Serial Event Settings ............................................................................................................ 8-8
E-mail Alert ......................................................................................................................... 8-9
SNMP Trap ........................................................................................................................ 8-10
Maintenance ............................................................................................................................. 8-11
Console Settings ................................................................................................................ 8-11
Maintenance ............................................................................................................................. 8-12
Ping ................................................................................................................................. 8-12
Firmware Upgrade ............................................................................................................. 8-12
Configuration Import .......................................................................................................... 8-13
Configuration Export .......................................................................................................... 8-13
Load Factory Default .......................................................................................................... 8-14
Change Password ............................................................................................................... 8-14
Certificate ................................................................................................................................ 8-15
Ethernet SSL Certificate Import ........................................................................................... 8-15
WLAN SSL Certificate Import ............................................................................................... 8-15
WPA Server Certificate Import ............................................................................................. 8-16
WPA User Certificate Import ................................................................................................ 8-17
WPA User Key Import ......................................................................................................... 8-17
Certificate/Key De l ete ......................................................................................................... 8-18
9. Web Console: System Monitoring ...................................................................................................... 9-1
Overview ........................................................................................................................................... 9-2
System Monitoring .............................................................................................................................. 9-2
Serial Status ............................................................................................................................... 9-2
Serial to Network Connections ............................................................................................... 9-2
Serial Port Status ................................................................................................................. 9-3
Serial Port Error Count ......................................................................................................... 9-3
Serial Port Settings .............................................................................................................. 9-4
System Status ............................................................................................................................ 9-4
Network Connections ............................................................................................................ 9-4
Serial Data Log .................................................................................................................... 9-5
System Log ......................................................................................................................... 9-6
WLAN Status ....................................................................................................................... 9-6
WLAN Site Survey ................................................................................................................ 9-7
10. Web Console: Restart ...................................................................................................................... 10-1
Overview ......................................................................................................................................... 10-2
Restart ............................................................................................................................................ 10-2
Restart System ......................................................................................................................... 10-2
Restart Ports ............................................................................................................................ 10-3
11. Installing and Configuring the Software ......................................................................................... 11-1
Overview ......................................................................................................................................... 11-2
NPort Windows Driver Manager .......................................................................................................... 11-2
Installing NPort Windows Driver Manager ..................................................................................... 11-2
Adding Mapped Serial Ports ........................................................................................................ 11-5
Configuring Mapped Serial Ports .................................................................................................. 11-8
NPort Search Utility ......................................................................................................................... 11-12
Installing NPort Search Utility ................................................................................................... 11-12
Finding NPort Device Servers on Network ................................................................................... 11-14
Modifying NPort IP Addresses.................................................................................................... 11-15
Upgrading NPort Firmware ........................................................................................................ 11-16
Linux Real TTY Driver s .................................................................................................................... 11-17
Basic Steps ............................................................................................................................. 11-17
Installing Linux Real TTY Drive r Files ......................................................................................... 11-17
Mapping TTY Ports ................................................................................................................... 11-18
Removing Mapped TTY Ports ..................................................................................................... 11-18
Removing Linux Driver Files ...................................................................................................... 11-19
UNIX Fixed TTY Driver s ................................................................................................................... 11-19
Installing the UNIX Driver ........................................................................................................ 11-19
Configuring the UNIX Driver ..................................................................................................... 11-20
A. SNMP Agents with MIB II & RS-232-Like Groups .............................................................................. A-1
RFC1213 MIB-II Supported SNMP Variables ........................................................................................... A-1
System MIB ................................................................................................................................ A-1
Interfaces MIB ............................................................................................................................ A-1
IP MIB ....................................................................................................................................... A-1
ICMP MIB ................................................................................................................................... A-2
UDP MIB .................................................................................................................................... A-2
Address Translation ..................................................................................................................... A-2
TCP MIB ..................................................................................................................................... A-2
SNMP MIB .................................................................................................................................. A-2
RFC1317: RS-232 MIB Objects ............................................................................................................. A-3
Generic RS-232-like Group ........................................................................................................... A-3
RS-232-like General Port Table ..................................................................................................... A-3
RS-232-like Asynchronous Port Group ............................................................................................ A-3
The Input Signal Table ................................................................................................................. A-3
The Output Signal Table ............................................................................................................... A-3
B. Well Known Port Numbers ................................................................................................................ B-1
C. Ethernet Modem Commands .............................................................................................................. C-1
Dial-in Operation ................................................................................................................................ C-1
Dial-out ............................................................................................................................................. C-1
Disconnection Request from Local Site .................................................................................................. C-1
Disconnection Request from Remote Site ............................................................................................... C-1
AT Commands .................................................................................................................................... C-2
S Registers ........................................................................................................................................ C-3
D. Federal Communication Commission Interference Statement ........................................................... D-1
E. FCC Warning Statement .................................................................................................................... E-1
1

1. Introduction

The following topics are covered in this chapter:
Overview Package Checklist Product Features Product Specifications Serial Port Pin Assignments
NPort W2150A/W2250A Series Introduction
1-2

Overview

In this chapter we introduce the basic features and specifications of the NPort W2150A/W2250A and NPort W2150A/W2250A-T, referred to collectively as the NPort W2150A/W2250A Series.
The NPort W2150A/W2250A Series of wireless device servers are used to co nnect RS-232/422/485 serial devices such as PLCs, meters, and sensors, to a wired Ethernet LAN or wireless LAN. Your communicat ions software will be able to access the serial devices from anywhere over a local LAN, WLAN, or the Internet. Moreover, the WLAN environment offers an excellent solution for applications in which the serial devices are moved frequently from place to place.
The NPort W2150A/W2250A supports both automatic IP configuration protocols (DHCP, BOOTP) and manual configuration using a standard web browser. Both IP configuration methods ensure quick and effective installation. In addition, a utility called “NPort Windows Driver Manager” makes port mapping easy.
The external antenna can be adjusted for maximum signal strength. You can also choose to use your own antenna for additional flexibility and scalability. A signal strength indicator on the front panel makes it easier for you to troubleshoot any connection problems.
The NPort W2150A/W2250A Series offers different operation modes to ensure compatibility with standard network APIs, including TCP Server Mode, TCP Client Mode, and UDP Mode. RealCOM/TTY drivers are provided to allow legacy serial-based software to communicate over an IP network instantly. This preserves your software investment while providing all the advantages of networking your serial devices.
For easier management, the NPort W215 0A/W2250A include features such as password authenticatio n , I P filtering, 64-bit and 128-bit WEP encryption , and SNMP support.

Package Checklist

Standard Accessories
NPort W2150A, NPort W2150A-T, NPort W2250A, or NPort W2250A-T.
Document & Software CD
RJ45 to RJ45 Ethernet cros s -over cable
Warranty statement
• Quick Installation Guide
Optional Accessories
DK-35A: DIN-rail mounting kit (35 mm)
Power jack to terminal block power cable (P/N: 9199000000900)
NOTE: Please notify your sales representative if any of the above items are missing or damaged

Product Features

• Instant connection of any serial device to IEEE 802.11a/b/g network
RS-232/422/485 ports supporting baudrates up to 921.6 Kbps
Web-based configuration over Ethernet or WLAN
• Enhanced remote configuration with HTTPS, SSH
• Secure data access with WEP, WPA, WPA2
Built-in WLAN site survey Tool
• Fast roaming when signal strength is weak
Per-port offline port buffering and serial data log
• Dual power inputs via power jack and terminal block
NPort W2150A/W2250A Series Introduction
1-3
Ethernet Interface
Number of Ports:
Speed:
Connector:
Magnetic Isolation Protection:
WLAN Interface
Standard Compliance:
Network Modes:
Transmit Power:
802.11a: 14 dBm (typical)
802.11b: 17 dBm
802.11g: 15 dBm (typical)
Receive Sensitivity:
Radio Frequency Type:
Transmission Rate:
802.11a: 54 Mbps
802.11b: 11 Mbps
802.11g: 54 Mbps (max.) with auto fallback (54, 48, 36, 24, 18, 12, 11, 9, 6, 5.5, 2, 1 Mbps)
Transmission Distance:
Up to 100 meters (in open areas)
Wireless Security:
• WEP: 64
• WPA, WPA2, 802.11i: Enterprise mode and Pre
• Encryption: 128
EAP
GTC,
EAP
Antenna Connector:
Serial Interface
Number of Ports:
NPort W2150A: 1 NPort W2250A: 2
Serial Standards:
Off
NPort W2150A: 20 MB NPort W2250A: 10 MB
Serial Line Surge Protection:
Serial Communication Parameters
Data Bits:
Stop Bits:
Parity:
Flow Control:
Baudrate:
Serial Data Log:
Serial Signals
RS
RS
RS
RS

Product Specifications

1
10/100 Mbps, auto MDI/MDIX
RJ45
1.5 KV built-in
802.11a/b/g
Infrastructure, Ad-Hoc
(typical)
-80 dBm DSSS/OFDM
-bit/128-bit data encryption
-Share Key (PSK) mode
-bit TKIP/AES-CCMP EAP-TLS, PEAP/GTC, PEAP/MD5, PEAP/MSCHAPV2, EAP-TTLS/PAP,
-TTLS/CHAP, EAP-TTLS/MSCHAP, EAP-TTLS/MSCHAPV2, EAP-TTLS/EAP-MSCHAPV2, EAP-TTLS/EAP-
-TTLS/EAP-MD5, LEAP Reverse SMA
RS-232/422/485 (DB9 male connector)
-line Port Buffering:
1 KV (level 2)
5, 6, 7, 8 1, 1.5, 2
None, Even, Odd, Space, Mark
RTS/CTS, XON/XOFF
50 bps to 921.6 Kbps
64 KB
-232: TxD, RxD, RTS, CTS, DTR, DSR, DC D, GN D
-422: TxD+, TxD-, RxD+, RxD-, GND
-485-4w: TxD+, TxD-, RxD+, RxD-, GND
-485-2w: Data+, Data-, GND
NPort W2150A/W2250A Series Introduction
1-4
Software
Network Protocols:
HTTPS
Configuration Options:
Secure Configuration Options:
Fixed TTY Drivers:
Solaris 10, FreeBSD, AIX 5.x, HP
Linux Real
Utilities:
Management:
Windows Real COM Drivers:
2012 x64, Embedded CE 5.0/6.0, XP Embedde
Physical Characteristics
Housing:
Weight:
Product only
Packaged
Dimensions:
Without ears or antenna: 77 x 111 x 26 mm (3.03 x 4.37 x With ears, without antenna: 100 x 111 x 26 mm (3.94 x 4.37 x 1.02 in) Antenna Length: 109.79 mm (4.32 in)
Environmental Limits
Operating Temperature:
Standard Models: 0 to 55°C (32 to 131°F) Wide Temp. Models:
Storage Temperature:
Ambient Relative Humid it y:
Power Requirements
Input Voltage:
Power Consumption:
NPort W2150A: 237 mA @ 12 VDC NPort W2250A: 237 mA @ 12 VDC
Standards and Certifications
Safety:
EMC:
EMI:
EMS:
EN61000
Radio:
Power Line Surge Protection:
Reliability
Alert Tool:
Automatic Reboot Trigger:
Warranty
Warranty Period:
Details:
ICMP, IP, TCP, UDP, DHCP, Telnet, DNS, SNMP V1/V2c /V 3, HTTP, SMTP, SNTP, SSH,
Web Console, Serial Console, Telnet Console, Windows Utility
HTTPS, SSH
SCO Unix, SCO OpenServer, UnixWare 7, UnixWare 2.1 , S VR 4.2, QNX 4.25, QNX 6,
-UX 11i
TTY Drivers: 2.4.x, 2.6.x, 3.x
NPort Search Utility and NPort Windows Driver manager
SNMP MIB-II
Windows 95/98/ME/NT/2000, Windows XP/2003/Vista/2008/7/8 x86/x64,
d
Aluminum sheet metal (1 mm)
NPort W2150A: 173 g NPort W2250A: 177 g
NPort W2150A: 547 g NPort W2250A: 557 g
1.02 in)
-40 to 75°C (-40 to 167°F)
-40 to 85°C (-4 to 185°F) 5 to 95% (non-condensing)
12 to 48 VDC
UL 60950-1, EN 60950-1
CE, FCC
FCC Part 15 Subpart B Class A, FCC Subpart C/E, VCCI, EN 55022 Class A
EN 55024, EN61000-4-2 (ESD), EN61000-4-3 (RS), EN61000-4-4 (EFT), EN61000-4-5 (Surge),
-4-6 (CS), EN61000-4-8, EN61000-4-11
CE (ETSI EN 301 893, ETSI EN 300 328), ARIB RCR STD-33, ARIB STD-66
2 KV (level 3)
RTC (real-time clock)
Built-in WDT (watchdog timer)
5 years
See www.moxa.com/warranty
NPort W2150A/W2250A Series Introduction
1-5

Serial Port Pin Assignments

Pin RS-232 RS-422/ RS-485 (4W) RS-485 (2W)
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 --- --­9 --- --- ---
2

2. Getting Started

The following topics are covered in this chapter:
Overview Panel Layout LED Indicators
Top Panel LED Indicators End Panel LED Indicators
Pull High/Low Resistors for RS-422/485 Placement Options Connecting the Hardware
Connect ing to the Network Connect ing the Power Conne cting to a Serial Device
NPort W2150A/W2250A Series Getting Started
2-2

Overview

This chapter presents the hardware features of the NPort W2150/W2250A Series and explains how to connect the hardware.

Panel Layout

NPort W2150A/W2150A-T NPort W2250A/W2250A-T
NPort W2150A/W2250A Series Getting Started
2-3

LED Indicators

Top Panel LED Indicators

Name Color Function
Steady on: Power is on and NPort is booting up. Blinking: IP conflict or DHCP/ BOOTP s erver did not respond properly. Steady on: NPort is functioning normally. Blinking: Unit is responding to Locate function.
Steady on: Wireless enabled Blinking: NPort can’t establish WLAN connection with AP
(Infrastructure) or station (Ad-Hoc)
1 Red - the signal strength is between 0% and 20% 2 Red - the signal strength is between 21% and 40% 3 Green - the signal strength is between 41% and 6 0% 4 Green - the signal strength is between 61% and 80% 5 Green - the signal strength is between 81% and 100%
Ready
WLAN
Serial 1 Serial 2
Signal Strength
(5 LEDS)
Red
Green
Off Power is off or a power error condition exists.
Green
Off Wireless not enabled.
Orange Serial port is receiving data.
Green Serial port is transmitting data.
Off No data is flowing to or from the serial port.
Red
Green

End Panel LED Indicators

Name Color Function
Orange
Ethernet
Green
Off Ethernet cable is disconnecte d
10 Mbps Ethernet connection 100 Mbps Ethernet connection
NPort W2150A/W2250A Series Getting Started
2-4
ATTENTION
Do not use the 1 KΩ
232 signals and reduce the
effective communication distance.

Pull High/Low Resistors for RS-422/485

You may need to set the pull high/low r esistors when termination resistors are used for certain RS-422 or RS-485 environments.
S2 (Serial 1) S3 (Serial 2)
ON 1 KΩ 1 KΩ 120 Ω -----
OFF *150 KΩ *150 KΩ *N/A -----
*Default
S3 is for NPort W2250A only
DIP 1
Pull high resistor
DIP 2
Pull low resistor
DIP 3
Terminal resistor
DIP 4
Reserved
setting while in RS-232 mode. Doing so wil l d eg rade the RS-
NPort W2150A/W2250A Series Getting Started
2-5
ATTENTION
Before connecting the hardware, follow these important 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 c dictating the maximum current allowable for each wire size. If the current goes above the maximum ratings, the wiring could overheat, causing serious damage to your equipment.
Use caution
The unit will generate heat during operation, and the casing may feel hot to the touch. Take care when handling unit. Be sure to leave adequate space f or ventilation.

Placement Options

The NPort can be placed on a desktop or other horizontal surfac e. You c an al s o i nstall t he N Por t on a DIN-rail or on the wall.
Wall Mounting DIN-Rail Mounting

Connecting the Hardware

ommon wire. Observe all electrical codes
- unit may get hot
The following guide lines will help ensure trouble-free signal commun ica tio n with th e NPort .
Use separate paths to route wiring for power and devices to avoid interference. Do not run signal or communication wiring and power wiring in the same wire conduit. The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together .
If power wiring and device wiring paths must cross, make sure the wires are perpendicular at the intersection point.
• Keep input wiring and output wiring separate.
• Label all wiring to each device in the system for easier testing and troubleshooting
NPort W2150A/W2250A Series Getting Started
2-6

Connecting to the Network

Use the supplied Ethernet cable to connect the NPort to your Ethernet network. If the cable is properl y connected, the NPort will indica te a v alid connection to the Ethernet as follows:
• A green Ethernet LED indicates a vali d connection to a 100 Mbps Ethernet network.
• An orange Ethernet LED indicates a valid connection to a 10 Mbps Ethernet network.
• A flashing Ethernet LED indicates that Ethernet packets are being transmitted or received.

Connecting the Power

Connect the VDC power line (12 to 48 V) to the NPort’s power jack or terminal block. If power is properly connected, the “Ready” LED will initially glow red. When the system is ready, the “Ready” LED will turn green.

Connecting to a Serial Device

Use a serial cable to connect your serial device to a serial port on the NPort.
3

3. Initial IP Configuration

The following topics are covered in this chapter:
Overview Factory Default IP Settings Using ARP to Assign IP Address Using the Telnet Console to Assign IP Address Using the Serial Console to Assign IP Address
NPort W2150A/W2250A Series Initial IP Configuration
3-2
ATTENTION
The LAN and WLAN interfaces cannot be used at the same time. If the Ethernet link is active, then WLAN connections will be disabled. I f the WLAN connec
ATTENTION
Make sure that the Ethernet cable is connected before powering up the NPort.
ATTENTION
If you forget the IP address of your NPort, you can l ook it up using the NPort Searc h Utility. After NPort Search Utility has found all NPorts on the network, each unit will be listed with its IP address. Please refer to Chapter 11 for additional information on using NPort Search Utility.

Overview

This chapter presents several ways to assign the NPort’s IP address for the first time. Please refer to Chapter 2 for instructions on connecting to the network.
The web console is the recommended method for configuring the NPort. Please refer to Chapter 5 and 6 for details on using the web console fo r configuration.
tion is active, then the Ethernet link will be disabled.

Factory Default IP Settings

Network Interface IP Configuration IP Address Netmask
LAN Static 192.168.126.254 255.255.255.0 WLAN Static 192.168.127.254 255.255.255.0
If your NPort is configured to obtain its IP settings from a DHCP or BOOT P server but is unable to get a response, it will use the factory default IP address and netmask.

Using ARP to Assign IP Address

The ARP (Address Resolution Protocol) command can be used to assign an IP address to the NPort. The ARP command tells your computer to associate the NPort’s MAC address with the specified IP address. You must then use Telnet to access the NPort, at which point the device server’s IP address will be reconfigured. This method only works when the NPort is configured with default IP settings.
1. Select a valid IP address for your NPort. Consult with your network administrator if necessary.
2. Obtain the NPort’s MAC address from the label on its bottom panel.
3. From the DOS pro mpt , exe cu te the arp -s command with the desired IP addr ess and the NPort’s MAC address, as in the following example:
arp -s 192.168.200.100 00-90-E8-xx-xx-xx
In this example 192.168.200.100 is the new IP addr ess that will be assigned to the NPor t, a nd 00-90-E8-xx-xx-xx is the NPort’s MAC address.
4. From the DOS prompt, execute a special T elnet command using port 6000, as in the f ollowing example:
telnet 192.168.200.100 6000
In this example, 192.168.200.100 is the new IP address that will be assigned to the NPort.
NPort W2150A/W2250A Series Initial IP Configuration
3-3
5. You will see a message indicating that the connection failed.
The NPort will automatically reboot with the new IP address. You can verify that the configuration was successful by connecting to the new IP address with Telnet, ping, the web console, or NPort Search Utility.

Using the Telnet Console to Assign IP Address

1. Select Run… from the Windows Start menu.
2. Enter telnet 192.168.126.254 (the NPort’s default IP address) and click [OK].
3. Enter your login account and password, then press ENTER.
NPort W2150A/W2250A Series Initial IP Configuration
3-4
4. You will login to the Overview page.
5. Press N or use the cursor keys to select Network and press ENTER.
6. Press E or use the cursor keys to select Ethernet and press ENTER.
NPort W2150A/W2250A Series Initial IP Configuration
3-5
7. Use the cursor k eys to navigate between the different fields. For IP address, Netmask, and Gateway, enter the desired values directly. For IP configuration and LAN speed, press ENTER to open a submenu and select between the available options.
8. Press ESC to return to the menu. When prompted, press Y to save the configuration changes.
The NPort will reboot with the new I P settings. You can telnet to the new IP to login again.
NPort W2150A/W2250A Series Initial IP Configuration
3-6

Using the Serial Console to Assign IP Address

Before using the NPort’s serial console, turn off the power and use a serial cable to connect the NPort console port to your computer’s serial port. Port 1 on the NPort se rves as the console port. Use Port 1 connecting to the console port with a serial-based terminal or terminal emulator program, such as Windows HyperTerminal. You may also download PComm Lite at serial communication parameters should be set as 19200, 8, N, 1 (19200 for baud rate, 8 for data bits, None for parity, and 1 for stop bits). As soon as the connection is open, you will be presented with a text menu displaying the NPort W2150A/W2250A Series general settings. Please refer to Chapter 4 for a description of the available settings. The following instructions, we recommend using PComm Terminal Emulator, which can be downloaded free of charge from
1. Connect your PC’s serial port to the NPort’s console port.
2. Open your terminal emulator program, such as Windows HyperTerminal. We recommend using PComm Terminal Emulator, which can be downloaded for free at
3. In your terminal emulator program, configure the communication parameters for the serial port on t he PC. The parameters should be set to 19200 for baud rate, 8 for data bits, None for parity, and 1 for stop bits.
www.moxa.com. The terminal type should be set as ANSI or VT100, and the
www.moxa.com, to carry out the configuration procedure.
www.moxa.com.
4. In your terminal emulator program, set the terminal type to ANSI or VT100. If you select Dumb Terminal as the terminal type, some of the console functions—especially the “Monitor ” f unction—may not work properly.
NPort W2150A/W2250A Series Initial IP Configuration
3-7
5. Hold the grave accent key (`) down and power up the NPort.
The continuous string of grave accen t cha racters triggers the NPort to switch from data mode to console mode.
6. The serial console will open and will be functionally identical to the Telnet console. Please refer to the Telnet console section for instructions on how to navigate the console and co nfigure the IP settings.
4

4. Introduction to Operation Modes

The following topics are covered in this chapter:
Overview RealCOM Mode RFC2217 Mode TCP Server Mode TCP Client Mode UDP Mode Pair Connection Modes Ethernet Modem Mode
NPort W2150A/W2250A Series Introduction to Operation Modes
4-2
RealCOM mode is designed to work with NPort drivers that are installed on a network host. COM drivers are provided for Windows systems, and TTY drivers are provided for Linux and UNIX systems. The driver establishes a transparent connection to the attached serial device by mapping a local serial port NPort serial port. RealCOM mode supports up to four simultaneous connections, so mu ltiple hosts can collect data from the attached device at the same time.
ATTENTION
RealCOM drivers are installed and configured

Overview

This chapter introduces the different serial port operation modes that are available on the NPort W2150A/W2250A Series. Each serial port on the NPort is configured independently of the other ports, with its own serial communication parameters and operation mode. The serial port’s operation mode determines how it interacts with the network, and different modes are available to encompass a wide variety of applications and devices.
RealCOM and RFC2217 modes allow serial-based software to access the NPort serial port as if it were a local serial port on a PC. These modes are appropriate when your application relies on Windows or Linux software that was originally designed for locally attached COM or TTY devices. With these modes, you can access your devices from the network using your existing COM/TTY-based software, without investing in additional software.
Three different socket modes are available for user-developed socket programs: TCP Server, TCP Client, and UDP Server/Client. For TCP applications, the appropriate mode depends on whether the connection will be hosted or initiated from the NPort serial port or from the network. 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 speedier delivery. UDP also allows multicasting of data to groups of IP addresses and would be suitable for streaming media or non-critical messaging applications such as LED message boards.
Pair Connection Slave and Master modes are designed for serial-to-serial communication over Ethernet, in order to overcome traditional limitations with serial transmission distance.
In Ethernet Modem mode, the NPort acts as an Ethernet modem, providing a network connection to a host through the serial port.

RealCOM Mode

to the
RealCOM 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 RealCOM driver automatically intercepts data sent to the COM port, packs it into a TCP/IP packet, and red irects it to the network. At the other end of the connection, the NPort device server accepts the Ethernet frame, unpacks the TCP/IP packet, and sends the serial data to the appropriate device.
through NPort Windows Driver Manager.
NPort W2150A/W2250A Series Introduction to Operation Modes
4-3
ATTENTION
In RealCOM mode, several hosts can have simultaneous access control over the NPort serial port. If necessary, you can limit access by using the NPort’s Accessible IP settings. Plea se refer to Chapter 8 for additional information on Accessible IP settings.
In TCP Server mode, the NPort serial port is assigned an IP:port address that is unique on your TCP/IP network. It waits for the host computer to establish a connection to the attached serial d evice. This operation mode also supports up to eight simultaneous connections, so mu lti collect data from the attached device at the same time. Data transmission proceeds as follows: A host requests a connection to the NPort serial port. Once the connection is established, data can be transmitted in both direc tions device, and from the device to the host .
In TCP Client mode, the NPort active ly establishes a TCP connection to a specific network host when data is received from the attached serial device. After the data has been transferred, automatically disconnect from the host computer through the Inactivity time setting s. Please refer to Chapter 7 for details on these parameters. Data transmission proceeds as follows: The NPort requests a connection fr om the host. The connect transmitted in both directions between the host and device.

RFC2217 Mode

RFC-2217 mode is similar to RealCOM mode, since it relies on a driver to transparently map a virtual COM port on a host computer to a serial port on the NPort. The RFC2217 standard defines general COM port control options based on the Telnet protocol and supports one connection at a time. Third party drivers supporting RFC-2217 are widely available on the Internet and can be used to implement virtual COM mapping.

TCP Server Mode

ple hosts can
—from the host to the

TCP Client Mode

the NPort can
ion is established and data can be
NPort W2150A/W2250A Series Introduction to Operation Modes
4-4
UDP is similar to TCP but is faster and more efficient. Data can be broadcast to or received from multiple network hosts. However, UDP does no t suppo verification of data and would not be suitable for applications where data integrity is critical. It is ideal for message display applications.
Pair Connection Master and Slave modes connect two NPort device servers over a
serial communication. A device attached to one NPort can then communicate transparently to a device attached to the other NPort, as if the two devices were connected by a serial cable. Both data and modem control signals are exchanged, except for DCD signals. This can be used to overcome tradition al limitations with serial communication distance and introduces many new possibilities for serial-based device control.
Ethernet Modem mode is designed for use with legacy operating systems, such as MS support TCP/IP Ethernet. By connecting the prop er ly configured NPort serial port to the MS-DOS computer’s serial port, it is possible to use lega cy software to transmit data over the Ethernet when the software was originally designed to transmit data over a modem.

UDP Mode

rt

Pair Connection Modes

network for serial-to-

Ethernet Modem Mode

-DOS, that do not
5

5. Web Console: Basic Settings

The following topics are covered in this chapter:
Overview Basic Settings
NPort W2150A/W2250A Series Web Console: Basic Settings
5-2
In order to use the web console, you will need to have cookies e nabled for your browser. Please note that the web console uses cookies only for password transmission. For Internet Explorer, cookies can be enabled by right selecting Properties from the context menu.
On the Security tab, click “Custom Level…” and enable these two items: Allow Allow per
ATTENTION
If you are not using Internet Explorer, cookies are usually enabled through a web browser setting such as “allow cookies that ar

Overview

This chapter introduces the NPort w eb console and explains how to configure the basic settings. 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 configured through the browser.

Web Browser Settings

-clicking the Internet Explorer icon on your desktop and
cookies that are stored on your computer.
-session cookies (not stored).
e stored on your computer” or “allow per-session cookies.”

Navigating the Web Console

To open the web console, enter your dev ice server’s IP address in the website address line. If you are configuring the NPort for the first time over an Ethernet cable, you will use the default IP address,
192.168.126.254. There are two account types: admin and user. If you enter the system with admin account, you will have the
right to read and write. If you enter the system with user account, you will only have the right to read. If prompted, enter the console password. You will only be prompted for a password if you have enabled
password protection on the device server. The password will be transmitted with MD5 encryption over the Ethernet.
NPort W2150A/W2250A Series Web Console: Basic Settings
5-3
ATTENTION
If you have forgotten the password, you can use the reset button to load factory defaults, but this will erase all previous configuration information.
The web console will appear as shown below.
Settings are presented on pages that are organized by folder. Select the desired folder in the left navigation panel to open that page. The page will be displayed in the main window on the right. Certain folders can be expanded by clicking the adjacent “–” symbol.
For example, if you click Basic Settings in the navigation panel, the main window will show a page of basic settings that you can configure.
After you have made changes on a page, you must click [Submit] in the main window before jumping to another page. Your changes will be lost if you do not click [Submit].
Once you click [Submit] b utton, the device server will reboot and with a beep alarm.
Loading...
+ 106 hidden pages