Contec DAI16-4(USB) Owner's manual

Type
Owner's manual
PC-HELPER
Isolated High-Resolute Analog Output Module
for USB2.0
DAI16-4(USB)
User’s Guide
CONTEC CO., LTD.
DAI16-4(USB)
i
Check Your Package
Thank you for purchasing the CONTEC product.
The product consists of the items listed below.
Check, with the following list, that your package is complete. If you discover damaged or missing
items, contact your retailer.
Product Configuration List
- USB module
[DAI16-4(USB)] …1
- First step guide …1
- CD-ROM *1 [API-USBP(WDM)] …1
- Interface connector (plugs) FRONT-MC 1,5/12-STF-3,81 …1
- AC adapter (1.5m)…1
- AC cable (1.5m)…1
- USB cable (1.8m)…1
- Rubber feet…4
- Magnet…2
- Shield cover…1
*1 The CD-ROM contains the driver software and User’s Guide (this guide)
ii
DAI16-4(USB)
Copyright
Copyright 2005 CONTEC CO., LTD. ALL RIGHTS RESERVED.
No part of this document may be copied or reproduced in any form by any means without prior written
consent of CONTEC CO., LTD.
CONTEC CO., LTD. makes no commitment to update or keep current the information contained in
this document. The information in this document is subject to change without notice.
All relevant issues have been considered in the preparation of this document. Should you notice an
omission or any questionable item in this document, please feel free to notify CONTEC CO., LTD.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may
appear in this document or for results obtained by the user as a result of using this product.
Trademarks
F&eIT is a registered trademark of CONTEC CO., LTD. Other company and product names
mentioned herein are generally trademarks or registered trademarks of their respective owners.
DAI16-4(USB)
iii
Table
of Contents
Check Your Package ................................................................................................................................... i
1. INTRODUCTION 1
1.1. Summary .............................................................................................................................................. 1
1.1.1. Features ...................................................................................................................................... 1
1.1.2. Support Software ...................................................................................................................... 2
1.1.3. Accessories (Option) ................................................................................................................ 2
1.2. Customer Support ................................................................................................................................ 3
1.2.1. Web Site..................................................................................................................................... 3
1.3. Limited One-Year Warranty .............................................................................................................. 3
1.4. How to Obtain Service........................................................................................................................ 4
1.5. Liability ................................................................................................................................................ 4
1.6. Safety Precautions ............................................................................................................................... 4
1.6.1. Safety Information .................................................................................................................... 4
1.6.2. Handling Precautions ............................................................................................................... 5
1.6.3. Environment .............................................................................................................................. 8
1.6.4. Inspection................................................................................................................................... 8
1.6.5. Storage ....................................................................................................................................... 8
1.6.6. Disposal ..................................................................................................................................... 8
2. MODULE NOMENCLATURE 9
3. SETUP 11
3.1. Connection-Overall Diagram ........................................................................................................... 11
3.2. Setting a Module ID .......................................................................................................................... 11
3.3. Range Setting Switches .................................................................................................................... 12
3.4. Setup Flow ......................................................................................................................................... 13
3.5. Software Installation ......................................................................................................................... 13
3.5.1. Illustration of Menu Screen ................................................................................................... 13
3.5.2. Installation of API-USBP(WDM) Development Environment ......................................... 14
3.6. Connecting to a PC............................................................................................................................ 15
3.7. Setting Properties Using Device Manager ............................................................................................ 17
3.8. Connecting to an External Device ................................................................................................... 19
3.8.1. Signal Layout .......................................................................................................................... 19
3.8.2. Connection Method ................................................................................................................ 19
3.8.3. Fitting the Shield Cover ......................................................................................................... 22
3.9. Sampling ............................................................................................................................................. 23
iv
DAI16-4(USB)
3.9.1. Output Range and Conversion Data ..................................................................................... 23
3.9.2. Settling time ............................................................................................................................ 24
3.10. Connecting an External Power Supply ......................................................................................... 25
3.11. How to install the module .............................................................................................................. 28
3.11.1. Installation orientation ......................................................................................................... 28
3.11.2. Mounting with magnets ....................................................................................................... 29
3.11.3. Mounting on a DIN Rail ...................................................................................................... 30
3.12. Using Several Modules with the same Model ............................................................................. 32
3.12.1. Setting a Module ID ............................................................................................................. 32
4. APPLICATION DEVELOPMENT 33
4.1. Reference to Online Help ................................................................................................................. 33
4.2. Printing Function Reference ............................................................................................................ 33
4.3. Sample Program ................................................................................................................................ 34
4.4. Distributing Developed Application ............................................................................................... 34
5. TROUBLESHOOTING 35
5.1. Troubleshooting................................................................................................................................. 35
5.2. Q&A ................................................................................................................................................... 36
5.3. Diagnostic Program........................................................................................................................... 38
5.4. Version Upgrade................................................................................................................................ 39
5.4.1. How to Upgrade the Firmware .............................................................................................. 39
5.4.2. Driver Upgrade ....................................................................................................................... 40
5.5. Returning to Initial State .................................................................................................................. 40
6. CONNECTING WITH EXPANSION ACCESSORIES 45
6.1. Setting a Device ID ........................................................................................................................... 46
6.2. Connection between Modules .......................................................................................................... 47
6.2.1. Stack Connection Locking Devices ...................................................................................... 47
6.2.2. How the Stack Connection Locking Device Works ........................................................... 47
6.2.3. Connecting the Module .......................................................................................................... 48
6.2.4. Removing the Module ............................................................................................................ 48
7. PRODUCT SPECIFICATION 49
7.1. Hardware Specification .................................................................................................................... 49
7.2. Software Specification ...................................................................................................................... 51
7.3. Circuit Block Diagram...................................................................................................................... 52
7.4. Timing Chart ...................................................................................................................................... 53
7.5. Physical Dimensions ......................................................................................................................... 54
DAI16-4(USB)
v
8. APPENDIX 55
8.1. Glossary .............................................................................................................................................. 55
vi
DAI16-4(USB)
1. Introduction
DAI16-4(USB)
1
1.
Introduction
1.1. Summary
This product is a USB2.0 compatible terminal module that extends the analog output function of USB
port of PCs. This product features 4ch 16-bit analog output and is isolated from the bus line to the PC.
The signal lines can be connected directly to the terminals on this product. To simplify use in
embedded applications, this product includes a bracket for attaching to a 35mm DIN rail. The number
of output channels can be increased by purchasing an optional device module. Windows driver is
bundled with this product.
1.1.1. Features
- Conversion speed voltage : 10
µ
sec, current : 20
µ
sec, 16 bit resolution, analog output 4ch
This product includes analog outputs (voltage : 10µsec, current : 20µsec, 16 bit resolution, analog
output 4ch). Compatible to USB1.1/USB2.0 and capable to achieve high speed transfer at HighSpeed
(480 Mbps). The voltage or current output range set (voltage : +/-10V, current : 0 - 20mA). The
range is set by software and switch.
- Isolated from the bus by a digital isolator
This product is isolated by a digital isolator which improves the noise performance with respect to the
PC.
- Equipped with the buffer memory (256K data) which can be used in either FIFO or ring format
This product includes buffer memory (256K data for analog input) which can be used in either FIFO
or ring format. You can perform analog output in the background, independent of software and the
current status of the PC.
- Windows compatible driver libraries are attached.
Using the attached driver library API-USBP(WDM) makes it possible to create applications of
Windows. In addition, a diagnostic program by which the operations of hardware can be checked is
provided.
- Output signal can be controlled by a clock or various trigger conditions
The output signal can be started and stopped by software trigger.
The sampling period can be controlled by the internal clock (high-precision timer included on the
board).
- Easy to increase the output channels using an expansion module
Adding optional modules (up to 3 units) can easily increase the output channels. The unique structure
for connection by stacking enables easy and compact system configuration.
- LabVIEW is supported by a plug-in of dedicated library
Using the dedicated library makes it possible to create each application for LabVIEW.
1. Introduction
2
DAI16-4(USB)
1.1.2. Support Software
It is suggested that support software produced by our company should be used according to the goal
and development environment.
Driver Library
API-USBP(WDM)
(Bundled)
It is the library software, and which supplies command of hardware produced by our company in the
form of standard Win32 API function(DLL). Using programming languages supporting Win32API
functions, such as Visual Basic and Visual C++ etc., you can develop high-speed application software
with feature of hardware produced by our company.
In addition, you can verify the operation of hardware using Diagnostic programs.
CONTEC provides download services (at http://www.contec.com/apiusbp/) to supply the updated
drivers and differential files.
Further details may be found in the help within supplied CD-ROM or the homepage of our company.
< Operating Environment >
OS Windows 7, Server 2008, Vista, XP, Server 2003, 2000, Me, 98
Adaptation language Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder
Data acquisition VI library for LabVIEW
VI-DAQ
(Available for downloading (free of charge) from
the CONTEC web site.)
This is a VI library to use in National Instruments LabVIEW.
VI-DAQ is created with a function form similar to that of LabVIEW's Data Acquisition VI, allowing you to use
various devices without complicated settings.
See http://www.contec.com/vidaq/ for details and download of VI-DAQ.
1.1.3. Accessories (Option)
Isolated analog input module : DAI16-4(FIT)GY
(Expansion module for DAI16-4(USB))
AC adapter
(input: 90 - 264VAC, output: 5VDC 2.0A) : POA200-20-2
AC-DC power supply unit
(input: 85 - 132VAC, output: 5VDC 3.0A) : POW-AC13GY
AC-DC power supply unit
(input: 85 - 264VAC, output: 5VDC 2.0A) : POW-AD22GY
DC-DC power supply unit
(input: 10 - 30VDC, output: 5VDC 3.0A) : POW-DD10GY
DC-DC power supply unit
(input: 30 - 50VDC, output: 5VDC 3.0A) : POW-DD43GY
* Check the CONTECs Web site for more information on these options.
1. Introduction
DAI16-4(USB)
3
1.2. Customer Support
CONTEC provides the following support services for you to use CONTEC products more efficiently
and comfortably.
1.2.1. Web Site
https://www.contec.com/
Latest product information
CONTEC provides up-to-date information on products.
CONTEC also provides product manuals and various technical documents in the PDF.
Free download
You can download updated driver software and differential files as well as sample programs available
in several languages.
Note! For product information
Contact your retailer if you have any technical question about a CONTEC product or need its price,
delivery time, or estimate information.
1.3. Limited One-Year Warranty
CONTEC product is warranted by CONTEC Co., LTD. to be free from defects in material and
workmanship for up to one year from the date of purchase by the original purchaser.
Repair will be free of charge only when this device is returned freight prepaid with a copy of the
original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group
office, from which it was purchased.
This warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and
original product. The warranty is not applicable if the device has been tampered with or damaged
through abuse, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in
which case repairs will be considered beyond the warranty policy.
1. Introduction
4
DAI16-4(USB)
1.4. How to Obtain Service
For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please
obtain a Return Merchandise Authorization number (RMA) from the CONTEC group office where
you purchased before returning any product.
* No product will be accepted by CONTEC group without the RMA number.
1.5. Liability
The obligation of the warrantor is solely to repair or replace the product. In no event will the
warrantor be liable for any incidental or consequential damages due to such defect or consequences
that arise from inexperienced usage, misuse, or malfunction of this device.
1.6. Safety Precautions
Understand the following definitions and precautions to use the product safely.
1.6.1. Safety Information
This document provides safety information using the following symbols to prevent accidents resulting
in injury or death and the destruction of equipment and resources. Understand the meanings of these
labels to operate the equipment safely.
DANGER indicates an imminently hazardous situation which, if not avoided, will
result in death or serious injury.
WARNING indicates a potentially hazardous situation which, if not avoided, could
result in death or serious injury.
CAUTION indicates a potentially hazardous situation which, if not avoided, may
result in minor or moderate injury or in property damage.
DANGER
W
ARN
ING
C
AUTION
1. Introduction
DAI16-4(USB)
5
1.6.2. Handling Precautions
Please do not use the product in environments subject to flammable and corrosive gas. Otherwise,
it can bring on exploding, fire, electric shock and trouble.
- There are switches on the module that need to be set in advance.
Be sure to check its switch settings before using the module.
- Please do not change the module switch settings in an unauthorized manner.
Otherwise, it can bring about malfunction, heating and trouble.
- Please do not subject the module to impact or bend it.
Otherwise, it can bring about malfunction, heating, trouble and damage.
- Please do not touch the metallic pins on the external module connector.
Otherwise, it can bring about malfunction, heating and trouble.
- Please do not connect expansion module when the power for the module is turned on. Otherwise,
it can bring about malfunction, heating and trouble.
Be sure to turn off the power for the USB module.
- Please do not touch the module with a wet hand when the power for the module is turned on.
It is danger of electric shock.
Be sure to turn off the power for the USB module.
- If you notice any strange odor or overheating, please unplug the power cord and USB cable
immediately.
Otherwise, it can bring about malfunction, heating and trouble.
In the event of an abnormal condition or malfunction, please consult the dealer from whom the
product was purchased.
- In order to add functions to the product and perform quality improvement, the product
specification is subject to change without notice.
Even if you use the product again, please be sure to read the manual to confirm the content.
- Please do not modify the product.
CONTEC will bear no responsibility for any problems, etc., resulting from modifying the product.
- Please do not open the product casing.
CONTEC will disclaim any responsibility for products whose casing has been opened.
- Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that
may appear in this document nor for results obtained by the user as a result of using this product.
- It may cause a trouble in recognizing and operating the device according to the kind of USB hub.
If you use the USB hub, we encourage you to take advantage of the CONTECs product loan
service to confirm operation before purchasing.
- If you use this product in a noisy environment, attach ferrite cores to the IO cable to stabilize the
operation.
DANGER
CA
UTION
1. Introduction
6
DAI16-4(USB)
- Regarding EMC Instruction Class A Notice
This product has acquired the above-mentioned standard.
However, a sufficient margin may not be secured for the standard. In this case, use a ferrite core
(SEIWA E04SR301334 or a compatible product) for the USB cable and the power cable of this
product, and use two ferrite cores it for the power cable of AC outlet side.
When attaching the ferrite core, coil it around once
near the connector while leaving it open, and
then close it.
Moreover, USB and power connector must be earthed.
- Regarding FCC PART 15 Class A Notice
This product has acquired the above-mentioned standard.
However, a sufficient margin may not be secured for the standard. In this case, use a ferrite core
(SEIWA E04SR301334 or a compatible product) for the USB cable and use a ferrite core
(SEIWA
E04SR200917 or a compatible product) for the power cable of this product.
When attaching the ferrite core, coil it around once
near the connector while leaving it open, and
then close it.
- Regarding VCCI Class A Notice
This product has acquired the above-mentioned standard.
However, a sufficient margin may not be secured for the standard. In this case, use a ferrite core
(SEIWA E04SR301334 or a compatible product) for the USB cable.
When attaching the ferrite core, coil it around once
near the connector while leaving it open, and
then close it.
- Regarding “CE EMC Directive Notice”
Please connect the Interface Connector with a shielded cable to meet the mentioned standard
above.
The ferrite core must be installed in connecting cable so that this product may suit the above-
mentioned standard. And USB connector must be earthed.
Name
Maker
Turn
Quantity
Installation Site
E04SR301334
SEIWA
2
1
on USB cable at product
E04SR200917
SEIWA
3
1
on power cable at product
* Equivalent product can also be used.
Image diagram
Ferrite core
Cable
TURN: 1
TURN: 2
TURN: 3
TURN: 4
1. Introduction
DAI16-4(USB)
7
FCC PART 15Class A Notice
1. Introduction
8
DAI16-4(USB)
1.6.3. Environment
Use this product in the following environment. If used in an unauthorized environment, the product
may overheat, malfunction, or cause a failure.
Operating temperature
0 - 50°C
Operating humidity
10 - 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
1.6.4. Inspection
Inspect the product periodically as follows to use it safely.
1.6.5. Storage
Please store the product according to the state in which you purchased.
(1) Store the module into a storage bag.
(2) Store the module into a box with wrapper.
(3) Please store the module in normal temperature avoiding direct sunlight, shock and vibration,
magnetic field and static electricity.
1.6.6. Disposal
When disposing of the product, follow the disposal procedures stipulated under the relevant laws and
municipal ordinances.
*Make sure
that the c
onnector
s o
n the mo
dule side
are cor
rectly
c
onnected
with the c
ables
*Th
e ven
tilati
on sl
its are n
ot cover
ed,
and
neith
er
du
st no
r a
lien sub
stance i
s attac
h
ed to
the
vent
ilation
slit
s
2. Module Nomenclature
DAI16-4(USB)
9
2.
Module Nomenclature
Figures 2.1 shows the names of module components.
In the figures, the indicated switch settings represent factory settings.
Figure 2.1. Nomenclature of Module Components < DAI16-4(USB) >
*1 When you use the module in a noisy environment or are nervous about noise, ground the module
(using a M3 screw).
*2 When you use the module in a noisy environment or are nervous about noise, connect the FG pin
in the +5 VDC input terminal to the ground. (Use the AC adapter while the module remains
grounded.)
Table 2.1. List of Status LED Functions
Name Function Indicator color LED indicator
LINK status
USB communication
states
GREEN
ON : Communication established
OFF : Communication
unestablished
OFF : Normal D/A conversion
LINK status
LED
An
alo
g o
utp
ut
C
H0 -
CH
3
Ran
ge S
etting Sw
itc
hes
Mo
du
le
ID
USB p
ort
+5VD
C i
nput
*1
*2
2. Module Nomenclature
10
DAI16-4(USB)
3. Setup
DAI16-4(USB)
11
3.
Setup
3.1. Connection-Overall Diagram
This is connection-overall diagram. Please reference to this page for actual.
Figure 3.1. Connection-Overall Diagram
3.2. Setting a Module ID
The host computer distinguishes and keeps track of the modules of same model by assigning Module
IDs to them. Factory settings 00can be used when only one module per model is connected to one
computer.
Each module should be assigned a unique Module ID in the range of 00 - 7Fh when several modules
with the same model are being connected.
There are two rotary switches, moreover, “x16” and “x1” represent high bits and low bits of Module
ID respectively.
Figure 3.2. Setting a Module ID
0
2
4
5
6
7
9
A
C
E
F
8
0
2
4
5
6
7
9
A
C
E
F
8
0
2
3
4
5
6
7
9
A
C
D
E
F
8
0
2
3
4
5
6
7
9
A
C
D
E
F
8
Module ID 00h
[Factory Settings]
Module ID 12h
Module
ID(x16)
Module
ID (x1)
[0]
[0]
Module
ID(x16)
Module
ID (x1)
[1]
[2]
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
0
1
2
3
4
5
6
7
9
A
C
E
F
8
Software Installation
(Page 13)
Connecting to a PC
(Page 16)
Connecting to an
External Device
(Page 20)
Connecting with
Expansion Accessories
(Page 45)
Mounting on a
DIN Rail
(Page 30)
3. Setup
12
DAI16-4(USB)
3.3. Range Setting Switches
Inputs can be set as voltage or current outputs to suit your requirements. A single output range applies
for all channels and separate ranges cannot be set for each channel. Do not set other the specified
settings.
Setup method
The voltage/current output setting is set using a DIP switch on the module's panel.
Set as shown below.
Figure 3.3. Output Range Setting
V
olt
age
out
put
(De
fau
lt
)
Cur
ren
t o
utp
ut
R
A
NG
E
R
ANG
E
3. Setup
DAI16-4(USB)
13
3.4. Setup Flow
The following shows the basic flow for installing USB module.
3.5. Software Installation
Install software.
3.5.1. Illustration of Menu Screen
Points
- Please set up the supplied CD-ROM if it has not been set up. The menu starts automatically.
- If the menu do not start, launch X:AUTORUN.EXE(X:CD-ROM drive) from [Run…] in Start
menu.
- The screen design may be different.
Setting Properties Using
Device Manager
-Setting device name
Page 13 Page 15
Page 17
Connecting to a PC
-Installing USB driver
Software Installation
-API-USBP(WDM)
Development
Environment
Install the Development Environment such
as sample programs and online help, etc.
Refer to the description about CD-ROM.
Install the utility.
Install the C-LOGGER.
*Cannot be used for this product.
Refer to the users guide.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65

Contec DAI16-4(USB) Owner's manual

Type
Owner's manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI