Moxa W2250 UserMan

Table of Contents
Chapter 1 Introduction......................................................................................1-1
Overview..........................................................
......................................1-2
Package
Checklist.........................................................
.........................1-2
Product
Features..........................................................
Product
Specifications....................................................
........................1-3
Chapter 2 Getting Started.................................................................................2-1
Panel
Layout............................................................
..............................2-2
Connecting the
Hardware..........................................................
............2-3
Wiring Requirements................................................................................2-3
Connecting the Power...............................................................................2-3
Grounding NPort W2250/2150 Series...................................................................2-4
Connecting to the Network.......................................................................2-4
Connecting to a Serial Device...................................................................2-4
LED Indicators..........................................................................................2-4
Chapter 3 Initial IP Address Configuration.....................................................3-1
Installation Procedure for first tome
user.......................................................3-2
Factory Default IP
Address...........................................................
.........3-2
ARP...............................................................
.........................................3-2
Telnet
Console...........................................................
............................3-3
Serial Console (19200, n, 8,
1)..............................................................3-
5
Chapter 4 Choosing the Proper Operation Mode...........................................4-1
Overview..........................................................
......................................4-2
TCP Server
Mode..............................................................
....................4-2
TCP Client
Mode..............................................................
......................4-3
UDP
Mode..............................................................
................................4-3
Real COM
Mode..............................................................
.......................4-4
Chapter 5 Web Console Configuration............................................................5-1
Opening Your
Browser...........................................................
................5-2
Basic
Settings..........................................................
...............................5-4
Network
Settings..........................................................
Serial Port
Settings..........................................................
..............................5-8
System
management........................................................
.......................5-11
Change
Password..........................................................
......................5-24
Load Factory
Default...........................................................
.................5-25
Save/Restart……………………………………………….
Chapter 6 Install and Configure Software .............................................6-1
Overview..........................................................
......................................6-2
Install NPort COM Mapping
Utility...........................................................
6-2
Install NPort Search Utility....................
Configuration NPort COM Mapping
Utility..........................................................................................6-4
Configuration NPort Search Utility................
Installation for real TTY and fixed TTY……………………………….
Upgrade Firmware....................................................................................6-8
Appendix A
Appendix B
Appendix C
Chapter 1 Introduction
Welcome to the NPort W2250/2150 Products of advanced serial device servers that make it easy to control your serial devices. NPort W2150 include 1 port for RS-232/422/485, and NPort W2250 include 2 port for RS-232/422/485. The Wireless Serial Device Server is designed to easily integrate any RS-232/422/485 serial device to a WLAN. It is ideal for use in environments where LAN are not available and where serial devices are moved frequently.
The following topics are covered in this chapter:
Overview
Package Checklist
Product Features
Product Specifications
Overview
NPort W2250/2150 wireless serial device servers are designed to make your industrial serial
devices Internet ready instantly. The NPort W2250/2150 device servers makes them the ideal choice for connecting your RS-232/422/485 serial devices—such as PLCs, meters, and sensors—to an Wired Ethernet LAN and Wireless LAN, making it possible for your software to access serial devices anywhere over a local LAN ’WLAN or the Internet. It is also useful ,when serial devices are frequently moved
NPort W2250/2150 wireless serial device servers support automatic IP configuration protocols (DHCP, BOOTP) and manual configuration via the handy web browser console. Both methods ensure quick and effective installation. And with NPort Windows Driver Manager Utility, Port Mapping is very convenient to configure.
An external antenna can increases the range of the wireless TCP/IP connection. Users can move the adjustable antenna for maximum signal strength or can replace the antenna with their own for additional flexibility and scalability. When a serial device is connected in a high interference area, this feature is useful. Besides, we offer signal strength indicator on the front label for your reference.
NPort W2250/2150 wireless serial device servers ensure the compatibility of network software that uses a standard network API by providing TCP Server Mode, TCP Client Mode, and UDP Mode. And the Real COM/TTY drivers, software that works with COM/TTY ports can be set up to work over a TCP/IP network in no time. This excellent feature preserves your software investment and lets you enjoy the benefits of networking your serial devices instantly.
The NPort W2250/2150 also provide additional features such as authentication ’IP filter ’WEP supporting 64-bit and 128-bit encryption and SNMP support. It will make your management easily
Package Checklist
NPort W2250/2150 are shipped with the following items:
Standard Accessories
NPort W2250 or W2150 x 1 Documentation & Software CD RJ-45 to RJ-45 Ethernet cross cable RJ-45 to DB9 male cable Power adapter Warranty booklet Quick Installation Guide
Optional Accessories
DK-35A DIN-Rail Mounting Kit (35 mm) CBL-RJ45M9-150 RJ45 (8-pin) to DB9 (M) cable, 150 cm CBL-RJ45F9-150 RJ45 (8-pin) to DB9 (F) cable, 150 cm CBL-RJ45M25-150 RJ45 (8-pin) to DB25 (M) cable, 150 cm CBL-RJ45F25-150 RJ45 (8-pin) to DB25 (F) cable, 150 cm
NOTE: Notify your sales representative if any of the above items is missing or damaged.
Product Features
•Bring serial device to Wireless LAN network
•802.11b Wireless LAN, Compatible with 802.11g
• WEP supporting 64-bit and 128-bit encryption
• Password authentication and IP filter
Ad-Hoc mode
•10/100M Ethernet for console
• 2/1 ports with RS-232/422/485, up to 230.4 Kbps
•Versatile socket operation modes, including TCP Server, TCP Client, and UDP
• Easy-to-use Windows Utility for mass installation
•Supports Windows, Linux Real COM driver
•LED for link power, and wireless bandwidth
Product Specifications
WLAN
Standard Compliance: 802.11b Radio Frequency Type: DSSS Tx Power: 15 dBm ± 2 (CH1~Ch13), 12dBm ± 2(CH14) Rx Sensitivity: -84 dBm @11 Mbps, -87 dBm @5.5 Mbps,
-89 dBm @2 Mbps , -91 dBm @1 Mbps Transmission Rate: 11 Mbps(max.) with auto fallback (11, 5.5, 2, 1 Mbps) Transmission distance: Up to 100 meters (@11 Mbps, in open areas) Security: WEP 64bit/128bit data encryption Antenna Connector: Reverse SMA Network Mode: Infrastructure mode, Ad-Hoc mode
LAN
Ethernet: 10/100Mbps, RJ45 Protection: Built-in 1.5KV magnetic isolation
Serial
No. of ports: 2 ports (NPort W2250), 1 port (NPort W2150) Interface: RS-232/422/485, RJ45 8 pins
Serial Communication Parameters
Parity: None, Even, Odd, Space, Mark Data bits: 5, 6, 7, 8 Stop bits: 1, 1.5, 2 Flow control: RTS/CTS, XON/XOFF Speed: 100bps to 230.4kbps
Console Ports
Ethernet x1, RS-232 console x1(Port 1)
Software Features
Protocol:
ICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, DNS, SNMP, HTTP, SMTP
Utilities: Windows utility for Windows98/ME/2000/XP/2003
Configuration: Web browser, serial/telnet console, or Windows utility
Power Requirements
Power input: 12-48VDC
Power consumption: 250 mA @12V, 138 mA @24V
Mechanical Specifications
Material: Aluminum sheet metal (1mm)
Environmental
Operating Temperature: 0 to 55°C (32 to 131°F), 5 to 95% RH Storage Temperature: -20 to 85°C (-4 to 185°F), 5 to 95% RH
Regulatory Approvals
EMC: FCC Class A, CE Class A Safety: UL, CUL, TUV
RJ45 RS-232/422/485 port pin assignment Dimensions
Chapter 2 Getting Started
This chapter includes information about installing NPort W2250/2150. The following topics are covered:
Panel Layout Connecting the Hardware
Wiring Requirements
Connecting the Power
Connecting to the Network Connecting to a Serial Device LED Indicators
Panel Layout
Connecting the Hardware
This section describes how to connect NPort W2250/2150 Series to serial devices for first time testing purposes. We cover Wiring Requirements, Connecting the Power, Connecting to the Network, Connecting to a Serial Device, and LED Indicators.
Wiring Requirements
Be sure to disconnect the power cord before installing and/or wiring your device.
Calculate the maximum possible current in each power wire and common wire. Observe all electrical codes dictating the maximum current allowable for each wire size.
If the current goes above the maximum ratings, the wiring could overheat, causing serious damage to your equipment.
Please take care when handling device. When plugged in, device’s internal components generate heat, and consequently the casing may feel hot to the touch.
Safety First!
Wiring Caution!
Temperature Caution!
You should also pay attention to the following items:
Use separate paths to route wiring for power and devices. If power wiring and
device wiring paths must cross, make sure the wires are perpendicular at the intersection point.
NOTE: Do not run signal or communication wiring and power wiring in the same wire conduit. To avoid interference, wires with different signal characteristics should be routed separately.
You can use the type of signal transmitted through a wire to determine which
wires should be kept separate. The rule of thumb is that wiring that shares similar electrical characteristics can be bundled together.
Keep input wiring and output wiring separate.
Where necessary, it is strongly advised that you label wiring to all devices in the system
Connecting the Power
Connect the 12-48 VDC power line with NPort W2250/2150’s terminal block. If the power is properly supplied, the “Ready” LED will show a solid red color until the system is ready, at which time the “Ready” LED will change to a green color.
Connecting to the Network
Connect one end of the Ethernet cable to NPort W2250/2150’s 10/100M Ethernet port and the other end of the cable to the Ethernet network. If the cable is properly connected, NPort W2250/2150 will indicate a valid connection to the Ethernet in the following ways:
The Ethernet LED maintains a solid green color when connected to a 100
Mbps Ethernet network.
The Ethernet LED maintains a solid orange color when connected to a 10
Mbps Ethernet network.
The Ethernet LED will flash when Ethernet packets are being transmitted or
received.
Connecting to a Serial Device
Connect the serial data cable between NPort W2250/2150 and the serial device. Serial data cables are optional accessories for NPort W2250/2150. Refer to Chapter 1 under Optional Accessories for information on the RJ45-to-DB25 and RJ45-to-DB9 cables.
LED Indicators
Type Color Meaning
Type Color Meaning
Red Steady On: Power is on and NPort is booting up.
Blinking: Indicates an LAN IP conflict, or DHCP or BOOTP server did not respond properly.
Ready
WLAN Green On: Wireless Enable
10/100M Ethernet
P1, P2(W2250)
Signal Strength
Green Steady On: Power is on and NPort is functioning
normally. Blinking: The device server has been located by Administrator’s Location function.
Off Power is off, or power error condition exists.
Blinking: Indicates an WLAN IP conflict, or DHCP or
BOOTP server did not respond properly Yellow 10M Ethernet connection. Green 100M Ethernet connection. Off Ethernet cable is disconnected, or has a short. Yellow Serial port is receiving data. Green Serial port is transmitting data. Off No data is being transmitted or received through the
serial port.
Green Five LEDs represent WLAN signal strength of
20%~100%, in 20% scale. When WLAN link to the access point, the last LED is on
Chapter 3 Initial IP Address Configuration
When setting up your NPort W2250/2150 for the first time, the first thing you should do is configure the IP address. This chapter introduces the method to configure the device server’s IP address. Select one of the initial IP Address configuration methods to configure NPort W2250/2150’s IP Address. For more details about network settings, see the Network Settings section from Chapter 5, Web Console Configuration. This chapter includes the following sections:
Installation Procedure for First Time User Factory Default IP Address ARP
Telnet Console
Serial Console (19200, n, 8, 1)
Installation Procedure for First Time User
STEP 1: After removing NPort W2250 from the box, the first thing using a cross-over Ethernet cable connect directly to your computer’s Ethernet port.
STEP 2: Attaching the power adaptor STEP 3: Connect NPort W2250’s serial port to a serial device. STEP 4
Note: Recommend to use web console for configuration. About how to use web console ,please
: Use Web console to configure the NPort W2250 via Ethernet port.
refer to Chapter 5.
Note: Only one Network Interface work at the same time. If Ethernet Link up, Disable WLAN, Only Ethernet port can be used. If Ethernet Link down, Disable Ethernet, Only WLAN can be used.
Factory Default IP Address
NPort W2250 products are configured with the following default IP address:
LAN: Default setting is static IP, 192.168.126.254/255.255.255.0, If Ethernet port cant' get IP from DHCP, IP address return to 192.168.126.254/255.255.255.0
WLAN: Default setting is static IP, 192.168.127.254/255.255.255.0, If WLAN port cant' get IP from DHCP, IP address return to
192.168.127.254/255.255.255.0
Only one interface allow to use DHCP settings
Note: If you have changed the IP address and forget it later. You can push the reset button of
the W2250 hardware, the IP will return to the default IP address.
ARP
You can make use of the ARP (Address Resolution Protocol) command to set up an IP address for your NPort W2250/W2150. The ARP command tells your computer to associate the NPort W2250/W2150’s MAC address with the intended IP address. You must then use Telnet to access the NPort W2250/W2150, at which point the device server’s IP address will be reconfigured. This function only apply to Ethernet port. Take the following steps to use ARP to configure the IP address:
1. Obtain a valid IP address for your NPort W2250/W2150 from your network administrator.
2. Obtain NPort W2250/W2150’s MAC address from the label on its bottom panel.
3. Execute the ‘arp -s’ command from your computer’s MS-DOS prompt by typing: arp –s 192.168.200.100 00-90-E8-xx-xx-xx This is where 192.168.200.100 is the new IP address and 00-90-E8-xx-xx-xx is the MAC address for your NPort W2250/W2150. You will need to change both numbers, as described above in items 1 and 2.
4. Next, execute a special Telnet command by typing: telnet 192.168.200.100 6000 After issuing this command, a W2250/W2150 reboots, its IP address should be updated to the new address, and you can reconnect using either Telnet, Web, or Administrator to check that the update was successful.
Connect failed
message will appear, as shown here. After the NPort
Telnet Console
1. From the Windows desktop, click on
2. Type telnet 192.168.126.254 (Default IP) in the Open text input box, and then click OK.
When the Telnet window opens, if you are prompted to input the Console password, input the password and then press Enter.Note that this page will only appear if the NPort W2250 is password protected.
and then select
Start
Run
3. Type 2 to select
4. Type 1 to select IP address and then press Enter
Network settings
, and then press
Enter
5. Use the Backspace key to erase the current IP address, type in the new IP address, and then press Enter.
6. Type m and then press Enter to return to the main menu.
7. Type s and then press Enter to Save/Restart the system
8. Typ e y and then press Enter to save the new IP address and restart NPort W2250/W2150.
Serial Console (19200, n, 8, 1)
You may use the RS-232 console port to set up the IP address for NPort W2250/W2150. We
suggest using PComm Terminal Emulator, which is available free of charge as part of the PComm Lite program suite (found on the Software CD that comes with the product), to carry out the installation procedure, although other similar utilities may also be used.
Before you start to configure the NPort W2250/W2150 via serial console, turn off the power and connect the serial cable from NPort W2250/W2150 to your computer’s serial port.
1. Connect NPort W2250/W2150’s serial port 1 directly to your computer’s male RS-232 serial port.
2. From the Windows desktop click on Start Programs PComm Lite Terminal Emulator.
3. When the PComm Terminal Emulator window opens, first click on the Port Manager menu item and select Open, or simply click on the Open icon.
4. The Property window opens automatically. From the Communication Parameter page, select the appropriate COM port for the connection, COM1 in this example, and 19200 for Baud Rate, 8 for Data Bits, None for Parity, and 1 for Stop Bits.
5. From the Property window’s Terminal page, select ANSI or VT100 for Terminal Type and
then click OK. If you select Dumb Terminal as the terminal type, some of the console functions—especially the “Monitor” function—may not work properly.
6. Press the “ ` ” key continuously and then power on the NPort W2250/W2150.
7. NPort W2250/W2150 will receive the “ ` ” string continuously and then auto switch from data mode to console mode.
8. Input the password when prompted. Note that this page will only appear when the NPort W2250/W2150 has been set up for password protection.
9.Start configuring the IP address under Network Settings. Refer to the Telnet Console section
for the rest of the IP settings.
Chapter 4 Choosing the Proper Operation Mode
In this section, we describe the various NPort 5200 operation modes. The options include an operation mode that uses a driver installed on the host computer, and operation modes that rely on TCP/IP socket programming concepts. After choosing the proper operation mode in this chapter, refer to Chapter 5 for detailed configuration parameter definitions.
Overview
TCP Server Mode
TCP Client Mode
UDP Mode
Real COM Mode
Overview
NPort 5200 Serial Device Servers network-enable traditional RS-232/422/485 devices, in which a Serial Device Server is a tiny computer equipped with a CPU, real-time OS, and TCP/IP protocols that can bi-directionally translate data between the serial and Ethernet formats. Your computer can access, manage, and configure remote facilities and equipment over the Internet from anywhere in the world.
Traditional SCADA and data collection systems rely on serial ports (RS-232/422/485) to collect data from various kinds of instruments. Since NPort 5200 Serial Device Servers network-enable instruments equipped with an RS-232/422/485 communication port, your SCADA and data collection system will be able to access all instruments connected to a standard TCP/IP network, regardless of whether the devices are used locally or at a remote site.
NPort 5200 is an external IP-based network device that allows you to expand the number of serial ports for a host computer on demand. As long as your host computer supports the TCP/IP protocol, you won’t be limited by the host computer’s bus limitation (such as ISA or PCI), or lack of drivers for various operating systems.
In addition to providing socket access, NPort 5200 also comes with a Real COM/TTY driver that transmits all serial signals intact. This means that your existing COM/TTY-based software can be preserved, without needing to invest in additional software.
Three different Socket Modes are available: TCP Server, TCP Client, and UDP Server/Client. The main difference between the TCP and UDP protocols is that TCP guarantees delivery of data by requiring the recipient to send an acknowledgement to the sender. UDP does not require this type of verification, making it possible to offer speedier delivery. UDP also allows unicast or multicast of data to only one IP or groups of IP addresses.
Pictures in this Chapter will use NPort 5400 series as an example.
TCP Server Mode
In TCP Server mode, NPort 5200 is configured with a unique IP:Port address on a TCP/IP network. NPort 5200 waits passively to be contacted by the host computer, allowing the host computer to establish a connection with and get data from the serial device. This operation mode also supports up to 4 simultaneous connections, so that multiple hosts can collect data from the same serial device—at the same time.
As illustrated in the figure, data transmission proceeds as follows:
1. The host requests a connection from the NPort 5200 configured for TCP Server Mode.
2. Once the connection is established, data can be transmitted in both directions—from the host to the NPort 5200, and from the NPort 5200 to the host.
TCP Client Mode
In TCP Client mode, NPort 5200 can actively establish a TCP connection to a pre-defined host computer when serial data arrives.
After the data has been transferred, NPort 5200 can automatically disconnect from the host computer by using the TCP alive check time or Inactivity time settings. Refer to Chapter 5 for more details.
As illustrated in the figure, data transmission proceeds as follows:
1. The NPort 5200 configured for TCP Client Mode requests a connection from the host.
2. Once the connection is established, data can be transmitted in both directions—from the host to the NPort 5200, and from the NPort 5200 to the host.
UDP Mode
Compared to TCP communication, UDP is faster and more efficient. In UDP mode, you can unicast or multicast data from the serial device to one or multiple host computers, and the serial device can also receive data from one or multiple host computers, making this mode ideal for message display applications.
Real COM Mode
NPort 5200 comes equipped with COM drivers that work with Windows 95/98/ME/NT/2000/XP systems, and also TTY drivers for Linux systems. The driver establishes a transparent connection between host and serial device by mapping the IP:Port of the NPort 5200’s serial port to a local COM/TTY port on the host computer.
One of the major conveniences of using Real COM Mode is that Real COM Mode allows users to continue using RS-232/422/485 serial communications software that was written for pure serial communications applications. The driver intercepts data sent to the host’s COM port, packs it into a TCP/IP packet, and then redirects it through the host’s Ethernet card. At the other end of the connection, the NPort 5200 accepts the Ethernet frame, unpacks the TCP/IP packet, and then transparently sends it to the appropriate serial device attached to one of the NPort 5200’s serial ports.
Real COM Mode allows several hosts to have access control of the same NPort 5200. The driver that comes with your NPort 5200 controls host access to attached serial devices by checking the host’s IP address. Refer to Accessible IP Settings in Chapter 5 for more details.
Chapter 5 Web Console Configuration
The Web Console is the most user-friendly method available to configure NPort 5200 Series. This chapter introduces the Web Console function groups and function definitions.
Opening Your Browser Basic Settings Network Settings
WLAN Configuration
Serial Port Settings System Management Change Password
Load Factory Default
Save/Restart
Opening Your Browser
1. Open your browser with the cookie function enabled. (To enable your browser for cookies, right click on your desktop Internet Explorer icon, select Properties, click on the Security tab, and then select the three Enable options as shown in the figure below.)
2. Type 192.168.126.254(Default IP) in the Address input box (use the correct IP address if different from the default), and then press Enter.
3. Input the password if prompted. The password will be transmitted with MD5 encryption over the Ethernet. Note that you will not be prompted to enter the password if the NPort 5200 is not currently password protected.
4. The NPort 5200 homepage will open. On this page, you can see a brief description of the Web Console’s nine function groups.
If you can’t remember the password, the ONLY way to start configuring NPort 5200 is to load factory defaults by using the Reset button located near the NPort 5200’s RJ45 Ethernet port.
Remember to use Windows Administrator to export the configuration file when you have finished the configuration. After using the Reset button to load factory defaults, your configuration can be easily reloaded into NPort 5200 by using the Windows Administrator Import function.
If you use other web browsers, remember to Enable the functions to “allow cookies that are stored on your computer” or “allow per-session cookies.”
NPort 5200 uses cookies only for “password” transmission.
Basic Settings
Time
NPort 5200 has a built-in Real-Time Clock for time calibration functions. Functions such as Auto warning “Email” or “SNMP Trap” can add real-time information to their messages.
First time users should select the time zone first. The Console will display the “real time” according to the time zone compared to GMT. If you would like to modify the real time clock, select “Local time.” NPort 5200’s firmware will modify the GMT time according to the Time Zone.
Time zone
Setting Factory Default Necessity
User selectable time zone
Local time
GMT (Greenwich Mean Time)
Optional
Setting Factory Default Necessity
User adjustable time (1900/1/1-2037/12/31)
Click on the Modify button to open the Modify time settings window to input the correct local time.
GMT (Greenwich Mean Time)
Optional
Time server
Setting Factory Default Necessity
IP Address or Domain Name
None Optional (E.g., 192.168.1.1, time.stdtime.gov.tw, or time.nist.gov)
NPort 5200 uses SNTP (RFC-1769) for auto time calibration.
Input the correct “Time server” IP address or domain name. Once NPort 5200 is configured with the correct Time server address, NPort 5200 will request time information from the “Time server” every 10 minutes.
Web/Telnet Console
The “Disable” option for “Web Console” and “Telnet Console” is included for security reasons. In some cases, you may want to Disable one or both of these console utilities as an extra precaution to prevent unauthorized users from accessing your NPort 5200. The factory default for both Web console and Telnet console is Enable.
Setting Factory Default Necessity
Enable or Disable Enable Required
Network Settings
General Setting
Click General Setting option ,you can entry the server name and DNS server .
When the user wants to visit a particular website, the computer asks a Domain Name System (DNS) server for the website’s correct IP address, and then the computer uses the response to connect to the web server. DNS is the way that Internet domain names are identified and translated into IP addresses. A domain name is an alphanumeric name, such as moxa.com, that it is usually easier to remember. A DNS server is a host that translates this kind of text-based domain name into the numeric IP address used to establish a TCP/IP connection.
In order to use NPort 5200’s DNS feature, you need to configure the DNS server. Doing so allows NPort 5200 to use a host’s domain name to access the host. NPort 5200 provides and DNS server 2 configuration items to configure the IP address of the DNS server. DNS Server 2 is included for use when DNS sever 1 is unavailable.
.
DNS server 1 / DNS server 2
DNS server 1
Setting Factory Default Necessity
E.g., 192.168.1.1
None Optional (IP addresses of the form x.x.x.0
and x.x.x.255 are invalid.)
Ethernet Configuration
Loading...
+ 61 hidden pages