background image

 

 

PCI-82x Series Cards

   

User Manual

 

Multifunction Boards                     

              Version 1.5, Jan. 2017 

 

 

S

UPPORTS

 

This manual relates to the following Boards: PCI-822LU and PCI-826LU.

 

 

W

ARRANTY

 

All products manufactured by ICP DAS are warranted against defective materials 
for a period of one year from the date of delivery to the original purchaser. 

 

W

ARNING

 

ICP DAS assumes no liability for damages consequent  to the use of this product. 
ICP DAS reserves the right to change this manual at any time without notice. The 
information furnished by ICP DAS is believed to be accurate and reliable. However, 
no responsibility is assumed by ICP DAS for its use,  nor for any infringements of 
patents or other rights of third parties resulting from its use. 

 

C

OPYRIGHT

 

Copyright ©  2014 by ICP DAS. All rights are reserved. 

 

T

RADEMARK

 

Names are used for identification purposes only and may be registered 
trademarks of their respective companies. 

 

C

ONTACT 

US 

If you have any questions, feel tree to contact us by email at:   
[email protected][email protected]

   

We will respond to you within 2 working days. 

Summary of Contents for PCI-82x Series

Page 1: ...ight to change this manual at any time without notice The information furnished by ICP DAS is believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use nor for a...

Page 2: ...4 JP4 Digital I O Mode 12 2 2 5 JP8 Digital Input Pull high low 13 2 3 CARD ID SWITCH 14 2 4 BLOCK DIAGRAM 15 2 5 ANALOG INPUT SIGNAL CONNECTIONS 16 2 6 PIN ASSIGNMENTS 21 3 HARDWARE INSTALLATION 22 4...

Page 3: ...ing Configuration 48 6 5 2 Write the AI Software Trigger 50 6 5 3 Read the FIFO Data 50 6 5 4 Read Write AI Pacer Sampling Rate 50 6 5 5 Read Write MagicScan Counter Value 51 6 5 6 Write AI Pacer Conf...

Page 4: ...OH 72 A1 5 Analog Input Functions 73 PCI82X_PollingAI 73 PCI82X_PollingAIH 74 PCI82X_StartAI 75 PCI82X_StartAIScan 76 PCI82X_GetAIBuffer 78 PCI82X_GetAIBufferH 78 PCI82X_StopAI 79 A2 DAUGHTERBOARDS 80...

Page 5: ...Product Page for the PCI 826LU http www icpdas com root product solutions pc_based_io_board pci pci 826lu html Product Page for the PCI 822LU http www icpdas com root product solutions pc_based_io_bo...

Page 6: ...826 Series cards contain an embedded Card ID switch and onboard pull high pull low resistors for the Digital Input meaning that a unique ID number can be set for each card so that can each card can be...

Page 7: ...PCI 822LU One 16 bit A D converter with a maximum sample rate of 250 kSamples second PCI 826LU 32 single ended or 16 differential programmable input channels PCI 822LU PCI 826LU Three different A D tr...

Page 8: ...0 000 M 4pF Trigger Modes Software Pacer Data Transfer Polling Interrupt Accuracy 0 1 of FSR 1 LSB 25 C 10 V 0 05 of FSR 1 LSB 25 C 10 V Input Range Gain 1 2 4 8 Bipolar V 10 5 2 5 1 25 Zero Drift 15...

Page 9: ...Bus Type 3 3 V 5 V Universal PCI 32 bit Data Bus 16 bit Card ID Yes 4 bit I O Connector Female DB37 x 1 20 pin box header x 2 Dimensions L x W x D 169 mm x 105 mm x 22 mm Power Consumption 1 A 5 V ma...

Page 10: ...alog Input Type Configuration Refer to Section 2 2 1 JP6 JP7 Analog Output Range Configuration Refer to Section 2 2 2 JP3 JP5 Analog Output Type Configuration Refer to Section 2 2 3 JP4 Digital Input...

Page 11: ...onfigure single ended input connect pin1 to pin 3 and pin 2 to pin 4 as illustrated in the diagram below The default configuration is single ended Jumper Single ended Input Default Differential Input...

Page 12: ...e the Digital Input Output mode as either Jumper Selectable or Software Programmable Mode Connecting pins 1 and 2 of DIO S0 sets the DI O mode to Jumper Selectable Mode while connecting pins 2 and 3 s...

Page 13: ...S0 is Jumper Selectable Mode DI Default DO DIO S1 Port A DIO S2 Port B 1 2 3 1 2 3 2 2 5 JP8 Digital Input Pull high low Jumper JP8 is used to set the Digital Input to either Pull high or Pull low wh...

Page 14: ...ormat For more detailed information regarding the positions of the SW1 DIP Switch for the different Card ID settings refer to the table below Default Settings Card ID Hex 1 ID0 2 ID1 3 ID2 4 ID3 0x0 O...

Page 15: ...ck Diagram The following is an illustration of the System Function Block for PCI 822 826 Series cards PCI Bus D I D O Timer A D Buffer A D Converter A D Trigger Logic Multiplexers Gain Amp Scale Adj P...

Page 16: ...or floating source Analog Input signals Important Note For the method illustrated in Figure 2 5 4 the maximum allowable common mode voltage between the Analog Input source and the AGND pin is 70Vp p s...

Page 17: ...e 17 Figure 2 5 1 Connecting to a grounded source input correct method A D CH0 HI A D CHn HI A D CHn LO A GND n A D CH0 LO Es 1 Es n S S PCI 822 826 Figure 2 5 2 Connecting to a ground loop input inco...

Page 18: ...er CAUTION The maximum allowable common mode voltage between the Analog Input source and the A GND pin for the connection shown in Figure 2 5 4 is 70 Vp p Ensure that the input signal is below this va...

Page 19: ...D Es 1 Es n 100 k 10 M 100 k 10 M PCI 822 826 Figure 2 5 6 Connecting to a 4 20 mA Source AI CHn AGND R Shunt Resistor Example A 20 mA source current through a 125 resistor e g 125 0 1 DIP Resistors b...

Page 20: ...17 PMH 024 15 Page 20 Signal Shielding The signal shielding for the connection methods illustrated in Figures 2 5 1 to 2 5 6 are the same Use a single point connection to the frame ground rather than...

Page 21: ...an 2017 PMH 024 15 Page 21 2 6 Pin Assignments The following is an overview of the pin assignments for PCI 822 826 Series cards CON1 and CON2 relate to the Digital Input and Digital Output connectors...

Page 22: ...er to Chapter 4 Software Installation Step 2 Configure the Jumpers and the SW1 DIP Switch on the PCI 822 826 Series card depending on the required configuration For more detailed information about the...

Page 23: ...nction Boards User Manual Ver 1 5 Jan 2017 PMH 024 15 Page 23 Step 3 Correctly shut down and power off your computer and then disconnect the power supply Step 4 Remove the cover from the computer Step...

Page 24: ...ove the slot cover from the PC Ensure that you do not misplace the screw Step 7 Remove the connector cover from the PCI 822 826 Series card Step 8 Align the contacts of the PCI card with the open slot...

Page 25: ...rm that the PCI 822 826 series card is correctly mounted in the motherboard Step 10 Replace cover for the computer and then reconnect the power supply and any other cables Step 11 Switch on the power...

Page 26: ...on CD ROM or can be obtained from the ICP DAS FTP web site Install the appropriate driver for the operating system The location and website addresses for the installation package are indicated below U...

Page 27: ...16 series board on the list then click the Next button Step 6 When the Select Additional Tasks screen is displayed click the Next button Step 7 When the Download Information screen is displayed click...

Page 28: ...nel 2 4 x 2 6 x 3 12 x Driver Name Ixpci tar gz CD ROM CD NAPDOS Linux Website http ftp icpdas com pub cd iocard pci napdos linux Installation Procedure For more detailed information about how to inst...

Page 29: ...e computer For detailed information about the hardware installation of the PCI 822 826 Series board refer to Chapter 3 Hardware Installation Step 2 Power on the computer and complete the Plug and Play...

Page 30: ...PCI 82x Series Cards Multifunction Boards User Manual Ver 1 5 Jan 2017 PMH 024 15 Page 30 Step 4 Click the Finish button Step 5 Windows pops up Found New Hardware dialog box again...

Page 31: ...appropriate description for the specific operating system to verify the installation 4 3 1 Accessing Windows Device Manager Windows 95 98 ME Step 1 Either right click the My Computer icon on the deskt...

Page 32: ...Windows Vista 7 Step 1 Click the Start button and then click Control Panel Step 2 Click the System and Maintenance and then click Device Manager Alternatively Step 1 Click the Start button Step 2 In...

Page 33: ...tep 1 To display the Start screen icon from the desktop view hover the mouse cursor over the bottom left corner of screen Step 2 Right click the Start screen icon then click Device Manager Alternative...

Page 34: ...ultifunction Boards User Manual Ver 1 5 Jan 2017 PMH 024 15 Page 34 4 3 2 Check the Installation Check that the PCI 822 826 Series card is correctly listed in the Device Manager as illustrated below I...

Page 35: ...g is a description of how to configure the wiring in order to perform the Self Test procedures for the Digital Input and Digital Output Refer to the appropriate descriptions for PCI 822 826 Series car...

Page 36: ...Wiring Preparing the device Before beginning the Self Test procedure ensure that the following items are available A CA 3710 cable Website http www icpdas com products Accessories cable cable_selecti...

Page 37: ...n18 to the AI0 Pin1 and connect the A GND pin Pin17 to the A GND pin Pin17 5 2 Execute the Test Program After installation the UniDAQ Utility will be located in the default folder C ICPDAS UniDAq Driv...

Page 38: ...822 826 Series card has been successfully installed in the Host system Note that the device numbers start from 0 Step 3 Click the TEST button to start the test Step 4 Get DIO function test result 1 Cl...

Page 39: ...D A functions test 1 Click the Analog Output tab 2 In the Voltage Output section select the 0 from the Channel drop down menu 3 Select Bipolar 10 V from the Range drop down menu 4 Enter a voltage valu...

Page 40: ...Click the Analog Input tab 7 Confirm that the configuration settings are correct 8 Click the Start button to start the test 9 Check that the Analog Input value for Channel 0 is the same as the voltag...

Page 41: ...PCI 826LU Vendor ID 0x10B5 0xE10B5 Device ID 0x3001 0x3001 Sub Vendor ID 0x2129 0x2129 Sub Device ID 0x0822 0x0826 The following functions are provided for the PCI 822 826 card 1 PCI82x_DriverInit wT...

Page 42: ...ct all PCI 822 PCI 826 cards first wRetVal PCI82X_DriverInit wTotalBoards printf Threr are d PCI 822 PCI 826 Cards in this PC n wBoards Step2 Save resources of all PCI 822 PCI 826 cards installed in t...

Page 43: ...the status of the DI O Jumper and Card ID Sets the configuration for Port A and Port B 2 D A 0h Reads the D A Data Writes the D A Data 4h Reads the D A control settings Configures the D A control sett...

Page 44: ...rt can be read written by accessing its data register The I O ports on PCI 822 826 Series cards are 16 bit 6 3 2 Read Write I O Port Selection Read Write wBase 0 0x0C I O Port Selection Bit 1 0 Data P...

Page 45: ...3 ID2 ID1 ID0 This register is used to read the Card ID SW1 and the DIO Jumper JP4 settings on the PCI 822 826 Series card The following is an example of how to read the 4 bit Card ID wCardID inportb...

Page 46: ...D A converter provide 2 channel Analog Output Refer to Section 6 4 2 below for details of how to select the D A channel before writing data to the D A converter 6 4 2 Read Write Analog Output Channel...

Page 47: ...e output to the channel The D A channels are allocated as follows CH x 1 Enable the channel CH x 0 Disable the channel The following is an example of how to enable the Analog Output Channel Set the AO...

Page 48: ...ng mode software trigger The configuration parameters include the Gain code the Mode single ended or differential and the channel number Clearing the FIFO Bit F Write a value of 1 to F0 to clear the F...

Page 49: ...as indicated below M3 M2 M1 M0 M5 M4 0 1 1 0 1 1 0 0 0 0 SE Ch0 SE Ch16 DIFF Ch0 0 0 0 1 SE Ch1 SE Ch17 DIFF Ch1 0 0 1 0 SE Ch2 SE Ch18 DIFF Ch2 0 0 1 1 SE Ch3 SE Ch19 DIFF Ch3 0 1 0 0 SE Ch4 SE Ch20...

Page 50: ...5 4 Read Write AI Pacer Sampling Rate Read Write wBase 0x8 Read Write the AI Pacer Sampling Rate Bit F E D C B A 9 8 7 6 5 4 3 2 1 0 Data CF CE CD CC CB CA C9 C8 C7 C6 C5 C4 C3 C2 C1 C0 This register...

Page 51: ...uration parameters include the Gain code the Mode single ended or differential and the channel number Clearing the FIFO Bit F Write a value of 1 to F0 to clear the FIFO Data The status of the FIFO wil...

Page 52: ...ential Analog Input Selection Bits 4 and 5 are used to configure the control Pacer mode for the Analog Input channels as indicated below M5 M4 Analog Input 0 0 x 0 1 Single ended Input Channel 0 15 1...

Page 53: ...15 Page 53 1 0 0 0 SE Ch8 SE Ch24 DIFF Ch8 1 0 0 1 SE Ch9 SE Ch25 DIFF Ch9 1 0 1 0 SE Ch10 SE Ch26 DIFF Ch10 1 0 1 1 SE Ch11 SE Ch27 DIFF Ch11 1 1 0 0 SE Ch12 SE Ch28 DIFF Ch12 1 1 0 1 SE Ch13 SE Ch29...

Page 54: ...ferential mode JP1 is set to Single ended mode A0 The ADC is Ready The ADC is Busy FF The FIFO is Full The FIFO isn t Full FH The FIFO is Half Full The FIFO isn t Half Full FE The FIFO is Empty The FI...

Page 55: ...0 0 1 0 2 MHz 0 0 1 1 1 MHz 0 1 0 0 500 kHz 0 1 0 1 250 kHz 0 1 1 0 125 kHz 0 1 1 1 62 5 kHz Total Number of Channels to be Scanned for MagicScan Bits 3 to 7 Bits 3 to 7 are used to set the total numb...

Page 56: ...0 Disable Pacer START Bit E 1 Enable Pacer STOP 0 Disable Pacer STOP 6 5 10 Clear the Interrupt and External Trigger Read wBase 0x18 Clear the Interrupt and External Trigger This register is used to...

Page 57: ...l and then sends the interrupt Bit 2 External Trigger Interrupt 0 Disable 1 Enable 3 Send the interrupt when the FIFO is half full Bit 1 FIFO Half Interrupt 0 Disable 1 Enable 4 Sends the interrupt wh...

Page 58: ...8030 Set the Software AI Trigger outpw wBase 0x04 0x0000 Disable the Pacer Trigger outpw wBase 0x18 0x4000 Disable the Interrupt outpw wBase 0x1C 0x0000 Set the Gain Channel and clear the FIFO outpw w...

Page 59: ...al Number of scan Channels to 3 outpw wBase 0x14 0x0001 3 1 3 Set the Frequency to 8 MHz 200 40 KHz outpw wBase 0x08 0xC8 Set the channel number for the first channel to 2 outpw wBase 0x10 0x8032 0 10...

Page 60: ...he Total Number of Scan Channels to 3 Set the Trigger Edge to Rising and Enable External Trigger Mode outpw wBase 0x14 0x8003 2 3 Set the Frequency to 8 MHz 200 40 KHz outpw wBase 0x08 0xC8 Set the fi...

Page 61: ...used by IR loss in the cable and or the connector can be eliminated Before beginning calibration ensure that a precise multi meter is available Note that the calibrated values for the Analog Input Out...

Page 62: ...wing is a demonstration of how to perform the calibration procedure The following pin assignments are used in the calibration process 1 D A Ch0 CON3 pin 18 2 A GND CON3 pin 1 3 D A Ch1 CON3 pin 36 4 A...

Page 63: ...e for CH0 is 0 V 22 1 Enter the D A data 2 Click the A0 12 button 3 Repeat items 1 and 2 until the D A output voltage for CH0 is 5 V 8 1 Enter the D A data 2 Click the A0 3 button 3 Repeat items 1 and...

Page 64: ...lling the function Data values from this parameter is retrieved after calling the function Input Yes No Output No Yes Input Output Yes Yes A1 1 Error Code Definitions Error Code Error ID Description 0...

Page 65: ...ries cards installed in the system are detected the resource information will be saved to the library Syntax WORD PCI82X_DriverInit WORD wBoards Parameters wBoardNo Output The number of boards found o...

Page 66: ...elated to the PCI 822 826 Series cards Syntax WORD PCI82X_GetConfigAddressSpace WORD wBoardNo WORD wBaseAddr WORD wBaseDIO WORD wBaseDA WORD wBaseAD WORD wIrqNo WORD wModeID WORD wCardID Parameters wB...

Page 67: ...24 15 Page 67 wModeID Output The Model ID number Sub Device ID see Section 6 1 for details 0x822 is PCI 822 0x826 is PCI 826 wCardID Output The Card ID number as configured using DIP Switch SW1 see Se...

Page 68: ...ecified board Syntax WORD PCI82X_SetDIOMode32 WORD wBoardNo WORD wDirection Parameters wBoardNo Input The board number Base 0 wDirection Input Configures the mode to be used for Digital I O ports A an...

Page 69: ...specified board in 16 bit integer format Syntax WORD PCI82X_WriteDO WORD wBoardNo WORD wPortNo WORD wValue Parameters wBoardNo Input The board number Base 0 wPortNo Input The Port number where 0 denot...

Page 70: ...cified board in 16 bit integer format Syntax WORD PCI82X_ReadDI WORD wBoardNo WORD wPortNo WORD wValue Parameters wBoardNo Input The board number Base 0 wPortNo Input The Port number to be read where...

Page 71: ...at format Syntax WORD PCI82X_WriteAO WORD wBoardNo WORD wChannel WORD wConfig float fValue Parameters wBoardNo Input The board number Base 0 wChannel Input The D A channel number wConfig Input Configu...

Page 72: ...specific D A channel on a specified board in 16 bit integer format Syntax WORD PCI82X_WriteAO WORD wBoardNo WORD wChannel WORD wValue Parameters wBoardNo Input The board number Base 0 wChannel Input T...

Page 73: ...dNo WORD wChannel WORD wConfigCode DWORD dwDataCount float fValue Parameters wBoardNo Input The board number Base 0 wChannel Input The A D channel number wConfigCode Input Configures the voltage range...

Page 74: ...nnel WORD wConfigCode DWORD dwDataCount WORD wValue Parameters wBoardNo Input The board number Base 0 wChannel Input The A D channel number wConfigCode Input Configures the voltage range for the Analo...

Page 75: ...Refer to the PCI82X_StopAI function for details of how to stop the pacer trigger operation Syntax WORD PCI82X_StartAI WORD wBoardNo WORD wChannel WORD wConfig float fSamplingRate DWORD dwDataCount Pa...

Page 76: ...e PCI82X_StopAI function for details of how to stop the MagicScan operation Syntax WORD PCI82X_StartAIScan WORD wBoardNo WORD wChannels WORD wChannelList WORD wConfigList float fSamplingRate DWORD dwD...

Page 77: ...nnel to be scanned is AI Channel 5 wChannelList 2 3 The third channel to be scanned is AI Channel 3 wConfigList 0 2 The input range for the first channel is 2 5 V wConfigList 1 0 The input range for t...

Page 78: ...float fValue Parameters wBoardNo Input The Board number Base 0 dwDataCount Input The Analog Input data value fValue Output An array containing the A D data received from the Analog Input channels in...

Page 79: ...t An array containing the A D data received from the Analog Input channels in 16 bit integer format Returns Refer to Appendix A1 1 Error Code Definitions PCI82X_StopAI This function is used to stop al...

Page 80: ...terboards DB 37 The DB 37 is a general purpose daughterboard for devices that include 37 pin D sub connectors and is designed for easy wiring DN 37 The DN 37 is a general purpose daughterboard for dev...

Page 81: ...nal optocoupler with a resistor to allow current sensing The DB 16P can be used to sense DC signals from TTL levels up to 24 V or can be used to sense a wide range of AC signals This board can also be...

Page 82: ...n industrial type terminal block The Relay channels are powered by applying a 5 V signal to the appropriate channel via a 20 pin flat cable connector The DB 16R includes 16 LEDs one for each Relay cha...

Reviews: