background image

2. Setup 

 

 

 

10

 

AI-1604CI2-PCI 

Using the Board under an OS Other than Windows 

For using the board under Linux, see the following parts of this manual. 

 

This chapter Step 2 Setting the Hardware 

 

Chapter 3  External Connection 

 

Chapter 5    About Software 

 

Chapter 6    About Hardware 

 

For using the board under an OS other than Windows and Linux, see the following parts of this manual. 

 

This chapter Step 2 Setting the Hardware 

 

Chapter 3  External Connection 

 

Chapter 6    About Hardware 

 

Summary of Contents for AI-1604CI2-PCI

Page 1: ...PC HELPER Isolated Analog Input Board for PCI AI 1604CI2 PCI User s Guide CONTEC CO LTD...

Page 2: ...Check with the following list that your package is complete If you discover damaged or missing items contact your retailer Product Configuration List Board AI 1604CI2 PCI 1 First step guide 1 CD ROM 1...

Page 3: ...ge 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...

Page 4: ...ions 6 Environment 7 Inspection 7 Storage 7 Disposal 7 2 SETUP 9 What is Setup 9 Using the Board under Windows Using the Driver Library API PAC W32 9 Using the Board under Windows Using Software Other...

Page 5: ...nnot be resolved 33 3 EXTERNAL CONNECTION 35 How to connect the connectors 35 Connector shape 35 Connector Pin Assignment 36 Connecting the Analog Input Signal 37 Input Circuit of Analog Input Signal...

Page 6: ...Help File 76 Using Sample Programs 76 Uninstalling the driver 76 6 ABOUT HARDWARE 77 For detailed technical information 77 Hardware specification 78 Block Diagram 79 Timing for Control Signal 80 Timi...

Page 7: ...vi AI 1604CI2 PCI...

Page 8: ...amplifier provides electric isolation between channels as well as between the inside of the board PC and the input circuit This allows signals with different ground levels to be input to the channels...

Page 9: ...ntec com apipac Linux version of analog I O driver API AIO LNX Stored on the bundled CD ROM driver library API PAC W32 The API AIO LNX is the Linux version driver software which provides device driver...

Page 10: ...D SUB connectors at either ends PCB37PS 0 5P 0 5m PCB37PS 1 5P 1 5m 37 pin D SUB Male Connector Set 5 Pieces CN5 D37M Accessories Option Screw Terminal Unit M3 x 37P EPD 37A 1 2 Screw Terminal Unit M...

Page 11: ...ly 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 Thi...

Page 12: ...estruction 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...

Page 13: ...alcohol Do not install this product to the expansion slot and do not plug or unplug the cables which are connected to this product while the PC or expansion unit is still turned on Otherwise this pro...

Page 14: ...rd 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 Stor...

Page 15: ...1 Before Using the Product 8 AI 1604CI2 PCI...

Page 16: ...are 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 H...

Page 17: ...f this manual This chapter Step 2 Setting the Hardware Chapter 3 External Connection Chapter 5 About Software Chapter 6 About Hardware For using the board under an OS other than Windows and Linux see...

Page 18: ...to improve the conventional product version of API AIO 98 PC in the ease of use and functionality It is advisable to use API AIO WDM for you to use an analog I O device API AIO WDM will support new OS...

Page 19: ...ars automatically If the panel does not appear run CD ROM drive letter AUTORUN exe 3 Click on the Install Development or Execution Environment button When using the Windows Vista driver is automatical...

Page 20: ...age of driver library 2 Select the Advanced Analog I O driver 3 Click on the Install button Clicking the API AIO button under the Detail displays detailed information about API AIO WDM and API AIO 98...

Page 21: ...he following dialog box appears to select Driver to install and Install option Usage of driver library 2 Select Classic Analog I O driver 3 Click on the Install button Clicking the API AIO button unde...

Page 22: ...Show readme file check boxes are displayed When you are installing the software or hardware for the first time 1 Uncheck Perform a hardware setup now 2 Click on the Finish button Go to Step 2 to set a...

Page 23: ...ng this product into an expansion slot This product can be set up even with the factory defaults untouched You can change board settings later Parts of the Board and Factory Defaults Board ID setting...

Page 24: ...oard 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 Setting the Analog Input The board allows you to select the voltage or c...

Page 25: ...CI 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 overhea...

Page 26: ...e 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...

Page 27: ...16 4C PCI even though you have installed this board There is no problem in operation even if the board name is displayed as ADI16 4C PCI Source folder The setup information INF file is contained in th...

Page 28: ...w Hardware Wizard is not started Go to Step 4 Initializing the Software 2 Specify that folder on the CD ROM which contains the setup information INF file to register the board CAUTION Note that the di...

Page 29: ...NF file is contained in the following folder on the bundled CD ROM Windows Vista INF WinVista Aio PCI Windows XP Server 2003 2000 INF Win2000 Aio PCI Windows Me 98 95 INF Win95 Aio PCI Example of spec...

Page 30: ...testing and it can be ignored without developing any problem with the operation of the board In this case click on the Continue Anyway button Note that the displayed board name is ADI16 4C PCI even t...

Page 31: ...ger tab You can also open Device Manager by right clicking on My Computer and selecting Properties CAUTION Note that the displayed board name is ADI16 4C PCI even though you have installed this board...

Page 32: ...efault 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 CAUTION Note that the displayed board name is ADI16 4C PCI even though you h...

Page 33: ...t 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 t...

Page 34: ...settings the presence or absence of the board I O status and interrupt status Check Method To check analog input data connect the signal The diagrams below show examples of using channel 0 on this pr...

Page 35: ...sis button on the device property page to start the diagnosis program CAUTION Note that the displayed board name is ADI16 4C PCI even though you have installed this board There is no problem in operat...

Page 36: ...channel to a text file and displays the file for you to view Clicking Diagnosis Report prompts you to specify where to save the report text file CAUTION Note that the displayed board name is ADI16 4C...

Page 37: ...plained in API function Execution Speed Measurement Program in Chapter 5 Using the Diagnosis Program for Use of API AIO 98 PC Starting the Diagnosis Program After selecting the board in API TOOL Confi...

Page 38: ...licking on the Report button displays detailed data such as a board channel settings and the diagnosis results while saving them in text format The results are saved and displayed as a text file AioRe...

Page 39: ...hown below CAUTION Note that the displayed board name is ADI16 4C PCI even though you have installed this board There is no problem in operation even if the board name is displayed as ADI16 4C PCI The...

Page 40: ...d The channels not to be used must be connected to the analog ground If there is no appropriate signal source available at voltage input either connect a cell or connect the channel to the analog grou...

Page 41: ...2 Setup 34 AI 1604CI2 PCI...

Page 42: ...tors Connector shape To connect an external device to this product plug the cable from the device into the interface connector CN1 shown below CN1 37 20 19 1 Interface connector CN1 Connector used 37...

Page 43: ...nalog input signal The numbers correspond to channel numbers Analog Ground 0 Analog Ground 3 Analog grounds for identically numbered analog input signals External Trigger Input External trigger input...

Page 44: ...og Ground3 32pin Isolation Amplifier Isolation Amplifier Isolation Amplifier Isolation Amplifier Buffer Amplifier Buffer Amplifier Buffer Amplifier Buffer Amplifier 250 250 250 250 Figure 3 3 Input eq...

Page 45: ...protection from noise Connect each analog input channel in CN1 and the corresponding analog ground to the signal source using the core of the shielded cable and its shield braid respectively Analog Gr...

Page 46: ...nt to provide better protection from noise Connect each analog input channel in CN1 to the side of the current source using the core of the shielded cable and the corresponding analog ground to the si...

Page 47: ...cuit is as follows An external power supply is required to drive the input circuit The power capacity required at this time is about 11 mA per input channel at 24 VDC or about 5 5 mA at 12 VDC Figure...

Page 48: ...between input signal and data internal logic on the PC Internal logic Contact point Input pin voltage level 0 OFF High 1 ON Low Reference For the operation timings for control signal input see Timing...

Page 49: ...t This product s output transistor is not associated with a surge voltage protection circuit When this product is used to drive the inductive load to a relay or lamp apply surge protection to the load...

Page 50: ...n Example to TTL level Input with Pull up Resistor Board Internal circuit Plus Common Minus Common Output pin External power supply 12 24VDC Input pin Plus Common Remote device Vcc Board Vcc Internal...

Page 51: ...the transistor to gradually deteriorate or even completely damage the transistor Therefore when driving an induction load such as a relay coil you should always connect a surge absorbing device The fo...

Page 52: ...s it in memory You can set a variety of conditions for analog input including the input channel sampling period and sampling start stop conditions Analog input processes are classified as follows Reso...

Page 53: ...96 segments When the device covers the range of 0 10V the minimum unit of converted voltages is 10 4096 2 44mV If the device has a resolution of 16bit it is 10 65536 0 153mV instead AI 1604CI2 PCI The...

Page 54: ...s or driver s input data storage memory is used to enable advanced analog input processing at high speed For the memory the FIFO or ring format can be selected by means of software AI 1604CI2 PCI The...

Page 55: ...ata exceeding the limit it overwrites the area storing the previous item of input data The status monitor and application notification functions are provided which check and report the state in which...

Page 56: ...put data items are stored to the memory sequentially The repetition state can be subject to status monitoring and application notification This product does not support the Repeat feature when the sam...

Page 57: ...tch shows that the level comparison condition is satisfied in the rising direction The start condition is satisfied when the analog signal at the specified channel passes the comparison level in the r...

Page 58: ...he rising direction The stop condition is satisfied when the analog signal at the specified channel passes the comparison level in the rising direction Input data items are stored to memory ending unt...

Page 59: ...s event occurs when the AD conversion start condition is satisfied The event is nullified when the conversion start condition is software Repeat end event This even occurs whenever a repetition is com...

Page 60: ...mpling data stored This status is set to ON when input data stored in memory has reached the amount corresponding to the preset number of times of sampling If the memory format is FIFO the status is s...

Page 61: ...acquired differently depending on the memory format used Data acquisition in FIFO format When FIFO memory is used the oldest data is always read first The following sketch shows an image of data acqu...

Page 62: ...wing sketch shows an image of data acquisition in ring format The sampling count obtained is always the number of times of sampling for up to the latest data shaded portion below The larger the number...

Page 63: ...t 9 995V 4095 9 99970V 65535 0 005V 2049 0 00030V 32769 0V 2048 0V 32768 0 005V 2047 0 00030V 32767 10 000V 0 10 000V 0 Ex When input data 3072 is input at a resolution of 12bit in the 10V range Volta...

Page 64: ...evice thereby initializing the device Status This command resets the sampling clock error status and AD conversion error status Memory This command resets the following memory related states Resets th...

Page 65: ...4 Functions 58 AI 1604CI2 PCI...

Page 66: ...rsion information on each driver English APIPAC Each installer AIO DISK1 DISK2 DISKN AioWdm CNT DIO HELP HELP file Aio Cnt INF Each INF file for OS WDM WinVista Win2000 Win95 linux Linux driver file c...

Page 67: ...s using the internal or external sampling clock Simultaneous monitoring of the termination of analog input sampling buffer memory usage and interrupt events such as occurrences of errors Driver option...

Page 68: ...4CI2 PCI 61 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 di...

Page 69: ...erence 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...

Page 70: ...Perform standard analog input using more than one board Analog output SingleAo Perform single analog output from specified channel MultiAo Perform single analog output from multiple channels Ao Perfor...

Page 71: ...u have installed this board There is no problem in operation even if the board name is displayed as ADI16 4C PCI Procedure 1 Chose the measure device from device list 2 Click the button written with t...

Page 72: ...displayed as ADI16 4C PCI The number of channels used the internal external clock the conversion speed and the sampling frequency at which an event generates can be set Since the notification of a sam...

Page 73: ...is conversion data taken in the memory This can be visually checked in a memory image Event generation sampling frequency When the number of input sampling in FIFO reaches this frequency the event gen...

Page 74: ...1604CI2 PCI 67 When using the API AIO 98 PC 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 Aio API AIO HELP to disp...

Page 75: ...me set by API TOOL Configuration Use these sample programs as references for program development and operation check The sample programs are stored in Program Files CONTEC API PAC W32 Aio Samples Runn...

Page 76: ...uses AioInpBdMem and AioDO to perform simultaneous sampling of two memory mounted boards AioInp Sample console application that uses AioOpenEx and AioInp Analog output AO Uses AioOut to perform analo...

Page 77: ...eAioInp AioInpBack AioInpBdMem AioOut AioOutBack AioDo and AioDi functions Invoke the tool by selecting the Start Menu CONTEC API PAC W32 AIO SAMPLE Analog Main screen Analog input AioInp Simple analo...

Page 78: ...5 About Software AI 1604CI2 PCI 71 Analog output Digital input and output...

Page 79: ...ect System and then select the Device Manager tab You can also open Device Manager by right clicking on My Computer and selecting Properties 2 All of the hardware that uses the API TOOL WDM driver is...

Page 80: ...XP and Windows 2003 Server Uninstall the device driver Use My Computer Control Panel Add and Remove Programs to uninstall the device driver Select Windows driver package CONTEC and then click Change R...

Page 81: ...XX development environment and then click Change Remove contains the driver category name AIO CNT DIO SMC etc Uninstall procedure for Windows 98 98SecondEdition Uninstalling the device driver Use My C...

Page 82: ...ocedure The Linux version for digital I O driver API AIO LNX is supplied as a compressed file linux aio caioXXX tgz on the bundled API PAC W32 CD ROM Note XXX represents the driver version Mount the C...

Page 83: ...e Programs Sample programs have been prepared for specific basic applications Sample programs for each language are contained in the contec caio samples directory For compiling them refer to the manua...

Page 84: ...ions 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 confi...

Page 85: ...et in 250 nanoseconds External sampling clock Optocoupler isolated input corresponding to current sink output Passband 3dB 1kHz Programmable timer Setup frequency 500 1 073 741 824 000nsec Can be set...

Page 86: ...mon External Trigger Input Timer Output External Sampling Clock Input Sampling Busy Output Common Analog Input 3 Analog Input 2 Analog Input 1 Analog Input 0 Optocoupler Optocoupler Optocoupler Optoco...

Page 87: ...ming for External Sampling Clock and External Trigger Inputs Table 6 2 Description Symbol Min Input circuit OFF Set up time of ON tSFT 2 5 sec Input circuit OFF Hold time of ON tHFT 2 5 sec Timing for...

Page 88: ...ess Output Signal Table 6 4 Description Symbol Min Max Input delay time tDI 5 sec Sampling operating time tWS 20 sec x channel No Output delay time tDO 2 5 sec Timing for Timer Output Figures 6 5 and...

Page 89: ...Non Linearity error 1 32LSB 10V 64LSB 5V 0 10V 64LSB 0 5V 80LSB 4 20mA 32LSB 10V 64LSB 5V 0 10V 128LSB 0 5V 160LSB 4 20mA 64LSB 10V 128LSB 5V 0 10V 256LSB 0 5V 320LSB 4 20mA Displayed board name to b...

Page 90: ...55 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 writ...

Reviews: