Table of Contents

Advertisement

Quick Links

PC-HELPER
Unisolated Analog Input Board
for PCI
AI-1216B-RB1-PCI
AI-1216B-RU1-PCI
User's Guide
CONTEC CO.,LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Contec AI-1216B-RB1-PCI

  • Page 1 PC-HELPER Unisolated Analog Input Board for PCI AI-1216B-RB1-PCI AI-1216B-RU1-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 following) …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

    Step 2 Setting the Hardware ......................12 Parts of the Board and Factory Defaults ................... 12 Setting the Board ID ........................13 Plugging the Board ........................14 Step 3 Installing the Hardware ......................15 Turning on the PC........................15 AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 5 About Software for Windows ......................34 When using the API-AIO(WDM)..................... 34 Accessing the Help File ......................34 Using Sample Programs......................35 Uninstalling the Driver Libraries....................37 ABOUT HARDWARE For detailed technical information....................39 Hardware specification ........................40 Block Diagram ..........................42 AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 6: Before Using The Product

    AI-1216B-RB1-PCI has an input range of bipolar ±10V, 12-bit resolution, 16 channels of single-end input as well as analog input at a conversion speed of 20µsec/ch. In addition, it comes with digital input/output (non-isolated TTL level: 8 each).
  • Page 7: Support Software

    C++Builder, etc.. 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. Cable & Connector (Option) Flat Cable with Two 37-pin D- SUB Connectors : PCB37P-1.5 (1.5m)
  • 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 Three-Years Warranty CONTEC products are warranted by CONTEC CO., LTD.
  • Page 9: 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. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 10: Handling Precautions

    Even when using this product continuously, be sure to read the manual and understand the contents. Do not modify this 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 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. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 12: Setup

    For setting up software other than API-PAC(W32), refer to the manual for that software. See also the following parts of this manual as required. This chapter Step 2 Setting the Hardware This chapter Step 3 Installing the Hardware Chapter 3 External Connection Chapter 6 About Hardware AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 13: Using The Board Under An Os Other Than Windows

    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 manual. This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 6 About Hardware AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 14: Step 1 Installing The Software

    OS used, the basic procedure is the same. Which Driver to Use CONTEC has two analog I/O drivers: API-AIO(WDM) and API-AIO(98/PC). API-AIO(WDM) is a new driver for analog I/O under Windows. This driver was developed to be easier to use and to provide additional functions above those provided by the previous API-AIO(98/PC) driver.
  • Page 15: Starting The Install Program

    If the panel does not appear, run (CD-ROM drive letter):\AUTORUN.exe. (3) Click on the [Install Development or Execution Environment] button. CAUTION Before installing the software in Windows Vista, XP and 2000, log in as a user with administrator privileges. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 16: When Using The Api-Aio(Wdm)

    Clicking the [API-AIO] button displays detailed information about API-AIO(WDM) and API-AIO(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. You have now finished installing the software. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 17: 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. - Board ID setting switch (SW1) BOARD ID BOARD ID - Interface connector (CN1) Figure 2.1. Part Names AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 18: 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) AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 19: 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. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 20: Step 3 Installing The Hardware

    In this case, you must check the resource settings. Using the API-AIO(WDM) (1) The “Found New Hardware Wizard” will be started. Select “Install from a list or specific location[Advanced]”, then click on the [Next] button. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 21 (2) Specify that folder on the CD-ROM which contains the setup information file (INF) to register the board. * The name of the board you have just added is displayed. - AI-1216B-RB1-PCI - AI-1216B-RU1-PCI Source folder The setup information file (INF) is contained in the following folder on the bundled CD-ROM. \INF\WDM\AIO \INF\WDM\AIO You have now finished installing the software.
  • Page 22: Step4 Initializing The Software

    - AI-1216B-RB1-PCI - AI-1216B-RU1-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]. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 23 * The name of the board you have just added is displayed. - AI-1216B-RB1-PCI - AI-1216B-RU1-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 24: Step 5 Checking Operations With The Diagnosis Program

    The figure below shows an example of checking by connecting to an external signal. The analog input example illustrated below is an example of using analog input channel 0 on the AI-1216B-RB1-PCI or AI-1216B-RU1-PCI. Connection diagram < Analog Input >...
  • Page 25: Using The Diagnosis Program

    Click the [Diagnosis] button on the device property page to start the diagnosis program. * The name of the board you have just added is displayed. - AI-1216B-RB1-PCI - AI-1216B-RU1-PCI * The name of the board you have just added is displayed.
  • Page 26 Input data is plotted on a graph. Digital I/O The upper row of circular lamps indicates the digital input states. Red indicates the bit is ON and brown indicates OFF. Clicking the lower row of switches turns the digital output bits ON or OFF. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 27 Clicking [Diagnosis Report] prompts you to specify where to save the report text file. * The name of the board you have just added is displayed. - AI-1216B-RB1-PCI - AI-1216B-RU1-PCI (2) The diagnosis report contains the following data. - Version of OS...
  • Page 28: Setup Troubleshooting

    Check the return values of the API functions. Refer to the source code for the sample programs. The OS won’t normally get started or detect the device. Refer to the "Troubleshooting" section of API-AIO(WDM) HELP. If your problem cannot be resolved Contact your retailer. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 29 2. Setup AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 30: External Connection

    37-pin D-SUB, female connector DCLC-J37SAF-20L9E (mfd. by JAE) Thumb screw : UNC#4-40(inch screw) - Applicable connectors 17JE-23370-02(D8C)-CG (mfd. by DDK, Male) * Please refer to chapter 1 for more information on the supported cable and accessories. Figure 3.1. Interface Connector Shape AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 31: Connector Pin Assignment

    Figure 3.2. Pin Assignments of Interface Connector CN1 CAUTION Do not connect any of the outputs and power outputs to the analog or digital ground. Neither connect outputs to each other. Doing either can result in a fault. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 32: Analog Input Signal Connection

    An input analog signal should not exceed the maximum input voltage (relate to the board analog ground). If it exceeds the maximum voltage, the board may be damaged. Connect all the unused analog input channels to analog ground. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 33: Digital I/O Signals Connection

    All the digital I/O signals and control signals are TTL level signals. 10kΩ Cable Target BOARD Digital Input Digital Ground Figure 3.5. Digital Input Connection BOARD Cable Target Digital Output =24mA Digital Ground Figure 3.6. Digital Output Connection AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 34: Functions

    When selecting a channel, specify its channel No. or the number of channels on which you wish to perform AD conversion (consecutive channels starting from channel 0). Start AD Conversion AD conversion is started for each channel by a software command. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 35 Voltage = Input data x (Max. range value - Min. range value) / Resolution + Min. range value The value of resolution for the 12-bit device is 4096. <For AI-1216B-RB1-PCI (±10V range)> The table below shows the relationship between input data and voltage in the ±10V range.
  • Page 36: Digital Input Function

    The byte data to be input is a value between 0 and 255 depending on the states of the bits. Ex. Byte data = 85(55H) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 0(OFF) 0(OFF) 0(OFF) 1(ON) 1(ON) 0(OFF) 1(ON) 1(ON) AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 37: Digital Output Function

    The byte data to be output is a value between 0 and 255. Ex. Byte data = 170(AAH) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 1(ON) 0(OFF) 1(ON) 0(OFF) 1(ON) 1(ON) 0(OFF) 0(OFF) AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 38: About Software

    |––Win2000 |––Win95 |––linux Linux driver file |––cnt |––dio |––…… | ––Readme 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) AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 39: About Software For Windows

    When using the API-AIO(WDM) Accessing the Help File (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “API-AIO(WDM) HELP” to display help information. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 40: Using Sample Programs

    The sample programs are stored in \Program Files\CONTEC\API-PAC(W32)\AIOWDM\Samples. Running a Sample Program (1) Click on the [Start] button on the Windows taskbar. (2) From the Start Menu, select “Programs” – “CONTEC API-PAC(W32)” – “AIOWDM” – “SAMPLE…”. (3) A sample program is invoked.
  • Page 41 Simple sample program - SingleAi Perform single analog input from specified channel - MultiAi Perform single analog input from multiple channels Digital input/output - DioBit Perform digital I/O using bit values - DioByte Perform digital I/O using byte values AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 42: Uninstalling The Driver Libraries

    “Control Panel”. (2) Double-click on “Add or Remove Programs” in the Control Panel. (3) Select "CONTEC API-AIO(WDM) driver" and "CONTEC API-AIO(WDM) VerX.XX (Development environment)" from the list of applications. Click the [Change or Remove Programs] button. Proceed with uninstalling by following the instructions that appear on the screen.
  • Page 43 5. About Software AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 44: 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. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 45: Hardware Specification

    6. About Hardware Hardware specification AI-1216B-RB1-PCI Table 6.1. Specification < AI-1216B-RB1-PCI > Item Specification Analog input Isolated specification Un-Isolated Type Single-Ended Input Number of input channels 16 channels Input range Bipolar ±10V Absolute max. input voltage ±12V 1M Ω or more...
  • Page 46 *3: This board requires +5V power supply from expansion slots (it does not operate in the environment of only +3.3V power supply). Board Dimensions 121.69(L) [mm] The standard outside dimension (L) is the distance from the end of the board to the outer surface of the slot cover. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 47: Block Diagram

    Figure 6.1 is a circuit block diagram of this board. AI-1216B-RB1-PCI, AI-1216B-RU1-PCI 16 single-end 8 Digital Input / 8 Digital Output Analog Inputs Multiplexer Analog Circuit Converter FPGA DC/DC converter PCI Bus Figure 6.1. Block Diagram < AI-1216B-RB1-PCI, AI-1216B-RU1-PCI > AI-1216B-RB1-PCI, AI-1216B-RU1-PCI...
  • Page 48 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. [08072007] [06012007] Management No. A-51-438 [08242008_rev2] Parts No. LYHG711...

This manual is also suitable for:

Ai-1216b-ru1-pci

Table of Contents