Contec DIO-48D2-PCI User Manual

Contec DIO-48D2-PCI User Manual

Bi-directional digital i/o board for pci
Table of Contents

Advertisement

Quick Links

Contec DIO-48D2-PCI User Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIO-48D2-PCI and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DIO-48D2-PCI

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 PC-HELPER Bi-Directional Digital I/O Board for PCI DIO-48D2-PCI User’s Guide CONTEC CO.,LTD. Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 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 - Board [DIO-48D2-PCI] …1...
  • Page 4: Copyright

    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 5: Table Of Contents

    Parts of the Board and Factory Defaults ..................16 Setting the Board ID ........................17 Plugging the Board ........................18 Step 3 Installing the Hardware ......................19 DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 6 Selecting the edge of input signals, at which to generate an interrupt .........45 Clearing the Interrupt Status and Interrupt Signal ................45 ABOUT SOFTWARE CD-ROM Directory Structure.......................47 About Software for Windows .......................48 Accessing the Help File........................48 DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 7 Uninstalling the driver ........................52 ABOUT HARDWARE For detailed technical information......................53 Hardware specification ......................... 54 Block Diagram ............................55 Differences between DIO-48D2-PCI and PIO-48D(PCI)..............56 DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 8 DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 9: Before Using The Product

    PIO-48D(PCI), it is easy to migrate from the existing system. 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-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 10: Support Software

    Visual Basic, Visual C++, Visual C#, Delphi, C++ Builder You can download the updated version from the CONTEC’s Web site (http://www.contec.com/apipac/). For more details on the supported OS, applicable language and new information, please visit the CONTEC’s Web site. Linux version of digital I/O driver API-DIO(LNX)
  • Page 11: Cable & Connector (Option)

    *1 PCB96P-1.5, PCB96PS-0.5 or PCB96PS-1.5 optional cable is required separately. *2 “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-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 12: 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 Three-Years Warranty CONTEC products are warranted by CONTEC CO., LTD.
  • Page 13: Safety Precautions

    CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 14: Handling Precautions

    Even when using the product continuously, be sure to read the user’s guide 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 15: 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-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 16 1. Before Using the Product DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 17: Setup

    This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 18: Using The Board Under An Os Other Than Windows

    For using the board under an OS such as MS-DOS other than Windows, see the following parts of this user’s guide. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 19: Step 1 Installing The Software

    Use API-DIO(98/PC) if your operating environment contains such an unsupported piece of software or hardware. Check the following selection guide to easily select the driver to be used. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 20: Starting The Install Program

    When using the Windows 7, Vista, driver is automatically installed. CAUTION Before installing the software in Windows 7, Vista, XP, Server 2003 and 2000, log in as a user with administrator privileges. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 21: When Using Api-Dio(Wdm)

    Clicking the [API-DIO] button displays detailed information about API-DIO(WDM) and API-DIO(98/PC). Run the installation (1) Complete the installation by following the instructions on the screen. (2) The Readme file appears when the installation is complete. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 22: When Using Api-Dio(98/Pc)

    (1) The following dialog box appears to select “Driver to install” and “Install option”, “Usage of driver library”. (2) Select “Classic Digital I/O driver”. (3) Click on the [Install] button. Clicking on the [API-DIO] button displays detailed information on API-DIO(WDM), API-DIO(98/PC). DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 23 * When the hardware has already been installed: Check “Perform a hardware setup now (API-TOOL Configuration)”, then go to Step 4 “Initializing the Software”. You have now finished installing the software. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 24: Step 2 Setting The Hardware

    The board can be set up even with the factory defaults untouched. You can change board settings later. Parts of the Board and Factory Defaults Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. DIO-48D2-PCI BOARD ID Board ID setting switch (SW1)
  • Page 25: Setting The Board Id

    (Board ID = 0) Figure 2.2. Board ID Settings (SW1) CAUTION The PC detects the DIO-48D2-PCI and PIO-48D(PCI) boards as the same board. If using both boards on the same PC, set different board IDs on each board. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 26: Plugging The Board

    Make sure that your PC or expansion unit can supply ample power to all the boards installed. Insufficiently energized boards could malfunction, overheat, or cause a failure. Power supply from the PCI bus slot at +5V is required. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 27: Step 3 Installing The Hardware

    In this case, you must check the resource settings. When Using API-DIO(WDM) (1) The “Found New Hardware Wizard” will be started. Select “No, not this time” and then click the “Next” button. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 28 The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows 7 [64, 32bit], Vista [64, 32bit], XP [64, 32bit], Server 2003 [64, 32bit], 2000 \INF\Wdm\Dio \INF\Wdm\Dio DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 29 2. Setup * The name of the board you have just added is displayed. - DIO-48D2-PCI You have now finished installing the hardware. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 30: When Using Api-Dio(98/Pc)

    Select “No, not this time” and then click the “Next” button. (2) Select “Install from a list or specific location [Advanced]” and then click the “Next” button. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 31 * The name of the board you have just added is displayed. - DIO-48D2-PCI Source folder The setup information (INF) file is contained in the following folder on the bundled CD-ROM. Windows 7 [32bit], Vista [32bit], XP [32bit], Server 2003 [32bit], 2000...
  • Page 32 In this case, click on the [Continue Anyway] button. * The name of the board you have just added is displayed. - DIO-48D2-PCI You have now finished installing the hardware. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 33: Step 4 Initializing The Software

    - DIO-48D2-PCI (2) The installed hardware appears under the CONTEC Devices node. Open the CONTEC Devices node and select the device you want to setup (the device name should appear highlighted). Click [Properties]. DIO-48D2-PCI...
  • Page 34 The initial device name that appears is a default value. You can use this default name if you wish. Make sure that you do not use the same name for more than one device. You have now finished installing the initial setting of Software. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 35: When Using Api-Dio(98/Pc)

    2. Setup When Using API-DIO(98/PC) (1) Open the Start Menu, then select “Programs” – “CONTEC API-PAC(W32)” – “API-TOOL Configuration”. (2) API-TOOL Configuration detects boards automatically. The detected boards are listed. Updating the Settings (1) Select “Save setting to registry…” from the “File” menu.
  • Page 36: Step 5 Checking Operations With The Diagnosis Program

    Connect the board to a remote device to text the input/output and check the execution environment. Set the board in the default factory. To connect the external device, see Chapter 3 “External Connection”. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 37: Using The Diagnosis Program

    Using the Diagnosis Program Starting the Diagnosis Program for Use of API-DIO(WDM) Click the [Diagnosis] button on the device property page to start the diagnosis program. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 38 * The name of the board you have just added is displayed. * The name of the board you have just added is displayed. - DIO-48D2-PCI DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 39 * The name of the board you have just added is displayed. - DIO-48D2-PCI To use the wait time control feature, click on the [Wait Configuration] button. Use the feature when the wait time based on the DioWait or DioWaitEx function is not normal.
  • Page 40 When it is API-DIO(WDM), file name to save the result is displayed. When it is API-DIO(98/PC), the result is saved to the folder in which to install (Program Files\CONTEC\API-PAC(W32)) by the text file (DioRep.txt) and then displayed. The Diagnosis Program performs “board presence/absence check”, “driver file test”, “board setting test”, and so on.
  • Page 41: Setup Troubleshooting

    API-TOOL Configuration. Turn off the PC again, plug the board, and restart the OS. Let the OS detect the board and use API-TOOL Configuration to register board settings. If your problem cannot be resolved Contact your retailer. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 42 2. Setup DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 43: External Connection

    For connecting CN2 or CN3 to a device outside the PC, use an adjacent expansion slot as required. The 96-pin connector (CN1) and 50-pin connectors (CN2 and CN3) are mutually exclusive. Use either of them at a time. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 44: Connector Pin Assignment

    * The numbers in square brackets [ ] are pin numbers designated by HONDA TSUSHIN KOGYO CO., LTD. Figure 3.2. Pin Assignments of Interface Connector (CN1) DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 45 2-PA5 1-PA4 2-PA4 1-A port 2-A port 1-PA3 2-PA3 1-PA2 2-PA2 1-PA1 2-PA1 1-PA0 2-PA0 +5VDC +5VDC Figure 3.3. Pin Assignments of Interface Connector (CN2, CN3) DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 46: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    [44] [43] [42] [41] [40] Note : 1-PAx, 1-PBx, 1-PCx, 2-PAx, 2-PBx, 3-PCx represents an I/O signal of CN1, CN2, CN3. [xx] represents a logical bits DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 47: Connecting I/O Signals

    3. External Connection Connecting I/O Signals The I/O circuits of interface blocks of the DIO-48D2-PCI are illustrated in Figure 3.4. Signals are TTL levels and positive logic. Each of the signal is pulled up. I/O Circuit External circuit Board 74ALS245 +5VDC output (*) 10k Ω...
  • Page 48: About The Protection Feature

    GND, the protection feature works and it may disable the board temporarily. In that case, turn the PC off, wait for a few minutes, then turn the PC back on. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 49: Function

    (upper 4 bits and lower 4 bits) for port C. CAUTION Each port is assigned as an input port when the power is turned on. Start set i8255 function input/output data Figure 4.1. I/O setup DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 50 OUTPUT INPUT INPUT OUTPUT INPUT OUTPUT INPUT OUTPUT INPUT INPUT INPUT INPUT OUTPUT OUTPUT INPUT INPUT OUTPUT INPUT INPUT INPUT INPUT OUTPUT INPUT INPUT INPUT INPUT DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 51: Data I/O

    When [0] is output to the corresponding bit, low level is output to the external part. When [1] is output to the corresponding bit, high level is output to the external part. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 52: Digital Filter Function

    4. Function Digital Filter Function Using this feature, The DIO-48D2-PCI can apply a digital filter to every input pin, thereby preventing wrong recognition of input signals from carrying noise or a chattering. Digital Filter Function Principle Input Signal Input to PC...
  • Page 53: Interrupt Control Function

    4. Function Interrupt Control Function The DIO-48D2-PCI can use all of the input signals as interrupt request signals. The board can generate an interrupt request signal to the PC when the input signal change from High to Low or from Low to High.
  • Page 54 4. Function DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 55: About Software

    Readme file for each driver | ––Release Driver file on each API-TOOL |––API_NT (For creation of a user-specific install program) |––API_W95 | ––UsersGuide Hardware User's Guide(PDF files) DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 56: About Software For Windows

    Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) For the API-DIO(WDM), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “DIOWDM” – “SAMPLE…”. (3) For the API-DIO(98/PC), from the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” –...
  • Page 57 -Sample program 11 Services interrupts of a specified board (using an extended function). -Sample program (Console) : Inputs/outputs digital data through a specified port. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 58: Uninstalling The Driver Libraries

    (1) Click on the [Start] button on the Windows taskbar. From the Start Menu, select “Control Panel”. (2) Double-click on “Add or Remove Programs” in the Control Panel. (3) For use of API-DIO(WDM), select “CONTEC API-DIO(WDM) driver” and “CONTEC API-DIO(WDM) VerX.XX (Develop)” from the application list displayed.
  • Page 59: About Software For Linux

    # mount /dev/cdrom /mnt/cdrom Mount the CD-ROM. # cp /mnt/cdrom/linux/dio/cdioXXX.tgz ./ Copy the compressed file. # tar xvfz cdioXXX.tgz Decompress the compressed file....# cd contec/cdio # make Compile the file....# make install Install....# cd config # ./config...
  • Page 60: Accessing The Help File

    Sample programs for each language are contained in the contec/cdio/samples directory. For compiling them, refer to the user’s guide for the desired language. Uninstalling the driver To uninstall the driver, use the uninstall shell script contained in the contec/cdio directory. For details, check the contents of the script. DIO-48D2-PCI...
  • Page 61: About Hardware

    This chapter provides hardware specifications and hardware-related supplementary information. For detailed technical information For further detailed technical information (“Technical Reference” including the information such as an I/O map, configuration register, etc.), visit the Contec's web site (http://www.contec.com/support/) to call for it. DIO-48D2-PCI...
  • Page 62: Hardware Specification

    Board Dimensions 176.41(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 63: Block Diagram

    (8 points) 2-B port transceiver (8 points) 2-C port (High) Interrupt (4 points) transceiver control 2-C port (Low) transceiver (4 points) DIO-48D2-PCI Figure 6.1. Block Diagram DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 64: Differences Between Dio-48D2-Pci And Pio-48D(Pci)

    6. About Hardware Differences between DIO-48D2-PCI and PIO-48D(PCI) The DIO-48D2-PCI is connector-pin compatible with the conventional PIO-48D(PCI) but has the following differences from it: PIO-48D(PCI) DIO-48D2-PCI Digital filter function None Have Selecting the Interrupt Edge None Have DIO-48D2-PCI Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 65 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. [7292011] [06082007] Management No. A-51-465 [07292011_rev3] Parts No. LYHM023...
  • Page 66 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

Table of Contents