No part of this manual may be reproduced or transmitted in any form for any purpose other than the
purchaser's personal use, without the express written permission of Grid Connect, Inc. Grid
Connect, Inc. has made every effort to provide complete details about the product in this manual, but
makes no warranty of any kind with regard to this material, including, but not limited to, the implied
warranties of merchantability or fitness for a particular purpose. In no event shall Grid Connect, Inc.
be liable for any incidental, special, indirect, or consequential damages whatsoever included but not
limited to lost profits arising out of errors or omissions in this manual or the information contained
herein.
Grid Connect, Inc. products are not designed, intended, authorized or warranted for use as
components in systems intended for surgical implant into the body, or in other applications intended
to support or sustain life, or in any other application in which the failure of a Grid Connect, Inc.
product could create a situation where personal injury, death, or severe property or environmental
damage may occur. Grid Connect, Inc. reserves the right to discontinue or make changes to its
products at any time without notice.
Grid Connect and the Grid Connect logo, and combinations thereof are registered trademarks of Grid
Connect, Inc. DSTni is a trademark of Lantronix, Inc. All other product names, company names,
logos or other designations mentioned herein are trademarks of their respective owners.
NET232 and NETUSB are trademarks of Grid Connect, Inc. XPort is a trademark of Lantronix.
Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open
Group. Windows 95, Windows 98, Windows 2000, Windows NT, and Windows XP are trademarks
of Microsoft Corp. Netscape is a trademark of Netscape Communications Corporation.
Grid Connect
1841 Centre Point Circle, Suite 143
Naperville, IL 60563, USA
Phone: 630.245.1445
Operation of this equipment in a residential area is likely to cause interference in which case the
user, at his or her own expense, will be required to take whatever measures may be required to
correct the interference.
Attention: This product has been designed to comply with the limits for a Class B digital
device pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable
protection against harmful interference in a residential installation. This equipment
generates, uses, and can radiate radio frequency energy, and if not installed and used in
accordance with this guide, may cause harmful interference to radio communications.
Changes or modifications to this device not explicitly approved by Grid Connect will void the user's
authority to operate this device.
The information in this guide may change without notice. The manufacturer assumes no
responsibility for any errors that may appear in this guide.
Date Rev. Author Comments
11/23/04 A GR Preliminary Release
03/07/06 B GR Update for XPort-03 firmware 6.1.0.0
07/25/08 C GR Update for changes to firmware and OEM pins
ii NET232/NETUSB User Guide
Declaration of Conformity
The XPort Device contained in the NET232/NETUSB conforms to the following standards:
(according to ISO/IEC Guide 22 and EN 45014)
Manufacturer’s Name & Address:
NET232/NETUSB: Grid Connect, 1841 Centre Point Circle, Naperville, IL 60563 USA
XPort: Lantronix 15353 Barranca Parkway, Irvine, CA 92618 USA
Declares that the following product:
Product Name Model: XPort™ Device Server
Conforms to the following standards or other normative documents:
FCC Part 15, Subpart B, Class B
IEC 1000-3-2/A14: 2000
IEC 1000-3-3: 1994
Electromagnetic Immunity:
EN55024: 1998 Information Technology Equipment-Immunity Characteristics
Direct ESD, Contact Discharge
Indirect ESD
Radiated RF Electromagnetic Field Test
Electrical Fast Transient/Burst Immunity
RF Common Mode Conducted Susceptibility
Power Frequency Magnetic Field Test
Manufacturer’s Contact:
NET232/NETUSB
Grid Connect
1841 Centre Point Circle, Suite 143
Naperville, IL 60563 USA
Tel: 630.245.1445 Fax:630.245.1717
XPort
Lantronix:
Director of Quality Assurance
15353 Barranca Parkway, Irvine, CA 92618 USA
Tel: 949.453.3990 Fax: 949.453.3995
NET232/NETUSB User Guide iii
Warranty
Grid Connect warrants each product to be free from defects in material and workmanship for a
period of ONE YEAR after the date of shipment. During this period, if a customer is unable to
resolve a product problem with Grid Connect Technical Support, a Return Material Authorization
(RMA) will be issued. Following receipt of a RMA number, the customer shall return the product to
Grid Connect, freight prepaid. Upon verification of warranty, Grid Connect will -- at its option -repair or replace the product and return it to the customer freight prepaid. If the product is not under
warranty, the customer may have Grid Connect repair the unit on a fee basis or return it. No services
are handled at the customer's site under this warranty. This warranty is voided if the customer uses
the product in an unauthorized or improper way, or in an environment for which it was not designed.
Grid Connect warrants the media containing software and technical information to be free from
defects and warrants that the software will operate substantially for a period of 60 DAYS after the
date of shipment.
In no event will Grid Connect be responsible to the user in contract, in tort (including negligence),
strict liability or otherwise for any special, indirect, incidental or consequential damage or loss of
equipment, plant or power system, cost of capital, loss of profits or revenues, cost of replacement
power, additional expenses in the use of existing software, hardware, equipment or facilities, or
claims against the user by its employees or customers resulting from the use of the information,
recommendations, descriptions and safety notations supplied by Grid Connect. Grid Connect liability
is limited (at its election) to:
1) refund of buyer's purchase price for such affected products (without interest)
2) repair or replacement of such products, provided that the buyer follows the above procedures.
There are no understandings, agreements, representations or warranties, expressed or implied,
including warranties of merchantability or fitness for a particular purpose, other than those
specifically set out above or by any existing contract between the parties. The contents of this
document shall not become part of or modify any prior or existing agreement, commitment or
relationship.
Many electronic devices with an RS232 serial interface are connected to their control system through an
RS232 serial cable. In the drawing below, a serial device is connected to a computer using an RS232 cable.
RS232 Serial cables have length limitations so that the serial device must be close to the control point,
generally within 100 feet.
Serial Device
Computer
To overcome the serial cable limits, you can use a NET232 to make a serial to Ethernet link. Now you can
connect the control point to the serial device over the Internet. The software on the control system does not
have to be changed. The port used by the control system is redirected to a virtual Ethernet port.
Ethernet
NET232
Adapter
Serial to Ethernet
Ethe rnet /RS23 2Ethe rnet /RS23 2
NET232
RS232ETH
Serial Device
9-24VDCPWR
Adapter
Computer
In some cases, the control system cannot use redirector software or the system engineer simply wants to
replace the short RS232 serial cable with an infinitely long serial link. In this case, two NET232’s are linked
together to form a serial tunnel over an Ethernet link.
Ethernet
Adapter
NET232
Ethernet/RS232Ethernet/RS232
NET232
RS23 2ETH
9-24VDCPWR
Serial to Ethernet
Adapters
Adapter
Ethernet/RS232Ethernet/RS232
NET232
RS232ETH
9-24VDCPWR
Serial Device
The
NET232 connects serial devices to Ethernet networks using the IP protocol family. Configuration of the
NET232 can be done from the serial port connection, a web page, or a Telnet connection.
NET232/NETUSB User Guide 1-1
Computer
Overview
1.1 Additional Documentation
The following guides are available on the product CD.
Title Description File Name
NET232/USB User
Guide
Device Installer
User Guide
Quick Start Guide
Comm Port
Redirector Guide
Web Enable User
Guide
GPIO Interface
Guide
UDP Configuration
Guide
Tech Notes
Application Note
This manual in PDF format. NET232_UM_800232_b.pdf
Information about installing and using
Dev_Inst_UG_800233_d.pdf
Device Installer Utility.
Quick steps to get the unit up and
running.
Provides information on using the
QuickStart_800234_b.pdf
Redirector_UG_800235_a.pdf
Windows based utility to create a
virtual com port.
Explains the steps to get your device
Web_Enabling_UG_800236_a.pdf
Web enabled.
Introduction to the GPIO interface and
GPIO_800237_a.pdf
a demo program.
How to use UDP to configure the unit.
UDPconfig_800238_a.pdf
How to acquire and use setup records
to configure a unit.
Additional information to aid in using
Tech_Notes_800239_a.pdf
the NET232/USB.
Serial Tunneling
1-2 NET232/NETUSB User Guide
Overview
2. Introduction
2.1 Procedures for setup
The NET232 is a device for connecting a serial device to the Ethernet. You will therefore have to know
some technical facts about the serial device you are trying to connect. You can generally find that
information in the manufacturer’s technical manual or from a set of schematics for the product.
This section of the user manual has detailed information about the RS232 signals provided by the NET232
and how they should be connected to another RS232 serial device. See Table 1 - RS232 Signals.
You will have to provide an IP address for the NET232. Using DHCP protocol, the NET232 can get a
temporary IP address from your server but a fixed IP address is required for permanent installation. The port
used to transfer data is called the Local Port and has a default setting of 10001.
The software CD contains a program called Device Installer, which is used to locate the NET232 on your
network. You can use it to assign the IP address and port number, setup the serial port parameters, and view
all the configuration information for the device.
We highly suggest using the Quick Start Guide to get your unit quickly configured. The User Manual has
more detailed information about all the options available. Almost all the configuration settings are already
configured for best performance so all you need to do is supply the IP address and setup the serial port
parameters.
If you have problems, please review the steps in the Quick Start Guide, review the information in the User
Manual, or give our Technical Support team a call.
2.2 Tips from Tech Support
We would like to believe you can connect the NET232 to any RS232 device. We have a track record of
being able to connect to almost any RS232 device, however, there are some that just can’t or won’t work. So
here are some things to think about before you start trying to connect a NET232 to your device. If you are
not sure, give us a call.
What are the RS232 signals on the target device?
Typically you will have TXD for transmit, RXD for receive, and GND for ground. If you have a schematic
or a user manual, find the specifications for the serial port and note the signals being used. You will need to
know if the target device has a male or female connector, and which pins are used for each signal name.
Does the target device use Hardware Flow Control?
Hardware flow control requires the use of two signal pins, RTS and CTS. One unit sends a Request to Send
and the other sends a Clear to Send. These are old modem control signals that are now used to control the
flow of data between two devices that may not be able to maintain a fast data transfer. Most modern devices
can easily transfer high speed data but some still require the use of flow control. You will have to enable
these signals on the NET232 since they are turned off at the factory.
Does the target device require the use of a DTR signal?
Some devices need to see the DTR signal to indicate they are connected. DTR is not enabled on the NET232
but there are ways to provide the signal so you can make it work. Devices that use DTR may also have a
DSR signal that can be tied to the DTR line to simulate a DTR active signal.
NET232/NETUSB User Guide 2-3
Overview
Do any of the pins on the target device provide power?
Some target devices have a pin dedicated to power in or power out. Power pins are sometimes used to power
other RS232 devices attached to the target device. RS232 specifications do not allow power on any pins but
that does not stop a designer from applying power to an unused pin. You should know about any power pins
before connecting the NET232 to a target device.
What is the Baud Rate, Data Bits, Parity and number of Stop Bits required by the target device?
You must know the communication parameters to setup the NET232 properly. In a typical device, you
might see the baud rate set to 9600, the data bits set to 8, the parity set to none, and the stop bits set to 1.
This is the default setting for the NET232 serial port. If your target device has something different, you will
have to change the serial port configuration.
Do you want your software application to run like it does when your PC is connected to the target device
with an RS232 cable?
Since the NET232 will be using an Ethernet connection to connect your PC to a target device, you will need
some way for your software application to think it is still using a COM port instead of an Ethernet
application. This is done with a software package called COM Port Redirector. It redirects a virtual com port
to an Ethernet port.
Your application will change from a physical port, like COM2, to a virtual comm port like COM20. Your
application does not know the difference. Instead of sending your program data to a physical port, your
program data now goes to a virtual port. The virtual port is an Ethernet port assigned by Comm Port
Redirector software. You tell Comm Redirector the IP address and the port number of the NET232 and it
takes care of routing the data from your application to the Ethernet port.
2.3 Protocol Support
The NET232/USB uses the Internet Protocol (IP) for network communications and the Transmission
Control Protocol (TCP) to assure that no data is lost or duplicated, and that everything sent to the connection
arrives correctly at the target.
Other supported protocols include:
• ARP, UDP, TCP, ICMP, Telnet, TFTP, AutoIP, DHCP, HTTP, and SNMP for network
communications and management.
• TCP, UDP, and Telnet for connections to the serial port.
• TFTP for firmware and web page updates.
• IP for addressing, routing, and data block handling over the network.
• User Datagram Protocol (UDP) for typical datagram applications in which devices interact with
other devices without maintaining a point-to-point connection.
•SMTP for e-mail transmission.
2-4 NET232/NETUSB User Guide
Overview
2.4 Addresses and Port Number
Hardware Address
The Ethernet address is also referred to as the hardware address or the MAC address. The first three bytes of
the Ethernet Address are fixed and read 00-20-4A, identifying the manufacturer of the product. The fourth,
fifth, and sixth bytes are unique numbers assigned to each unit.
00-20-4A-14-01-18 or 00:20:4A:14:01:18
Note: The MAC address is printed on the ID label.
IP Address
Every device connected to an IP network must have a unique IP address. This address is used to reference
the specific unit. The NET232 is automatically assigned an IP address on DHCP-enabled networks, as it is
DHCP-enabled by default. However, you must assign it a permanent IP address during the configuration
process.
Port Numbers
Every TCP connection and every UDP datagram is defined by a destination IP address and a port number.
The units serial channel (port) can be associated with a specific TCP/UDP port number. The default port
setting is 10001.
Port number 9999 is reserved for access to the unit's Setup (configuration) Mode window. For more
information on reserved port numbers, see Table 10 - Reserved Ports on page 3-21.
2.5 Serial RS232 Interface
The table below lists the RS232 signals for the NET232. The RS232 interface is a 9-pin D-style connector.
Male connectors are wired as DTE and female connectors are wired as DCE.
Table 1 - RS232 Signals
NET232 Signal Direction DTE DB-9 Male
Pin #
Data Out (TXD) Out 3 2
Data In (RXD) In 2 3
Ground 5 5
RTS In 8 7
CTS Out 7 8
The NET232-DCE kit includes a 9-pin Male/Male Gender Changer if you need a male connector. The
NET232-DTE kit includes a 9-pin Female/Female Null Modem Adapter.
Note: RTS and CTS control lines are not enabled at the factory. See Configurable Pin Settings on page 3-13 and
Flow on page 3-21.
DCE DB-9
Female Pin #
NET232/NETUSB User Guide 2-5
Overview
2.6 USB Interface
The table below lists the USB signals for the NETUSB. The USB cable is a Type A Male connector.
Note: The NETUSB MUST be connected to a HOST device.
Table 2 - USB Signals
Pin # Description
1 - RED VBUS
2 - WHITE D-
3 - GREEN D+
4 - BLACK GND (Ground)
2.7 OEM Module
The NET232 circuit board can be supplied as an OEM module. The module has two headers that are used to
secure the module to a motherboard. One hole on the edge of the board can be used for mounting to a
standoff.
Note: OEM Modules must be ordered in quantities of 25 or more.
J4
GND 1
CTS OUT 3
RTS IN 5
TXD OUT 7
RXD IN 9
GND
NO SIGNALS
ON THESE PINS
MOUNTING HEADER
HEADER, 10 POS 2MM VERT SMD
DIGI-KEY WM18652-ND
MATES WITH RECEPT 2MM 10 POS VERT
DIGI-KEY WM18676-ND
CTS OUT
RTS IN
TXD OUT
RXD IN
ONLY THIS HOLE
CAN BE USED FOR
MOUNTING
GND
VIN
DO NOT USE THESE
HOLES FOR MOUNTING.
THEY HAVE POWER ON
THEM.
2.8 Power Supply
The NET232 can use any DC power source from 9VDC to 24VDC. A typical power cube sent with the unit
can supply 9VDC at 500 mA. However, there are other units that can be used as long as they are in the
range of 9-24VDC and supply the proper wattage. At 9VDC, the NET232 will draw approximately 110mA
(.99W) so a 2 Watt power source ( 9V at 200mA) should be adequate.
Note: Grid Connect can supply a special cable adapter to connect the NET232 to a USB jack for +5VDC power.
The NET232 power adapter is a 2.1mm, positive center power jack. The jack is equivalent to a CUI Inc. PJ002A power jack.
You can also order the NET232 with a Phoenix right angle power connector. The unit is supplied with a
mating Phoenix terminal block plug.
2-6 NET232/NETUSB User Guide
2.9 Ethernet Interface
2.9.1 LEDs
The device contains the following LEDs:
• 10BaseT/100BaseTX (Bi-color, Left LED)
• Full/Half Duplex (Bi-color, Right LED)
LEFT
LED
RIGHT
LED
Overview
CONTAC T 8
CONTAC T 1
SHIELD TABSHIELD TAB
Table 3 - NET232 LED Functions
Left LED Right LED Meaning
Solid Amber 10BASE-T
Solid Green 100BASE-Tx
Blinking Amber Half Duplex Activity
Blinking Green Full Duplex Activity
2.10 Product CD
The product CD sent with the NET232/USB contains Device Installer software, USB Device Drivers,
Application Notes, firmware, user guides and technical documents.
The CD contains Virtual COM Port Drivers for the NETUSB device.
NET232/NETUSB User Guide 2-7
Overview
2.11 Technical Specifications
Table 4 - Technical Specs
Category Description
CPU DSTni-EX 186 CPU
Firmware Upgradeable via TFTP and serial port
Reset Circuit 200msec power up/down reset pulse. Reset triggered at 3.08V
Serial Interface RS232. Baudrate software selectable (300 to 230400bps in standard mode, 460800 and
921600 in high performance mode)
USB USB Type A Male connector. USB Specification 2.0 Compliant, Full Speed (12Mbps).
Virtual COM Port Device Drivers for Win 98/2000/XP, Win CE, Linux 2.40
Serial Line Formats 7 or 8 data bits, 1-2 Stop bits, Parity: odd, even, none
Modem Control CTS, RTS
Flow Control XON/XOFF (software), CTS/RTS (hardware), None
Network Interface RJ45 Ethernet 10Base-T or 100Base-TX (Auto-sensing)
Compatibility Ethernet: Version 2.0/IEEE 802.3
Protocols Supported ARP, UDP/IP, TCP/IP, Telnet, ICMP, SNMP, DHCP, BOOTP, TFTP, Auto IP, SMTP,
and HTTP
LEDs 10Base-T & 100Base-TX Activity, Full/half duplex.
Management Internal web server, SNMP (read only)
Serial login, Telnet login
Security Password protection, Locking features, optional Rijndael 128-bit encryption
Internal Web Server Serves static web pages and Java applets
Weight 2.2oz
Material Case: Flame Retardant
Temperature Operating range: -40°C to +85°C (-40°F to 185°F) High performance mode has an
upper temperature limit of 75°C.
Relative Humidity Operating: 5% to 95% non-condensing
Warranty 1-year limited warranty
Included Software Windows™ 98/NT/2000/XP based Device Installer configuration software, Windows™
based Comm Port Redirector and USB device drivers.
EMI Compliance
Radiated & conducted emissions - complies with Class B limits of EN 55022:1998
Direct & Indirect ESD - complies with EN55024:1998
RF Electromagnetic Field Immunity - complies with EN55024:1998
Electrical Fast Transient/Burst Immunity - complies with EN55024:1998
Power Frequency Magnetic Field Immunity - complies with EN55024:1998
RF Common Mode Conducted Susceptibility - complies with EN55024:1998
2-8 NET232/NETUSB User Guide
Configure
3. Getting Started
This chapter covers the required steps to get the NET232/USB Serial to Ethernet adapter on-line and
working. The NET232/USB contains a complete device server that controls the network communications.
Note: See the Quick Start Guide for a quick setup procedure.
3.1 Quick Rundown
For the unit to operate correctly on a network, it must have a unique IP address on the network. There are
three basic methods for logging into the device server and assigning the IP address:
•DHCP: By default, Dynamic Host Configuration Protocol (DHCP) is enabled on the device server.
DHCP allows a DHCP server to automatically assign an IP address to the device server. If you use
DHCP, the device server is assigned a new IP address each time it boots.
•Device Installer: You can manually assign the IP address using a graphical user interface (GUI) on
a PC attached to a network.
•Serial Port Login: With this method, you connect a terminal or a PC running a terminal emulation
program to the unit’s serial port.
All of the methods for assigning an IP address will be discussed in Methods of Assigning the IP Address on
page 3-5.
It is important to consider the following points before logging into and configuring the device server:
• The device server’s IP address must be configured before a network connection is available.
• Only one person at a time may be logged into the network port. This eliminates the possibility of
several people simultaneously attempting to configure the device server.
• Network port logins can be disabled. The system manager will not be able to access the unit. This
port can also be password protected.
For the unit to operate correctly with your device, you must configure the serial port properties. The
methods for configuring the NET232 to work with your equipment will be discussed in Configuration Using
Web Manager on page 3-7 and in Configuration Using Telnet or Serial Port on page 3-15.
3.2 Physically Connecting the Unit
1. NET232-DTE: Use a null modem adapter to connect the serial cable to a COM port on your PC.
OR
NET232-DCE: Connect the serial cable to a COM port on your PC.
OR
NETUSB: Connect the USB cable to USB port on your PC.
2. Connect an Ethernet cable to the NET232/USB’s Ethernet port.
3. Supply power to your unit using the power supply that was included in the packaging. NETUSB units
receive power from the USB port.
Note: If you are using a NET232 unit with a Phoenix Connector, the input power is +9 to +24VDC.
NET232/NETUSB User Guide 3-1
Configure
3.3 Install USB Device Drivers
Note: Install the NETUSB drivers ONLY if you are using a NETUSB. The files are not needed for NET232. Skip to
Methods of Assigning the IP Address on page 3-5.
4. Insert the product CD into your CD-ROM drive. The CD will automatically start and display the main
window.
If the CD does not launch automatically:
a) Click the Start button on the Task Bar and select Run.
b) Enter your CD drive letter, colon, backslash, Launch.exe (e.g., D:\Launch.exe).
Figure 1 - NETUSB Drivers Installation
5. Click the Software button then the NETUSB Drivers button. The installation wizard window displays.
6. Respond to the installation wizard prompts.
3.3.1 NETUSB Software Interface
Once connected to a USB port, the NETUSB will appear as a COM port in the Device Manager. The
NETUSB will always use the lowest available COM port for operation. For instance, if COM ports 1 thru 3
are in use by other peripherals and applications, the NETUSB will use COM 4.
The NETUSB functions identically to a COM port from the reference point of both the host application and
the serial device, and it can support serial device control requests defined in the Microsoft Win32
Communications API.
Software setup requires installing the NETUSB Drivers. The utility will copy the driver files to a specified
directory or the default directory, “C:\SiLabs\MCU\CP2101. Each set of drivers will be extracted to an
appropriately named directory, for example WIN.
®
3-2 NET232/NETUSB User Guide
Loading...
+ 45 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.