Contec DAI12-4(USB)GY Owner's manual

  • Hello! I am an AI chatbot trained to assist you with the Contec DAI12-4(USB)GY Owner's manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
PC-HELPER
Isolated Analog Output Module for USB
DAI12-4(USB)GY
Users Guide
CONTEC CO.,LTD.
DAI12-4(USB)GY
i
Copyright
Copyright 2002 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 nor
for results obtained by the user as a result of using this product.
Trademarks
All company and product names that are referred to in this manual
are generally trademarks or registered trade.
ii
DAI12-4(USB)GY
Product Configuration
- USB module (one of the following products)
[DAI12-4(USB)GY]…1
- First step guide…1
- CD-ROM *1 [API-USBP(WDM)]…1
- Interface connector (plugs) FK-MC0,5/9-ST-2.5…2
- AC adapter (1.5m)…1
- AC cable (1.5m)…1
- USB cable (1.8m)…1
- Rubber feet…4
- Magnet…2
- Warranty Certificate 1
- Serial number label …1
*1 The CD-ROM contains the driver software and Users Guide
(this guide).
Check the contents to make sure that you have everything listed
below. If you do not have all the items or have any damage,
contact your distributor or CONTEC group office where you
purchased.
V
AG
C
V
A
G
C
AG
V
C
A
G
C
V
RU
N
L
I
NK
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
0
1
2
3
4
5
6
7
9
A
C
D
E
F
8
Sy
st
em
un
it
CD-
ROM
[
API
-USB
P(W
DM)
]
US
B c
abl
e
P
ro
te
ct
iv
e R
ub
be
r
I
nt
erf
ac
e
con
nec
to
r
plu
gs
Mag
net
Fir
st
ste
p gu
ide
A
C a
da
pt
er
A
C
c
ab
le
W
arr
ant
y Ce
rtif
icate
XX
XX
XXX
XX
XX
XX
XX
XXX
XXXX
XXX
X
S
eri
al n
umb
er
lab
el
W
ar
ra
nt
y
Ce
rt
if
ic
ate
DAI12-4(USB)GY
iii
Table of Contents
COPYRIGHT .............................................................................................. I
TRADEMARKS ........................................................................................... I
PRODUCT CONFIGURATION ..................................................................... II
TABLE OF CONTENTS.............................................................................. III
1. INTRODUCTION......................................................................... 1
SUMMARY ............................................................................................... 1
Features ............................................................................................. 1
Support Software ............................................................................... 3
Accessories (Option) ........................................................................... 4
CUSTOMER SUPPORT ............................................................................... 5
Web Site ............................................................................................. 5
LIMITED ONE-YEAR WARRANTY .............................................................. 5
HOW TO OBTAIN SERVICE ....................................................................... 6
LIABILITY ................................................................................................ 6
USE WITH SAFETY ................................................................................... 6
Notice icon for safety information ..................................................... 6
Operation Precautions ....................................................................... 7
FCC PART 15 Class A Notice ............................................................ 9
Environment .................................................................................... 10
Inspection ......................................................................................... 10
Storage ............................................................................................. 10
2. MODULE NOMENCLATURE .................................................... 11
3. SETUP ...................................................................................... 13
CONNECTION-OVERALL DIAGRAM ......................................................... 13
SETTING A MODULE ID ......................................................................... 14
SETUP FLOW ......................................................................................... 15
SOFTWARE INSTALLATION ..................................................................... 15
Illustration of Menu Screen ............................................................. 15
Installation of API-USBP(WDM) Development Environment ....... 16
CONNECTING TO A PC ........................................................................... 17
SETTING PROPERTIES USING DEVICE MANAGER ....................................... 19
CONNECTING TO AN EXTERNAL DEVICE ................................................ 21
Signal Layout ................................................................................... 21
Connection Method .......................................................................... 22
SAMPLING ............................................................................................. 27
Output range and conversion data .................................................. 27
Settling Time.................................................................................... 29
iv
DAI12-4(USB)GY
INSTALLING THE MODULE ..................................................................... 31
Mounting on a DIN Rail .................................................................. 31
Mounting with magnets .................................................................. 35
Installation Orientation .................................................................. 36
USING SEVERAL MODULES WITH THE SAME MODEL.............................. 37
Setting a Module ID......................................................................... 37
4. APPLICATION DEVELOPMENT ............................................... 39
REFERENCE TO ONLINE HELP............................................................... 39
PRINTING FUNCTION REFERENCE ......................................................... 39
SAMPLE PROGRAM ................................................................................ 40
DISTRIBUTING DEVELOPED APPLICATION ............................................. 40
5. TROUBLESHOOTING ............................................................... 41
TROUBLESHOOTING .............................................................................. 41
Q & A .................................................................................................... 42
DIAGNOSTIC PROGRAM ......................................................................... 44
VERSION UPGRADE ............................................................................... 45
How to Upgrade the Firmware........................................................ 45
RETURNING TO INITIAL STATE .............................................................. 47
6. CONNECTING WITH EXPANSION ACCESSORIES .................. 53
SETTING A DEVICE ID ........................................................................... 55
CONNECTION BETWEEN MODULES ........................................................ 56
Stack Connection Locking Devices .................................................. 56
How the Stack Connection Locking Device Works ......................... 57
Connecting the Module .................................................................... 58
Removing the Module ...................................................................... 59
7. PRODUCT SPECIFICATION ..................................................... 61
HARDWARE SPECIFICATION ................................................................... 61
SOFTWARE SPECIFICATION .................................................................... 62
CIRCUIT BLOCK DIAGRAM ..................................................................... 63
TIMING CHART ...................................................................................... 64
PHYSICAL DIMENSIONS ......................................................................... 65
8. APPENDIX ................................................................................ 67
GLOSSARY ............................................................................................. 67
1. Introduction
DAI12-4(USB)GY
1
1.
Introduction
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 12-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.
Features
- Conversion speed 10µsec (voltage) or 20µsec (current), 12-bit
resolution, analog output 4ch
This product includes analog outputs (voltage : 10µsec, current :
20µsec, 12-bit, 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, +/-5V, 0 - 10V, 0 - 5V,
current : 0 - 20mA). The range is set by software.
- 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 output)
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.
1. Introduction
2
DAI12-4(USB)GY
- 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.
- Screw-less connector plug facilitating wiring and
plugging/unplugging
Wiring and plugging/unplugging are easy as the screw-less
connector plug is used.
- Capable of being mounted on 35-mm DIN rails
This product is equipped with an attachment for mounting on 35-mm
DIN rails on the back, allowing the module to be attached onto and
detached from DIN rails.
- 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
DAI12-4(USB)GY
3
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.
For more details on the supported OS, applicable language and new
information, please visit the CONTECs Web site.
1. Introduction
4
DAI12-4(USB)GY
Accessories (Option)
Isolated analog output module: DAI12-4(FIT)GY
(Expansion module for DAI12-4(USB)GY)
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
Check the CONTECs Web site for more information on this
product.
1. Introduction
DAI12-4(USB)GY
5
Customer Support
CONTEC provides the following support services for you to use
CONTEC products more efficiently and comfortably.
Web Site
https://www.contec.com/
The 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.
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 boards. 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
6
DAI12-4(USB)GY
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.
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.
Use with Safety
Please use this product with safety on the basis of understanding
following content.
Notice icon for safety information
In order to prevent personal accident and damage to the machine,
safety information is supplied in this manual by following symbols.
Please operate the machine with safety on the basis of understanding
its content.
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
WARNING
CAUTION
1. Introduction
DAI12-4(USB)GY
7
Operation 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.
- I If you use this product in a noisy environment, attach ferrite
cores to the IO cable to stabilize the operation.
- 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.
D
AN
GE
R
CA
U
T
I
O
N
1. Introduction
8
DAI12-4(USB)GY
- 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.
- 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 interface connecting cable so
that this product may suit the above-mentioned standard.
And USB
connector must be earthed.
Name
Maker
Turn
Installation Site
E04SR301334 *
SEIWA
2
on USB cable at product side
E04SR241336A *
SEIWA
1
on signal cable at product side
E04SR200917 *
SEIWA
3
on AC adapter at product side
* Equivalent product can also be used.
Image diagram
1. Introduction
DAI12-4(USB)GY
9
FCC PART 15 Class A Notice
1. Introduction
10
DAI12-4(USB)GY
Environment
Please use this product in the environment as follows. It can bring
about heating, malfunction and trouble when the product is used in
unauthorized environment.
Environment temperature
0 - 50°C
Environment humidity
10 - 90%RH (No condensation)
Corrosive gases
None
Floating dust particles
Not to be excessive
Inspection
Please regularly perform inspection so as to use the product with
safety.
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.
*
Mak
e s
ure
tha
t th
e conn
ect
ors
on t
he mod
ule sid
e are corr
ectly
conn
ected
with th
e cable
s
*The ventilation
sl
its
ar
e no
t c
ove
red,
and neither d
u
st
nor
ali
en
sub
stan
ce
is
att
ache
d t
o t
he
vent
ila
tion slits
V
AG
C
V
AG
C
A
V
C
AG
C
V
RUN
LIN
K
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
0
1
2
3
4
5
6
7
9
A
B
C
D
E
F
8
2. Module Nomenclature
DAI12-4(USB)GY
11
2.
Module Nomenclature
Figures 2.1 shows the names of module components.
In the figures, the indicated switch settings represent factory
settings.
DAI12-4(USB)GY
Figure 2.1. Nomenclature of Module Components
< DAI12-4(USB)GY >
Table 2.1. The List of Status LED Functions
< DAI12-4(USB)GY >
Name Function Indicator color LED indicator
ON: Communication established
OFF: Communication unestablished
ON: Operation enabled
OFF: Operation disabled
ON: D/A conversion error
OFF: Normal D/A conversion
GREEN
GREEN
RED
LINK status
RUN LED
STATUS LED
USB communication status
Operation status of the module
D/A conversion error indicator
LINK status LED
+5VDC input
Module ID
USB port
D/A conversion status LED
Analog output CHO to CH1
Analog output CH2 to CH3
2. Module Nomenclature
12
DAI12-4(USB)GY
3. Setup
DAI12-4(USB)GY
13
3.
Setup
Connection-Overall Diagram
This is connection-overall diagram. Please reference to this page for
actual connection.
Figure 3.1. Connection-Overall Diagram
Software Installation
(page 15)
Connecting to a PC
(page 17)
Connecting to an External Device
(page 21)
Connecting with
Expansion Accessories
(page 53)
Mounting on a DIN Rail
(page 31)
3. Setup
14
DAI12-4(USB)GY
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 00”
can 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
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
Module ID 00h
[Factory Settings]
Module ID 12h
3. Setup
DAI12-4(USB)GY
15
Setup Flow
The following shows the basic flow for installing USB module.
Software Installation
Connect with USB module, and install following software if USB
driver has been installed.
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.
Connecting to a PC
-Installing USB driver
Setting Properties Using
Device Manager
-Setting device name
Software Installation
API-USBP(WDM)
Development Environment
Page 15
Page 17
Page 19
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.
/