Moxa Technologies NPort IA5150A, NPort IA5150AI-T, NPort IA5150A-T, NPort IA5250A-T, NPort IA5250A User Manual

...
NPort IA5150A/IA5250A Series
User’s Manual
Second Edition, December 2012
www.moxa.com/product
© 2012 Moxa Inc. All rights reserved.
Reproduction without permission is prohibited.
NPort IA5150A/IA5250A Series
Moxa Americas
Toll
Tel:
Fax:
Moxa China (Shanghai office)
Toll
Tel:
Fax:
Moxa Europe
Tel:
Fax:
Moxa Asia
Tel:
Fax:
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
Copyright ©2012 Moxa Inc.
All rights reserved.
Reproduction without permission is prohibited.
Trademarks
The MOXA logo is a registered trademark of Moxa Inc.
All other trademarks or registered marks in this manual belong to their respective manufacturers.
Disclaimer
Information in this document is subject to change without notice and does not represent a commitment on the part of
Moxa.
Moxa provides this document as is, without warranty of any kind, either expressed or implied, including, but not limited
to, its particular purpose. Moxa reserves the right to make improvements and/or changes to this manual, or to the
products and/or the programs described in this manual, at any time.
Information provided in this manual is intended to be accurate and reliable. However, Moxa assumes no responsibility for
its use, or for any infringements on the rights of third parties that may result from its use.
This product might include unintentional technical or typographical errors. Changes are periodically made to the
information herein to correct such errors, and these changes are incorporated into new editions of the publication.
Technical Support Contact Information
www.moxa.com/support
-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-10-6872-3958
+886-2-8919-1230
-Pacific
+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
2. Getting Started.................................................................................................................................. 2-1
Panel Layout ...................................................................................................................................... 2-2
Connecting the Hardware..................................................................................................................... 2-3
Wiring Requirements ................................................................................................................... 2-3
Connecting the Power .................................................................................................................. 2-3
Connecting to the Network ........................................................................................................... 2-4
Connecting to a Serial Device ....................................................................................................... 2-4
LED Indicators ............................................................................................................................ 2-4
Adjust the Pull-high/Pull-low Resistors and Terminators for RS-422/RS-485 Ports ............................... 2-5
3. Initial IP Address Configuration ........................................................................................................ 3-1
Initializing the NPort’s IP Address ......................................................................................................... 3-2
Factory Default IP Address ................................................................................................................... 3-2
NPort Administration Suite ................................................................................................................... 3-2
ARP................................................................................................................................................... 3-2
Telnet Console ................................................................................................................................... 3-3
Serial Console (19200, n, 8, 1) ............................................................................................................. 3-6
4. Choosing the Proper Operation Mode ................................................................................................ 4-1
Overview ........................................................................................................................................... 4-2
Real COM Mode .................................................................................................................................. 4-2
RFC2217 Mode ................................................................................................................................... 4-3
TCP Server Mode ................................................................................................................................ 4-3
TCP Client Mode ................................................................................................................................. 4-3
UDP Mode .......................................................................................................................................... 4-4
Pair Connection Mode .......................................................................................................................... 4-4
Ethernet Modem Mode ......................................................................................................................... 4-4
Reverse Telnet Mode ........................................................................................................................... 4-4
Disabled Mode .................................................................................................................................... 4-5
5. Web Console Configuration ............................................................................................................... 5-1
Opening Your Browser ......................................................................................................................... 5-2
Export/Import .................................................................................................................................... 5-5
Basic Settings .................................................................................................................................... 5-5
Network Settings ................................................................................................................................ 5-6
SNMP Settings ............................................................................................................................ 5-8
IP Address Report ....................................................................................................................... 5-8
Serial Settings .................................................................................................................................... 5-9
Serial Parameters ...................................................................................................................... 5-10
Operating Settings ............................................................................................................................ 5-11
Real COM Mode ......................................................................................................................... 5-11
RFC2217 Mode .......................................................................................................................... 5-14
TCP Server Mode ....................................................................................................................... 5-16
TCP Client Mode ........................................................................................................................ 5-19
UDP Mode ................................................................................................................................ 5-23
Pair Connection Mode ................................................................................................................ 5-25
Ethernet Modem Mode ............................................................................................................... 5-26
Reverse Telnet Mode ................................................................................................................. 5-29
Disabled Mode .......................................................................................................................... 5-30
Accessible IP Settings........................................................................................................................ 5-30
Auto Warning Settings ....................................................................................................................... 5-31
Auto warning: Email and SNMP trap ............................................................................................ 5-31
Event Type ............................................................................................................................... 5-32
Upgrade Firmware ............................................................................................................................ 5-34
Monitor............................................................................................................................................ 5-34
Monitor Line ............................................................................................................................. 5-34
Monitor Async ........................................................................................................................... 5-35
Monitor Async-Settings .............................................................................................................. 5-35
Monitor Relay Output ................................................................................................................. 5-36
Change Password ............................................................................................................................. 5-36
Load Factory Default ......................................................................................................................... 5-37
Save/Restart .................................................................................................................................... 5-37
6. Configuring NPort Administrator ....................................................................................................... 6-1
Overview ........................................................................................................................................... 6-2
Installing NPort Administrator .............................................................................................................. 6-2
Configuration ..................................................................................................................................... 6-4
Broadcast Search ........................................................................................................................ 6-4
Unlock Password Protection .......................................................................................................... 6-5
Configuring the NPort IA5150A/IA5250A ........................................................................................ 6-6
Upgrading the Firmware ............................................................................................................... 6-7
Export Configuration .................................................................................................................... 6-8
Import Configuration ................................................................................................................... 6-9
Monitor.............................................................................................................................................. 6-9
Port Monitor ..................................................................................................................................... 6-12
COM Mapping ................................................................................................................................... 6-12
On-line COM Mapping ................................................................................................................ 6-13
Off-line COM Mapping ................................................................................................................ 6-16
COM Grouping .................................................................................................................................. 6-17
Creating a COM Group ............................................................................................................... 6-17
Deleting a COM Group................................................................................................................ 6-19
Adding a Port to a COM Group .................................................................................................... 6-21
Removing a Port from a COM Group ............................................................................................ 6-22
Modify Ports in a COM Group ...................................................................................................... 6-24
Changing the COM Number of a COM Group ................................................................................. 6-24
Changing Advanced Settings and Serial Parameters of the COM Group ............................................. 6-26
Changing the Serial Port Specified as Signal Port for the COM Group ............................................... 6-28
IP Address Report ............................................................................................................................. 6-29
7. IP Serial LIB ...................................................................................................................................... 7-1
Overview ........................................................................................................................................... 7-2
IP Serial LIB Function Groups ............................................................................................................... 7-2
Example Program ............................................................................................................................... 7-3
A. Pinouts and Cable Wiring .................................................................................................................. A-1
Port Pinout Diagrams .......................................................................................................................... A-2
Ethernet Port Pinouts ................................................................................................................... A-2
RS-232/422/485 (male DB9) Pinouts ............................................................................................. A-2
RS-422/485 (5-contact terminal block) Pinouts for the NPort IA5150A Series ..................................... A-2
Power Input and Relay Output Pinouts ........................................................................................... A-2
Serial Cable Wiring Diagrams ............................................................................................................... A-3
Female DB9 to Male DB9 .............................................................................................................. A-3
Female DB9 to Male DB25 ............................................................................................................ A-3
Ethernet Cables .................................................................................................................................. A-4
B. Well Known Port Numbers ................................................................................................................ B-1
C. SNMP Agents with MIB II & RS-232 Like Groups .............................................................................. C-1
RFC1213 MIB-II Supported SNMP Variables ........................................................................................... C-1
RFC1317: RS-232 MIB Objects ............................................................................................................. C-3
D. Auto IP Report Protocol .................................................................................................................... D-1
E. Compliance Notice ............................................................................................................................. E-1
1
,
,
temperature, 2KV isolation

1. Introduction

Welcome to the NPort IA5150A/IA5250A Series of industrial serial device servers. In this manual, we refer to
the eight products in the series collectively as the “NPort IA5150A/IA5250A Series.”
The four models in the NPort IA5150A/IA5250A Series are:
NPort IA5150A 1-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), 0 to 60°C operating temperature
NPort IA5150A-T 1-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), -40 to 75°C operating
temperature
NPort IA5150AI 1-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), 0 to 60°C operating temperature
2KV isolation
NPort IA5150AI-T 1-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), -40 to 75°C operating
temperature, 2KV isolation
NPort IA5250A 2-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), 0 to 60°C operating temperature
NPort IA5250A-T 2-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), -40 to 75°C operating
temperature
NPort IA5250AI 2-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), 0 to 60°C operating temperature
2KV isolation
NPort IA5250AI-T 2-port RS-232/422/485 industrial automation device server with serial/LAN/power
surge protection, two 10/100BaseT(X) ports (1 IP), -40 to 75°C operating
The following topics are covered in this chapter:
Overview
Package Checklist
Product Features
Product Specifications
NPort IA5150A/IA5250A Series Introduction
1-2

Overview

These advanced NPort IA device servers are more rugged than ever before, from the design, casing, connectors,
mounting methods, to the surge protection. Not only has the hardware been upgraded, but more flexible and
user-friendly software has been added. The NPort IA5150A/IA5250A series of device servers deliver easy and
reliable serial-to-Ethernet connectivity for the industrial automation market. The NPort IA5150A/IA5250A
series is designed to allow any serial device to connect to an Ethernet network. The compact size of the NPort
IA5150A/IA5250A device servers makes them an ideal choice for connecting RS-232/422/485 serial devices,
such as PLCs, sensors, meters, motors, drives, barcode readers, and operator displays. The NPort
IA5150A/IA5250A Series device servers come with a compact casing and a DIN-Rail mounting kit.
The NPort IA5150A/IA5250A serial device servers ensure the compatibility of network software that uses a
standard network API (Winsock or BSD Sockets) by providing five modes: TCP Server, TCP Client, UDP, Pair
Connection, Ethernet Modem, and Rtelnet. Thanks to the NPort IA5150A/IA5250A series’ Real COM/TTY drivers,
software that works with COM/TTY ports can be set up to work over a TCP/IP network, without modifying the
serial COM software applications. This excellent feature preserves your software investment and lets you enjoy
the benefits of networking your serial devices instantly.
The NPort IA5150A/IA5250A serial device servers support automatic IP configuration protocols (DHCP, BOOTP)
and manual configuration via a handy web browser console. Both methods ensure quick and effective
installation. And with the NPort IA5150A/IA5250A’s Windows Utility, installation is very straightforward, since
all system parameters can be stored and then copied to other device servers simultaneously.

Package Checklist

The NPort IA5150A/IA5250A Series device servers are shipped with the following items:
Standard Accessories
1 NPort IA5150A/IA5250A Serial Device Server
Documentation & Software CD
NPort IA5150A/IA5250A Series Quick Installation Guide
Warranty Card
Optional Accessories
DR-4524: 45W/2A DIN-Rail 24 VDC Power Supply with universal 85 to 264 VAC input
DR-75-24: 75W/3.2A DIN-Rail 24 VDC Power Supply with universal 85 to 264 VAC input
DR-120-24: 120W/5A DIN-Rail 24 VDC Power Supply with 88 to 132 VAC/176 to 264 VAC input by switch
NOTE: Notify your sales representative if any of the above items is missing or damaged.

Product Features

The NPort IA5150A/IA5250A Series device servers have the following features:
1. Make your serial devices Internet ready
2. Versatile socket operating modes, including TCP Server, TCP Client, UDP, Reverse Telnet, RFC2217,and
Real COM driver
3. 2- or 4-wire RS-485 with patented ADDC™ (Automatic Data Direction Control)
4. Slim type, inch-wide industrial strength casing
5. DIN-Rail or wall mountable
6. Built-in Ethernet cascading ports for easy wiring (RJ45 only)
7. Redundant dual DC power inputs
8. Warning by relay output and E-mail
NPort IA5150A/IA5250A Series Introduction
1-3
Ethernet Interface
Number of Ports:
Speed:
Connector:
Magnetic Isolation Protection:
Serial Interface
Number of Ports:
NPort® IA5150A: 1
NPort® IA5250A: 2
Serial Standards: RS-232/422/485
Connector:
NPort® IA5150A Series: DB9 male for RS
NPort® IA5250A Series: DB9 male for
Serial Line Protection:
• 15 KV ESD protection for all signals
• 2 KV isolation protection (NPort IA5150AI/IA5150AI
• 1 KV surge protection (Level 2)
RS
Serial Communication Parameters
Data Bits:
Stop Bits:
Parity:
Flow Control:
Baudrate:
Serial Signals
RS-232: TxD, RxD, RTS, CTS, DTR, DSR, DCD, GND
RS
RS
RS
Software
Network Protocols:
IGMP
Configuration Options:
Windows Real COM Drivers:
Windows 2012 x64
Fixed TTY Drivers:
Solaris 10, FreeBSD, AIX 5.x, HP
Linux Real TTY Drivers:
Physical Characteristics
Housing:
Weight:
NPort® IA5150A Series: 475 g (1.05 lb)
NPort® IA5250A Series: 485 g (1.07 lb)
Dimensions:
Environmental Limits
Operating Temperature:
Standard Models: 0 to 60°C (32 to 140°F)
Wide Temp. Models:
Operating Humidity:
Storage Temperature:
Power Requirements

Product Specifications

2
10/100 Mbps, auto MDI/MDIX
8-pin RJ45
1.5 KV built-in
-232, terminal block for RS-422/485
RS-232/422/485
-T, NPort IA5250AI/IA5250AI-T)
-485 Data Direction Control: ADDC® (automatic data direction control)
5, 6, 7, 8
1, 1.5, 2
None, Even, Odd, Space, Mark
RTS/CTS and DTR/DSR (RS-232 only), XON/XOFF
50 to 921.6 Kbps
-422: Tx+, Tx-, Rx+, Rx-, GND
-485-4w: Tx+, Tx-, Rx+, Rx-, GND
-485-2w: Data+, Data-, GND
ICMP, IP, TCP, UDP, DHCP, BOOTP, Telnet, Rtelnet, DNS, SNMP , HTTP, SMTP, SNTP,
Web Console, Serial Console, Telnet Console, Windows Utility
Windows 95/98/ME/NT/2000, Windows XP/2003/Vista/2008/7/8 x86/x64,
SCO Unix, SCO OpenServer, UnixWare 7, UnixWare 2.1, SVR 4.2, QNX 4.25, QNX 6,
-UX 11i
Linux kernel 2.4.x, 2.6.x, 3.x
Metal
36 x 140 x 105 mm (1.42 x 5.51 x 4.13 in)
-40 to 75°C (-40 to 167°F)
5 to 95% RH
-40 to 85°C (-40 to 185°F)
NPort IA5150A/IA5250A Series Introduction
1-4
Input Voltage:
Power Consumption:
NPort® IA5150A: 12 to 48 VDC, 220 mA @ 12 VDC; 110 mA @ 24 VDC
NPort® IA5150AI: 12 to 48 VDC, 255 mA @ 12 VDC; 130 mA @ 24 VDC
NPort
NPort® IA5250AI: 12 to 48 VDC, 290 mA @ 12 VDC; 150 mA @ 24 VDC
Regulatory Approvals
EMC:
Safety:
Hazardous Location:
ATEX:
EMS:
EN61000
EN61000
EN61000
EN61000
EN61000
EN61000
EN61000
Shock:
Freefall:
Vibration: IEC60068-2-6
Reliability
Alert Tools:
Automatic
Warranty
Warranty Period:
Details: See www.moxa.com/warranty
12 to 48 VDC
® IA5250A: 12 to 48 VDC, 250 mA @ 12 VDC; 125 mA @ 24 VDC
CE (EN55022 Class A, EN55024), FCC Part 15 Subpart B Class A
UL508, LVD
UL/cUL Class 1 Division 2 Groups A, B, C and D
Class I, Zone 2
-4-2 (ESD), Criteria B, Level 3
-4-3 (RS), Criteria A, Level 3
-4-4 (EFT), Criteria B, Level 4
-4-5 (Surge), Criteria B, Level 3 for power line, Level 2 for communication line
-4-6 (CS), Criteria A, Level 3
-4-8, Criteria A, Level 3
-4-11
IEC60068-2-27
IEC60068-2-32
Built-in buzzer and relay output
Reboot Trigger: Built-in WDT (watchdog timer)
5 years
2

2. Getting Started

In this chapter, we give instructions on installing the NPort IA5150A/IA5250A device servers. Software
installation is covered in subsequent chapters.
The following topics are covered in this chapter:
Panel Layout
Connecting the Hardware
Wiring Requirements
Connecting the Power
Connecting to a Serial Device
LED Indicators
Adjust the Pull-high/Pull-low Resistors and Terminators for RS-422/RS-485 Ports
NPort IA5150A/IA5250A Series Getting Started
2-2

Panel Layout

NPort IA5150A Series

NPort IA 5250A

NPort IA5150A/IA5250A Series Getting Started
2-3
ATTENTION
Safety First!
Be sure to disconnect the power cord before installing and/or wiring your NPort IA5150A/IA5250A
Wiring
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.
Temperature Caution!
Please take care when handling the NPort IA5150A/IA5250A. When plugged in, the NPort IA5150A/IA5250A’s
internal components generate heat, and consequently the casing may feel hot to the touch. When
alled
with other components, make sure that there is at least 2 cm clearance on all sides of
IA5150A/IA5250A in order to allow proper heat dissipation.
WARNING
This product is intended to be mounte

Connecting the Hardware

This section describes how to connect the NPort IA5150A/IA5250A to serial devices for first time testing
purposes. We cover Wiring Requirements, Connecting the Power, Grounding the NPort
IA5150A/IA5250A Series, Connecting to the Network, Connecting to a Serial Device, and LED
Indicators.

Wiring Requirements

You should heed the following:
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.
Series.
Caution!
inst
the NPort

Connecting the Power

Connect the 12-48 VDC power line with the NPort IA5150A/IA5250A’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.
Grounding the NPort IA5150A/IA5250A Series
Grounding and wire routing helps limit the effects of noise caused by electromagnetic interference (EMI). Run
the ground connection from the ground screw to the grounding surface prior to connecting devices.
d to a well-grounded mounting surface such as a metal panel.
NPort IA5150A/IA5250A Series Getting Started
2-4
SG:
The Shielded Ground (sometimes called Protected Ground) contact
is the l
connector when viewed from the angle shown here. Connect the SG
wire to an appropriate grounded metal surface.
ATTENTION
Every NPort IA5150A/ IA5250A series is equipped with 2 Ethernet ports, which can be used to create an open
chain of NPor
the
two device servers at the ends of the chain. In other words, NPort IA does NOT support a
PWR1, PWR2
red
Power is being supplied to power input PWR1, PWR2.
eft most contact of the 8 contact power terminal block

Connecting to the Network

Connect one end of the Ethernet cable to the NPort IA5150A/IA5250A’s 10/100M Ethernet port and the other
end of the cable to the Ethernet network. If the cable is properly connected, the NPort IA5150A/IA5250A 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.
t IA5150A/IA5250A device servers. You must be careful not to connect the Ethernet ports of

Connecting to a Serial Device

Connect the serial data cable between the NPort IA5150A/IA5250A and the serial device. Serial data cables are
optional accessories for NPort.

LED Indicators

The top panels of all NPort IA5150A/IA5250As have four LED indicators, as described in the following table.
LED Name LED Color LED Function
Ready red Steady on: Power is on and the NPort IA5150A/IA5250A is booting up.
Blinking: Indicates an IP conflict, or DHCP or BOOTP server did not
respond properly, or a relay output occurred.
When the above two conditions occur at the same time,
check the relay output first. If after resolving the relay output
the Ready LED is still blinking, then there is an IP conflict, or
the DHCP or BOOTP server did not respond properly.
green Steady on: Power is on and the NPort IA5150A/IA5250A is functioning
normally.
Blinking: The device server has been located by Administrator’s
Location function.
off Power is off, or power error condition exists.
E1, E2 orange 10 Mbps Ethernet connection.
green 100 Mbps Ethernet connection.
off Ethernet cable is disconnected, or has a short.
P1, P2 orange Serial port is receiving data.
green Serial port is transmitting data.
off No data is being transmitted or received through the serial port.
closed chain.
NPort IA5150A/IA5250A Series Getting Started
2-5
Adjust the Pull-high/Pull-low Resistors and Terminators for
RS-422/RS-485 Ports
In certain critical environments, you may need to add termination resistors to prevent the reflection of serial
signals. When using termination resistors, it is important to set the pull high/low resistors properly so that
electrical signals do not become corrupted. It is improbable for a single pull high/low resistor value to suit all
the various environments and this is why the NPort IA5150A/IA5250A series provides DIP switches for setting
the pull high/low resistor values for each serial port.
The DIP switches are located on the PCB board; you will need to take off the covers to access them. To set the
pull-high resistor to 150 KΩ, flip DIP1 to “OFF,” and then set the pull-low resistor to 150 KΩ, and then flip DIP2
to “OFF.” To set the pull-high resistor to 1 KΩ, flip DIP1 to “ON,” and then set the pull-low resistor to 1 KΩ, and
then flip DIP2 to “ON.” Make sure that DIP3 is “ON” to enable the 120Ω terminator. The default settings for the
pull-high and pull-low resistors, and the terminators are all at “OFF.”
3

3. Initial IP Address Configuration

When setting up your NPort IA5150A/IA5250A for the first time, the first thing you should do is configure the
IP address. This chapter introduces the methods that can be used to configure the device server’s IP address.
Select one of the initial IP Address configuration methods to configure the NPort
IA5150A/IA5250A’s IP Address. For more details about network settings, see the Network Settings
section from Chapter 5, Web Console Configuration.
The following topics are covered in this chapter:
Initializing the NPort’s IP Address
Factory Default IP Address
NPort Administration Suite
ARP
Telnet Console
Serial Console (19200, n, 8, 1)
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-2
ATTENTION
Consult your network administrator on how to reserve a fixed IP address for your NPort IA5150A/IA5250A in
the MAC
assign a fixed IP address to your NPort IA5150A/IA5250A.
ATTENTION
In order to use this setup method, both your computer and NPort IA5150A/IA5250A must be connected to the
same LAN. Or, you may use a cross-over Ethernet cable to connect the NPort IA5150A/IA5250A directly to
your c
your NPort IA5150A/IA5250A must be
configured with the factory default IP address
IA5150A/IA5250A

Initializing the NPort’s IP Address

Determine whether your NPort IA5150A/IA5250A needs to use a Static IP or Dynamic IP (either DHCP or
BOOTP application).
If the NPort IA5150A/IA5250A is used in a Static IP environment, you can use the NPort
Administration Suite, ARP, Web Console, Telnet Console, or Serial Console to configure the new IP address.
If the NPort IA5150A/IA5250A is used in a Dynamic IP environment, you can use the NPort
Administration Suite, Web Console, Telnet Console, or Serial Console to configure the NPort IA5150A/IA5250A
to get an IP address dynamically with DHCP, DHCP/BOOTP, or BOOTP.
-IP mapping table when using a DHCP Server or BOOTP Server. In most applications, you should

Factory Default IP Address

NPort IA5150A/IA5250A products are configured with the following default private IP address:
Default IP address: 192.168.127.254
(IP addresses of the form 192.168.xxx.xxx are referred to as private IP addresses, since it is not possible to
directly access a device configured with a private IP address from a public network. For example, you would not
be able to ping such a device from an outside Internet connection. NPort IA5150A/IA5250A applications that
require sending data over a public network, such as the Internet, require setting up the server with a valid
public IP address, which can be leased from a local ISP.)

NPort Administration Suite

NPort Administration Suite consists of some useful utility programs that are used to configure and manage your
NPort IA5150A/IA5250A.
See Chapter 5 for details on how to install NPort Administration Suite, and how to use this suite of
useful utilities to set up IP addresses and configure your NPort IA5150A/IA5250A Series serial
device servers.
ARP
You can make use of the ARP (Address Resolution Protocol) command to set up an IP address for your NPort
IA5150A/IA5250A. The ARP command tells your computer to associate the NPort IA5150A/IA5250A’s MAC
address with the intended IP address. You must then use Telnet to access the NPort IA5150A/IA5250A, at
which point the device server’s IP address will be reconfigured.
omputer’s Ethernet card. Before executing the ARP command,
(192.168.127.254), and your computer and the NPort
must be on the same subnet.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-3
ATTENTION
Figures in this chapter were generated using NPort
Take the following steps to use ARP to configure the IP address:
1. Obtain a valid IP address for your NPort IA5150A/IA5250A from your network administrator.
2. Obtain the NPort IA5150A/IA5250A’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:
4. arp –s 192.168.200.100 00-90-E8-xx-xx-xx
5. 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 IA5150A/IA5250A. (Be sure to use the actual IP address and MAC address for your NPort
IA5150A/IA5250A.)
6. Next, execute a special Telnet command by typing:
telnet 192.168.200.100 6000
After issuing this command, a Connect failed message will appear, as shown here. After the NPort 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.

Telnet Console

Depending on how your computer and network are configured, you may find it convenient to use network
access to set up your NPort IA5150A/IA5250A’s IP address. This can be done using Telnet.
1. From the Windows desktop, click on Start and then select Run.
2. Type telnet 192.168.127.254 (use the correct IP address if different from the default) in the Open text
input box, and then click OK.
3. 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 is password protected.
IA5450AI.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-4
4. Type 2 to select Network settings, and then press Enter.
5. Type 1 to select IP address and then press Enter.
6. Use the Backspace key to erase the current IP address, type in the new IP address, and then press Enter.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-5
7. Press any key to continue…
8. Type m and then press Enter to return to the main menu.
9. Type s and then press Enter to Save/Restart the system.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-6
ATTENTION
The
232 mode)
of the NPort IA5150A series.
10. Type y and then press Enter to save the new IP address and restart the NPort IA5150A/IA5250A.

Serial Console (19200, n, 8, 1)

You may use the RS-232 console port to set up the IP address for the NPort IA5150A/IA5250A. We suggest
using PComm Terminal Emulator, which is available free of charge as part of the PComm Lite program suite, to
carry out the installation procedure, although other similar utilities may also be used.
Serial Console is serial port 1 of the NPort IA5250A series and it is the DB9 serial port (in RS-
Before you start to configure the NPort IA5150A/IA5250A via serial console, turn off the power and connect the
serial cable from the NPort IA5150A/IA5250A to your computer’s serial port.
1. Connect the NPort IA5150A/IA5250A’s serial port 1 directly to your computer’s male RS-232 serial port. From the Windows desktop click on Start
2. 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.
3. 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.
4. From the Property window’s Terminal page, select ANSI or VT100 for Terminal Type and then click OK.
Programs PComm Lite Terminal Emulator.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-7
5. 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 IA5150A/IA5250A.
7. NPort IA5150A/IA5250A will automatically switch from data mode to console mode as it receives a
continuous string of “ ` ”.
8. Input the password when prompted. Note that this page will only appear when the NPort IA5150A/IA5250A
has been set up for password protection.
NPort IA5150A/IA5250A Series Initial IP Address Configuration
3-8
9. Start configuring the IP address under Network Settings. Refer to step 4 in the Telnet Console section for
the rest of the IP settings.
4

4. Choosing the Proper Operation Mode

In this chapter, we describe the NPort IA5150A/IA5250A various Toperation 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.
The following topics are covered in this chapter:
Overview
Real COM Mode
RFC2217 Mode
TCP Server Mode
TCP Client Mode
UDP Mode
Pair Connection Mode
Ethernet Modem Mode
Reverse Telnet Mode
Disabled Mode
NPort IA5150A/IA5250A Series Choosing the Proper Operation Mode
4-2
The NPort IA5150A/IA5250A comes equipped with COM
d
95/98/ME/NT/2000/XP/2003/Vista/2008/7/XP x64/2003
x64/Vista x64/2008 x64/7 x64 s
drivers for Linux or Unix systems. The drive
transparent connection between host and serial
mapping the IP:Port of the NPort IA5150A/IA5250A’s serial
port to a local COM/TTY
COM
connections, so that
same
ATTENTION
The driver used for
The driver
is installed automatically on your computer when you install the NPort Administration Suite.

Overview

NPort IA5150A/IA5250A 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 the NPort IA5150A/IA5250A 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.
The NPort IA5150A/IA5250A 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, the NPort IA5150A/IA5250A 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.

Real COM Mode

rivers that work with Windows
port on the host computer. Real
Mode also supports up to eight simultaneous
multiple hosts can collect data from the
serial device at the same time.
ystems, and also TTY
r establishes a
device by
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 IA5150A/IA5250A 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 IA5150A/IA5250A’s serial ports.
Real COM Mode comes with the NPort IA5150A/IA5250A NPort Administrator.
NPort IA5150A/IA5250A Series Choosing the Proper Operation Mode
4-3
ATTENTION
Real COM
driver that comes with your NPort IA5150A/IA5250A controls host access to attached serial
checking the host’s IP address. Refer to Accessible IP Settings in Chapter 5 for more
In TCP Server mode, the NPort IA5150A/IA5250A is
configured with a unique IP:Port address on a
network. The NPort IA5150A/IA5250A waits
contacted by the host computer,
to establish a
device. This operation mode also supports up to eight
simultaneous connections, so that multiple hosts
data from the same serial device
As illustrated in the figure, data transmission
follows:
In TCP Client mode,
establish a TCP connection to a pre
when serial data arrives.
After the data has been transferred,
automatically disconnect from the host computer
the
to chapter 5 for more details.
As illustrated in the figure, data transmission proceeds as
follows:
Mode allows several hosts to have access control over the same NPort IA5150A/IA5250A. The

RFC2217 Mode

RFC2217 mode is similar to Real COM mode in that a driver is used to establish a transparent connection
between a host computer and a serial device by mapping the serial port on the NPort IA5150A/IA5250A to a
local COM port on the host computer. RFC2217 defines general COM port control options based on the Telnet
protocol. Third party drivers supporting RFC2217 are widely available on the Internet and can be used to
implement Virtual COM mapping to your NPort IA5150A/IA5250A serial port(s).

TCP Server Mode

connection with and get data from the serial
devices by
details.
TCP/IP
passively to be
allowing the host computer
can collect
—at the same time.
proceeds as
1. The host requests a connection from the NPort
IA5150A/IA5250A configured for TCP Server Mode.
2. Once the connection is established, data can be
transmitted in both directions—from the host to the
NPort IA5150A/IA5250A, and from the NPort
IA5150A/IA5250A to the host.

TCP Client Mode

the NPort IA5150A/IA5250Acan actively
TCP alive check time or Inactivity time settings. Refer
1. The NPort IA5150A/IA5250A 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 IA5150A/IA5250A, and from the NPort
IA5150A/IA5250A to the host.
-defined host computer
the NPort can
by using
NPort IA5150A/IA5250A Series Choosing the Proper Operation Mode
4-4
Compared
efficient. In UDP mode, you can
multicast data from the serial device to multiple host
computers, and the serial device can also receive data
from multiple host computers, making this
message display applications.

UDP Mode

to TCP communication, UDP is faster and more
not only unicast but also
mode ideal for

Pair Connection Mode

Pair Connection Mode employs two NPort IA5150A/IA5250A units in tandem, and can be used to remove the
15-meter distance limitation imposed by the RS-232 interface. One NPort IA5150A/IA5250A is connected from
its RS-232 port to the COM port of a PC or other type of computer, such as a hand-held PDA, and the serial
device is connected to the RS-232 port of the other NPort IA5150A/IA5250A. The two NPort IA5150A/IA5250A
units are then connected to each other with a cross-over Ethernet cable, both are connected to the same LAN,
or in a more advanced setup, they communicate with each other over a WAN (i.e., through one or more
routers). Pair Connection Mode transparently transfers both data and modem control signals (although it
cannot transmit the DCD signal) between the two NPort device servers.

Ethernet Modem Mode

Ethernet Modem Mode is designed for use with legacy operating systems, such as MS-DOS, that do not support
TCP/IP Ethernet. By connecting one of the NPort IA5150A/IA5250A’s serial port to the MS-DOS computer’s
serial port, it is possible to use legacy software originally designed to transmit data via modem, but now
transmit the data over the Ethernet.

Reverse Telnet Mode

NPort IA5150A/IA5250A Series Choosing the Proper Operation Mode
4-5
Console management is commonly used by connecting to Console/AUX or COM ports of routers, switches, and
UPS units. Rtelnet works the same as RAW mode in that only one TCP port is listened to after booting up. The
system then waits for a host on the network to initiate a connection. The difference is that the RAW mode does
not provide the conversion function provided by Telnet. If the connected devices need to use the CR/LF
conversion function when controlling, then users must choose Reverse Telnet mode.

Disabled Mode

When the Operation Mode for a particular port is set to Disabled, that port will be disabled.
5

5. Web Console Configuration

The Web Console is the most user-friendly method available to configure the NPort IA5150A/IA5250A. In this
chapter, we will introduce the Web Console function groups and function definitions.
The following topics are covered in this chapter:
Opening Your Browser
Export/Import
Basic Settings
Network Settings
SNMP Settings
IP Address Report
Serial Settings
Serial Parameters
Operating Settings
Real COM Mode
RFC2217 Mode
TCP Server Mode
TCP Client Mode
UDP Mode
Pair Connection Mode
Ethernet Modem Mode
Reverse Telnet Mode
Disabled Mode
Accessible IP Settings
Auto Warning Settings
Auto warning: Email and SNMP trap
Event Type
Upgrade Firmware
Monitor
Monitor Line
Monitor Async
Monitor Async-Settings
Monitor Relay Output
Change Password
Load Factory Default
Save/Restart
NPort IA5150A/IA5250A Series Web Console Configuration
5-2
ATTENTION
If you use a web browser other than IE,
computer
The NPort IA5150A/IA5250A uses cooki
ATTENTION
Refer to Chapter 3,
address. The examples shown in this chapter use the factory default IP address

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 either
Enable or Prompt as shown in the figure below.)
2. Type 192.168.127.254 in the Address input box (if using an IP address that is different from the default,
input that), and then press Enter.
3. Input your password if prompted. The password will be transmitted with MD5 encryption over the Ethernet.
Note: if the NPort IA5150A/IA5250A is not password protected,you will not be prompted to enter a
password.
1. The NPort IA5150A/IA5250A homepage will appear. There are two buttons on this page: Quick Setup and
” or “allow per-session cookies” functions.
Initial IP Address Configuration, to for detailed information on configuring the IP
Export/Import. You can click Overview at any time to go back to this page.
remember to enable the “allow cookies that are stored on your
es only for the purpose of transmitting password..
(192.168.127.254).
NPort IA5150A/IA5250A Series Web Console Configuration
5-3
ATTENTION
If your password, the ONLY way to start configuring
is to load the factory defaults
by using the
Remember to export the configuration files when you have finished the configuration. After using the "Reset
to default" button to load the factory defaults, your configuration can be easily reloaded into
IA5150A/IA5250A by using the Import function.
ATTENTION
If your NPort IA5150A/IA5250A application requires password protection, you must enable the cookie
function in your browser. If the cookie function is disabled, you will not be allowed to enter the Web Console
screen.
2. The following sections introduce these two convenient functions and the other settings listed in the Main
Menu on the left of the page.
Quick Setup streamlines the configuration of your NPort into three basic and quick steps that cover commonly
used settings. While in Quick Setup you may click the Back button at any time to return to the previous step,
or the Cancel button to reverse all settings. For detailed information about the different settings, refer to the
“Basic Settings,” “Network Settings,” “Serial Settings,” and “Operating Settings,” sections in this chapter.
1. In Step 1/3, you must assign a valid IP address to the NPort IA5150A/IA5250A before the NPort can start
operating within your network. Your network system administrator should provide you with an IP address
and related settings for your network. In addition, the server name field is a useful way to specify the
location or application of different NPort IA5150A/IA5250As.
"Reset to default" button located on the top of the NPort IA5150A/IA5250A.
the NPort IA5150A/IA5250A
the NPort
2. In the Step 2/3, you must specify the operation mode you will be using. If your operation mode is not Real
COM, TCP Server, TCP Client, or UDP mode, click Cancel and to go back to main menu and choose
NPort IA5150A/IA5250A Series Web Console Configuration
5-4
Operating Settings to select suitable settings.
3. In the Step 3/3, you can modify the serial settings.
4. Review your settings on the Finish Settings page. If you are sure they are correct, then click the
Save/Restart button to restart the device with these new settings.
Note: If your IP address changes, you will not be able to return to the Home Page with the Home
button.
Loading...
+ 78 hidden pages