DAQ USB-DIO6400 User manual

USB-DIO6400 Users Manual (Rev 1.1)
-1- http://www.daqsystem.com
USB-DIO6400
User’s Manual
Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the
trademarks or service names of all other organizations mentioned in this document as their own property.
Information furnished by DAQ system is believed to be accurate and reliable. However, no responsibility is assumed by DAQ
system for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is
granted by implication or otherwise under any patent or copyrights of DAQ system.
The information in this document is subject to change without notice and no part of this document may be copied or
reproduced without the prior written consent.
Copyrights 2007 DAQ system, All rights reserved.

USB-DIO6400 Users Manual (Rev 1.1)
-2- http://www.daqsystem.com
Contents
1. Introduction
2. USB-DIO6400 Internal Block
3. Board Description
3.1 Outside View
3.2 Connector Pin Map
3.2.1 USB Connector : JP4
3.2.2 JP1 Connector
3.2.3 D-SUB 37Pin Socket : J6
3.2.4 D-SUB 37Pin Plug : J2
3.3 Digital Input Circuit
3.4 Digital Output Circuit
3.5 Power Option Setup
3.5.1 JP2 Jumper Setup
3.5.2 J7 Jumper Setup
3.5.3 JP7 Jumper Setup
4. Installation
4.1 Confirm Product Contents
4.2 Driver Installation
5. Sample Program
5.1 Program Interface
5.2 Function Explanantion
Reference

USB-DIO6400 Users Manual (Rev 1.1)
-3- http://www.daqsystem.com
1. Introduction
USB-DIO6400 board is 32-bit isolated digital input / output boards to be fully compatible with industrial
PC. It is a board that uses the USB interface Full Speed (12MB/s). USB-DIO6400 does not use a
separate external power supply because the operation takes its power from the USB cable. All of the
control functions are designed to FPGA (Field Programmable Gate Array) and it is possible to easily
upgrade to the user's needs.
DAQ System Digital I/O Products
Product
No. In/Out
Timer/Counter
Specification
cPCI-DIO6400
32/32
Isolated Input/Output
cPCI-DIO02
128 channels Software
Configurable
16bit / 8Group Read/Write
PCI-DIO6400
32/32
Isolated Input/Output
PCI-DIO6401
64/None
Isolated Input
PCI-DIO6402
None/64
Isolated Output
PCI-DIO01
32/32 Software
Configurable
1/1
TTL Level Input/Output
32bit Counter/Timer
PCI-DIO02
128 channels Software
Configurable
1/1
16bit / 8Group Read/Write
PCI-DIO12
16/16 or 32/32
Software Configurable
128Mbyte DDR SDRAM
Data transfer rate up to 400Mb/s
PCI-MOT01
24/24 (Isolated)
2 Channel PWM, 2 Channel Encoder,
1 Channel ADC
PCI-PWM02
6/12(Isolated)
4 Channel Triggered PWM outputs
PCI-TC03
16/16
8/8
32bit resolution Differential
Counter/Timer
PCI-EK01
24(shared)
1/1(32bit)
12bit 8 Channel A/D Input
12bit 8 Channel D/A Output
PCIe-DIO05
32/32
TTL Level Input/Output
USB-AIO10
24/24(Isolated)
4-Ch Analog Input and Output
RS-232 115,200bps Interface
USB-DIO12800
128 channels Software
Configurable
16bit / 8Group Read/Write
USB-DIO6400
32/32
Isolated Input/Output
12Mbps
USB-MULTI
2/None
Isolated Input/Output
16bit Counter In & Timer Out
USB-PWM10
6/8(Isolated)
4 Channel Triggered PWM outputs

USB-DIO6400 Users Manual (Rev 1.1)
-4- http://www.daqsystem.com
The USB-DIO6400 is designed for high speed digital logger with USB 2.0 interface. It composes of 32
bits digital input and 32 bits digital output for external interface. It’s device to exchange digital signal
such as sensor or Actuator through USB 2.0 interface.
The product operation is controlled by API functions and the following picture is showing by a working
together action.
[Figure 1-1. USB-DIO6400 Usage]
Figure 1-1 shows, the USB-DIO6400 don’t use an external power separately because power supply to
USB cable.

USB-DIO6400 Users Manual (Rev 1.1)
-5- http://www.daqsystem.com
2. USB-DIO6400 Internal Block
The USB communication control takes charge of the Micro Controller and the rest such as I/O control
takes charge of the FPGA. Main function is a Digital Input/Output.
These functions perform to use the API at PC through USB interface. The product gets from 5V power
supply through USB connector.
[Figure 2-1. USB-DIO6400 Internal Block Diagram]
The USB-DIO6400 is a board having the function of external interface with the isolated 32-Ch input
ports and output ports like figure 2-1.
GENERAL DESCRIPTION
♦USB Full Speed device
♦USB HID Interface
♦4ch Triggered PWM output
♦Digital I/O 4 channel
♦Isolated input voltage up to 24V
♦Compact, half-size PCB

USB-DIO6400 Users Manual (Rev 1.1)
-6- http://www.daqsystem.com
APPLICATION
♦Data acquisition
♦Laboratory instrumentation
♦Process control systems
♦Factory automation
SPECIFICATION
▣Isolated Digital Input
▪Number of Channels : 32
▪Number of Common Input : 4
▪Maximum Input Range(Non-polarity) : 24V
▪Digital Logic Levels :
Input High level 5 ~24V
Input Low voltage 0 ~ 1.5V
▪Isolation Voltage : 2500Vrms
▪Isolated input voltage up to 24V
▪Data Transfer : Programmed I/O
▣Isolated Digital Output
▪Number of Channels : 32
▪Output type : Open collector Darlington transistor
▪Sink Current :
500mA for one channel @ 100% duty
500mA for all channel @ 20% duty
▪Power Dissipation : Max 2.36W per chip (8DO channels)
▪Supply Voltage : 5V USB or isolated 5V(inside equipped)
▪Isolation Voltage : 5000Vrms
▪Data Transfer : Programmed I/O
SOFTWARE
▣Operating System
▪Windows 2000/XP
▣Support
▪Visual basic/C++ with Board API(DLL

USB-DIO6400 Users Manual (Rev 1.1)
-7- http://www.daqsystem.com
3. Board Description
In this chapter, the primary functions of the USB3-DIO6400 board are described briefly. For more
information, refer to the device specification
3.1 Outside View
USB-DIO6400
Rev. A
J7
JP7
J1
JP1
1
LED3
LED2
J6
U44 U46
U47U45
U13
Y1 D2 P1
U41
U40
U36
12.00
1
2 15
16
U35
SW3
J2
JP2
U27
LED1
JP4
J3
J4
J5
[Figure 3-1. USB-DIO6400 Layout]
There is a USB-B type connector at the bottom side to supply power and USB signals. It can be 32
channels Digital Input through 37PIN D-SUB (PLUG : J2) connector at the left top side. Also, it can
use 32 channels Digital Output through 37PIN D-SUB (SOCKET : J6) connector at the right top side.

USB-DIO6400 Users Manual (Rev 1.1)
-8- http://www.daqsystem.com
3.2 Connector Pin Map
3.2.1 USB Connector : JP4
There is the USB-B connector for USB communication, the D-sub 37pin connector for general
purpose I/O and the D-sub 9pin connector for RS232 communication.
The JP4 is a USB-B type connector for high speed USB connection. [Figure 3-2] and [Table 1]
shows the JP4 connector and its pin description.
USB B type
Connector
12
3 4
[Figure 3-2. JP4 Connector (USB-B type Front View)]
[Table 1. USB-B Connector Description]
Pin#
Name
Description
Remark
1
VCC
USB Power +5V
2
D-
USB Signal Minus(Negative)
3
D+
USB Signal Plus(Positive)
4
GND
USB Power GND
3.2.2 JP1 Connector
It is a molex 2 pin connector that can connect external power.
1
12
2
5V
5V

USB-DIO6400 Users Manual (Rev 1.1)
-9- http://www.daqsystem.com
3.2.3 D-SUB 37Pin Socket Connector : J6
The digital output of USB-DIO6400 performs through 37Pin D-Sub connector (socket type),
and it isolates from internal board.
3
10
9
8
7
6
1
2
5
4
19
18
17
16
15
14
13
12
11
25
24
23
22
21
20
DOUT14
GROUND
DOUT18
DOUT16
GROUND
DOUT20
DOUT22
DOUT28
DOUT26
DOUT24
DOUT30
POWER
DOUT13
DOUT15
GROUND
OUT_VDD
DOUT17
DOUT19
DOUT21
DOUT23
DOUT25
DOUT27
DOUT29
DOUT31
33
32
31
30
29
28
27
26
37
36
35
34
DOUT10
DOUT8
DOUT6
DOUT12
DOUT4
DOUT2
DOUT0
DOUT1
DOUT3
DOUT5
DOUT7
DOUT9
DOUT11
[Figure 3-3. USB-DIO6400 DSUB 37(Socket) J6 Connector Pin]
[Table 2. USB-DIO6400 Digital OUTPUT Connector Pin Description]
Pin#
Pin Name
Description
Remark
1
DOUT0
Isolated Digital Output 0

USB-DIO6400 Users Manual (Rev 1.1)
-10- http://www.daqsystem.com
2
DOUT2
Isolated Digital Output 2
3
DOUT4
Isolated Digital Output 4
4
DOUT6
Isolated Digital Output 6
5
DOUT8
Isolated Digital Output 8
6
DOUT10
Isolated Digital Output 10
7
DOUT12
Isolated Digital Output 12
8
DOUT14
Isolated Digital Output 14
9
GROUND
External Ground
10
GROUND
External Ground
11
DOUT16
Isolated Digital Output 16
12
DOUT18
Isolated Digital Output 18
13
DOUT20
Isolated Digital Output 20
14
DOUT22
Isolated Digital Output 22
15
DOUT24
Isolated Digital Output 24
16
DOUT26
Isolated Digital Output 23
17
DOUT28
Isolated Digital Output 28
18
DOUT30
Isolated Digital Output 30
19
OUT_POWER
Board Power Output
20
DOUT 1
Isolated Digital Output 1
21
DOUT 3
Isolated Digital Output 3
22
DOUT 5
Isolated Digital Output 5
23
DOUT 7
Isolated Digital Output 7
24
DOUT 9
Isolated Digital Output 9
25
DOUT 11
Isolated Digital Output 11
26
DOUT 13
Isolated Digital Output 13
27
DOUT 15
Isolated Digital Output 15
28
GROUND
External Ground
29
OUT_VDD
Clamp Diode Common Input Pin
Refer Figure 6-1
30
DOUT 17
Isolated Digital Output 17
31
DOUT 19
Isolated Digital Output 19
32
DOUT 21
Isolated Digital Output 21
33
DOUT 23
Isolated Digital Output 23
34
DOUT 25
Isolated Digital Output 25
35
DOUT 27
Isolated Digital Output 27
36
DOUT 29
Isolated Digital Output 29
37
DOUT 31
Isolated Digital Output 31

USB-DIO6400 Users Manual (Rev 1.1)
-11- http://www.daqsystem.com
3.2.4 D-SUB 37Pin Plug Connector : J2
The digital output of USB-DIO6400 performs through 37Pin D-Sub connector (plug type),
and it isolates from internal board.
3
10
9
8
7
6
1
2
5
4
19
18
17
16
15
14
13
12
11
25
24
23
22
21
20
DIN14
IN_COM0
DIN18
DIN16
IN_COM2
DIN20
DIN22
DIN28
DIN26
DIN24
DIN30
N.C
DIN13
DIN15
IN_COM1
IN_COM3
DIN17
DIN19
DIN21
DIN23
DIN25
DIN27
DIN29
DIN31
33
32
31
30
29
28
27
26
37
36
35
34
DIN10
DIN8
DIN6
DIN12
DIN4
DIN2
DIN0
DIN1
DIN3
DIN5
DIN7
DIN9
DIN11
[Figure 3-4. USB-DIO6400 DSUB 37(Plug) J2 Connector Pin]
[Table 3. USB-DIO6400 Digital INPUT Connector Pin Description]
Pin#
Pin Name
Description
Remark
1
DIN0
Isolated Digital Input 0

USB-DIO6400 Users Manual (Rev 1.1)
-12- http://www.daqsystem.com
2
DIN2
Isolated Digital Input 2
3
DIN4
Isolated Digital Input 4
4
DIN6
Isolated Digital Input 6
5
DIN8
Isolated Digital Input 8
6
DIN10
Isolated Digital Input 10
7
DIN12
Isolated Digital Input 12
8
DIN14
Isolated Digital Input 14
9
IN_COM0
Isolated Digital Input common 0
DIN0~7 Common Input
10
IN_COM2
Isolated Digital Input common 2
DIN16~23 Common Input
11
DIN16
Isolated Digital Input 16
12
DIN18
Isolated Digital Input 18
13
DIN20
Isolated Digital Input 20
14
DIN22
Isolated Digital Input 22
15
DIN24
Isolated Digital Input 24
16
DIN26
Isolated Digital Input 26
17
DIN28
Isolated Digital Input 28
18
DIN30
Isolated Digital Input 30
19
N.C
No Connection
20
DIN1
Isolated Digital Input 1
21
DIN3
Isolated Digital Input 3
22
DIN5
Isolated Digital Input 5
23
DIN7
Isolated Digital Input 7
24
DIN9
Isolated Digital Input 9
25
DIN11
Isolated Digital Input 11
26
DIN13
Isolated Digital Input 13
27
DIN15
Isolated Digital Input 15
28
IN_COM1
Isolated Digital Input common 1
DIN8~15 Common Input
29
IN_COM3
Isolated Digital Input common 3
DIN24~31 Common Input
30
DIN17
Isolated Digital Input 17
31
DIN19
Isolated Digital Input 19
32
DIN21
Isolated Digital Input 21
33
DIN23
Isolated Digital Input 23
34
DIN25
Isolated Digital Input 25
35
DIN27
Isolated Digital Input 27
36
DIN29
Isolated Digital Input 29
37
DIN31
Isolated Digital Input 31

USB-DIO6400 Users Manual (Rev 1.1)
-13- http://www.daqsystem.com
3.3 Digital Input Circuit
IN_COM0
DIN0
in0
2.4K
VCC
DIN1
in1
VCC
DIN7
In7
VCC
2.4K
2.4K
[Figure 3-5. Digital Input Circuit]
[Figure 3-5] shows that digital input is isolated by photo-coupler. When applying plus(+) voltage to
“IN_COM0”, and applying minus(-) voltage to digital input(DIN0 ~ DIN7), the current is flowing through
diode in the inside to photo-coupler and an output direction transistor is applied an electric current
according to flow electric current.
There are 4 circuits as above picture to a board. In other words, there is a IN_COM signal each 8
photo-couplers, total IN_COM signals are 4 (IN_COM0 ~ IN_COM3).
If you want completely isolated circuit, it is good to use the external power better than to use the
board power.

USB-DIO6400 Users Manual (Rev 1.1)
-14- http://www.daqsystem.com
3.4 Digital Output Circuit
out0
DOUT0
330
out1
DOUT1
out31
DOUT31
330
330
+3.3V
OUT_POWER
OUT_VDD
[Figure 3-6. Digital Output Circuit]
[Figure 3-6] shows that the digital output is isolated by photo-coupler. The “OUT_POWER” is
connected commonness to an output circuit. The “OUT_VDD” works external power or 5V PCI of
internal board or ISO 5V (DC-DC Output power) according to connector JP2 jumper setting. The
“OUT_VDD” connects an anode of Clamp-Diode for protecting board’s circuits. Generally, it had better
use the external power 5V.

USB-DIO6400 Users Manual (Rev 1.1)
-15- http://www.daqsystem.com
DC-DC
Power
External
Power
J7 Jumper
3
1
2
OUT31-0 330
+3.3V
OUT_POWER
DOUT 31 - 0
GROUND
DC
External
GROUND
Load
USB-DIO6400 Board
External
Connection
[Figure 3-7. Output Port External Connection]
OUTPUT can be used by selecting external power or internal power. When using an external power
supply, the J1's jumper must be disconnected before it is fully isolated.
In case of internal power supply, DC-DC converter power can be selected. When DC-DC converter is used,
J7 jumper setting (3-2 short) is done.
When using external 5V power supply, use J7 jumper setting (1-2 shots).
1. Output power supply voltage range is 5 - 24V.

USB-DIO6400 Users Manual (Rev 1.1)
-16- http://www.daqsystem.com
3.5 Power Option Setup
3.5.1 JP2 Jumper Setup
The internal board power can use the USB 5V or external power through JP1 (Molex 2Pin
Connector).
1
JP2 Jumper Setup
External 5V
Power
3
USB Power
3.5.2 J7 Jumper Setup
If usable environment doesn’t use external power for external I/O composition, it can use the
board power. At this time it can set up by jumper whether or not to use an isolated DC-DC
Converter power (option) or board internal power (+5V).
J7 Jumper Setup
External Power(5V) Use
DC-DC converter Power
31 2 3
11
3.5.3 JP7 Jumper Setup
Also the GROUND can select whether or not to use a DC-DC Converter (option) GROUND or
board GROUND through JP7 jumper setup.
1
2
JP7 Jumper Setup
Internal GROUND
* The basic option doesn‟t work set up the jumper in case of shipment.

USB-DIO6400 Users Manual (Rev 1.1)
-17- http://www.daqsystem.com
4. Installation
You confirm whether or not the packing contents are in good order before installation.
4.1 Confirm Product Contents
Product Contents
1. USB-DIO6400 Board
2. USB(A-B) Cable
3. CD (Driver/Manual/API/Sample Source etc.)
4.2 Driver Installation
For USB-DIO6400 board installation at PC is as follows. There isn’t a jumper especially to set up
for board installation because USB board is a Hot Plug and Plug & Play device.
User Environment : Windows 2000 SP4 over, Windows XP SP1 over
(1) First, open the box and put the USB-DIO6400 product on safe table.
(2) The USB-DIO6400 board connects to PC through USB A-B cable.
When the cable connect, it will be install automatically drive searching at Windows Operating
system.
(3) The driver installation is as follows. The installation order is as follows, explain Windows XP
basis if there isn’t special explanation.

USB-DIO6400 Users Manual (Rev 1.1)
-18- http://www.daqsystem.com
(4) If new hardware is found, Wizard will ask you to install the corresponding driver. For installation
of the driver, select the item “Install from a list or specific location (Advanced)”and click “Next”
as in the below figure.
After find a driver folder of the CD, press “next”button.
ex) F:\USB-DIO6400\driver
The driver folder includes a file of “usb_dio6400.inf”and “usb_dio6400.sys”that it is
necessary fir driver installation.
A warning message appears during installation here, press “Continue Anyway”button.
If the installation is completely finished, you can show below message window.

USB-DIO6400 Users Manual (Rev 1.1)
-19- http://www.daqsystem.com
(5) If the installation is completely finished, you can use the USB-DIO6400 board.
But, it confirm a driver normally installation in the following ways.
Do the following steps to show up the “Device Manager”window.
[My Computer -> Properties -> Hardware -> Device Manager -> Universal serial Bus controllers
-> “DAQ system USB Digital Input Output Board”]

USB-DIO6400 Users Manual (Rev 1.1)
-20- http://www.daqsystem.com
Table of contents
Other DAQ Computer Hardware manuals