Page 4
Leading EDGE COMPUTING California Proposition 65 Warning WARNING: This product can expose you to chemicals including acrylamide, arsenic, benzene, cadmium, Tris(1,3-dichloro-2-propyl) phosphate (TDCPP), 1,4- Dioxane, formaldehyde, lead, DEHP, styrene, DINP, BBP, PVC, and vinyl materials, which are known to the State of California to cause cancer, and acrylamide, benzene, cadmium, lead, mercury, phthalates, toluene, DEHP, DIDP, DnHP, DBP, BBP, PVC, and vinyl materials, which are known to the State of California to cause...
PCIe-7396 Table of Contents Preface ..................iii List of Tables................. vii List of Figures ................ ix 1 Introduction ................ 1 Features................1 Applications ................. 2 Specifications............... 2 Software Support ..............3 2 Getting Started ..............5 Package Contents ............... 5 Unpacking................
Page 6
Leading EDGE COMPUTING 8254 Timer/Counter Operation .......... 22 Interrupt Circuit ..............23 Important Safety Instructions..........29 Consignes de Sécurité Importante ........31 Getting Service ..............35 Table of Contents...
PCIe-7396 Introduction The PCIe-7396 is a 96-bit parallel digital input/output (DIO) card designed for industrial applications. The plug and play feature of PCI Express Bus architecture makes it easy for users to install the PCIe-7396 on their systems quickly. The PCIe-7396 emulates two/four 8255 Programmable Peripheral Interface (PPI) chips.
Leading EDGE COMPUTING 1.2 Applications Programmable mixed digital input and output Industrial monitoring and control LED indicator control Parallel data transfer TTL, DTL, and CMOS logic sensing 1.3 Specifications Item Specification I/O channels 96-bit Logic High Voltage: 2.0V to 5.25V Logic Low Voltage: 0.0V to 0.08V Input Signal Logic High Current: 0.1 μA...
PCIe-7396 1.4 Software Support ADLINK provides versatile software drivers and packages to suit various user approaches to building a system. Aside from pro- gramming libraries, such as DLLs, for most Windows-based sys- tems, ADLINK also provides drivers for other application environments such as LabVIEW.
Page 14
Leading EDGE COMPUTING 1.4.2 ADLINK MAPS/LV, LabVIEW Support For customers who develop their own programs in LabVIEW, the MAPS/LV software package must be installed. MAPS/LV, also called DAQ-LabVIEW Plus, includes the software library and sam- ple program for LabVIEW. Download and install the latest MAPS/ LV software and refer to the MAPS/LV manual for more informa- tion.
Inspect the card module carton for obvious damage, as shipping and handling may cause damage to the module. Be sure the mod- ule is not damaged before proceeding. Do not apply power to the PCIE-7396 if it has been damaged. CAUTION: Getting Started...
It is not sug- gested to assign the system resource by any other method. 2.4.2 PCI Express Slot Selection The PCIe-7396 can be inserted into any PCI Express slot without the need to configure system resources. 2.4.3 Installation Procedures 1.
GND: Ground 2.6 Jumpers The PCIe-7396 is a ‘plug and play’ add-on card using the PCI Express bus. It is unnecessary to set up its base address and IRQ level to fit the hardware of the computer system. However, there are some jumpers to set the power-on-states of all I/O ports.
Port A of PPI1 is pulled high. When the jumper cap is removed, the power-on-state is floating. 2.7 Terminal Board Support The PCIe-7396 can be connected to several different daughter boards, including the DIN-100S, DIN-96DI, and DIN-96DO (EOL). The functionality and connections are specified as follows.
Page 22
Leading EDGE COMPUTING 2.7.3 DIN-96DO Terminal Board (EOL) The DIN-96DO digital output termination board features high-volt- age opto-isolation on all outputs to prevent floating potential and ground loop problems from damaging the system. It is composed of one TB-96 baseboard, one TB-96DO daughter board, and one DIN socket for easy maintenance, wiring, and installation.
PCIe-7396. 3.1 I/O Address Map Most of the PCIe-7396 registers are 32 bits. Users can access these registers with 32-bit I/O instructions. The following table shows the register map, including descriptions and their offset addresses relative to the base address.
Leading EDGE COMPUTING Offset Write Read 0x00 P1ABC P1ABC 0x04 P1Control Not used 0x08 P1EXTTRG Enable Not used 0x0C P1EXTTRG Disable Not used 0x10 P2ABC P2ABC 0x14 P2Control Not used 0x18 P2EXTTRG Enable Not used 0x1C P2EXTTRG Disable Not used 0x20 P3ABC P3ABC...
COS Interrupt Control Register, detailed in the following sections. 3.2.1 Digital Data Register The 24-bit I/O data of the PCIe-7396 is accessed from/to this reg- ister by software. The digital data can also be read back through this register. Address: BASE + 00h...
Page 26
Leading EDGE COMPUTING 3.2.2 Control Register Each PPI’s control register is used to set its three ports to be as input or output independently. Address: BASE + 04h Attribute: write only Data Format: BASE+04h BASE+05h BASE+06h BASE+07h P1n: n: port number Set to ‘0’...
Page 27
PCIe-7396 3.2.4 External Trigger Disable Register Users can write anything to this register to disable the function of external trigger. Address: BASE + 0Ch Attribute: write only Data Format: BASE+0Ch BASE+0Dh BASE+0Eh BASE+0Fh 3.2.5 Change of State (COS) Interrupt Control Register This register is used to configure the COS interrupt.
Leading EDGE COMPUTING 3.3 Interrupt Source Control (ISC) Register The PCIe-7396 has a dual interrupt system. Two interrupt sources can be generated and be distinguished by software settings. This register is used to select the interrupt sources. Address: BASE + 50h...
BASE+55h BASE+56h BASE+57h 3.5 Timer/Counter Register The 8254 chip occupies 4 I/O addresses in the PCIe-7396. Refer to NEC's or Intel's datasheet for the full description of the 8254’s operations. Address: BASE + 40h to BASE + 4Ch Attribute: read/write...
Leading EDGE COMPUTING 3.6 High Level Programming You can bypass the detailed register structures of the PCIe-7396 with a high-level application programming interface (API). Register Format...
PCIe-7396. 4.1 Digital I/O Ports The PCIe-7396 has 2/4 onboard PPIs. Each 24-bit PPI is divided into three 8-bit I/O ports: A, B, and C. All of these 6/12 ports can be programmed as input or output independently.
Leading EDGE COMPUTING 4.2 8254 Timer/Counter Operation One 8254 programmable timer/counter chip is installed on the PCIe-7396. There are three counters and six possible operation modes for each counter. 8254 Chip EVENT Event Edge Event IRQ (PIN 51) Control Counter #0...
4.3.2 IRQ Level Setting There is only one IRQ level needed in the PCIe-7396, although it is a dual interrupt system, because it uses INT #A interrupt request signal on the PCI Express bus. The motherboard circuits transfer INT #A to one of the AT bus IRQ levels. The IRQ level is set by the BIOS and saved in the PCI Express controller.
Leading EDGE COMPUTING 4.3.3 Dual Interrupt System The PCI Express controller can receive two hardware IRQ requests. However, only one IRQ will be sent to the PCI Express bus, the two IRQ requests must be distinguished by an interrupt service routine (ISR). The two IRQ requests are INT1 and INT2.
Leading EDGE COMPUTING When the IRQ sources is set as “P1C0 OR -P1C3” or “P2C0 OR - P2C3”, the IRQ trigger conditions are summarized in Table 4-2. P1C0 P1C3 IRQ Trigger Condition High P1C0=‘H’ disable all IRQ P1C3=‘L’ disable all IRQ 1->0 P1C3 falling edge trigger when P1C0=L 0->1...
A Change of State (COS) occurs when the input state (logic level) is changed from low to high, or from high to low. The COS detec- tion circuit will detect the edge of level change. On the PCIe-7396, the COS detection circuit is applied to all the input channels. When any channel changes its logic level, the COS detection circuit gen- erates an interrupt request to the PCI Express controller.
Page 38
Leading EDGE COMPUTING This page intentionally left blank. Functional Operations...
PCIe-7396 Important Safety Instructions For user safety, please read and follow all instructions, Warnings, Cautions, and Notes marked in this manual and on the associated device before handling/operating the device, to avoid injury or damage. Read these safety instructions carefully.
Page 40
Leading EDGE COMPUTING A Lithium-type battery may be provided for uninterrupted backup or emergency power. Risk of explosion if battery is replaced with one of an incorrect type; please dispose of used batteries appropriately. CAUTION: This equipment is not suitable for use in locations where children are likely to be present.
PCIe-7396 Consignes de Sécurité Importante S'il vous plaît prêter attention stricte à tous les avertissements et mises en garde figurant sur l'appareil, pour éviter des blessures ou des dommages. Lisez attentivement ces consignes de sécurité. Conservez le manuel de l'utilisateur pour pouvoir le con- sulter ultérieurement.
Page 42
Leading EDGE COMPUTING Si l'appareil ne doit pas être utilisé pendant de longues péri- odes, éteignez-le et débranchez-le de sa source d'alimenta- tion N'essayez jamais de réparer l'appareil, qui ne doit être réparé que par un personnel technique qualifié à l'aide d'outils appro- priés Une batterie de type Lithium peut être fournie pour une ali- mentation de secours ininterrompue ou d'urgence.
Page 43
PCIe-7396 RISQUE DE BRÛLURES Partie chaude! Ne touchez pas cette surface, cela pourrait entraîner des blessures. Pour éviter tout danger, laissez la surface refroidir avant de la toucher. Consignes de Sécurité Importante...
Page 44
Leading EDGE COMPUTING This page intentionally left blank. Consignes de Sécurité Importante...
Need help?
Do you have a question about the PCIe-7396 and is the answer not in the manual?
Questions and answers