background image

16-ch Counter/Frequency Board   
with 32-ch Programmable DIO 

User  Manual,  Ver.  1.2,  Apr.  2017,  PMH-030-12  Page  21 

 

4.2

 

 

Plug and Play Driver Installation   

 

Step  1:

  Correctly  shut  down  and  power  off  your 

computer and disconnect the power supply, and then 
install the PCI-FC16U board into the computer. 

 

 

For detailed information about the hardware 
installation of the PCI-FC16U board, refer to 

Chapter 3 

Hardware Installation.

 

 
 
 

 

 

 

Step 2:

 Power on the computer and complete the Plug and Play installation

.

 

 

Note: More recent operating systems, such as Windows 7/8 will automatically detect the 

new hardware and install the necessary drivers etc., so Steps 3 to 5 can be skipped. 

 

 

Step 3:

 Select 

“Install the software 

automatically [Recommended]” 

and 

click the 

“Next>” 

button. 

 
 

 

Содержание PCI-FC16U series

Страница 1: ...eserves 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 COPYRIGHT Copyright 2017 by ICP DAS All rights are reserved TRADEMARKS Names are used for identificatio...

Страница 2: ...M 13 2 5 PIN ASSIGNMENTS 14 3 HARDWARE INSTALLATION 15 4 SOFTWARE INSTALLATION 19 4 1 OBTAINING INSTALLING THE DRIVER INSTALLER PACKAGE 19 4 2 PLUG AND PLAY DRIVER INSTALLATION 21 4 3 VERIFYING THE INSTALLATION 23 4 3 1 Accessing Windows Device Manager 23 4 3 2 Check the Installation 26 5 TESTING THE PCI FC16U BOARD 27 5 1 SELF TEST WIRING 27 5 2 EXECUTE THE TEST PROGRAM 28 6 I O REGISTER ADDRESSE...

Страница 3: ...CTION DESCRIPTION 36 7 1 ERROR CODE TABLE 37 7 2 DRIVER FUNCTION 38 PCIFC16_DriverInit 38 PCIFC16_DriverClose 38 PCIFC16_GetConfigAddressSpace 39 7 3 DIGITAL I O FUNCTION 41 PCIFC16_SetDIOMode32 41 PCIFC16_WriteDO 42 PCIFC16_ReadDI 43 7 4 COUNTER FREQUENCY FUNCTION 44 PCIFC16_SetChannelMode 44 PCIFC16_ReadFrequency 45 PCIFC16_ReadCounter 46 APPENDIX DAUGHTER BOARDS 47 DB 37 47 DN 37 47 DB 16P ISOL...

Страница 4: ...uld contain the following items One PCI FC16U Series Board One printed Quick Start Guide One Software Utility CD One CA 4002 D Sub Connector Note If any of these items is missing or damaged contact the dealer from whom you purchased the product Save the shipping materials and carton in case you need to ship or store the product in the future ...

Страница 5: ...ons and can support high frequency signals up to 250 kHz The PCI FC16U board also includes 32 programmable Digital I O channels The PCI FC16U board includes an onboard Card ID switch that enables the board to be easily recognized via software if two or more boards are installed in the same computer The pull high pull low resistors allow the DI status to be predefined as either high or low instead ...

Страница 6: ...er to Section 1 3 for more details Universal PCI Interface supports both the 5 V and the 3 3 V PCI bus Supports Card ID SMD Switch 16 channel Up Counter or Frequency Measurement Pulse Width 2 μs Min Digital Filter 1 32767 μs 32 Programmable Digital I O Channels Pull high and Pull low Resistors for DI Channels 2 kV ESD Protection for each channels 1 3 Applications Counter Measurement Frequency Meas...

Страница 7: ...h 2 μs Input Frequency 1 Hz typically 250 kHz both counter mode and frequency mode where 250 kHz is calculated as followings Supposed that duty cycle 50 refer to Minimum Pulse Duration of High Level we have pulse period 2 μs x 2 4 μs which is 250 kHz as a max Max Frequency Refer to Min Pulse Duration of High Level Max Frequency is highly affected by duty cycle Frequency Accuracy 0 4 EEPROM 128 KB ...

Страница 8: ... 1 2 4 V Min Output Capability Sink 2 4 0 8 V Source 0 8 2 0 V Response Speed 1 0 MHz Typical General Bus Type 3 3 V 5 V Universal PCI 32 bit 33 MHz Data Bus 16it Card ID Yes 4 bit I O Connector Female DB37 x 1 20 pin box header x 2 Dimensions L x W x D 170 mm x 88 mm x 22 mm Power Consumption 700 mA 5 V Max Operating Temperature 0 60 C Storage Temperature 20 70 C Humidity 5 85 RH Non condensing ...

Страница 9: ... DI SW x x DO DO x x JP1 DIO S0 DIO S1 DIO S2 CON1 The terminal for PB Refer to Section 2 5 Pin Assignments CON2 The terminal for PA Refer to Section 2 5 Pin Assignments CON3 The terminal for Counter Frequency Refer to Section 2 5 Pin Assignments JP1 Digital Input Output Mode Settings Refer to Section 2 2 1 JP1 Digital I O Mode JP3 Digital Input Pull high low Settings Refer to Section 2 2 2 JP3 DI...

Страница 10: ... SW 3 2 HW Software Programmable Mode Refer to Section 6 3 Bar1 Digital I O Registers for details of how to configure Port A PA and Port B PB when the DIO S0 jumper is set to Software Programmable Mode The DIO S1 and DIO S2 jumpers are not used when the DIO S0 jumper is set to Software Program Mode Jumper Selectable Mode DIO S1 Port A PA and DIO S2 Port B PB are used to configure the I O ports as ...

Страница 11: ...al Input Pull high low Jumper JP3 is used to set the Digital Input to either Pull high or Pull low Shorting pins 1 and 2 will set the Digital I O to Pull high To set the Digital I O to Pull low pins 2 and 3 should be shorted The default setting is Pull low Jumper Pull low Default Pull high JP3 1 3 2 VCC GND 1 3 2 VCC GND ...

Страница 12: ...ault Card ID is 0x0 For more details regarding the SW1 Card ID settings refer to the table below NO 1 2 3 4 ID 0 ID 1 ID 2 ID 3 SW1 Default Settings Card ID Hex 1 ID0 2 ID1 3 ID2 4 ID3 0x0 ON ON ON ON 0x1 OFF ON ON ON 0x2 ON OFF ON ON 0x3 OFF OFF ON ON 0x4 ON ON OFF ON 0x5 OFF ON OFF ON 0x6 ON OFF OFF ON 0x7 OFF OFF OFF ON 0x8 ON ON ON OFF 0x9 OFF ON ON OFF 0xA ON OFF ON OFF 0xB OFF OFF ON OFF 0xC...

Страница 13: ... System Block Diagram The following is the block diagram for the PCI FC16U Up Down Counter Up Down Counter Up Counter CNT0 CNT7 PCI FC16U C0A C0A C0B C0B Up Down Counter Up Down Counter Up Counter CNT8 CNT15 C7A C7A C7B C7B PCI Bridge 32 ch Programmable DIO 32 ch Digital Input Output Jumper DIO Setting Card ID ...

Страница 14: ...ch Counter Frequency Board with 32 ch Programmable DIO User Manual Ver 1 2 Apr 2017 PMH 030 12 Page 14 2 5 Pin Assignments Note 1 N C is the abbreviation of Not Connected 2 CON1 and CON2 are TTL Compatible ...

Страница 15: ...ms such as Windows 2000 or Windows XP etc Installing the driver first helps reduce the time required for installation and restarting the computer To install the PCI FC16U board follow the procedure described below Step 1 Install the driver for the PCI FC16U board on your computer For detailed information about installing the driver refer to Chapter 4 Software Installation Step 2 Configure the Card...

Страница 16: ...2 ch Programmable DIO User Manual Ver 1 2 Apr 2017 PMH 030 12 Page 16 Step 3 Shut down and switch off the power to the computer and then disconnect the power supply Step 4 Remove the cover from the computer Step 5 Select a vacant PCI slot ...

Страница 17: ... 030 12 Page 17 Step 6 Unscrew and remove the PCI slot cover from the computer case Step 7 Remove the connector cover from the PCI FC16U board Step 8 Carefully insert the PCI FC16U board into the PCI slot by gently pushing down on both sides of the card until it slides into the PCI connector ...

Страница 18: ...FC16U board in place using the retaining screw that was removed in Step 6 Step 10 Replace the covers on the computer Step 11 Re attach any cables insert the power cord and then switch on the power to the computer Once the computer reboots follow any message prompts that may be displayed to complete the Plug and Play installation procedure Refer to Chapter 4 Software Installation for more informati...

Страница 19: ...can be obtained from the ICP DAS FTP web site Install the appropriate driver for your operating system The location and website addresses for the installation package are indicated below UniDAQ Driver SDK Operating System Windows 2000 32 64 bit Windows XP 32 64 bit Windows 2003 32 64 bit Windows 7 32 64 bit Windows 2008 32 64 bit Windows 8 and 32 64 bit Windows 10 Driver Name UniDAQ Driver SDK uni...

Страница 20: ...d is in the list of device and then click the Next button to continue Step 6 On the Select Additional Tasks screen click the Next button to continue Step 7 On the Download Information screen click the Next button to continue Step 8 Once the installation has completed click No I will restart my computer later and then click the Finish button For more detailed information about how to install the Un...

Страница 21: ...d into the computer For detailed information about the hardware installation of the PCI FC16U board refer to Chapter 3 Hardware Installation Step 2 Power on the computer and complete the Plug and Play installation Note More recent operating systems such as Windows 7 8 will automatically detect the new hardware and install the necessary drivers etc so Steps 3 to 5 can be skipped Step 3 Select Insta...

Страница 22: ...16 ch Counter Frequency Board with 32 ch Programmable DIO User Manual Ver 1 2 Apr 2017 PMH 030 12 Page 22 Step 4 Click the Finish button Step 5 Windows pops up Found New Hardware dialog box again ...

Страница 23: ...rdware is operating correctly The following is a description of how access the Device Manager in each of the major versions of Windows Refer to the appropriate description for the specific operating system to verify the installation 4 3 1 Accessing Windows Device Manager Windows 2000 XP Step 1 Click the Start button and then point to Settings and click Control Panel Double click the System icon to...

Страница 24: ...ick Device Manager Windows 7 Step 1 Click the Start button and then click Control Panel Step 2 Click System and Maintenance and then click Device Manager Alternatively Step 1 Click the Start button Step 2 In the Search field type Device Manager and then press Enter Note that Administrator privileges are required for this operation If you are prompted for an administrator password or confirmation e...

Страница 25: ... corner of screen Step 2 Right click the Start screen icon and then click Device Manager Alternatively press Windows Key X to open the Start Menu and then select Device Manager from the options list Windows 10 Step 1 Press Windows Key X shortcut keys together or right click or press and hold on the Start button then select Device Manager from the context menu Step 2 Select the Device Manager item ...

Страница 26: ...oard with 32 ch Programmable DIO User Manual Ver 1 2 Apr 2017 PMH 030 12 Page 26 4 3 2 Check the Installation Check that the PCI FC16U board is correctly listed in the Device Manager as illustrated below Installation successful ...

Страница 27: ... fully completed For detailed information about the hardware and driver installation refer to Chapter 3 Hardware Installation and Chapter 4 Software Installation 5 1 Self Test Wiring Before beginning the Self Test procedure ensure that the following items are available A CA 2002 Cable Optional Website http www icpdas com products Accessories cable cable_selection htm Wiring for the Digital Input O...

Страница 28: ...ck the Start button point to All Programs and then click the ICPDAS folder Point to UniDAQ Development Kits and then click the UniDAQ Utility to execute the UniDAQ Utility Program Step 2 Confirm that the PCI FC16U board 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 ...

Страница 29: ...he Digital Input Output functions test 1 Click the Digital Output tab 2 Select Port0 from the Port Number drop down menu 3 Check the checkboxes for channels 0 2 4 and 6 4 Click the Digital Input tab 5 Select Port1 from the Port Number drop down menu 6 The DI indicators will turn red when the corresponding DO channels 0 2 4 and 6 are ON ...

Страница 30: ...ID During the power on stage the Plug and Play BIOS will assign an appropriate I O address to each PCI FC16U board installed in the system Each card includes four fixed ID numbers that are used to identify the card and are indicated below Model PCI FC16U Vendor ID HEX 0x10B5 Device ID HEX 0x3001 Sub Vendor ID HEX 0x00FC Sub Device ID HEX 0x0016 ...

Страница 31: ... 04H Read Digital I O Port B Write Digital I O Port B 0CH Get DIO Jumper Status and Card ID Set Port A and Port B Configuration 2 Timer0 20H Read Channel Mode Set Channel Mode 24H Read Speed Mode Set Speed Mode 40H Read Counter Value bit 0 to 7 Select Channel 44H Read Counter Value bit 8 to 15 Latch Channel 48H Read Counter Value bit 16 to 23 N A 4CH Read Counter Value bit 24 to 31 Clear the Chann...

Страница 32: ... port is easy to read write by access his owns data register For Example outpw wBaseDIO 0x0 wDoValue Control the DO states wDiValue inpw wBaseDIO 0x0 Read the DI states 6 3 2 Input Output Selection Control Write wBaseDIO 0x0C I O Selection Control Bit 1 0 Data Port B Port A This register provides the function for configuration Digital Input Output port of the PCI FC16U Every I O port can be progra...

Страница 33: ... x x S0 S1 S2 x x x x ID3 ID2 ID1 ID0 This register reads the Card ID SW1 and DIO jumper JP1 settings See Section 2 3 Card ID Switch SW1 and Section 2 2 1 JP1 Digital I O Mode for detail information For Example wCardID inportb wBaseDIO 0x0C 0xF Read Card ID number wJumper inportb wBaseDIO 0xC 8 0x7 DIO Port Configuration wJumper S0 S1 S2 JP1 S0 Port A Port B 0x0 0 x x SW x x 0x4 1 0 0 HW DI DI 0x5...

Страница 34: ... This channel is used as a counter channel Data S7 S6 S5 S4 S3 S2 S1 S0 Bar 2 wBase Timer0 CH7 CH6 CH5 CH4 CH3 CH2 CH1 CH0 Bar 3 wBase Timer1 CH15 CH14 CH13 CH12 CH11 CH10 CH8 CH8 6 4 2 Get Set Speed Mode Read Write wBaseTimer0 0x24 Get Set speed mode channel 0 to 7 Read Write wBaseTimer1 0x24 Get Set speed mode channel 8 to 15 Bit F E D C B A 9 8 7 6 5 4 3 2 1 0 Data x x x x x x x x S7 S6 S5 S4 S...

Страница 35: ...D7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 Read wBaseTimer0 0x40 0x44 0x48 0x4C Read Data channel 0 to 7 Read wBaseTimer1 0x40 0x44 0x48 0x4C Read Data channel 8 to 15 Bit F E D C B A 9 8 7 6 5 4 3 2 1 0 Data x x x x x x x X D7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 This register is used to get the value for frequency counter channel For Example outw wBase 0x40 0x08 wChannel 8 Select Channel outw wBase 0x44 0x00 wChanne...

Страница 36: ...o make a clear and simplified description of the functions the attributes of the input and output parameters for every function is indicated as input and output respectively as shown in following table Furthermore the error code of all functions supported by PCI FC16U is also listed in Section 7 1 Error Code Table Keyword Parameter must be set by the user before calling the function Data value fro...

Страница 37: ...gain The return codes are defined as follows Error Code ID Error String 0 NoError OK No Error 1 DriverHandleError Device driver opened error 2 DriverCallError Got the error while calling the driver functions 3 FindBoardError Can t find the board on the system 4 TimeOut Timeout 5 ExceedBoardNumber Invalid board number Valid range 0 to TotalBoard 1 6 NotFoundBoard Can t detect the board on the syste...

Страница 38: ...CI Plug and Play mechanism It will find all the PCI FC16U cards installed in this system and save all their resources into the library Syntax WORD PCIFC16_DriverInit WORD wBoards Parameters wBoards Output Number of boards found in this PC Returns Refer to Section 7 1 Error Code Table PCIFC16_DriverClose Release the PCI FC16U driver resource Syntax WORD PCIFC16_DriverClose void Parameters None Retu...

Страница 39: ...CI FC16U cards functions directly Syntax WORD PCIFC16_GetConfigAddressSpace WORD wBoardNo WORD wBaseAddr WORD wBaseDIO WORD wBaseTimer0 WORD wBaseTimer1 WORD wIrqNo WORD wModeID WORD wCardID Parameters wBoardNo Input The Board number for PCI FC16U board Start from 0 wBaseAddr Output The section 0 base address of the board wBaseDIO Output The section 1 base address of the board wBaseTimer0 Output T...

Страница 40: ...mable DIO User Manual Ver 1 2 Apr 2017 PMH 030 12 Page 40 wIrqNo Output The IRQ number that the board using wModeID Output Get the Model ID number 0xFC16 is PCI FC16U wCardID Output Get the Card ID number Returns Refer to Section 7 1 Error Code Table ...

Страница 41: ...put Output Port for the Port A and Port B Syntax WORD PCIFC16_SetDIOMode32 WORD wBoardNO WORD wDirection Parameters wBoardNo Input The Board number for PCI FC16U board Start from 0 wDirection Input Set the Digital Input Output Port to DI or DO Port as follow Bit 1 Port B Bit 0 Port A wDirection Input Input 0 Output Output 1 Returns Refer to Section 7 1 Error Code Table ...

Страница 42: ... to the specified I O port Syntax WORD PCIFC16_WriteDO WORD wBoardNO WORD wPortNo WORD wValue Parameters wBoardNo Input The Board number for PCI FC16U board Start from 0 wPortNo Input Port Number Port A is 0 Port B is 1 as follow wPortNo Port A 0 Port B 1 wValue Input 16 bit data send to I O port Returns Refer to Section 7 1 Error Code Table ...

Страница 43: ...from specified I O port Syntax WORD PCIFC16_ReadDI WORD wBoardNO WORD wPortNo WORD wValue Parameters wBoardNo Input The Board number for PCI FC16U board Start from 0 wPortNo Input Port Number Port A is 0 Port B is 1 as follow wPortNo Port A 0 Port B 1 wValue Output 16 bit data receive from I O port Returns Refer to Section 7 1 Error Code Table ...

Страница 44: ...ters wBoardNo Input The Board number for PCI FC16U board Start from 0 wChannel Input User set the channel number of Counter Frequency while wChannel is 0 that is first channel and wChannel is 1 that is second channel And so on wMode Input Set channel mode as follow Mode wMode Frequency 1 Hz 1 kHz 0x02 Up Counter 0x03 Frequency 1 kHz 250 kHz 0x12 wDelayMs Input The channel must have delay time on f...

Страница 45: ...ardNo Input The Board number for PCI FC16U board Start from 0 wChannel Input User set the channel number of Counter Frequency while wChannel is 0 that is first channel and wChannel is 1 that is second channel And so on fValue Output Get the read Frequency data dwTimeOutMs Input Set the timeout for Counter Frequency The default settings is 1 ms The unit is ms wStatus Output Get the Counter Frequenc...

Страница 46: ...D PCIFC16_ReadCounter WORD wBoardNO WORD wChannel DWORD dwDataCount Parameters wBoardNo Input The Board number for PCI FC16U board Start from 0 wChannel Input User set the channel number of Counter Frequency while wChannel is 0 that is first channel and wChannel is 1 that is second channel And so on dwDataCount Input Get the read Counter data Returns Refer to Section 7 1 Error Code Table ...

Страница 47: ... 37 The DB 37 is a general purpose daughter board for D sub 37 pins It is designed for easy wire connection via pin to pin DN 37 The DN 37 is a general purpose daughter board for DB 37 pins with DIN Rail Mountings They are also designed for easy wire connection via pin to pin 37 Pin cable DB 37 PCI FC16U 37 Pin cable DN 37 PCI FC16U ...

Страница 48: ...sisted of are bi directional optocoupler with resistor for current sensing You can use the DB 16P to sense DC signal from TTL levels up to 24 V or use the DB 16P to sense a wide range of AC signals You can use this board to isolate the computer from large common mode voltage ground loops and transient voltage spike that often occur in industrial environments V V 20 Pin cable DI PCI FC16U DI AC or ...

Страница 49: ... series board but with industrial type terminal block The relay is energized by applying 5 voltage signal to the appropriate relay channel on the 20 pin flat connector There are 16 enunciator LEDs for each relay light when their associated relay is activated To avoid overloading your PC s power supply this board provides a screw terminal for external power supply Note Relay controls load up to 0 5...

Отзывы: