ICP DAS USA PCI-P8R8 User Manual

ICP DAS USA PCI-P8R8 User Manual

Hide thumbs Also See for PCI-P8R8:

Advertisement

Quick Links

Warranty
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.
Warning
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.
Copyright
Copyright © 2011 by ICP DAS. All rights are reserved.
Trademark
Names are used for identification only and may be registered trademarks of their
respective companies.
PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
PCI-P16R16 Series
Includes PCI-P8R8/P16R16, PCI-P8POR8/P16POR16,
PCI-P16C16 and PEX-P8POR8i/P16POR16i
User Manual
Version 2.8
Apr. 2011
1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ICP DAS USA PCI-P8R8

  • Page 1 PCI-P16R16 Series Includes PCI-P8R8/P16R16, PCI-P8POR8/P16POR16, PCI-P16C16 and PEX-P8POR8i/P16POR16i User Manual Version 2.8 Apr. 2011 Warranty 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

    EATURES AND PPLICATIONS 1.1.1. Features ............................3 1.1.2. Applications ........................... 4 ..........................4 LOCK IAGRAM ..........................5 PECIFICATIONS 1.3.1 PCI-P8R8/P16R16 ........................5 1.3.2 PCI-P16C16 ..........................6 1.3.3 PCI-P8POR8/P16POR16 and PEX-P8POR8i/ P16POR16i............7 ........................8 RODUCT HECK ......................9 ARDWARE ONFIGURATION 1.5.1 Unpacking ............................
  • Page 3: Introduction

    PEX-P16POR16i • PCI-P8R8/PCI-P16R16 The PCI-P16R16/PCI-P8R8 is a PCI card supporting 5 V PCI bus and "Plug & Play" feature to get I/O address automatically without manually setting. This card contains 16/8 photo coupler digital input channels that provide 5000 Vrms isolation protection, allowing the input signals to be completely floated so as to prevent ground loops.
  • Page 4 • PCI-P8POR8/P16POR16 and PEX-P8POR8i/P16POR16i The PCI-P8ROR8/P16POR16 supports 5 V PCI bus while the PEX- P8POR8i/P16POR16i supports PCI Express bus. Each contain 8 or 16 optically isolated input channels and 8 or 16 PhotoMos relay output channels. Both the isolated DI channels and the PhotoMos relay channels use a short optical transmission path to transfer an electronic signal between elements of a circuit and keep them electrically isolated.
  • Page 5: Features And Applications

    Transistor Output Type Relay Output (Open Collector) Led Indicators None External Power status Table 1-1: Features of PCI-P8R8/P16R16/P16C16 card PCI-P8POR8 PCI-P16POR16 PEX-P8POR8i PEX-P16POR16i Bus Type 5 V PCI Bus PCI Express x 1 Optically Isolated Digital Input Common AC/DC Digital Signed Input...
  • Page 6: Applications

    1.1.2. Applications Factory automation Laboratory automation Communication switching Security control Product test Energy management 1.2 Block Diagram PCI BUS P8R8 / P16R16 PCI Controller EEPROM P16C16 Relay Relay Transistor Transistor Buffers PhotoMos & Relay PhotoMos Drivers Transistor Relay P16POR1 Transistor PhotoMos PhotoMos Photo Couple...
  • Page 7: Specifications

    1.3 Specifications 1.3.1 PCI-P8R8/P16R16 Model Name PCI-P8R8 PCI-P16R16 Digital Input Isolation Voltage 3750 Vrms (Photo-couple) Channels Logic 1:AC/DC 5 ~ 24 V(AC 50 ~ 1 kHz) Input Voltage Logic 0: AC/DC 0 ~ 1 V Without Filter: 50 kHz (Typical) Response Speed With Filter: 0.455 kHz (Typical)
  • Page 8: Pci-P16C16

    1.3.2 PCI-P16C16 Model Name PCI-P16C16 Digital Input Isolation Voltage 3750 Vrms (Photo-couple) Channels Logic 1:AC/DC 5 ~ 24 V(AC 50 ~ 1 kHz) Input Voltage Logic 0: AC/DC 0 ~ 1 V Without Filter: 50 kHz (Typical) Response Speed With Filter: 0.455 kHz (Typical) Digital Output Isolation Voltage 3750 Vrms...
  • Page 9: Pci-P8Por8/P16Por16 And Pex-P8Por8I/ P16Por16I

    1.3.3 PCI-P8POR8/P16POR16 and PEX-P8POR8i/ P16PO R16i Model Name PCI-P8POR8 PCI-P16POR16 PEX-P8POR8i PEX-P16POR16i Digital Input Isolation Voltage 3750 Vrms (Photo-couple) Channels Logic 1:AC/DC 5 ~ 24 V(AC 50 ~ 1 kHz) Input Voltage Logic 0: AC/DC 0 ~ 1 V Without Filter: 50 kHz (Typical) Response Speed With Filter: 0.455 kHz (Typical) Relay Output...
  • Page 10: Product Check List

    1.4 Product Check List The shipping package includes the following items: One PCI boards as follows: • PCI-P8R8/PCI-P16R16 • PCI-P16C16 • PCI-P8POR8/PCI-P16POR16 • PEX-P8POR8i/PEX-P16POR16i One software utility PCI CD. One Quick Start Guide. It is recommended that you read the Quick Start Guide first. All the necessary and essential information is given in the Quick Start Guide, including: Where to get the software driver, demo programs and other resources.
  • Page 11: Hardware Configuration

    1.5 Hardware Configuration This chapter describes how to unpack this I/O card and how to install it to your system. Both the unpacking information and the jumper settings are described in the following text. This manual should be carefully read before installation. 1.5.1 Unpacking This I/O card was well-tested and inspected both mechanically and electrically before shipping.
  • Page 12: Board Layout

    PCI-P8R8/P16R16 Board Layout Figure 1-2: PCI–P8R8 Layout Figure 1-3: PCI–P16R16 Board Layout Note: D/I/O channel 0~7 for PCI-P8R8/P16R16. Select the input AC or DC signals of D/I channel 0 ~ 7 for CN1. JP1 ~ JP8 D/I/O channel 8~15 for PCI-P16R16.
  • Page 13 PCI-P16C16 Board Layout Figure 1-4: PCI-P16C16 Layout Note: D/I/O channel 0~7 for PCI-P16C16. Select the input AC or DC signals of D/I channel 0 ~ 7 for CN1. JP1 ~ JP8 D/I/O channel 8~15 for PCI-P16C16. Select the input AC or DC signals for D/I channel 8 ~ 15 for CN2. JP9 ~ JP16 PCI-P16R16 Series User Manual (Ver.2.8, Apr.
  • Page 14 PCI-P8POR8/P16POR16 Board Layout LED indicator PCI - P8POR8 JP8...JP1 Figure 1-5: PCI-P8POR8 Layout LED indicator PCI - P16POR16 JP8...JP1 JP16 —— Figure 1-6: PCI-P16POR16 Layout Note: D/I/O channel 0~7 for PCI-P8POR8/P16POR16. Select the input AC or DC signals of D/I channel 0 ~ 7 for CN1. JP1 ~ JP8 D/I/O channel 8~15 for PCI-P16POR16.
  • Page 15 PEX-P8POR8i/P16POR16i Board Layout Figure 1-7: PEX-P8POR8i Board Layout Figure 1-8: PEX-P16POR16i Board Layout Note: D/I/O channel 0~7 for PEX-P8POR8i/P16POR16i. CON1 Select the input type AC or DC signals for D/I channel 0 ~ 7. D/I/O channel 8~15 for PEX-P16POR16i. CON2 Select the input type AC or DC signals for D/I channel 8 ~ 15.
  • Page 16: Jumper Setting

    Each digital input channel can be jumper-configured as a single-pole, RC filter with a time constant of 1.2 ms. The Figure 1-9 , Figure 1-10 and Table 1-2 listed below shows each digital input channel and the corresponding jumper. • PCI-P8R8/P16R16/P16C16/P8POR8/P16POR16: Jumper Mapping Channel Figure 1-9: PCI Series Jumper Settings •...
  • Page 17 • Jumper Mapping Digital Input Channel Table: Jumper Jumper Channel Channel PCI series PEX series PCI series PEX series JP10 JP11 DI10 JP12 DI11 JP13 DI12 JP14 DI13 JP15 DI14 JP16 DI15 Table 1-2: Jumper assignment The figure below shows how to select the digital input type: With AC Filter Without Filter For AC Signal...
  • Page 18 JP2: Ground isolated protection jumper for PEX-P8POR8i/P16POR16i only This JP2 jumper is used to select the isolated or non-isolated of ground for PEX- P8POR8i/P16POR16i only. As shown in Figure 1-7, the user needs to connect Pin1-2 to obtain the ground isolation protection, which is the default setting. However, for the ground non-isolation, the Pin2-3 for the JP2 jumper should be connected.
  • Page 19: Pin Assignments

    1.6 Pin Assignments 1.6.1 PCI-P8R8/P16R16 PCI-P8R8/P16R16 CON 1 CON 2 CON 2 Extender Cable NO: Normally Open COM: Common NC: Normally Closed DIA: Digital Input (Point A) DIB: Digital Input (Point B) PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
  • Page 20: Pci-P16C16

    1.6.2 PCI-P16C16 CON 1 CON 2 CON 2 External Cable Ext. Power: External Power Input GND: External Power Ground OUT: Open Collector Output DIA: Digital Input (Point A) DIB: Digital Input (Point B) PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
  • Page 21: Pci-P8Por8/P16Por16I And Pex-P8Por8I/P16Por16I

    1.6.3 PCI-P8POR8/P16POR16i and PEX-P8POR8i/P16POR16i i CON 1 CON 2 CON 2 External Cable DIA: Digital Input (Point A) DIB: Digital Input (Point B) PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
  • Page 22: Hardware Applications

    PEX-P8POR8i PEX-P16POR16i 2.1 Relay Output • For PCI-P8R8/P16R16 Only Whenever data is written data to the output control register, the relays will switch to NC or NO as specified by the control code. A`1'in the control register will energize the corresponding relay. The relay will switch from COM to NO (normally open).
  • Page 23: Open Collector Output

    Heavy Loading Application ( > 0.3 A ) : P16R16DI Power Relay O Relay Contact Power Relay Heavy Loading Figure 2-3. Heavy load relay circuit. 2.2 Open Collector Output • For PCI-P16C16 Only The PCI-P16C16 provides 16-channel open collector outputs and 4 channels per common power.
  • Page 24: Photomos Relay Output

    2.3 PhotoMos Relay Output • For PCI-P8POR8/P16POR16 and PEX-P8POR8i/P16POR16i Only The PCI-P8POR8/P16POR16 and PEX-P8POR8i/P16POR16i includes 8/16 normally open, form A, PhotoMOS relays. The board can eliminate ground-loop problems and isolate the computer from damaging voltages. Use the PCI- P8POR8/P16POR16 and PEX-P8POR8i/P16POR16i to switch loads, up to 350 and 130 mA.
  • Page 25: Isolated Input

    2.4 Isolated Input • For PCI-P8R8/P16R16/P16C16/P8POR8/P16POR16 and PEX- P8POR8i/P16POR16i Reading the isolation input register will give the digital input state of the photo- couple (isolation input). Figures 2-3 and 2-4 show the basic circuit of the digital input. Switch DIA 0...
  • Page 26 Although the normal input voltage range is 5 to 24 V or V , the input can still be changed to a larger range by choosing suitable external resistors. The following figure shows how to connect to a larger input. Please note that the input current should be limited between 2 mA to 20 mA;...
  • Page 27: Software Installation Guide

    AUTO32.EXE file in the NAPDOS folder on this CD. Step 2: Click the item: “PCI Bus DAQ Card”. Step 3: Click the item: “PCI-P16R16/PCI-P8R8”. Step 4: Click the item “DLL and OCX for Windows 98/NT/2K/XP/2003”. Step 5: Choose the Win2K_XP, Win98 or WinNT folders for setup according to your PC platform and then double-Click “.exe”...
  • Page 28: Pnp Driver Installation

    3.2 PnP Driver Installation Power computer install PCI-P8R8/P16R16/P16C16/ P8POR8P16POR16 PEX-P8POR8i/P16POR16i cards. Turn computer and Windows 98/ME/2K and 32-bit/64-bit Windows XP/2003/Vista/7 should automatically defect the new PCI device(s) and then ask for the location of the driver files for the hardware. If a problem is encountered during...
  • Page 29: Confirm The Successful Installation

    “Control Panel” and then double click the “System” icon on Windows. Step 2: Click the “Hardware” tab and then click the “Device Manager” button. Step 3: Check the PCI-P8R8/P16R16/P16C16/ P8POR8P16POR16 and PEX- P8POR8i/P16POR16i card which listed correctly or not, as illustrated below.
  • Page 30: I/O Control Register

    2. PCI_GetConfigAddressSpace(wBoards, &wTypeID, &wAddress0, &wAddress1, &wAddress2, &wAddress3,&wAddress4,&wAddress5); Use this function to get I/O resources information of a PCI-P8R8/P16R16 series card installed in this system. Then the application program can control all functions of PCI-P8R8/P16R16 series card directly. Please refer to “PCI- P16R16 Series Software Manual”.
  • Page 31 I/O register for many data acquisition boards. On PCI-P16R16 and PCI-P8R8 series boards, the base address2 is utilized as the base address of digital input and digital output. So the Digital I/O functions for PCI-...
  • Page 32 Please refer to the following program code to get these six base addresses for PCI-P16R16 and PCI-P8R8. These codes are based on PCI Plug & Play mechanism 2. /******************************************************/ /* Reading PCI card's configuration address space /******************************************************/ WORD GetAddress(void) DWORD dConfigAddress,dBaseAddress;...
  • Page 33 /*----------------------------------------*/ WhichLong=5; /* Base Address 1 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr1=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][1]=wBaseAddr1; /*------------------------------------------*/ WhichLong=6; /* Base Address 2 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr2=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][2]=wBaseAddr2; /*------------------------------------------*/ WhichLong=7; /* Base Address 3 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr3=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][3]=wBaseAddr3; /*------------------------------------------*/ WhichLong=8; /* Base Address 4 */ WriteAddress(Bus,Device,Function,WhichLong);...
  • Page 34 /*-------------------------------------------*/ wTotalBoards++; /* increment board number */ wGetAddress=1; if( VendorID==0x1234 && DeviceID==0x0808 ) /*---------- PCI-P8R8 -----------*/ WhichLong=4; /* Base Address 0 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr0=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][0]=wBaseAddr0; /*------------------------------------------*/ WhichLong=5; /* Base Address 1 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr1=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][1]=wBaseAddr1; /*------------------------------------------*/ WhichLong=6; /* Base Address 2 */ WriteAddress(Bus,Device,Function,WhichLong);...
  • Page 35 /*-------------------------------------------*/ WhichLong=9; /* Base Address 5 */ WriteAddress(Bus,Device,Function,WhichLong); dBaseAddress=_inpd(0xcfc); wBaseAddr5=(WORD)(dBaseAddress&0xfffe); wConfigSpace[wTotalBoards][5]=wBaseAddr5; /*---------- store the type name ID --------*/ wConfigSpace[wTotalBoards][6]=TYPE_P8R8; wTotalBoards++; /* increment board number */ wGetAddress=1; if( wTotalBoards>16 ) return( NotFoundBoard ); else return( NoError ); void WriteAddress(UCHAR bBus, UCHAR bDevice, UCHAR bFunction, UCHAR bWhichLong) DWORD dOutData;...
  • Page 36: The I/O Address Map

    // DI/DO function of PCI-P16R16/P16C16/P16POR16 and PEX-P16POR16i series void P16R16_DO(WORD BaseAddr, WORD wOutData) outport (BaseAddr, wOutData); WORD P16R16_DI(WORD BaseAddr) DigitalIn=inportb(BaseAddr); // DI/DO function of PCI-P8R8 /P8POR8 and PEX-P8POR8i series void P8R8_DO(WORD BaseAddr, WORD wOutData) outportb(BaseAddr, wOutData); PCI-P16R16 Series User Manual (Ver.2.8, Apr. 2011, PMH-013-28)
  • Page 37: D/O Readback Register

    UCHAR P8R8_DI(WORD BaseAddr) DigitalIn=inportb(BaseAddr); 4.2.2 D/O Readback Register The format of the D/O readback register is given as follows: BaseAddr +0x0C Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 The sample code of reading the given as follows: // D/O Readback function of PEX-P8POR8i and PEX-P16POR16i DigitalIn=inportb(BaseAddr+0x0C);...
  • Page 38: Demo Programs

    Demo Programs 5.1 Demo Programs for Windows Please note that none of the demo programs will work normally if the DLL driver has not been installed correctly. During the DLL driver installation process, the install shield will register the correct kernel driver to the operating system and copy the DLL driver and demo programs to the correct location depending on the driver software package you have selected (Win98/Me/NT/2000 and 32-bit Win XP/2003/Visa/7).
  • Page 39: Demo Programs For Dos

    5.2 Demo Programs for DOS The related DOS software and demos are located on the CD as below: CD:\NAPDOS\PCI\PCI-P16R16\dos\ http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/pci-p16r16/dos/ After installing the software, the following drivers will be installed onto your hard disk: Demo code, Lib for Borland C++ ...\P16R16\BC\HUGE\DEMO huge mode demo programs.
  • Page 40: Pio_Piso.exe For Windows

    for Windows 5.3 PIO_PISO.EXE The PIO_PISO.exe utility is located on the CD as below and is useful for all PIO/PISO series cards. CD:\NAPDOS\PCI\Utility\Win32\PIO_PISO\ http://ftp.icpdas.com/pub/cd/iocard/pci/napdos/pci/utility/win32/pio_piso/ After executing the utility, detailed information for all PIO/PISO cards that are installed in the PC will be shown, as illustrated below: Note: The PIO_PISO.EXE application is valid for all PIO/PISO cards.

Table of Contents