W&T Electronics 34201 User manual

W&T
Manual
USB-Interfaces
Release 1.7
Model 34201, 34211
36201
38201, 38211
38001, 38011

40
W&T USB Interfaces
© 08/2009 by Wiesemann & Theis GmbH
Microsoft, MS-DOS and Windows are registered trademarks of
the Microsoft Corporation
Subject to errors and changes:
Since we can make mistakes, none of our statements should be
used without checking. Please let us know of any mistakes or
misunderstandings you are aware of, so that we can recognize
and eliminate them quickly.
Perform work on and with W&T products only as described here
and only if you have read and understood the manual fully.
Unauthorized use can result in hazards. We are not liable for
the consequences of unauthorized use. When in doubt, check
with us or consult you dealer!

41
W&T
Subject to error and alteration
USB Interfaces
Wiesemann & Theis offers an entire family of USB interface
converters which are described on the following pages along
with their technical specifications and wiring examples.
For up-to-date information on new developments on the Inter-
net, go to http://www.wut.de or the e-mail short infos available
from the W&T Interface Club, which you can sign up for at the
W&T Homepage.

42
W&T USB Interfaces
Contents
Installation and Driver Software ............................................ 43
USB Interface Converter with USB power supply:
USB <> RS232 Interface Cable , #38001 ................................ 45
USB <> RS232 Interface Cable , #38011 ................................ 49
USB <> 20mA Interface, #34211 .......................................... 53
USB <> RS232/RS422/RS485 Interface, #38211 .................... 57
USB Interface Converter with 24V power supply:
USB <> 20mA Interface, #34201 .......................................... 63
USB <> RS422/RS485 Interface, #36201 ............................... 67
USB <> RS232 Interface, #38201 .......................................... 73

43
W&T
Subject to error and alteration
USB Interfaces
Installation and Driver Software
Startup of USB devices has become a trouble-free procedure
thanks to automatic detection of newly connected hardware
offered in modern operating systems and by the mostly
automated process of driver installation.
Installing the hardware
The Interface is connected to the free USB port on a computer,
a USB hub or a USB device having hub functions using the
included USB cable.
In addition, the not USB powered Interfaces 34201, 36201 and
38201 must be connected to an external voltage source, since
the USB cannot itself provide the voltage of 12...24V required
to operate these interfaces.
The hot-plugging capability of USB makes it possible to
connect the Interface to the bus or unplug it again at any time.
Housing
The W&T USB Industry Interfaces are contained in a plastic
housing for mounting on standard rails according to EN 50022-
35.
To configure the RS485 / RS422 Interfaces, the enclosure must
be opened to set the mode type/termination DIL switches on
the interface module.
For this purpose we recommend threading a SUB-D connector
with connector body onto the Interface and use the threaded-
on connector to assist in removing the housing cover from the
housing body.
1

44
W&T USB Interfaces
Driver software
With the exception of Linux, the serial USB interfaces can be
accessed under the various operating systems only by using
special drivers. These drivers are in a constant state of develop-
ment with respect to their technical features as well as the
number and type of compatible operating systems.
For this reason, W&T makes the current drivers and software
installation guides available on the datasheet pages of our Web
site at http://www.wut.de.
The driver installs on Windows 98, Me, 2000, XP, 2003 and
Vista systems virtual COM Ports through which the serial ports
of the Interfaces can be accessed.
Detailed information about installation and configuration of the
drivers under the various operating systems is found on the
enclosed W&T Product CD.
For reasons of compatibility between the W&T USB
Interface convertors and current drivers which the new
Windows versions provide, as well as with Linux and
Apple OS X systems, all Interfaces carry the uniform
product ID 0x6001 effective immediately.
This means that older drivers which require product ID
0xCB68 for Interface models 38011 and 38211 will no
longer be used.
Of course you can also find the required Windows
drivers on the current product CD which is included
with each W&T USB Interface.
Older model 38011 and 38211 Interfaces can be
updated using a small tool. The tool can be found along
with a description of how to use it on the W&T home-
page on the datasheet page for the respective
Interface.
1

45
W&T
Subject to error and alteration
USB Interfaces
USB <> RS232 Interface Cable, #38001
The 38001 Interface Cable allows bi-directional connection of
RS232 devices to computers having an USB port.
The Interface supports all signals present on the 9-pin RS232
port. The converter is contained in a 9-pin SUB-D plastic
housing.
Power supply
The interface cable does not require an additional external
power supply, but rather receives its power through the USB.
The current consumption is approx. 60mA.
ESD protection
All RS232 signal lines are protected against static discharge up
to a voltage of 15kV according to IEC 801-2, Level 4.

46
W&T USB Interfaces
Wiring configuration
The USB connection is implemented as a USB Type A male
connector with 2m of cable, and the RS232 connection as a DB9
DTE male connector. The pin assignments for the connector
can be found in the following table:
Pin# Function Direction
1 DCD input
2 RxD input
3 TxD output
4 DTR output
5 GND GND
6 DSR input
7 RTS output
8 CTS input
9 RI input

47
W&T
Subject to error and alteration
USB Interfaces
Wiring examples
RS232 wiring e ample with hardware handshake
RS232 wiring e ample with software handshake
DB25 male DTEDB9 male DTE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
PC
3
2
7
5
4
20
8
6
R D
T D
GND
CTS
RTS
DTR
DCD
DSR
38001
3
2
5
7
8
6
1
4
9
USB USB
DTE Device
2
3
7
4
5
6
8
20
22
DB9 male DTE DB25 male DCE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
T D
R D
GND
PC
DCE Device
2
3
7
38001
3
2
5
7
8
6
1
4
9
USB USB
DB9 male DTE DB25 male DTE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
R D
T D
GND
PC
DTE Device
3
2
7
38001
3
2
5
7
8
6
1
4
9
USB USB
DB9 male DTE DB25 female DCE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
PC
DCE Device
38001
3
2
5
7
8
6
1
4
9
USB USB

48
W&T USB Interfaces
Technical Data
Standard baud rates: 300..115.200 baud
Settable baud rates: Depending on the application and
operating system, up to 1 MBaud
Baud rate: 3 MHz/n , n = 3..16383
Data bits: 7 or 8
Stop bits: 1 or 2
Parity: no, even, odd, mark, space
Supported signals: RxD, TxD, RTS, CTS,
DSR, DCD, DTR, RI
Galvanic isolation: none
ESD rating: up to 15kV per IEC 801-2, Level 4
Supply voltage: 5V DC via USB
Operating current draw: approx. 60mA
USB connector: 2m cable with USB type A plug
RS232 connector: 9-pin SUB-D plug with DTE pinout
Ambient temperature: Storage: -40..+70°C
Operating: 0..+60°C
Housing / Dimensions: 9-pin plastic SUB-D housing
50 x 33 x 15 mm
Weight: 150g
Included: USB <> RS232 Interface Cable
Product CD with driver software

49
W&T
Subject to error and alteration
USB Interfaces
USB <> RS232 Interface Cable 2, #38011
The 38011 Interface Cable 2 allows bi-directional connection
of RS232 devices to computers having an USB port.
The Interface supports all signals present on the 9-pin RS232
port. The converter is contained in a 9-pin SUB-D plastic
housing.
Power supply
The interface cable does not require an additional external
power supply, but rather receives its power through the USB.
The current consumption is approx. 20mA.
ESD protection
All RS232 signal lines are protected against static discharge up
to a voltage of 15kV according to IEC 801-2, Level 4.

50
W&T USB Interfaces
Wiring configuration
The USB connection is implemented as a USB Type A male
connector with 2m of cable, and the RS232 connection as a DB9
DTE male connector. The pin assignments for the connector
can be found in the following table:
Pin# Function Direction
1 DCD input
2 RxD input
3 TxD output
4 DTR output
5 GND GND
6 DSR input
7 RTS output
8 CTS input
9 RI input

51
W&T
Subject to error and alteration
USB Interfaces
Wiring examples
RS232 wiring e ample with hardware handshake
RS232 wiring e ample with software handshake
DB25 male DTEDB9 male DTE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
PC
3
2
7
5
4
20
8
6
R D
T D
GND
CTS
RTS
DTR
DCD
DSR
38011
3
2
5
7
8
6
1
4
9
USB USB
DTE Device
2
3
7
4
5
6
8
20
22
DB9 male DTE DB25 male DCE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
T D
R D
GND
PC
DCE Device
2
3
7
38011
3
2
5
7
8
6
1
4
9
USB USB
DB9 male DTE DB25 male DTE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
R D
T D
GND
PC
DTE Device
3
2
7
38011
3
2
5
7
8
6
1
4
9
USB USB
DB9 male DTE DB25 female DCE
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
T D
R D
GND
RTS
CTS
DSR
DCD
DTR
RI
PC
DCE Device
38011
3
2
5
7
8
6
1
4
9
USB USB

52
W&T USB Interfaces
Technical Data
Standard baud rates: 300..115.200 baud
Settable baud rates: Depending on the application and
operating system, up to 1 MBaud
Baud rate: 3 MHz/n , n = 3..16383
Data bits: 7 or 8
Stop bits: 1 or 2
Parity: no, even, odd, mark, space
Supported signals: RxD, TxD, RTS, CTS,
DSR, DCD, DTR, RI
Galvanic isolation: none
ESD rating: up to 15kV per IEC 801-2, Level 4
Supply voltage: 5V DC via USB
Operating current draw: approx. 20mA
USB connector: 2m cable with USB type A plug
RS232 connector: 9-pin SUB-D plug with DTE pinout
Ambient temperature: Storage: -40..+70°C
Operating: 0..+60°C
Housing / Dimensions: 9-pin plastic SUB-D housing
50 x 33 x 15 mm
Weight: 150g
Included: USB <> RS232 Interface Cable 2
Product CD with driver software

53
W&T
Subject to error and alteration
USB Interfaces
USB <> 20mA Interface, #34211
The 34211 Interface permits galvanically isolated, bi-directio-
nal connection of active and passive 20mA devices with
computers having an USB port.
This Interface supports one data line in each direction and uses
galvanic isolation between the USB and the 20mA side in all
operating modes. The converter is contained in a plastic
housing for mounting on standardized rails according to EN
50022-35.
Power supply
The Interface requires no additional external power supply,
since it is powered through the USB. The current draw of the
device is max. 200mA.
To reduce the load of the supplying USB host or hub, the
Interface can however be powered by an external 5V power
supply. Suitable power supplies can be obtained from W&T
under article number 11053.
Galvanic isolation and ESD protection
Both ports on the Interface are galvanically isolated to 1kV from
each other. Galvanic isolation of the signals is accomplished
using fast opto-couplers; the driver and receiver chips on the
20mA side are supplied with power by a galvanically isolated
DC/DC converter.
All 20mA signal lines are protected against static discharge up
to a voltage of 15 kV according to IEC 801-2, Level 4.

54
W&T USB Interfaces
Wiring configuration
The 20mA termination of the Interface is implemented as a DB9
plug. The pin assignments for the connector can be found in
the following table as well as on a sticker applied to the unit.
Display elements
The interface has two green LEDs. The On Line LED indicates
that the interface has a connection to the driver software and
that the software has activated the serial interface circuitry. The
Data LED indicates data activity in both directions.
Modes
The Interface can be used both as an active and a passive 20mA
component. In active mode the Interface provides the loop
current for the respective 20mA loop, whereas in passive mode
the connected device must provide the loop current.
The mode can be selected separately over the external
configuration of the Interface. Examples for configuring the
Interface in active and passive mode can be found in the
following application examples.
A GND level signal on Pin 5 of the SUB-D connector will place
the module in half-duplex mode whereby an echo of the sent
signals is suppressed.
pin# signal
1 Data Out 20mA
2 Data Out +
3 Data Out -
4 Data Out GND
5 Half Duplex Control
6 Data In 20mA
7 Data In +
8 Data In -
9 Data In GND

55
W&T
Subject to error and alteration
USB Interfaces
Wiring examples
34211
20mA
R D +
R D -
T D +
T D -
PC
active / passive
20mA device
Interface Tx loop active, interface Rx loop passive
1
2
3
4
6
7
8
9
Data Out 20mA
Data Out+
Data Out -
Data Out GND
Data In 20mA
Data In+
Data In -
Data In GND
34211
R D +
R D -
T D +
T D -
PC
active
20mA device
Interface Tx and Rx loop passive
1
2
3
4
6
7
8
9
Data Out 20mA
Data Out+
Data Out -
Data Out GND
Data In 20mA
Data In+
Data In -
Data In GND
20mA
34211
20mA
R D +
R D -
T D +
T D -
PC
passive
20mA device
Interface Tx and Rx loop active
1
2
3
4
6
7
8
9
Data Out 20mA
Data Out+
Data Out -
Data Out GND
Data In 20mA
Data In+
Data In -
Data In GND
USB USB
USB USB
USB USB

56
W&T USB Interfaces
Technical Data
Baud rate: 300..19.200 baud
Data bits: 7 or 8
Stop bits: 1 or 2
Parity: no, even, odd, mark, space
Supported signals: RxD, TxD
Modes: active or passive mode
full and half duplex mode
with or without echo suppression
Galvanic isolation: min. 1kV isolation voltage
ESD rating: up to 15kV per IEC 801-2, Level 4
Supply voltage: 5V DC via USB
Operating current draw: max. 200mA
USB connector: USB type B socket
20mA connector: 9-pin SUB-D plug
Ambient temperature: Storage: -40..+70°C
Operating: 0..+60°C
Housing / Dimensions: Plastic housing for rail mount
according to EN 50022-35,
105 x 75 x 22mm
Weight: approx. 170g
Included: USB <> 20mA Interface
USB cable A-B with ferrite core,
Product CD with driver software

57
W&T
Subject to error and alteration
USB Interfaces
Interface USB <> RS232/RS422/RS485, #38211
The W&T USB-Interface Model 38211 enables bi-directional
connection of computers having a USB port with RS232 and
RS422 devices as well as with RS485 bus systems. In RS232
mode the device supports all signals present on the 9-pin
RS232 interface, in RS422 mode one data and one handshake
signal respectively, and in RS485 mode one data signal in each
direction. The converter is integrated in a plastic housing for
mounting on EN 50022-35 standard rails.
Supply voltage
The Interface requires no additional external power supply,
since it is powered through the USB. The current draw of the
device is max. 200mA.
To reduce the load of the supplying USB host or hub, the
Interface can however be powered by an external 5V power
supply. Suitable power supplies can be obtained from W&T
under article number 11053.
Galvanic isolation and ESD protection
The Interface has galvanic isolation with an isolation voltage of
1kV DC between the USB and the serial side. All signal lines for
the Interface are protected against static discharge for a
voltage of up to 15kV per IEC 801-2, Level 4..

58
W&T USB Interfaces
Integrated overvoltage protection
The permissible voltages which are allowed to affect serial
interfaces in fault situations are limited to rather low values
according to the data sheets of the interface chips used here.
Voltages which exceed these values will inevitably result in
destruction of or damage to the interface components.
To prevent such effects, the USB Interface Model 38211 has
integrated overvoltage protection, which uses protection
diodes to limit the maximum voltages which can occur to
non-harmful values in a variety of applications.
This overvoltage protection of course is limited by the capacity
of the diodes used, which can carry a current of 20A for a brief
time, and cannot replace any major protection which might be
required for long cables used outdoors (e.g. in the mountains).
Wiring configuration
The serial connection on the Interface is configured as a
DB9 plug. The pin configuration can be found in the following
tables:
RS232 mode RS422/RS485 mode
pin# signal function
1 DCD input
2 RxD input
3 TxD output
4 DTR output
5 GND GND
6 DSR input
7 RTS output
8 CTS input
9 RI input
pin# signal function
1 TXD A output
2 RxD A input
3 DTR A output
4 CTS A input
5 GND GND
6 TXD B output
7 RxD B input
8 DTR B output
9 CTS B input
This manual suits for next models
6
Table of contents