Contec DI-64T2-PCI User Manual

Digital input/output boards for pci
Hide thumbs Also See for DI-64T2-PCI:
Table of Contents

Advertisement

Quick Links

PC-HELPER
Digital Input Board for PCI
DI-64T2-PCI
Digital Output Board for PCI
DO-64T2-PCI
User's Guide
CONTEC CO., LTD.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DI-64T2-PCI and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Contec DI-64T2-PCI

  • Page 1 PC-HELPER Digital Input Board for PCI DI-64T2-PCI Digital Output Board for PCI DO-64T2-PCI 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 - Board (One of the followings) [DI-64T2-PCI or DO-64T2-PCI] …1...
  • Page 3: 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 4: Table Of Contents

    Setting the Board ID .......................... 14 Plugging the Board ..........................15 Step 3 Installing the Hardware ......................... 16 Turning on the PC ..........................16 Found New Hardware Wizard Setting ....................17 Step 4 Initializing the Software ........................ 18 DI-64T2-PCI, DO-64T2-PCI...
  • Page 5 Using Sample Programs ........................40 Uninstalling the Driver Libraries ..................... 41 About Software for Linux ........................42 Driver Software Install Procedure ....................42 Accessing the Help File........................43 Using Sample Programs ........................43 Uninstalling the driver ........................43 DI-64T2-PCI, DO-64T2-PCI...
  • Page 6 ABOUT HARDWARE For detailed technical information ......................45 Hardware specifications..........................45 Block Diagram ............................47 DI-64T2-PCI, DO-64T2-PCI...
  • Page 7 DI-64T2-PCI, DO-64T2-PCI...
  • Page 8: Before Using The Product

    This product is a PCI board designed for inputting the digital signal or extending output function on your PC. DI-64T2-PCI is a type with unisolated 64 TTL level input channels. You can use 32channels of the input signals as interrupt inputs. Digital filter function to prevent wrong recognition of input signals is provided.
  • Page 9: 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)/API-DIO(98/PC) [ Stored on the bundled disk driver library API-PAC(W32)] The API-DIO(WDM) is the Windows version driver library software that provides products in the form of Win32 API functions (DLL).
  • Page 10: Cable & Connector (Option)

    *3 Option cable PCB96P or PCB96PS, and the cable for 37-pin D-SUB are required separately. *4 "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. DI-64T2-PCI, DO-64T2-PCI...
  • Page 11: 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 12: Safety Precautions

    WARNING indicates a potentially hazardous situation which, if not avoided, could WARNING result in death or serious injury. CAUTION indicates a potentially hazardous situation which, if not avoided, may CAUTION result in minor or moderate injury or in property damage. DI-64T2-PCI, DO-64T2-PCI...
  • Page 13: Handling 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 14: 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. DI-64T2-PCI, DO-64T2-PCI...
  • Page 15 1. Before Using the Product DI-64T2-PCI, DO-64T2-PCI...
  • Page 16: Setup

    Using the Board under an OS Other than Windows For using the board under an OS 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 DI-64T2-PCI, DO-64T2-PCI...
  • Page 17: Step 1 Installing The Software

    This section describes how to install the Driver libraries. Before installing the hardware in a PC, install "Driver Library API-PAC(W32)" from the bundled media or download and install the latest edition of this software from the CONTEC web site. Although some user interfaces are different depending on the OS used, the basic procedure is the same.
  • Page 18 (2) The API-PAC(W32) Installer window appears automatically. If the panel does not appear, run (drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows 2000 or later, log in as a user with administrator privileges. DI-64T2-PCI, DO-64T2-PCI...
  • Page 19: Select Api-Dio(Wdm)

    Clicking the [API-DIO] button under the “Detail” 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. DI-64T2-PCI, DO-64T2-PCI...
  • Page 20: Step 2 Setting The Hardware

    Figure 2.1. shows the names of major parts on the board. Note that the switch setting shown below is the factory default. - Interfac e connector DI/DO-xxT2-PCI BOARD ID (CN1) - Board ID setting switch (SW1) BOARD ID Figure 2.1. Component Locations DI-64T2-PCI, DO-64T2-PCI...
  • Page 21: Setting The Board Id

    To set the board ID, use the rotary switch on the board. Turn the SW1 knob to set the board ID as shown below. BOARD ID Factory setting: (Board ID = 0) Figure 2.2. Board ID Settings (SW1) DI-64T2-PCI, DO-64T2-PCI...
  • Page 22: 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. DI-64T2-PCI, DO-64T2-PCI...
  • Page 23: Step 3 Installing The Hardware

    If you remove two or more boards that have already been installed and then remount one of them on the computer, it is unknown that which one of the sets of resources previously assigned to the two boards is assigned to the remounted board. In this case, you must check the resource settings. DI-64T2-PCI, DO-64T2-PCI...
  • Page 24: Found New Hardware Wizard Setting

    (2) When the model name of hardware is displayed, select “Install the software automatically [Recommended]” and then click on the “Next” button. The device is automatically installed, and processing is completed. You have now finished installing the initial setting of Hardware. DI-64T2-PCI, DO-64T2-PCI...
  • Page 25: Step 4 Initializing The Software

    - DI-64T2-PCI “DIO000” - DO-64T2-PCI “DIO000” (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]. DI-64T2-PCI, DO-64T2-PCI...
  • Page 26 * The name of the board you have just added is displayed. - DI-64T2-PCI - DO-64T2-PCI 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.
  • Page 27: Step 5 Operation Checks

    Set the board in the default factory. To connect an external device, see Chapter 3 “External Connection”. Starting the Diagnosis Program Open the “Properties” page of the device that was used for the software initialization, and press the [Diagnosis] button. DI-64T2-PCI, DO-64T2-PCI...
  • Page 28 * The name of the board you have just added is displayed. - DI-64T2-PCI - DO-64T2-PCI 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 29 The Diagnosis Program performs “board presence/absence check”, “driver file test”, “board setting test”, and so on. CAUTION Before executing diagnosis report output, unplug the cable from the board. * The name of the board you have just added is displayed. - DI-64T2-PCI - DO-64T2-PCI Click on [Show Diagnosis Report]. DI-64T2-PCI, DO-64T2-PCI...
  • Page 30: Setup Troubleshooting

    (2) A diagnosis report is displayed as shown below. * The name of the board you have just added is displayed. - DI-64T2-PCI - DO-64T2-PCI Setup Troubleshooting Symptoms and Actions The board works with the Diagnosis Program but not with an application.
  • Page 31 2. Setup DI-64T2-PCI, DO-64T2-PCI...
  • Page 32: External Connection

    [mfd. by HONDA TSUSHIN KOGYO CO., LTD.] - Applicable connectors PCR-E96FA+equivalent to it [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 (CN1) Shape DI-64T2-PCI, DO-64T2-PCI...
  • Page 33: Connector Pin Assignment

    64 input signal pins. Connect output signals from the external device to these pins. Output +5V. Max. electrical current is 1A. This pin is connected to GND in the slot. N.C. This pin is left unconnected. Figure 3.2. Pin Assignments of Interface Connector (CN1) < DI-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 34 64 output signal pins. Connect these pins to the input signal pins of the external device. Output +5V. Max. electrical current is 1A. This pin is connected to GND in the slot. N.C. This pin is left unconnected. Figure 3.3. Pin Assignments of Interface Connector (CN1) < DO-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 35 Pin Assignments of PCB96WS or CCB-96 The figure below shows the correspondence between the option cable pins and signals. < Pin assignments for connecting a PCB-96WS or CCB-96 to the DI-64T2-PCI > - "Optional cable PCB96PS" - Optional cable PCB96WS + "Connector conversion board CCB-96"...
  • Page 36 (output) O-23 (output) O-43 (output) O-03 (output) O-62 O-22 O-42 O-02 O-61 O-21 O-41 O -01 O-60 O-20 Signal O-40 O-00 Signal Signal Signal common common common common Figure 3.5. PCB96WS or CCB-96 Signal Assignments < DO-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 37: Relationships Between Api-Pac(W32) Logical Ports/Bits And Connector Signal Pins

    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. For details, refer to HELP after installing API-PAC(W32). DI-64T2-PCI Table 3.1. Logical Ports, Logical Bits, and Connector Signal Pins < DI-64T2-PCI > I-07 I-06 I-05...
  • Page 38 [53] [52] [51] [50] [49] [48] O-77 O-76 O-75 O-74 O-73 O-72 O-71 O-70 Output logical port 7 [63] [62] [61] [60] [59] [58] [57] [56] Notes : O-xx represents an output signal. [xx] represents the logical bit. DI-64T2-PCI, DO-64T2-PCI...
  • Page 39: Connecting Input Signals

    Switch GND (CN1 : A01 pin) When the switch is ON, the corresponding bit contains 1. When the switch is OFF, by contrast, the bit contains 0. Figure 3.7. An Example to use Input I-00 < DI-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 40: Connecting Output Signals

    O-40 (CN1 : B03 pin) When "1" is output to a relevant bit, the corresponding LED comes on. When "0" is output to the bit, in contrast, the LED goes out. Figure 3.9. An Example to use Output O-40 < DO-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 41: Surge Protection

    Output pin Surge cu rrent Resistor prevention resistor Signal common Signal common Figure 3.10. Samples of Voltage Surge Protection CAUTION The protection circuit must be installed less than 50 cm from the load and contact to provide effective protection. DI-64T2-PCI, DO-64T2-PCI...
  • 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 The < DO-64T2-PCI > can read the state of the data currently being output without affecting the output data. DI-64T2-PCI, DO-64T2-PCI...
  • Page 43: Digital Filter Function

    4. Function Digital Filter Function Using this feature, the < DI-64T2-PCI > can apply a digital filter to every input pin, thereby preventing wrong recognition of input signals from being affected by noise or chattering. Digital Filter Function Principle The digital filter checks the input signal level during the sampling time of the clock signal. When the signal level remains the same for the digital filter set time, the digital filter recognizes that signal as the input signal and changes the signal level of the PC.
  • Page 44: Interrupt Control Function

    4. Function Interrupt Control Function The < DI-64T2-PCI > can use 32channels 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 45 4. Function DI-64T2-PCI, DO-64T2-PCI...
  • Page 46: About Software

    From the Start menu, click "CONTEC API-PAC(W32)" - "API-TOOL(WDM) HELP". When this link does not exist, From the Start menu, click "CONTEC API-PAC(W32)" - "API-DIO(WDM)" - "API-DIO(WDM) HELP". * For the API-DIO(98/PC) driver, From the Start menu, click "CONTEC API-PAC(W32)" - "API-DIO(98/PC)" - "API-DIO HELP". DI-64T2-PCI, DO-64T2-PCI...
  • Page 47: Using Sample Programs

    * When the installation folder is changed, the folder of the sample program is different. 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)” – “API-DIO(WDM)” – “SAMPLE…”. (3) A sample program is invoked.
  • Page 48: Uninstalling The Driver Libraries

    Use [My Computer] - [Control Panel] - [Programs and Features] to uninstall the development environment. In case of API-***(WDM), select [CONTEC API-***(WDM) VerX.XX (Develop)] and then click [Uninstall]. * "***" contains the driver category name (AIO, CNT, DIO, SMC, etc.).
  • Page 49: About Software For Linux

    # mount /dev/cdrom /mnt/cdrom Mount the bundled disk. # 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 50: Accessing The Help File

    Sample programs for each language are contained in the contec/cdio/samples directory. For compiling them, refer to the manual 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. DI-64T2-PCI, DO-64T2-PCI...
  • Page 51 5. About Software DI-64T2-PCI, DO-64T2-PCI...
  • Page 52 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. Hardware specifications DI-64T2-PCI Table 6.1.
  • Page 53 VCCI Class A, CE Marking (EMC Directive Class A, RoHS Directive) *1 Data “0” and “1” correspond to the High and Low levels, respectively. This board requires power supply at +5V from an expansion slot (it does not work on a machine with a +3.3V power supply alone). DI-64T2-PCI, DO-64T2-PCI...
  • Page 54 Input Port 5 receiver (8 channels, Group 5) External digital Input Port 6 receiver (8 channels, Group 6) Interrupt Control External digital Circuit Input Port 7 receiver (8 channels, Group 7) DI-64T2-PCI Figure 6.1. Block Diagram < DI-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 55 External digital output Port 5 driver (8 channels, Group 5) External digital output Port 6 driver (8 channels, Group 6) External digital output Port 7 driver (8 channels, Group 7) DO-64T2-PCI Figure 6.2. Block Diagram < DO-64T2-PCI > DI-64T2-PCI, DO-64T2-PCI...
  • Page 57 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. [02172017] [03022007] Management No. A-51-440 02172017_rev2 Parts No.

This manual is also suitable for:

Do-64t2-pci

Table of Contents