Advance Technologies; Automate the World.Manual Revision: 2.61Revision Date: July 4, 2009Part Number: 50-11104-202072XX Series24/48/96-CH Digital I/
x List of Tables72XX SeriesUser’s ManualThis page intentionally left blank.
xi72XX SeriesUser’s ManualPrefaceCopyright 2009 ADLINK TECHNOLOGY INC.This document contains proprietary information protected by copy-right. All r
xii 72XX SeriesUser’s ManualGetting ServiceContact us should you require any service or assistance. ADLINK Technology Inc. Address: 9F, No.166 Jia
xiii72XX SeriesUser’s ManualADLINK Technology Inc. (German Liaison Office) Address: Nord Carree 3, 40477 Duesseldorf, Germany Tel: +49-211-495-
xiv 72XX SeriesUser’s ManualThis page intentionally left blank.
Introduction 172XX SeriesUser’s Manual1 IntroductionThe 7248/7296 series products are general purpose digital I/O cards. This series includes the fol
2 Introduction72XX SeriesUser’s ManualPC Low. Each connector corresponds to one PPI chip with 24 DIO points. PCI-7224/7248/7296 are equipped with on
Introduction 372XX SeriesUser’s Manual1.3 SpecificationsI/O channels 24-bit for PCI-722448-bit for PCI/PCIe-724896-bit for PCI/PCIe-729648-bit for cP
4 Introduction72XX SeriesUser’s Manual Power Consumption(without external devices)PCI-7224:330mA @ 5VDC (Typical)350mA @ 5VDC (Maximum)PCI-7248:500
Introduction 572XX SeriesUser’s Manual1.4 Software SupportADLINK provides versatile software drivers and packages for dif-ferent approaches to buildi
72XX SeriesUser’s Manualii
6 Introduction72XX SeriesUser’s Manual PCIS-DASK/X: Include device drivers and shared library for Linux. The developing environment can be Gnu C/C+
Installation 772XX SeriesUser’s Manual2 InstallationThis chapter describes how to install the 7248/96 series products. Please take note of the packin
8 Installation72XX SeriesUser’s Manual2.2 UnpackingYour card contains sensitive electronic components that can be easily damaged by static electricit
Installation 972XX SeriesUser’s Manual2.3 PCB Layout2.3.1 PCI-7248/7224 PCB Layout Figure 2-1: PCI-7248/7224 PCB Layout 2.3.2 PCI-7296 PCB Layout PC
10 Installation72XX SeriesUser’s Manual2.3.3 cPCI-7248 PCB Layout CPCI-7248CN1PCI Controller ChipJA1 JB1 JC1JC2 JB2 JA2Figure 2-3: cPCI-7248 PCB Lay
Installation 1172XX SeriesUser’s Manual2.3.5 PCIe-7248/7296 PCB Layout167.65169.55126.3100.35CN1 CN2 CN3 CN4JA2JB2JC2JP2JA1JB1JC1JP1JA3JB3JC3JP3JA4JB
12 Installation72XX SeriesUser’s Manual2.4 Hardware Installation2.4.1 PCI configurationThe PCI/PCIe/cPCI card is equipped with Plug and Play PCI con
Installation 1372XX SeriesUser’s ManualCompactPCI Installation Procedures1. Read through this manual, and set the jumpers accord-ing to your applicat
14 Installation72XX SeriesUser’s Manual2.6 Connector Pin Assignment2.6.1 PCI-7224/7248/7296 & PCIe-7248/7296 Pin Assign-mentThe I/O ports of 722
Installation 1572XX SeriesUser’s ManualFor example, P1C4 means bit 4 of port C on connector CN1.Note:1. The pinout of the CN1-CN4 connectors are iden
Table of Contents iii72XX SeriesUser’s ManualTable of ContentsTable of Contents... i
16 Installation72XX SeriesUser’s Manual2.6.2 cPCI-7248 Pin Assignment The cPCI-7248 is equipped with a SCSI-type 100-pin connector. The pin assignm
Installation 1772XX SeriesUser’s Manual2.6.3 cPCI-7249R Pin Assignment The I/O ports of cPCI-7249R emulate the mode 0 configuration of the 8255 gener
18 Installation72XX SeriesUser’s Manual2.6.4 R7249 OPTO-22 ConnectorsThe cPCI-7249R’s rear I/O transition board R7249 is equipped with two 50 pin ma
Installation 1972XX SeriesUser’s Manual2.7 Jumpers DescriptionThe 7248/96 DIO cards are Plug and Play, thus it is not necessary to set up the card co
20 Installation72XX SeriesUser’s ManualThe physical meaning of all the jumpers are identical. The power-on status of each port can be set independen
Installation 2172XX SeriesUser’s Manual2.8 Termination Boards ConnectionThere are many termination boards that can be connected with PCI-7248/7296 fo
22 Installation72XX SeriesUser’s Manual3. TB-16P8RThe TB-16P8R provides 16 opto-isolated digital input channels and 8 relay outputs.4. TB-24, DIN-50
Registers Format 2372XX SeriesUser’s Manual3 Registers FormatThe detailed description of the registers format are specified in this chapter. This in
24 Registers Format72XX SeriesUser’s Manual3.2 I/O Address MapAll the 724X registers are 8 bits. The users can access these reg-isters only by 8 bit
Operation Theory 2572XX SeriesUser’s Manual4 Operation Theory4.1 Digital I/O Ports4.1.1 Introduction The 7248/96 products can emulate one/two/four m
iv Table of Contents72XX SeriesUser’s Manual2.6.2 cPCI-7248 Pin Assignment...162.6.3 cPCI-7249R Pin A
26 Operation Theory72XX SeriesUser’s Manual4.1.4 Digital I/O Port Programming Users can write the digital output value to or read back the digital s
Operation Theory 2772XX SeriesUser’s Manual4.1.5 Control WordThe control word written in the control port is used to setup PA, PB, and PC as input o
28 Operation Theory72XX SeriesUser’s Manual4.1.6 Power On Configuration The default configuration after power on, hardware reset, or soft-ware reset
Operation Theory 2972XX SeriesUser’s Manual4.2 Timer/Counter Operation4.2.1 Introduction One 8254 programmable timer/counter chip is installed in th
30 Operation Theory72XX SeriesUser’s Manual4.2.2 General Purpose Timer/CounterThe counter 0 is a general purpose timer/counter for users appli-catio
Operation Theory 3172XX SeriesUser’s Manual4.3 Interrupt Multiplexing4.3.1 ArchitectureThe 7248/96 series products have a powerful and flexible inte
32 Operation Theory72XX SeriesUser’s Manual4.3.3 Note for Dual InterruptsThe PCI controller of PCI-7224/7248/96 can receive two hardware IRQ sources
Operation Theory 3372XX SeriesUser’s ManualNote: * Not available on PCI-7224.When the IRQ source is set as P1C0 OR P1C3, the IRQ trigger conditions
34 Operation Theory72XX SeriesUser’s Manual4.4 12V and 5V Power Supply The OPTO-22 compatible connectors provide external devices for +12V and +5V
C/C++ Libraries 3572XX SeriesUser’s Manual5 C/C++ LibrariesThis chapter describes the software library for operating this card. Only the functions i
Table of Contents v72XX SeriesUser’s Manual4.4 12V and 5V Power Supply... 345 C/C++ Libraries...
36 C/C++ Libraries72XX SeriesUser’s Manual5.2 Programming Guide5.2.1 Naming ConventionThe functions of the NuDAQ PCI cards or NuIPC CompactPCI cards
C/C++ Libraries 3772XX SeriesUser’s Manual5.3 _7248/96_Initial@ DescriptionThe cards are initialized by this function. The software library could be
38 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentexistCards: The number of installed PCI-7224/7248/7296 cards. The returned value shows how many
C/C++ Libraries 3972XX SeriesUser’s Manual5.4 Digital Input@ DescriptionThis function is used to read 8-bit digital input data from digital input po
40 C/C++ Libraries72XX SeriesUser’s ManualW_7296_DI (ByVal cardNo As Integer, ByVal channelPort As Integer, diData As Integer) As Integer@ Argumentc
C/C++ Libraries 4172XX SeriesUser’s ManualNote: 1. CH2 and CH3 are only available for PCI-7296.2. Only CH0 is available for PCI-7224.@ Return Code
42 C/C++ Libraries72XX SeriesUser’s Manual5.5 Digital Output@ Description This function is used to write data to digital output ports. @ SyntaxC/C
C/C++ Libraries 4372XX SeriesUser’s Manual5.6 Configuration Port@ Description This function is used to configure the Input or Output of each Port. E
44 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentcardNo: Card number to select board channelPort: The same as channelPort in section 5.5directio
C/C++ Libraries 4572XX SeriesUser’s Manual5.7 Configuration Channel@ Description This function is used to configure the Input or Output of each Chan
vi Table of Contents72XX SeriesUser’s ManualThis page intentionally left blank.
46 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentcardNo: Card number to select board channelNo: PCI_CH0, PCI_CH1, PCI_CH2, or PCI_CH3ctrlValue:
C/C++ Libraries 4772XX SeriesUser’s Manual5.8 Set Interrupt Control@ DescriptionThis function is used to set the interrupt configuration. The inter-
48 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentcardNo: Card number to select board ctrlValue: The valid values of configuring the interrupt are
C/C++ Libraries 4972XX SeriesUser’s Manual5.9 Timer Start@ DescriptionThis function is used to set and start timer 0 of on-board timer 8254 .@ Synta
50 C/C++ Libraries72XX SeriesUser’s Manual5.10 Timer Read@ DescriptionThis function is used to read the current count of timer 0 of the on-board tim
C/C++ Libraries 5172XX SeriesUser’s Manual5.11 Timer Stop@ DescriptionThis function is used to stop timer 0 of the on-board timer 8254.@ SyntaxC/C++
52 C/C++ Libraries72XX SeriesUser’s Manual5.12 Cascaded Timer@ DescriptionThis function is used to set and start the cascaded timer 1 and timer 2 of
C/C++ Libraries 5372XX SeriesUser’s Manual5.13 Get IRQ Status@ DescriptionThis function is used to read back the status of interrupt when interrupt
54 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentcardNo: Card number to select board int1Status: The status of INT1, int1Status = 0 -> no inte
C/C++ Libraries 5572XX SeriesUser’s Manual5.14 Clear IRQ@ DescriptionThis function is used to clear the interrupt generated from the 7248/96 series.
72XX SeriesUser’s ManualList of Figures viiList of FiguresFigure 2-1: PCI-7248/7224 PCB Layout ...9Figure 2
56 C/C++ Libraries72XX SeriesUser’s Manual5.15 Software Reset@ DescriptionThis function is used to reset the I/O port configuration. After reset-tin
C/C++ Libraries 5772XX SeriesUser’s Manual5.16 Interrupt Start under Windows@ DescriptionThis function is only available in the Windows 95/98 driver
58 C/C++ Libraries72XX SeriesUser’s Manual@ ArgumentcardNo: Card number which the DIO will be reset.c1: If the interrupt source is set as internal t
C/C++ Libraries 5972XX SeriesUser’s Manual5.17 Interrupt Stop under Windows @ DescriptionThis function is only available in Windows 95/98 driver. Th
60 C/C++ Libraries72XX SeriesUser’s ManualThis page intentionally left blank.
72XX SeriesUser’s Manualviii List of FiguresThis page intentionally left blank.
List of Tables ix72XX SeriesUser’s ManualList of TablesTable 2-1: Jumpers and Port names list...........19Table 3-1:
Komentarze do niniejszej Instrukcji