Contec DIO-3232LX-USB User Manual

Contec DIO-3232LX-USB User Manual

Usb i/o unit x series digital i/o unit with opto-isolation for usb

Advertisement

Quick Links

PC-HELPER
USB I/O Unit X Series
Digital I/O Unit with Opto-Isolation for USB
DIO-3232LX-USB
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec DIO-3232LX-USB

  • Page 1 PC-HELPER USB I/O Unit X Series Digital I/O Unit with Opto-Isolation for USB DIO-3232LX-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 - Unit [DIO-3232LX-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 Connection with 5VDC Power Supply for Self-power ..............13 Connecting the Product........................14 Setting with the Found New Hardware Wizard ................16 Setting Properties Using Device Manager ..................17 Step 4 Checking Operations with the Diagnosis Program..............19 What is the Diagnosis Program? ....................19 DIO-3232LX-USB...
  • Page 5 Digital Filter............................38 Digital Filter Function Principle ....................38 Set Digital Filter Time........................38 Interrupt Control Function ........................39 Disabling/enabling Interrupts......................39 Selecting the Interrupt Edge......................39 Clearing the Interrupt Status and Interrupt Signal ................39 ABOUT HARDWARE Hardware specification ..........................41 Physical dimensions ..........................43 Block Diagram............................43 DIO-3232LX-USB...
  • Page 6: Before Using The Product

    Compatible to USB1.1/USB2.0 and capable to achieve high speed transfer at HighSpeed (480 Mbps). - USB HUB function This product has the USB hub function. Max. 4 DIO-3232LX-USB can be used in 1 USB port of PC. *1 When you use 4 or more DIO-3232LX-USB, you can do by connecting DIO-3232LX-USB to the another USB port of PC side.
  • Page 7 This product cannot be stacked up for installation. When you use the USB port included on the DIO-3232LX-USB, use 5VDC power supply for self-power. For more details on the connection with 5VDC power supply, refer to chapter2 - step3, “Connection with 5VDC Power Supply for Self-power”.
  • Page 8: 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 9: Accessories (Option)

    A PCB96WS optional cable is required separately. Optional PCB96P, PCB96PS or cable for 37Pin D-SUB is required separately. “Spring-up” type terminal is used to prevent terminal screws from falling off. Check the CONTEC’s Web site for more information on these options. DIO-3232LX-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. Limited One-Year Warranty CONTEC products are warranted by CONTEC CO., LTD.
  • Page 11: Safety Precautions

    When you use the USB port included on the DIO-3232LX-USB, use 5VDC power supply for self-power. Do not connect the device other than that of CONTEC’s USB to the USB port included on the DIO-3232LX-USB. Otherwise, this may cause a failure or malfunction.
  • Page 12 1. Before Using the 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 13: 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-3232LX-USB...
  • Page 14: 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-3232LX-USB...
  • Page 15: Step 1 Setting The Hardware

    [Type A connector] USB port [mini B connector] +5VDC input terminal Interface connector POWER Status Interface USB TypeA connector (CN1) For PC The above figure has installed the USB cable attachment. Figure 2.1. Name of each parts (Front side) DIO-3232LX-USB...
  • Page 16: 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-3232LX-USB...
  • Page 17: 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 “Continue” Button. Please perform installation following the directions on the screen. And thus the installation is completed. The screen design may be different. DIO-3232LX-USB...
  • Page 18: Step 3 Installing The Hardware

    MC1,5/-ST-3,5. CAUTION Connect 5VDC power supply to the main unit. Next, connect the USB cable to the PC. Do not turn it on or off when using. If you remove, USB cable is first and then 5VDC power supply. DIO-3232LX-USB...
  • Page 19: Connecting The Product

    The USB cable attachment cannot be used excluding an attached cable. When the USB cable attachment is being used, do not perform removing and connecting the USB cable on the unit side repeatedly. This may damage the USB cable attachment or yourself. DIO-3232LX-USB...
  • Page 20: Clamps For Prevention Of Cable On The Main Unit's Side

    (4) When connecting the USB cable through the USB hub of this product, it can be made easily not to come off by using clamps for prevention of cable on the main unit's side (Appended goods). Figure 2.6. Usage of clamps for prevention of cable on the main unit's side DIO-3232LX-USB...
  • Page 21: Setting With The Found New Hardware Wizard

    Detect setup information from supplied CD automatically for installing USB driver. * The name of the connected product will be displayed. DIO-3232LX-USB Point Please specify the path for supplied CD as follows in the case of failure in detecting automatically.
  • Page 22: 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-3232LX-USB In the case of Windows 98/Me Right-click on [My Computer] and select [Properties] to start device manager. DIO-3232LX-USB...
  • Page 23 (Default name also can be used.) * The name of the connected product will be displayed. DIO-3232LX-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 24: 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-3232LX-USB DIO-3232LX-USB...
  • Page 25 “Input Port” : Displays input values bit by bit at fixed time intervals. “Output Port” : Mouse operation allows the data to output or display. * The name of the connected product will be displayed. DIO-3232LX-USB Input port : 32Bit Output port : 32Bit will be displayed.
  • Page 26 CAUTION Before executing diagnosis report output, unplug the cable from the product. * The name of the connected product will be displayed. DIO-3232LX-USB Input port : 32Bit Output port : 32Bit will be displayed. Click on [Show Diagnosis Report].
  • Page 27 2. Setup DIO-3232LX-USB...
  • Page 28: External Connection

    [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] - Compatible connectors PCR-E96FA+ equivalence to it Interface connector (CN1) [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector Shape DIO-3232LX-USB...
  • Page 29: Connector Pin Assignment

    I-00 ON 4/5 Common minus pin for N.C. N.C. +4/+5 output ports ON 4/5 N.C. * I-00 - I-37 can be used as interrupt input signal. * [ ] shows pin numbers specified by HONDA TSUSHIN KOGYO CO., LTD. DIO-3232LX-USB...
  • Page 30 Connect the negative side of the external power supply. These pins are common to 16 pins of output sign O-60 - 0-67, O-70 - O-77. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) DIO-3232LX-USB...
  • Page 31 IP 2/3 IP 0/1 +6/+7 OP 6/7 OP 4/5 +4/+5 +2/+3 input +0/+1 input output output ports ports ports ports N.C. N.C. Figure 3.3. PCB96WS Signal Assignments DIO-3232LX-USB...
  • Page 32 Common plus Common plus pin for +0/+1 IP 0/1 IP 2/3 pin for +2/+3 pin for +4/+5 OP 4/5 OP 6/7 pin for +6/+7 input ports input ports output ports output ports N.C. N.C. Figure 3.4. CCB-96 Signal Assignments DIO-3232LX-USB...
  • Page 33: Relationships Between Logical Ports/Bits And Connector Signal Pins

    Notes : I-xx represents the input signal. O-xx represents the output signal. [xx] represents the logical bit. CAUTION The logical port and logical bit numbers are virtual port and bit numbers that enable programming independent of unit I/O addresses or unit types. DIO-3232LX-USB...
  • Page 34: Connecting Input Signals

    I-00 (CN1 : A03pin) 12 - 24VDC Switch When the switch is ON, the corresponding bit contains 1. When the switch is OFF, by contrast, the bit contains 0. Figure 3.6. An Example to use Input I-00 DIO-3232LX-USB...
  • Page 35: Connecting Output Signals

    If this is the case, turn of the power to the PC and the external power supply and wait for a few minutes, then turn them on back. CAUTION When the PC is turned on, all output are reset to OFF. DIO-3232LX-USB...
  • Page 36: Connection To The Led

    Figure 3.8. An Example to use Output O-20 Example of Connection to TTL Level Input External power supply 12 - 24VDC Input unit Output plus common 2k Ω Output TTL level input Output minus common Figure 3.9. Connection Example of Output and TTL level Input Signal DIO-3232LX-USB...
  • Page 37: Connecting The Sink Type Output And Sink Output Support Input

    12 - 24VDC Input unit Output unit Input plus common Output plus common Output (sink type) Input (Compatible with sink output) Output minus common Figure 3.10. Example of Connecting the Sink Type Output and Sink Output Support Input DIO-3232LX-USB...
  • Page 38: 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(WDM) Help] from [Start] menu. The information for application development, such as function reference is provided in [API-USBP(WDM) Help].
  • Page 39: 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. Created application (including driver) can be freely distributed.
  • Page 40: Returning To Initial State

    DIO-3232LX-USB (2) Drawing USB cable from a PC USB port (3) Uninstalling Driver Select [CONTEC API-DIO(WDM) driver] from [My Computer]-[Control Panel]-[Add/Remove Programs]. (4) Restarting *1 If 5VDC power supply is used, unplug it too. (It may not be normally initialized in the state of 5VDC power supply connection.)
  • Page 41 4. Application Development DIO-3232LX-USB...
  • Page 42: Function

    When “0” is output to the relevant bit, in contrast, the corresponding transistor is set to “OFF”. CAUTION When the PC is turned on, all output are reset to 0 (OFF). Monitoring Output Data This product can read the state of the data currently being output without affecting the output data. DIO-3232LX-USB...
  • Page 43: Digital Filter

    If you set the digital filter time, the filter applies to all input pins. You cannot apply the filter only to a specific filter. Do not set Setting Data to a value outside the above range as doing so can cause this product to malfunction. DIO-3232LX-USB...
  • Page 44: Interrupt Control Function

    All of the interrupt status bits are set to 0 when the power is turned on. If an interrupt mask bit has been set to disable interrupts, the interrupt status bit is not set even when the input signal changes its level. DIO-3232LX-USB...
  • Page 45 5. Function DIO-3232LX-USB...
  • Page 46: About Hardware

    This depends on the PC environment used (OS and USB host controller). Use 5VDC power supply for sefl-power when you use the USB hub function. As a USB hub is also counted as one device, you cannot just connect 127 USB unit. DIO-3232LX-USB...
  • Page 47 6. About Hardware External circuit power supply is required separately. To suppress the heating, ensure that there are spaces for ventilation (about 5cm) around this product. When using the attached AC adaptor POA200-20-2, it is 0 - 40 ℃ DIO-3232LX-USB...
  • Page 48: Physical Dimensions

    6. About Hardware Physical dimensions Figure 6.1. Physical dimensions Block Diagram Digital Output Opto-coupler & Transistors Controll & Digital Input Opto- coupler Isolated line Figure 6.2. Block Diagram DIO-3232LX-USB...
  • Page 49 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. [05232012] [01272009] Management No. A-51-644 [05232012_rev4] Parts No.

Table of Contents