background image

PC-HELPER

Unisolated Analog Input Board
for PCI

AI-1216B-RB1-PCI
AI-1216B-RU1-PCI

User’s Guide

CONTEC CO.,LTD.

Summary of Contents for 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: ...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 AI 1216B RB1 PCI or AI 1216B RU1 PCI First step guide 1 CD ROM 1 API PAC W32 1 1 The CD ROM contains the driver software and User s Guide this guide CD ROM API PAC W32 Board First step guide ...

Page 3: ...bject to change without notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Regardless of the foregoing statement CONTEC assumes no responsibility for any errors that may appear in this document or for results obtained by the user as a result of using thi...

Page 4: ...ndling Precautions 5 Environment 6 Inspection 6 Storage 6 Disposal 6 2 SETUP 7 What is Setup 7 Using the Board under Windows Using the Driver Library API PAC W32 7 Using the Board under Windows Using Software Other than the Driver Library API PAC W32 7 Using the Board under an OS Other than Windows 8 Step 1 Installing the Software 9 Which Driver to Use 9 Starting the Install Program 10 When Using ...

Page 5: ...TION 25 How to connect the connectors 25 Connector shape 25 Connector Pin Assignment 26 Analog Input Signal Connection 27 Single ended Input 27 Digital I O signals Connection 28 4 FUNCTIONS 29 Analog Input Function 29 Digital Input Function 31 Digital Output Function 32 5 ABOUT SOFTWARE 33 CD ROM Directory Structure 33 About Software for Windows 34 When using the API AIO WDM 34 Accessing the Help ...

Page 6: ... in your favorite programming language supporting Win32 API functions such as Visual Basic or Visual C Features Equipped with analog inputs in a range of 10V or 0 10V 12 bit single end input x 16ch conversion speed 20µsec ch AI 1216B RB1 PCI is a non isolated analog input board equipped with functions such as bipolar 10V 12 bit resolution single end input x 16ch and a conversion speed of 20µsec ch...

Page 7: ...wnload 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 Shielded Cable with Two 37 pin D SUB Connectors PCB37PS 0 5P 0 5m PCB37PS 1 5P 1 5m Flat Cable with One 37 pin D SUB Connect...

Page 8: ...of charge only when this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This warranty is not applicable for scratches or normal wear but only for the electronic circuitry and original boards The warranty is not applicable if the device has been tampered with or d...

Page 9: ... and the destruction of equipment and resources Understand the meanings of these labels to operate the equipment safely DANGER DANGER indicates an imminently hazardous situation which if not avoided will result in death or serious injury WARNING WARNING indicates a potentially hazardous situation which if not avoided could result in death or serious injury CAUTION CAUTION indicates a potentially h...

Page 10: ...PC or expansion unit is still turned on Otherwise this product may malfunction overheat or cause a failure Be sure that the personal computer power is turned off Do not install or remove this product to or from the expansion slot while the computer s power or expansion unit is turned on Otherwise this product may malfunction overheat or cause a failure Be sure that the personal computer power is t...

Page 11: ...at the board has no dust or foreign matter adhering Check that the bus connector of the board and its cable have been plugged correctly The gold plated leads of the bus connector have no stain or corrosion Storage When storing this product keep it in its original packing form 1 Put the board in the storage bag 2 Wrap it in the packing material then put it in the box 3 Store the package at room tem...

Page 12: ... the software and hardware You can use the diagnosis program later to check whether the software and hardware function normally Step 1 Installing the Software Step 2 Setting the Hardware Step 3 Installing the Hardware Step 4 Initializing the Software Step 5 Checking Operations with the Diagnosis Program If Setup fails to be performed normally see the Setup Troubleshooting section at the end of thi...

Page 13: ...U1 PCI 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 ...

Page 14: ...the operating system as Windows XP Although some user interfaces are different depending on the 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 ...

Page 15: ...our PC 2 The API PAC W32 Installer window appears automatically 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 ...

Page 16: ...e of driver library 2 Select the Advanced Analog I O driver 3 Click on the Install button 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 ...

Page 17: ...e plugging the board into an expansion slot 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 CN1 SW1 BOARD ID 0 1 2 3 4 5 6 7 9 A B C D E F 8 Board ID setting switch SW1 Interface connector...

Page 18: ...ish them The board IDs can be set from 0 Fh to identify up to sixteen boards If only one board is used the original factory setting Board ID 0 should be used Setting Procedure 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 SW1 0 1 2 3 4 5 6 7 9 A B C D E F 8 Board ID 0 Factory setting Figure 2 2 Board ID Settings SW1 ...

Page 19: ...lot 3 3 V PCI bus slot A B Slit for 5 V PCI bus slot Slit for 3 3 V PCI bus slot CAUTION Do not touch the board s metal plated terminals edge connector with your hands Otherwise the board may malfunction overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not install or remove the board to or from the slot while the computer s ...

Page 20: ... level for the board can be allocated Before attempting to install the board first determine what PC resources are free to use The resources used by each board do not depend on the location of the PCI bus slot or the board itself 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 previ...

Page 21: ... information file INF to register the board Source folder The setup information file INF is contained in the following folder on the bundled CD ROM INF WDM AIO You have now finished installing the software INF WDM AIO The name of the board you have just added is displayed AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 22: ...Run Device Manager From My Computer Control Panel select System and then select the Device Manager tab You can also open Device Manager by right clicking on My Computer and selecting Properties 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 The name of the...

Page 23: ... name you set here is used later when programming 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 The name of the board you have just added is displayed AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 24: ...absence of the board I O status and interrupt status Check Method To check the analog I O data connect to an external signal source 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 Analog Ground CH0 Int...

Page 25: ...he 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 AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 26: ...l input type and input range from the lists 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 ...

Page 27: ...nd displays the file for you to view Clicking Diagnosis Report prompts you to specify where to save the report text file 2 The diagnosis report contains the following data Version of OS Device Information File Information Initialization interrupts current input or output state for each channel The name of the board you have just added is displayed AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 28: ...input check by connecting a battery or similar if you do not have any other suitable signal source Also check that connecting to analog ground reads correctly as 0V The board works with the Diagnosis Program but not with an application The Diagnosis Program is coded with API TOOL functions As long as the board operates with the Diagnosis Program it is to operate with other applications as well In ...

Page 29: ...2 Setup 24 AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 30: ... connectors Connector shape The on board interface connector CN1 is used when connecting this product and the external devices CN1 37 20 19 1 36 18 21 2 Connector used 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 Interface connector CN1 Please refer to chapter 1 for more information on the supp...

Page 31: ...l Input 7 Analog Ground Analog Input 9 Analog Input 11 Analog Input 13 Analog Input 15 Analog Ground Analog Input 1 Analog Input 3 Analog Input 5 Analog Input 7 AI 1216B RB1 PCI AI 1216B RU1 PCI Analog Input 0 Analog Input 15 Analog input signals in single ended input mode The numbers correspond to channel numbers Analog Ground Analog ground common to analog input signals Digital Input 0 Digital I...

Page 32: ... Use shielded cable if the distance between the signal source and board is long or if you want to provide better protection from noise For each analog input channel on CN1 connect the core wire to the signal line and connect the shielding to ground Analog Ground Shield cable Analog Input 0 15 BOARD CN1 Signal Source Figure 3 4 Single ended Input Connection Shield Cable CAUTION If the signal source...

Page 33: ... show examples of how to connect digital I O signals All the digital I O signals and control signals are TTL level signals 10kΩ Digital Input Digital Ground BOARD CN1 Cable Target Figure 3 5 Digital Input Connection Digital Ground BOARD CN1 Cable Target Digital Output IOL 24mA Figure 3 6 Digital Output Connection ...

Page 34: ...ersion on a specified channel or multiple channels Analog input processes are classified as follows Start AD Conversion Get Data Select channel Select Channel Channel represents each channel number of analog input signals For individual channel numbers see How to connect the connectors to Connector Pin Assignment in Chapter 3 External Connection When selecting a channel specify its channel No or t...

Page 35: ... relationship between input data and voltage in the 10V range Voltage Conversion data 12 bit 9 995V 4095 0 005V 2049 0V 2048 0 005V 2047 10 000V 0 Ex When input data 3072 is input at a resolution of 12 bit in the 10V range Voltage 3072 x 10 10 4096 10 5 0 For AI 1216B RU1 PCI 0 10V range The table below shows the relationship between input data and voltage in the 0 10V range Voltage Conversion dat...

Page 36: ...ctor Pin Assignment in Chapter 3 External Connection Input in Bits The state 1 ON or 0 OFF of each input bit can be obtained by specifying the bit Input in Bytes Individual input bits can be input in byte units 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 0 OFF 0 OFF 1 ON 1 ON 0 OFF 0 OFF 1 ON 1 ON Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit ...

Page 37: ...Connector Pin Assignment in Chapter 3 External Connection Output in Bits The state of each output bit can be changed to ON or OFF by specifying the bit and setting it to 1 or 0 Output in Bytes Individual output bits can be output in byte units The byte data to be output is a value between 0 and 255 Ex Byte data 170 AAH 0 OFF 0 OFF 1 ON 1 ON 0 OFF 0 OFF 1 ON 1 ON Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2...

Page 38: ...Readmeu html Version information on each API TOOL English APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS WDM 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 ...

Page 39: ...o driver even without the board installed For details refer to the help file The help file provides various items of information such as Function Reference Sample Programs Tutorial FAQs and Troubleshooting Use them for program development and troubleshooting 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 C...

Page 40: ...nd as a reference when writing your own programs To use the sample programs specify the device name in the property page for the program 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: ...xamples Analog input 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 ...

Page 42: ...e Windows taskbar From the Start Menu select Settings 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 38 AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 44: ... 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 ...

Page 45: ...Un Isolated input 8ch TTL level positive logic I O address Any 32 byte boundary Interrupt level 1 level use Power consumption 5V 200 mA Max Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI 32 bit 33MHz Universal key shapes supported 3 Dimension mm 121 69mm L x 88 00mm H Interface connectors CN1 D SUB 37 Pin female connector 4 40UNC Weight 80g 1 When the environment tempera...

Page 46: ...d input 8ch TTL level positive logic I O address Any 32 byte boundary Interrupt level 1 level use Power consumption 5V 200 mA Max Operating condition 0 50 C 10 90 RH No condensation Bus specification PCI 32 bit 33MHz Universal key shapes supported 3 Dimension mm 121 69mm L x 88 00mm H Interface connectors CN1 D SUB 37 Pin female connector 4 40UNC Weight 80g 1 When the environment temperature is ne...

Page 47: ...e 6 1 is a circuit block diagram of this board AI 1216B RB1 PCI AI 1216B RU1 PCI 16 single end Analog Inputs 8 Digital Input 8 Digital Output PCI Bus CN1 FPGA Multiplexer DC DC converter Analog Circuit A D Converter Figure 6 1 Block Diagram AI 1216B RB1 PCI AI 1216B RU1 PCI ...

Page 48: ... 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 ...

Reviews: