Contec DAI16-4(USB) User Manual

Isolated high-resolute analog output module for usb2.0

Advertisement

Quick Links

PC-HELPER
Isolated High-Resolute Analog Output Module
for USB2.0
DAI16-4(USB)
User's Guide
CONTEC CO., LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DAI16-4(USB) and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DAI16-4(USB)

  • Page 1 PC-HELPER Isolated High-Resolute Analog Output Module for USB2.0 DAI16-4(USB) User’s Guide CONTEC CO., LTD.
  • Page 2 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...
  • Page 3 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.
  • Page 4: Table Of Contents

    of Contents Table Check Your Package ........................... i INTRODUCTION 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.
  • Page 5 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.
  • Page 6 APPENDIX 8.1. Glossary .............................. 55 DAI16-4(USB)
  • Page 7 DAI16-4(USB)
  • Page 8: Introduction

    1. Introduction 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.
  • Page 9: Support Software

    : 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 CONTEC’s Web site for more information on these options. DAI16-4(USB)
  • Page 10: Customer Support

    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.
  • Page 11: How To Obtain Service

    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.
  • Page 12: Handling Precautions

    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 CONTEC’s product loan service to confirm operation before purchasing.
  • Page 13 1. Introduction 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.
  • Page 14 1. Introduction FCC PART 15Class A Notice NOTE This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in commercial environment.
  • Page 15: Environment

    1. Introduction 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...
  • Page 16: Module Nomenclature

    2. Module Nomenclature 2. Module Nomenclature Figures 2.1 shows the names of module components. In the figures, the indicated switch settings represent factory settings. LINK status LED +5VDC input Range Setting Switches Module ID Analog output CH0 - CH3 USB port Figure 2.1.
  • Page 17 2. Module Nomenclature DAI16-4(USB)
  • Page 18: Setup

    3. Setup 3. Setup 3.1. Connection-Overall Diagram This is connection-overall diagram. Please reference to this page for actual. Connecting to an External Device Connecting to a PC (Page 20) (Page 16) Software Installation (Page 13) Connecting with Mounting on a Expansion Accessories DIN Rail (Page 45)
  • Page 19: Range Setting Switches

    3. Setup 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.
  • Page 20: Setup Flow

    3. Setup 3.4. Setup Flow The following shows the basic flow for installing USB module. Software Installation Connecting to a PC Setting Properties Using -API-USBP(WDM) -Installing USB driver Device Manager Development -Setting device name Environment Page 13 Page 15 Page 17 3.5.
  • Page 21: Installation Of Api-Usbp(Wdm) Development Environment

    3. Setup 3.5.2. Installation of API-USBP(WDM) Development Environment Installation of development environment is namely installing supplied online help and sample program in all language in order to use API function. Step1 Clicking on “Install Development or Execution Environment ” [API-USBP(WDM) Installer] dialog box displays.
  • Page 22: Connecting To A Pc

    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 CONTEC’s product loan service to confirm operation before purchasing.
  • Page 23 3. Setup Step3 Starting “Found New Hardware Wizard” Start “Found New Hardware Wizard”, then select “Install from a list or specific location[Advanced]” item and finally click on “Next” button. In Windows Vista, Because the driver's installation is completed by "Installing the Software",it is not necessary to operate it about the Hardware Wizard.
  • Page 24: Setting Properties Using Device Manager

    [Right-click on [My Computer] and select [Properties] to start device manager. The model number of the USB module appears under CONTEC Devices [XXXXX]. In the case of Windows XP/2000 From [Start] menu, click on [Settings]-[Control Panel]-[System] and then click on [Device Manager] button in [Hardware] tab.
  • Page 25 3. Setup Step2 Setting the Device Name Right-clicking on USB module name and selecting [Properties] displays [USB Module Properties]. Open [Common Settings] tab and enter arbitrary name in the editing box for device name. (Default name also can be used.) CAUTION USB driver can not be used without settings.
  • Page 26: Connecting To An External Device

    3. Setup 3.8. Connecting to an External Device 3.8.1. Signal Layout The Module can be connected to an external device using a 12-pin (1 group) connector that is provided on the Module face. Flange CH0 [V] Analog Output [Voltage output] 0 CH0 [C] Analog Output [Current output] 0 Analog Ground...
  • Page 27 3. Setup Input the voltage output to the external device. Set the range setting switch and software setting to voltage output. Voltage output Figure 3.7. Voltage Output Setting The figure below shows an example of connecting to a digital multimeter using flat cable. Digital multimeter Signal(Plus) Signal(Minus)
  • Page 28 3. Setup Control external devices using current loop Set the range setting switch and software setting to current output. Current output Figure 3.8. Current Output Setting The two types of load able to be controlled using current loop are fixed load and floating load. If using a floating load, multiple current loops can be implemented using a common power supply.
  • Page 29: Fitting The Shield Cover

    3. Setup 3.8.3. Fitting the Shield Cover CAUTION Damage to internal devices may occur if the terminals on the interface connector are subject to excessive static electricity. Please fit the supplied shield cover to the connector if there is a risk of excessive static electricity.
  • Page 30: Sampling

    3. Setup 3.9. Sampling 3.9.1. Output Range and Conversion Data On DAI16-4(USB), the range of output can be selected from both ±1 0V and 0 – 20mA by using software. The analog signals are converted into digital signals with a 16-bit resolution based on the range setting.
  • Page 31: Settling Time

    3. Setup 3.9.2. Settling time D/A Conversion Timing The settling time for the DAI16-4(USB) is 10 µ sec for voltage conversion and 20 µ sec for current conversion. As the USB module performs inter-channel synchronization, the output data set for channels 0 to 3 are converted to analog signals simultaneously.
  • Page 32: Connecting An External Power Supply

    3. Setup 256K-word memory The module can buffer a maximum of 256K of D/A conversion data within the module. The data stored in the USB module via USB transfer is progressively converted from digital to analog in accordance with the timer setting. The share of memory is available, and the memory size per channel is up to 64k-word at multi-channel mode with 4 channels.
  • Page 33 3. Setup Table 3.1. Optional power supply Category Model Input Output External dimensions(mm) DIN rail POA200-20-2 90 - 264VAC 5.0VDC±5% 2.0A(Max.) 47.5(W) x 75(D) x 27.3(H) AC adapter (Bundled) (exclusive of protrusions) AC-DC power POW-AD13GY 85 - 132VAC 5.0VDC±5% 3.0A(Max.) 52.4(W)x64.7(D)x94.0(H) (exclusive of protrusions) AC-DC power...
  • Page 34 3. Setup When the USB module is not used, leave the AC adapter unplugged. Continuously using the AC adapter heated affects its life. Use the AC adapter not in a closed place but in a well-ventilated place not to be heated. The AC adapter heats up itself when loaded heavily.
  • Page 35: How To Install The Module

    3. Setup 3.11. How to install the module 3.11.1. Installation orientation Please use the module following orientation illustrated in the graph when the module is mounting on a DIN rail and being used on a desk. It should be noted that lateral slit of the module being covered brings about malfunction.
  • Page 36: Mounting With Magnets

    3. Setup 3.11.2. Mounting with magnets Two magnets are appended to this product. It is easy of attachment and removal of the module to metal sides, such as a desk, partition panel and so on. Initial adhesion strength of seal is high, but adhesion strength decreases an ability of peeling strength if once removing a magnet from the enclosure of USB module.
  • Page 37: Mounting On A Din Rail

    3. Setup 3.11.3. Mounting on a DIN Rail The following illustrates the installation with expansion module. Please reference to page 39 for expanding a module. Installation Method (1) Pushing the fixing hook with a flat-head screwdriver renders it into a lock-enabled condition (this should be done on all connected modules).
  • Page 38 3. Setup Removal method (1) Lower the fixing hook for the unit to unlock it (this operation should be performed on all connected modules). 35mm DIN rail Figure 3.19. Removing the Module from the DIN Rail < 1 / 3 > (2) With the fixing hook unlocked, pull the lower part of the unit toward you.
  • Page 39: Using Several Modules With The Same Model

    3. Setup 3.12. Using Several Modules with the same Model Each module should be assigned a unique Module ID in order to let USB driver recognize them when several modules of the same model are being used. Factory settings (=00) can be used when only one module is connected to one computer. Unnecessary to set Module ID Stand alone Expansion module being used...
  • Page 40: Application Development

    4. Application Development Please reference to online help and sample program when developing applications. 4.1. Reference to Online Help Click on [Programs]-[CONTEC API-USBP(WDM)]-[API-USBP(W32) Help] from [Start] menu. The information for application development, such as function reference is provided in [API- USBP(W32) Help].
  • Page 41: Sample Program

    4. Application Development 4.3. Sample Program Sample programs are copied in installation path. (The default path is Program Files\CONTEC~) Sample programs in all language are provided here. To run a sample program, click on [Programs]- [CONTEC API-USBP(WDM)]- [AIO]-[Sample Name] from [Start] menu.
  • Page 42: Troubleshooting

    5. Troubleshooting 5. Troubleshooting When encountering trouble or question, you should reference to this section first. For the usage of [API Function Library], please reference to online help or the sample program. If you cannot find any piece of applicable information here or taking a suggested action does not solve the problem, contact your retailer.
  • Page 43: Q&A

    Run diagnostic program and [Diagnosis ...] to get the version of the driver. How to upgrade USB driver to latest edition? You can download it from following homepage when there is latest edition. http://www.contec.com/download How to start the device manager? Windows 2000/XP: Start Start->Settings->Control Panel->System.Select Hardware and click on Device Manager.
  • Page 44 5. Troubleshooting Question Answer Does it feature suspend/resume function? No. Please set power management for a PC in order to avoid suspension in operation. How can I use channels more than available Up to three expansion modules can be connected (including the USB with an expansion module? module).
  • Page 45: Diagnostic Program

    5. Troubleshooting 5.3. Diagnostic Program Running diagnostic program may identify that if abnormality exists in hardware or software. Run diagnostic program, open Properties for USB module of device manager and then click on [Diagnosis] button in [Common Settings] tab. Using Diagnostic program, you can not only verify the status of current output but also perform further...
  • Page 46: Version Upgrade

    Step3 Connecting USB Module with USB Port Please connect USB port after AC adapter has been connected when using self power. Step4 Starting Firmware Upgrade Tools Click on [Programs]-[ CONTEC API- USBP(WDM)]-[Firmware upgrade tool] from [Start] menu. Step5 Specifying Upgrade File Clicking on [Browse] button specifies the file which has been downloaded.
  • Page 47: Driver Upgrade

    [Device Manager] tab. (You can also open Device Manager by right clicking on My Computer and selecting Properties.) 2. All of the hardware that uses the API-TOOL(WDM) driver is registered under the CONTEC Devices tree. Open the device tree, select the hardware to uninstall, and then right-click the hardware.
  • Page 48 <Uninstall of device driver> Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the device driver. Select [Windows driver package - CONTEC (****)] and then click [Change/Remove]. * "***" contains the driver category name (caio, ccnt, cdio, csmc, etc.).
  • Page 49 <Uninstall of development environment> Use [My Computer] - [Control Panel] - [Add and Remove Programs] to uninstall the development environment. Select [CONTEC API-***(WDM) VerX.XX (development environment)] and then click [Change/Remove]. * "***" contains the driver category name (AIO, CNT, DIO, etc.).
  • Page 50 5. Troubleshooting Step2 Drawing USB cable from a PC USB port Step3 Restarting DAI16-4(USB)
  • Page 51 5. Troubleshooting DAI16-4(USB)
  • Page 52: Connecting With Expansion Accessories

    6. Connecting with Expansion Accessories 6. Connecting with Expansion Accessories When lacking of analog output channel used to connecting external device, you have to purchase a new same module, and thus it not only increases cost but also doubles installation space. At the same time, adding channels is considered when designing this module, and additional module can be connected by the connector on module side, so that not only the cost but also the installation space are controlled.
  • Page 53: Setting A Device Id

    6. Connecting with Expansion Accessories 6.1. Setting a Device ID Set Device ID by rotary switch on the front when adding modules. The ID for the first module being added must be 1 and values 2 and 3 are for the following two modules respectively.
  • Page 54: Connection Between Modules

    6. Connecting with Expansion Accessories 6.2. Connection between Modules 6.2.1. Stack Connection Locking Devices The module contains connecting locking devices ( mark, two units at the top and bottom). Locking device Stacking hook Figure 6.3. Stack Connection Locking Devices 6.2.2. How the Stack Connection Locking Device Works Locking Unlocking Push the pawl of the locking device with a tool...
  • Page 55: Connecting The Module

    6. Connecting with Expansion Accessories 6.2.3. Connecting the Module Inserting the stack hook by aligning it with the hook insertion inlet for the other device automatically locks the module. (If a stack connector protective cover is attached, the connection operation should be performed after the cover is removed.) Figure 6.5.
  • Page 56: Product Specification

    7. Product Specification 7. Product Specification 7.1. Hardware Specification Table 7.1 lists the hardware specification of DAI16-4(USB). Table 7.1. Hardware Specification<DAI16-4(USB)> Item Specification Analog output Output format Bus-isolated voltage/current output Voltage: Bipolar ±10V (output current ±5mA) Output range Current: 0 - 20mA Output impedance Voltage range: 10 Ω...
  • Page 57 7. Product Specification Converting speed of D/A converter. The minimum executable outputting period is depending on internal processing time and is about 200µsec (using one channel) to 1msec (using 16 channels). (Measured values: The period may be longer due to factors such as the load on the USB link.) It takes the unit of 1000µsec (1000µsec, 2000µsec, 3000µsec, ...) when expansion module (DAI16-4(FIT)GY) being used.
  • Page 58: Software Specification

    7. Product Specification 7.2. Software Specification Table 7.3. Windows Driver Specification Item Specification <64 bit OS> Support OS Microsoft Windows 7 x64 Edition Microsoft Windows Server 2008 x64 Edition Microsoft Windows Vista x64 Edition Microsoft Windows Server 2003 x64 Edition Microsoft Windows XP Professional x64 Edition <32 bit OS>...
  • Page 59: Circuit Block Diagram

    7. Product Specification 7.3. Circuit Block Diagram +5V D+ D- GND USB Connector Flash Module ID DRAM (2MB) (512KB) Micro USB Connector Processor Device ID Isolator Control Circuit Reference Voltage-Current DC/DC D/A Converter Conversion Converter Interface Connector CH0 to CH3 Figure 7.1.
  • Page 60: Timing Chart

    7. Product Specification 7.4. Timing Chart Sampling timer ID=0 ID=1 ID=2 Conversion start D/A converting ID=0 0 to 3ch (Module) D/A converting ID=1 0 to 3ch (Module) D/A converting ID=2 0 to 3ch (Module) Figure 7.2. Timing Chart Setting 1000µ sec Sampling timer value: Modules used: DAI16-4(USB)
  • Page 61: Physical Dimensions

    7. Product Specification 7.5. Physical Dimensions (1.2) (1.2) 50.4 64.7 [mm] * Center position of , DIN rail peel ( ) is an auxiliary dimension. Figure 7.3. Physical Dimensions of the USB module Figure 7.4. Physical dimensions of attached AC adapter (POA200-20-2) DAI16-4(USB)
  • Page 62 8. Appendix 8. Appendix 8.1. Glossary The glossary contains a brief description of terms used in this manual. Terms Explanation It is abbreviation for Application Program Interface. [Application Program Interface] It is the open program interface for OS corresponding to applications, and all application processing are basically performed through the API.
  • Page 63 8. Appendix Terms Explanation Firmware It is the software incorporated into an equipment to perform basic control on hardware. Properties Select USB Modules from Device Manager, right-click and select [Properties] dialog box from pop-up menu to set the device name. Module ID About the ID of the USB module.
  • Page 65 CONTEC CO., LTD. December 2017 Edition 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan https://www.contec.com/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [12152017] [03232005] Management No. NA05914 [12152017_rev12] Parts No.

Table of Contents