ICP DAS USA PCI-FC16U series User Manual

16-ch counter/frequency board with 32-ch programmable dio
Hide thumbs Also See for PCI-FC16U series:

Advertisement

Quick Links

PCI-FC16U Series Board
User Manual
16-ch Counter/Frequency Board with 32-ch Programmable DIO
Version 1.2, Apr. 2017
S
UPPORT
This manual relates to the following boards: PCI-FC16U.
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 © 2017 by ICP DAS. All rights are reserved.
T
RADEMARKS
Names are used for identification purposes only and may be registered
trademarks of their respective companies.
C
US
ONTACT
If you have any questions, feel to contact us by email at:
service@icpdas.com or service.icpdas@gmail.com
We will respond to you within 2 working days.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCI-FC16U series and is the answer not in the manual?

Questions and answers

Summary of Contents for ICP DAS USA PCI-FC16U series

  • Page 1 PCI-FC16U Series Board User Manual 16-ch Counter/Frequency Board with 32-ch Programmable DIO Version 1.2, Apr. 2017 UPPORT This manual relates to the following boards: PCI-FC16U. 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.
  • Page 2: Table Of Contents

    16-ch Counter/Frequency Board with 32-ch Programmable DIO ABLE OF ONTENTS PACKING LIST ................................4 INTRODUCTION ..............................5 ................................5 VERVIEW ................................6 EATURES ................................ 6 PPLICATIONS ..............................7 PECIFICATIONS HARDWARE CONFIGURATION ..........................9 ..............................9 OARD AYOUT ..............................10 UMPER ETTINGS 2.2.1 JP1: Digital I/O Mode ..........................
  • Page 3 16-ch Counter/Frequency Board with 32-ch Programmable DIO 3: T ........................34 IMER EGISTERS 6.4.1 Get/Set Channel Mode ..........................34 6.4.2 Get/Set Speed Mode ........................... 34 6.4.3 Write/Read Data ............................35 DOS LIB FUNCTION DESCRIPTION ........................36 ............................... 37 RROR ABLE ..............................
  • Page 4: Packing List

    16-ch Counter/Frequency Board with 32-ch Programmable DIO Packing List The shipping package should 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.
  • Page 5: Introduction

    32-ch Programmable DIO 1. Introduction The PCI-FC16U User Manual contains information about using the ICP DAS PCI-FC16U Series multifunction board with UniDAQ. PCI-FC16U board feature up to 16 Counter/Frequency channels and 32 Programmable Digital Input/Output channels. This chapter provides basic information you need to get started using your PCI-FC16U board.
  • Page 6: Features

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 1.2 Features The following is an overview of the general features provided by the PCI-FC16U board. Refer to Section 1.3 for more details.  Universal PCI Interface supports both the 5 V and the 3.3 V PCI bus ...
  • Page 7: Specifications

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 1.4 Specifications The following is an overview of the specifications for the various models in the PCI-FC16U Model PCI-FC16U Counter/Frequency 16-ch Up Counter Counter & Frequency Mode 16-ch Frequency Digital Noise Filter 1 ~ 32767 μs Isolated ON Voltage Level +4.5 V...
  • Page 8 16-ch Counter/Frequency Board with 32-ch Programmable DIO Model PCI-FC16U Digital Output Compatibility 5 V/TTL Logic 0: 0.4 V (Max.) Output Voltage Logic 1: 2.4 V (Min.) Sink: 2.4 @ 0.8 V Output Capability Source: 0.8 @ 2.0 V Response Speed 1.0 MHz (Typical) General Bus Type...
  • Page 9: Hardware Configuration

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2 Hardware Configuration 2.1 Board Layout The following is an overview of the board layout for each of the PCI-FC16U board. PA DI PB DI CON1 CON2 DIO-S0 1 2 3 4 DIO-S1 DIO-S2 CON1 The terminal for PB.
  • Page 10: Jumper Settings

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2.2 Jumper Settings 2.2.1 JP1: Digital I/O Mode Jumper JP1 is used to configure the Digital I/O direction mode as either Software Programmable (short pins 2 and 3) or Jumper Selectable (short pins 1 and 2). The default setting is Jumper Selectable Mode.
  • Page 11: Jp3: Digital Input Pull-High/Low

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2.2.2 JP3: Digital 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.
  • Page 12: Card Id Switch (Sw1)

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2.3 Card ID Switch (SW1) The PCI-FC16U includes an onboard Card ID switch (SW1) that enables the board to be recognized via software if two or more boards are installed in the same computer. The default Card ID is 0x0. For more details regarding the SW1 Card ID settings, refer to the table below.
  • Page 13: System Block Diagram

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2.4 System Block Diagram  The following is the block diagram for the PCI-FC16U: C0A+ 32-ch Up Counter 32-ch Digital Programmable C0A- Up/Down Input/Output Up/Down CNT0-CNT7 Counter Counter C0B+ C0B- Jumper C7A+ Up Counter Setting C7A- Up/Down...
  • Page 14: Pin Assignments

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 2.5 Pin Assignments Note: 1. “N.C.” is the abbreviation of “Not Connected”. 2. CON1 and CON2 are TTL Compatible. User Manual, Ver. 1.2, Apr. 2017, PMH-030-12 Page 14...
  • Page 15: Hardware Installation

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 3 Hardware Installation Note: It is recommended that the driver is installed before installing the hardware as the computer may need to be restarted once the driver is installed in certain operating systems, such as Windows 2000 or Windows XP, etc.
  • Page 16 16-ch Counter/Frequency Board with 32-ch Programmable DIO 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. User Manual, Ver.
  • Page 17 16-ch Counter/Frequency Board with 32-ch Programmable DIO 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.
  • Page 18 16-ch Counter/Frequency Board with 32-ch Programmable DIO Step 9: Confirm that the card is correctly inserted in the motherboard, and then secure the PCI-FC16U board in place using the retaining screw that was removed in Step 6. Step 10: Replace the covers on the computer.
  • Page 19: Software Installation

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 4 Software Installation This chapter provides a detailed description of the process for installing the driver for the PCI-FC16U board as well as how to verify whether the PCI-FC16U board was properly installed. PCI-FC16U board can be used on DOS, Linux and 32/64-bit versions of Windows XP/2003/2008/7/8/10 based systems, and the drivers are fully Plug and Play compliant for easy installation.
  • Page 20 16-ch Counter/Frequency Board with 32-ch Programmable DIO Step 3: On the “Information” screen, verify that the DAQ card is included in the list of supported devices, then click the “Next>” button. Step 4: On the “Select Destination Location” screen, click the “Next>” button to install the software in the default folder, C:\ICPDAS\UniDAQ.
  • Page 21: Plug And Play Driver Installation

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 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.
  • Page 22 16-ch Counter/Frequency Board with 32-ch Programmable DIO Step 4: Click the “Finish” button. Step 5: Windows pops up “Found New Hardware” dialog box again. User Manual, Ver. 1.2, Apr. 2017, PMH-030-12 Page 22...
  • Page 23: Verifying The Installation

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 4.3 Verifying the Installation To verify that the driver was correctly installed, use the Windows Device Manager to view and update the device drivers installed on the computer, and to ensure that the hardware is operating correctly.
  • Page 24 16-ch Counter/Frequency Board with 32-ch Programmable DIO  Windows Server 2003 Step 1: “Start” button and point to “Administrative Tools”, and then click the “Computer Click the Management” option. Step 2: “System Tools” item in the console tree, and then click “Device Manager”. Expand the ...
  • Page 25 16-ch Counter/Frequency Board with 32-ch Programmable DIO  Windows 8 Step 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 and then click “Device Manager”.
  • Page 26: Check The Installation

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 4.3.2 Check the Installation Check that the PCI-FC16U board is correctly listed in the Device Manager, as illustrated below. Installation successful User Manual, Ver. 1.2, Apr. 2017, PMH-030-12 Page 26...
  • Page 27: Testing The Pci-Fc16U Board

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 5 Testing the PCI-FC16U Board This chapter provides detailed information about the “Self-Test” process, which is used to confirm that the PCI-FC16U board is operating correctly. Before beginning the “Self-Test” process, ensure that both the hardware and driver installation procedures are fully completed. For detailed information about the hardware and driver installation, refer to Chapter 3 Hardware Installation Chapter 4 Software...
  • Page 28: Execute The Test Program

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 5.2 Execute the Test Program Step 1: In Windows 7, click 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.
  • Page 29 16-ch Counter/Frequency Board with 32-ch Programmable DIO Step 4: Check the results of the 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. ...
  • Page 30: O Register Addresses

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6 I/O Register Addresses 6.1 Hardware 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...
  • Page 31: I/O Address Mapping

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6.2 I/O Address Mapping An overview of the registers for the PCI-FC16U board is given below. The address of each register can be determined by simply adding the offset value to the base address of the corresponding Bar number.
  • Page 32: Bar 1: Digital I/O Registers

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6.3 Bar 1: Digital I/O Registers 6.3.1 Read/Write 16-bit Data for Port A/B  (Read/Write) wBaseDIO+0x00 Read/Write 16-bit Data for Port A  (Read/Write) wBaseDIO+0x04 Read/Write 16-bit Data for Port B Data That is 16-bit I/O ports in the PCI-FC16U. This I/O port can be configured as DI or DO port. Each port is easy to read/write by access his owns data register.
  • Page 33: Read Card Id And Dio Jumper Settings

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6.3.3 Read Card ID and DIO Jumper Settings  (Read) wBaseDIO+0x0C Read Card ID and DIO Jumper Settings Data ID2 ID1 ID0 This register reads the Card ID (SW1) and DIO jumper JP1 settings (See Section 2.3 “Card ID Switch (SW1)”...
  • Page 34: Bar 2 And Bar3: Timer Registers

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6.4 Bar 2 and Bar3: Timer Registers 6.4.1 Get/Set Channel Mode  (Read/Write) wBaseTimer0+0x20 Get/Set channel mode (channel 0 to 7)  (Read/Write) wBaseTimer1+0x20 Get/Set channel mode (channel 8 to 15) Data This register is used to get/set the channel configuration mode. S x = 1 ...
  • Page 35: Write/Read Data

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 6.4.3 Write/Read Data  (Write) wBaseTimer0+0x40 Select channel 0 to 7  (Write) wBaseTimer1+0x40 Select channel 8 to 15 Data  (Write) wBaseTimer0+0x44 Latch channel 0 to 7  (Write) wBaseTimer1+0x44 Latch channel 8 to 15 Data ...
  • Page 36: Dos Lib Function Description

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 7 DOS Lib Function Description All of the functions provided for PCI-FC16U are listed below in Sections 7.1 to 7.4. This list of functions is expanded on in the text that follows. However, in order to 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.
  • Page 37: Error Code Table

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 7.1 Error Code Table For the most errors, it is recommended to check: 1. Does the device driver installs successful? 2. Does the card have plugged? 3. Does the card conflicts with other device? 4.
  • Page 38: Driver Function

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 7.2 Driver Function PCIFC16_DriverInit This function can detect all the PCI-FC16U cards in the system. It is implemented based on the PCI Plug and Play mechanism. It will find all the PCI-FC16U cards installed in this system and save all their resources into the library.
  • Page 39: Pcifc16_Getconfigaddressspace

    16-ch Counter/Frequency Board with 32-ch Programmable DIO PCIFC16_GetConfigAddressSpace The user can use this function to save the resources found on all the PCI-FC16U Cards installed on the system. Then the application program can control all the PCI-FC16U cards functions directly. ...
  • Page 40 16-ch Counter/Frequency Board with 32-ch Programmable DIO 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”.
  • Page 41: Digital I/O Function

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 7.3 Digital I/O Function PCIFC16_SetDIOMode32 Set the Digital Input/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:...
  • Page 42: Pcifc16_Writedo

    16-ch Counter/Frequency Board with 32-ch Programmable DIO PCIFC16_WriteDO Send the 16-bit data 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:...
  • Page 43: Pcifc16_Readdi

    16-ch Counter/Frequency Board with 32-ch Programmable DIO PCIFC16_ReadDI Reads the 16-bit data 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...
  • Page 44: Counter/Frequency Function

    16-ch Counter/Frequency Board with 32-ch Programmable DIO 7.4 Counter/Frequency Function PCIFC16_SetChannelMode This function set the channel mode for Counter/Frequency channel.  Syntax: WORD PCIFC16_SetChannelMode (WORD wBoardNO, WORD wChannel, WORD wMode, WORD wDelayMs  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...
  • Page 45: Pcifc16_Readfrequency

    16-ch Counter/Frequency Board with 32-ch Programmable DIO PCIFC16_ReadFrequency This function could read frequency from signal.  Syntax: WORD PCIFC16_ReadFrequency (WORD wBoardNO, WORD wChannel, WORD *fValue, DWORD dwTimeOutMs, WORD *wStatus  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...
  • Page 46: Pcifc16_Readcounter

    16-ch Counter/Frequency Board with 32-ch Programmable DIO PCIFC16_ReadCounter This function could read the counter/frequency data.  Syntax: WORD 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.
  • Page 47: Appendix: Daughter Boards

    16-ch Counter/Frequency Board with 32-ch Programmable DIO Appendix: Daughter Boards DB-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. 37-Pin cable PCI-FC16U DB-37 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.
  • Page 48: Db-16P Isolated Input Board

    16-ch Counter/Frequency Board with 32-ch Programmable DIO DB-16P Isolated Input Board The DB-16P is a 16-channel isolated digital input daughter board. The optically isolated inputs of the DB-16P are consisted 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.
  • Page 49: Db-16R Relay Board

    16-ch Counter/Frequency Board with 32-ch Programmable DIO DB-16R Relay Board The DB-16R, 16-channel relay output board, consists of 16 Form C relays for efficient switching of load by programmed control. It is connector and functionally compatible with 785 series board but with industrial type terminal block.

Table of Contents