Moxa W2X50A User Manual

NPort W2150A/W2250A Series
User’s Manual
First Edition, April 2012
www.moxa.com/product
© 2012 Moxa Inc. All rights reserved.
NPort W2150A/W2250A Series
Moxa Americas
Toll Tel: Fax:
Moxa China (Shanghai office)
Toll Tel: Fax:
Moxa Europe
Tel: Fax: +49-89-3 70 03 99-99
Moxa Asia
Tel: Fax: +886-2-8919-1231
User’s Manual
The software described in this manual is furnished under a license agreement and may be used only in accordance with
Copyright Notice
© 2012 Moxa Inc. All rights reserved.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or register ed marks in this m anual be long to their res pec tive manufacturers.
Disclaimer
Information in this document is subject to cha nge witho ut no tic e and doe s no t repres e nt a commitme nt o n 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 rig ht 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 m ay res ult fr om its use.
This product might include unintentional tec hnic a l o r typographical errors. Changes are periodically made to the information herein to correct such errors, and these changes are incorporated into new editions of the public ation.
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
-free: 800-820-5036 +86-21-5258-9955
+86-21-5258-5505
+886-2-8919-1230
-Pacific
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-4
2. Getting Star ted.................................................................................................................................. 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 Configur at io n ..................................................................................................................... 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 Address ........................................................................................ 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 Setti ngs ........................................................................................................ 6-1
Overview ........................................................................................................................................... 6-2
Network Settings ................................................................................................................................ 6-2
General Settings ......................................................................................................................... 6-2
Ethernet Settings ........................................................................................................................ 6-3
WLAN Settings ............................................................................................................................ 6-4
Advanced Settings ..................................................................................................................... 6-21
7. Web Console: Serial Port Settings ..................................................................................................... 7-1
Overview ........................................................................................................................................... 7-2
Serial Port Settings ...................................................................................................................... 7-2
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
Auto Warning Settings ................................................................................................................. 8-6
Maintenance ............................................................................................................................. 8-10
Maintenance ............................................................................................................................. 8-11
Certificate ................................................................................................................................ 8-14
9. Web Console: System Monitoring ...................................................................................................... 9-1
Overview ........................................................................................................................................... 9-2
System Monitoring .............................................................................................................................. 9-2
Serial Status ............................................................................................................................... 9-2
System Status ............................................................................................................................ 9-4
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 Soft w are ......................................................................................... 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-13
Installing NPort Search Utility ................................................................................................... 11-13
Finding NPort Device Servers on Network ................................................................................... 11-15
Modifying NPort IP Addresses .................................................................................................... 11-16
Upgrading NPort Firmware ........................................................................................................ 11-17
Linux Real TTY Drivers .................................................................................................................... 11-18
Basic Steps ............................................................................................................................. 11-18
Installing Linux Real TTY Driver Files ......................................................................................... 11-18
Mapping TTY Ports ................................................................................................................... 11-19
Removing Mapped TTY Ports ..................................................................................................... 11-19
Removing Linux Driver Files ...................................................................................................... 11-20
UNIX Fix ed TTY Drivers ................................................................................................................... 11-20
Installing the UNIX Driver......................................................................................................... 11-21
Configuring the UNIX Driver ..................................................................................................... 11-21
A. SNMP A ge n ts 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 Comman ds .............................................................................................................. 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 Stat ement ........................................................... 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
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 Hard w are
Connecting to the Network Connecting the Power Connecting to a Serial Device
NPort W2150A/W2250A Series Introduction
1-2

Overview

In this chapter we intro duce the basic features and specifications of the NPort W2150A/W2250A and NPort W2150A/W2250A-T, ref erre d to collec tively as the NPort W2150A/W2250A Series.
The NPort W2150A/W2250A Series of wireless device servers are used to connect RS-232/422/485 seria l devices such as PLCs, meters, and sensors, to a wired Ethernet LAN or wireless LAN. Your communications software will be able to access the serial devices fro m anywher e over a loca l LAN, WLA N, or the Inter ne t. Moreover, the WLAN environment offers an excellent s o lution for applications in which the serial devic es are moved frequently from place to place.
The NPort W2150A/W2250A supports both automatic IP configur ation protocols (DHCP, BOOTP) and manual configuration using a standard web browse r. Both IP configuration methods ensure quick and effective installation. In additio n, a uti lity c a lle d “NPort Windows Driver Manager” makes port mapping easy.
The external antenna can be adjusted for maximum signal stre ngth. 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 f or you to troubleshoot any connection proble ms .
The NPort W2150A/W2250A Series offers different operation modes to ensure compatibi lity 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 ov er an IP network ins tantly. This preserves your software investment while providing all the advantag e s of networ king your serial devices.
For easier management, the NPort W2150A/W2250A include features such as password authentication, IP 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 cross-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: 9199000 00 0900)
NOTE: Please notify your sales represe nta tiv e if any of the above items are missing or damaged

Product Features

Instant connection of any serial device to IEEE 802 .11 a/b/g network
RS-232/422/485 ports supporting baudra tes up to 921.6 Kbps
Web-based configuration over Etherne t or WLAN
Enhanced remote configuration with HT TPS , 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 Interfac e
Number of Ports:
Speed:
Connector:
Magnetic Isolat ion P ro tec t i o n:
WLAN Interface
Standard Compliance:
Network Modes:
Transmit Power:
802.11a: 14 dBm (typical)
802.11b: 17 dBm (typical)
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,
Transmission Distance:
Wireless Security:
• WEP: 64
• WPA, WPA2, 802.11i: Enterprise mode and
• Encryption: 128
EAP
GTC,
EAP-TTLS/EAP-MD5, LEAP
Antenna Connector:
Serial Interface
Number of Ports:
NPort W2150A: 1 NPort W2250A: 2
Serial Standards:
Off
NP N
Serial Line Surge Protection:
Serial Communication Para me ter s
Data Bits:
Stop Bits:
Parity:
Flow Control:
Baudrate: 50 bps to 921.6 Kbps
Serial Data Log:
Serial Signals
RS
RS
RS
RS
Software
Network Protocols:
HTTPS
Configuration Options:

Product Specifications

1
10/100 Mbps, auto MDI/M DIX
RJ45
1.5 KV built-in
802.11a/b/g
Infrastructure, Ad-Hoc
-80 dBm DSSS/OFDM
18, 12, 11, 9, 6, 5.5, 2, 1 Mbps)
Up to 100 meters (in open areas)
-bit/128-bit data encryption Pre-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-
Reverse SMA
RS-232/422/485 (DB9 male connector)
-line Port Buffering:
ort W2150A: 20 MB
Port W2250A: 10 MB
1KV (level 2)
5, 6, 7, 8 1, 1.5, 2
None, Even, Odd, Space, Mark
RTS/CTS, XON/XOFF
64 KB
-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND
-422: TxD+, TxD-, RxD+, RxD-, GND
-485-4w: TxD+, TxD-, RxD+, RxD-, GND
-485-2w: Data+, Data-, GND
ICMP, IP, TCP, UDP, DHCP, Telnet, DNS, SNMP V1/V2c/V3, HTTP, SMTP, SNTP, SSH,
Web Console, Serial Console, Telnet Console
NPort W2150A/W2250A Series Introduction
1-4
Secure
Windows
Embedded CE 5.0/6.0, XP Embedded
Fixed TTY Drivers:
Solaris 10, FreeBSD, AIX 5.x, HP
Linux Real TTY Drivers:
Utilities:
Management:
Physical Characteristics
Housing:
Weight:
Dimensions:
Without ears or antenna: 77 x 111 x 26 mm (3.03 x 4.37 x 1.02 in) 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.
Environmental Limits
Operating Temperatur e:
Standard Models: 0 to 55°C (32 to 131°F) Wide Temp. Models:
Storage Temperature:
Ambient Relative Humidity:
Power
Input Voltage: 12 to 48 VDC
Power Consumption:
237 mA @ 12 V, 125 mA @ 24 V, 50 mA @ 48 V
Standards and Certifications
Safety:
EMC:
EMI:
EMS:
Radio:
Power Line Surge Protecti on :
Reliability
Alert Tool:
Automatic Reboot Trigger:
Warranty
Warranty Period:
Details:
Configuration Options: HTTPS, SSH
RealCOM Drivers: Windows 95/98/ME/NT/2000, Windows XP/2003/Vista/2008/7 x86/x64,
SCO Unix, SCO OpenServer, UnixWare 7, UnixWare 2.1, SVR 4.2, QNX 4.25, QNX 6,
-UX 11i
2.4.x, 2.6.x, 3.x
NPort Search Utility and NPort Windows Driver manager
SNMP MIB-II
Aluminum sheet metal (1 mm)
780 g
32 in)
-40 to 75°C (-40 to 167°F)
-40 to 85°C (-40 to 185° F) 5 to 95% (non-condensing)
Requirements
UL 60950-1, EN 60950 -1
CE, FCC
FCC Part 15 Subpart B Class A, FCC Subpart C/E, VCCI
EN 55022 Class A
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

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 Hard w are
Connecting to the Network Connecting the Power Connecting 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 server 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 w ith A P
(Infrastructure) or station (Ad-Hoc)
1 Red - the signal strength is betw e e n 0% and 20% 2 Red - the signal strength is betwe e n 21% and 40% 3 Green - the signal streng th is betwe e n 41% and 60% 4 Green - the signal streng th is betwe e n 61% and 80% 5 Green - the sig nal stre ng th is betw e e n 81% and 100%
Ready
WLAN
Serial 1 Serial 2
Signal Strength
(5 LEDS)
Red
Green
Off Power is off or a power erro r cond ition 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 Etherne t c ab le is dis conne c te d
10 Mbps Ethernet connectio n 100 Mbps Ethernet connection
NPort W2150A/W2250A Series Getting Started
2-4
ATTENTION
Do not use the 1 KΩ setting while in RS
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 resistors when termination r e s is tor s are used for certa in RS -42 2 or RS-485 environments.
S2 (Serial 1) S3 (Serial 2)
ON 1 1 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
-232 mode. Doing so will degrade the RS-
NPort W2150A/W2250A Series Getting Started
2-5
ATTENTION
Before connecting the hardware, follow the se impor tant w iring safety
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 ra
Calculate the maximum possible curre nt in each power wire and com mon wire . Observe all elec trical codes dictating the maximum current allowab le for ea c h wire siz e . 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 for ventilation.

Placement Options

The NPort can be placed on a desktop or other horizontal surface. You can also install the NPort on a DIN-rail or on the wall.
Wall Mounti ng DIN-Rail Mounting

Connecting the Hardware

tings
- unit may get h ot
The following guidelines will help ens ure trouble-free signal communication with the NPort.
Use separate paths to route wiring for power and devices to avoid inte rf er e nc e . Do not run signal or communication wiring and power wiring in the same wire conduit. The r ul e of thumb is that wir ing 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
precautions:
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 properly connected, the NPort will indicate a valid conne c tion to the Ethernet as follows:
A green Ethernet LED indicates a valid connecti o n to a 100 Mbps Etherne t ne two rk .
An orange Ethernet LED indicates a valid connec tion to a 10 Mbps Ethernet network.
A flashing Ethernet LED indicates that Ether ne t pac kets are being transm itte d or rec e ived.

Connecting the Power

Connect the VDC power line (12 to 48 V) to the NPort’s power jack or terminal blo ck. If po wer is pro perly 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 Conf iguration
3-2
ATTENTION
The LAN and WLAN interfaces cannot be used at the same time. If the Ethernet link is activ e , the n WLAN connections will be disabled. If the WLAN connectio n is active, then the Ethe rnet link will be disabled.
ATTENTION
Make sure that the Ethernet cable is connected before power ing up the N Por t.
ATTENTION
If you forget the IP address of your NPort, you can look it up using the NPort Search 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 Searc h U tility.

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 configur ing the NPort. Please refer to Chapter 5 and 6 for details on using the web console for configurati o n.

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 BOOTP 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 addre s s for your NPor t. Co nsult with yo ur netw ork administrator if necessary.
2. Obtain the NPor t’ s MAC address fro m the lab e l on its bottom pane l.
3. From the DOS prompt, execute the arp -s command with the desired IP address 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 address that will be assig ned to the NPort, and 00-90-E8-xx-xx-xx is the NPort’s MAC address.
4. From the DOS prompt, execute a special Te lne t co mm and using port 6000, as in the following example:
telnet 192.168.200.100 6000
In this example, 192.168.200.100 is the new IP addre ss that will be ass igned to the NPort.
NPort W2150A/W2250A Series Initial IP Conf iguration
3-3
5. You will see a message ind i c ating that the c onnection failed.
The NPort will automatically reboot with the new IP addre s s. Yo u c an verify that the c onfiguration 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 log i n account and pass wo rd , then press ENTER.
4. You will login to the Overview page.
NPort W2150A/W2250A Series Initial IP Conf iguration
3-4
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 Conf iguration
3-5
7. Use the cursor keys to navigate b e twee n the diff er e nt fiel d s. For IP address, Netmask, and Gateway, enter the desired values directl y. For IP co nfigur ation 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 IP settings. You can telnet to the new IP to login ag ain.
NPort W2150A/W2250A Series Initial IP Conf iguration
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 serves 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 www.moxa.com 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 presente d with a tex t 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 c harge from www.moxa.com
1. Connect your PC’s ser ial po rt to the NPort’s console port.
2. Open your termina l emulato r program, such as Windows HyperTerminal. We recommend using PComm Terminal Emulator, which can be downloaded for free at www.moxa.com
3. In your terminal emulator program, configure the communication parameters for the serial port on the PC. The parameters should be set to 19200 for baud rate, 8 for data bits, None for parity, and 1 for stop bits.
. The terminal type should be set as ANSI or VT100, and the
, to carry out the configuration procedure.
.
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 —esp ecial ly the “ Monito r” function—may not work properly.
NPort W2150A/W2250A Series Initial IP Conf iguration
3-7
5. Hold the grave accent key (`) down and power up the NPort.
The continuous string of grave accent character s tr igger s 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 instruc tio ns o n how to navig ate the console a nd conf ig ure 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 Master and Pair Connection Modes Ethernet Modem Mode
NPort W2150A/W2250A Series Introduction to Ope r ation 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 connectio n to the attac he d serial NPort serial port.
mode supports up to four simultaneous connections, so multiple ho s ts can collect data from the attached device at the same time.
ATTENTION
RealCOM

Overview

This chapter introduces the different s eria l 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/TT Y-b as ed so f tware, without investing in additional software.
Three different sock et modes a re available for user-de veloped socket programs: TCP Server, TCP Client, and UDP Server/Client. For TCP applica tio ns , the appr opriate mode depends on whether the connection will be hosted or initiated from the NPort serial port or fro m the network . T he 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 address es and would be suitable for streaming media or non-critical messaging applications such as LED message boards.
Pair Connectio n Slave and Master modes are designe d f or se rial-to-serial communication over Ethernet, in order to overcome traditional limitatio ns w ith s eria l tr a ns mission distance.
In Ethernet Modem mode, the NPort acts as an Etherne t mod em, prov i d ing a networ k connec ti o n to a host through the serial port.

RealCOM Mode

device by mapping a local serial port to the
RealCOM
RealCOM mod e allows you to continue us ing your serial communications software to access devi c e s 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 redirects it to the networ k. At the other end of the connection, the NPort device server accep ts the Ethe r ne t frame, unpack s the TCP/IP packet, and sends the serial data to the appropriate device.
drivers are installed and configured thr o ugh NPor t Windo ws Driver Manager.
NPort W2150A/W2250A Series Introduction to Ope r ation Modes
4-3
ATTENTION
In
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 . Pl 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 device . This operation mode also supports up to simultaneous connections, so multiple ho s ts can 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 directions device, and from the device to the host.
In TCP Client mode, the NPort actively establishes a TCP connection to a specific network host when data is received from the attached serial device. Afte r the data has been transferred, the NPort can automatically disconnect from the host computer through the Inactivity time settings. Pleas e refe r to Chapter 7 for details on these parameters. Data transmission proceeds as follows: The NPort reque The connection is established and data can be transmitted in both directions betwe e n the host and device.
RealCOM
ease refer to Chapter 8 for additional

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 stand ard def ine s gener al COM por t contro l options based on the Telnet protocol and supports one connec ti o n at a time. Third party drivers supporting RFC-2217 are widely available on the Interne t and can be used to impleme nt vir tua l COM mapping .

TCP Server Mode

TCP Client Mode

sts a connection from the host.
eight
—from the host to the
NPort W2150A/W2250A Series Introduction to Ope r ation 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 not support 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 network for serial
serial communication. A device attached to one NPor t can then communicate transparently to a device attac he d to the other NPort, as if the two devices were connected by a serial cable. Both data control signals are exchanged, except for DCD signals. This can be used to overcome traditional limitatio ns with serial communication distance and intr oduces 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 prope r ly configured NPort serial port to the MS-DOS computer’s serial port, it is possible to use legacy softw are to transmit data over the Ethernet when the software was originally designed to transmit d ata over a modem.

UDP Mode

Pair Connection Modes

-to-
and mod em

Ethernet Modem Mode

-DOS, that do not
5

5. Web Console: Basic Settings

The following topics are covered in this chapte r:
Overview Basic Settings
NPort W2150A/W2250A Series Web Console: Basi c S ettings
5-2
In order to use the web console, you will need to have cookies enabled 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 P
On the Security tab, click “Custom Level…” and enable these two items: Allow cookies that are stored on your computer Allow per
ATTENTION
If you are not “allow cookies that are stored on your computer” or “allow per

Overview

This chapter introduces the NPort web conso le and expl ains ho w to conf ig ure the bas ic setting s . 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 roperties from the context menu.
-session cookies (not stored).
using Internet Explorer, cookies are usually enabled thr ough a web browser setting such as

Navigating the Web Console

To open the web console, enter your device server’s IP addre s s in the website addre s s line. I f you are configuring the NPort for the first time over an Ether ne t cable, y ou 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 prompte d for a passw or d if you have enab led
password protection on the device server. The password will b e tr ans mitte d w ith MD5 encryp tion over the Ethernet.
.
-session cookies.”
NPort W2150A/W2250A Series Web Console: Basi c S ettings
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 infor mation.
The web console will appear as shown below.
Settings are presented on pages that are organized by folder. Sele c t the des ire d fol der in the lef t navig ation panel to open that page. The page will be displayed in the main window on the rig ht. Certain f olders can be expanded by clicking the adjacent “–” sym bol.
For example, if you click Basic Settings in the navigation panel, the main windo w w ill s how 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].
NPort W2150A/W2250A Series Web Console: Basi c S ettings
5-4
(GMT-02:00)Mid-Atlantic etc.
Once you click [Submit] button, the dev ice serv er will r eboo t and wi th a beep alarm .

Basic Settings

On the Basic Settings page, you can configure Server name, Server location, Time zone (24-hour), Local time, and Time server.
Server Name
Default NPortW2150A_<serial no.> or NPortW2250A_<s e r ia l no.> Options free text (e.g., “Server 1”) Description This is an optional free text field to help you differentiate one device server from another. It
does not affect operation of the NPort device server.
Server Location
Default Options free text (e.g., “Bldg 1, 2nd Floor”) Description This is an optional free text field to help you differentiate one device server from another. It
does not affect operation of the NPort device server.
Time Zone
Default (GMT)Greenwich Mean Time Options (GMT)Greenwich Mean Time
(GMT-01:00)Azores, Cape Verde Is.
Description This field shows the currently selected time zone and allows you to se lect a diff ere nt tim e
zone.
NPort W2150A/W2250A Series Web Console: Basi c S ettings
5-5
time clock that allows you to add time information to functions
ATTENTION
There is a risk of explosion if the real The real time clock is powered by a lithium battery. We strongly recommend that you obtain assistance from a Moxa support engineer before replacing the battery. Please contact the Moxa RMA service team if you need to change the battery.
domain name, if a time server is
Local Time
Default Options Date (yy:mm:dd), Time (hh:mm:ss) Description The NPort has a built-in real-
such as the automatic warning e-mail or SNMP trap. This field shows the curre nt time according to the NPort’s built-in real-time clo ck . This is no t a live field , so you will need to refresh the browser to get an updated reading.
Change the correct date or time, and click [Submit]. The change will take effect directly, and shows Basic Setting OK!.
-time clock battery is replaced incorrectly!
Time Server
Default Options IP address or domain name (e.g., “192.168.1.1” or “time.nist.gov”) Description This optional field specifies your time server’s IP address or
used in your network. The NPort supports SNTP (RFC-1769) f or a utomatic time calib ration. The device server will request time infor mati o n fro m the specif ie d time server ever y 10 minutes.
Loading...
+ 67 hidden pages