Contec DIO-24DY-USB User Manual

Bi-directional digital i/o terminal for usb2.0

Advertisement

Quick Links

PC-HELPER
Bi-Directional Digital I/O
Terminal for USB2.0
DIO-24DY-USB
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec DIO-24DY-USB

  • Page 1 PC-HELPER Bi-Directional Digital I/O Terminal for USB2.0 DIO-24DY-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 terminal [DIO-24DY-USB]…1...
  • Page 3 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.
  • Page 4 Connecting the Product ......................11 Setting with the Add New Hardware Wizard................12 Setting Properties Using Device Manager ................13 Step 4 Checking Operations with the Diagnosis Program............... 15 What is the Diagnosis Program? ....................15 Using the Diagnosis Program....................15 DIO-24DY-USB...
  • Page 5 Reference to Online Help ......................... 23 Printing Function Reference......................23 Sample Program..........................24 Distributing Developed Application ....................24 Returning to Initial State ........................25 FUNCTIONS I/O Function............................29 ABOUT HARDWARE Hardware specification ........................31 Physical dimensions ......................... 32 Block Diagram..........................32 DIO-24DY-USB...
  • Page 6: Before Using The Product

    In addition, a diagnostic program by which the operations of hardware can be checked is provided. - LabVIEW is supported by a plug-in of dedicated library VI-DAQ. Using the dedicated library VI-DAQ makes it possible to create each application for LabVIEW. DIO-24DY-USB...
  • Page 7: Support Software

    1. Before Using the Product Support Software You should use CONTEC support software according to your purpose and development environment. Windows version of digital I/O driver API-DIO(WDM) [Stored on the bundled CD-ROM driver library API-USBP(WDM)] It is the library software, and which supplies command of hardware produced by our company in the form of standard Win32 API function (DLL).
  • Page 8: 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. Limited One-Year Warranty CONTEC products are warranted by CONTEC CO., LTD.
  • Page 9: Safety Precautions

    Even when using the product continuously, be sure to read the manual and understand the contents. Do not modify the product. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this product. Regardless of the foregoing statements, CONTEC is not liable for any damages whatsoever (including damages for loss of business profits) arising out of the use or inability to use this CONTEC product or the information contained herein.
  • Page 10 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 11: Environment

    (3) Store the package at room temperature at a place free from direct sunlight, moisture, shock, vibration, magnetism, and static electricity. Disposal When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances. DIO-24DY-USB...
  • Page 12: Setup

    Step 1 Setting the Hardware Step 2 Installing the Software Step 3 Installing the Hardware Step 4 Checking Operations with the Diagnosis Program Uninstall the driver and then set it up again if it cannot be set up properly. DIO-24DY-USB...
  • Page 13: Step 1 Setting The Hardware

    Table 2.1. List of Status LED Functions Name Function Indicator color LED indicator ON : Communication established USB communication status OFF : Communication unestablished LINK Status GREEN ON : PC communication established PC connection status OFF : PC communication unestablished DIO-24DY-USB...
  • Page 14: Step 2 Initializing The Software

    *Cannot be used for this product. 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. DIO-24DY-USB...
  • Page 15: Installation Of Api-Usbp(Wdm) Development Environment

    (1) Clicking on “Install Development or Execution Environment”. [API-USBP(WDM) Installer] dialog box displays. (2) Selecting “Advanced Digital I/O driver”. (3) Clicking on “Install” Button. Please perform installation following the directions on the screen. And thus the installation is completed. The screen design may be different. DIO-24DY-USB...
  • Page 16: Step 3 Installing The Hardware

    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 17: Setting With The Add New Hardware Wizard

    Detect setup information from supplied CD automatically for installing USB driver. * The name of the connected product will be displayed. - DIO-24DY-USB Point Please specify the path for supplied CD as follows in the case of failure in detecting automatically.
  • Page 18: Setting Properties Using Device Manager

    From [Start] menu, click on [Settings]-[Control Panel]-[System] and then click on [Device Manager] button in [Hardware] tab. * The name of the connected product will be displayed. - DIO-24DY-USB In the case of Windows 98 Right-click on [My Computer] and select [Properties] to start device manager. DIO-24DY-USB...
  • Page 19 * The name of the connected product will be displayed. - DIO-24DY-USB * The product-specific number will be displayed as the serial number. CAUTION USB driver can not be used without settings. Settings must be performed.
  • Page 20: Step 4 Checking Operations With The Diagnosis Program

    Using the “Diagnosis Report” feature reports the driver settings, the presence or absence of the product, I/O status, and interrupt status. Using the Diagnosis Program Starting the Diagnosis Program Click [Diagnosis] on the Properties page to start the diagnosis program. * The name of the connected product will be displayed. - DIO-24DY-USB DIO-24DY-USB...
  • Page 21 * The name of the connected product will be displayed. - DIO-24DY-USB To use the function execution time measurement feature, click on the [Measurement Time] button. Enter the I/O start port and the number of ports, then press the measurement button. The time for each execution of a function will be measured.
  • Page 22 CAUTION Before executing diagnosis report output, unplug the cable from the Product. * The name of the connected product will be displayed. - DIO-24DY-USB Click on [Show Diagnosis Report]. (2) A diagnosis report is displayed as shown below. * The name of the connected product will be displayed.
  • Page 23 2. Setup DIO-24DY-USB...
  • Page 24: External Connection

    Using the On-terminal Connectors Connecting a terminal to a Connector To connect an external device to this terminal, plug the cable from the device into the interface connector (CN1, CN2) shown below. Figure 3.1. Interface Connectors and Mating Connectors DIO-24DY-USB...
  • Page 25: Connector Pin Assignment

    Note : PAx, PBx, PCx represents an I/O signal of CN1 [xx] represents a logical bits CAUTION The logical port and logical bit numbers are virtual port and bit numbers that enable programming independent of board I/O addresses or board types. DIO-24DY-USB...
  • Page 26: Cable Connection

    Compatible wires are AWG 28 - 16. CAUTION Removing the connector plug by grasping the cable can break the wire. 9 - 10mm - Applicable plug(accessory bundled) 14 pin (Screw Terminal) Plug header Figure 3.4. Connecting an Interface Connector and Connectors That Can Be Used DIO-24DY-USB...
  • Page 27: Connecting I/O Signals

    I/O signals are LVTTL-level active high signals. When the external input signal is LVTTL level, the Low level represents logic 0 and the High level represents logic 1. When the program outputs 0 and 1, the product outputs the Low and High level signals, respectively. DIO-24DY-USB...
  • Page 28: Application Development

    4. Application Development Please reference to online help and sample program when developing applications. 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 29: Sample Program

    4. Application Development Sample Program To run a sample program, click on [Programs] - [CONTEC API-USBP(WDM)] - [DIO] - [Sample Name] from [Start] menu. Distributing Developed Application Please distribute the developed application with USB driver in supplied CD-ROM. DIO-24DY-USB...
  • Page 30: Returning To Initial State

    [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 31 <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 32 <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 [Add/Remove]. * "***" contains the driver category name (AIO, CNT, DIO, etc.).
  • Page 33 4. Application Development DIO-24DY-USB...
  • Page 34: Functions

    This section describes the functions of the product. I/O Function The product can input/output a total of 24 channels of LVTTL-level active-high digital signals. There are three sets (8-bit) of I/O ports, which can be controlled by a program to input/output data. DIO-24DY-USB...
  • Page 35 5. Functions DIO-24DY-USB...
  • Page 36: About Hardware

    AWG28 - 16 Actual throughput is hundreds of μ seconds (This depends on the host PC environment used (OS and USB host controller).) As a USB hub is also counted as one device, you cannot just connect 127 USB terminals. DIO-24DY-USB...
  • Page 37: Physical Dimensions

    6. About Hardware Physical dimensions [mm] Figure 6.1. Physical dimensions Block Diagram Digital Output Protection LVTTL Controll resistance Digital Driver & Input Switching input and output Figure 6.2. Block Diagram DIO-24DY-USB...
  • Page 38 3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-0025, Japan Japanese http://www.contec.co.jp/ English http://www.contec.com/ Chinese http://www.contec.com.cn/ No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. [02052010] [03102006] Management No. A-51-219 [02052010_rev9] Parts No.

Table of Contents