CyberResearch PCIDIO 24H User Manual

High density, pci-bus parallel digital board with 24/48/96 channels, 24ma/channel sink
Table of Contents

Advertisement

Quick Links

High-Density, PCI-Bus, Parallel Digital Board with
High-Density, PCI-Bus, Parallel Digital Board with
High-Density, PCI-Bus, Parallel Digital Board with
No part of this manual may be reproduced without permission.
25 Business Park Dr., Branford, CT 06405 USA
203-483-8815 (9am to 5pm EST) FAX: 203-483-9024
Digital I/O
PCIDIO 24H
24 Channels, 24mA/Channel Sink
PCIDIO 48H
48 Channels, 24mA/Channel Sink
PCIDIO 96H
96 Channels, 24mA/Channel Sink
USER'S MANUAL
VER. 2.5 • OCT 2000
CyberResearch
www.cyberresearch.com
®
&
, Inc.
®

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCIDIO 24H and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for CyberResearch PCIDIO 24H

  • Page 1 PCIDIO 24H High-Density, PCI-Bus, Parallel Digital Board with 24 Channels, 24mA/Channel Sink PCIDIO 48H High-Density, PCI-Bus, Parallel Digital Board with 48 Channels, 24mA/Channel Sink PCIDIO 96H High-Density, PCI-Bus, Parallel Digital Board with 96 Channels, 24mA/Channel Sink USER’S MANUAL VER. 2.5 • OCT 2000 No part of this manual may be reproduced without permission.
  • Page 3 CyberResearch, Inc. In no event will CyberResearch, Inc. be liable for direct, indirect, special, incidental, or consequential damages arising out of the use of or inability to use the product or documentation, even if advised of the possibility of such damages.
  • Page 5: Table Of Contents

    2.3.2 PCIDIO 96H PCB Layout ... 10 Hardware Installation...11 Device Installation for Windows Systems ...12 Connector Pin Assignment...13 2.6.1 Pin Assignment of PCIDIO 24H/48H/96H ...13 Jumpers Description ...17 2.7.1 Power on Status of Ports...17 2.7.2 12V Power Supply Configuration ...18 Termination Boards Connection ...18...
  • Page 6 Chapter 3 Registers Format ... 20 PCI PnP Registers...20 I/O Address Map...21 Chapter 4 Operation Theorem... 22 Digital I/O Ports ...22 4.1.1 Introduction ...22 4.1.2 8255 Mode 0 ...22 4.1.3 Special Function of the DIO Signals ...22 4.1.4 Digital I/O Port Programming ...23 4.1.5 Control Word...23 4.1.6...
  • Page 7 5.13 Get IRQ Status...44 5.14 Clear IRQ ...45 5.15 Software Reset...45 5.16 Interrupt Start under Windows...46 5.17 Interrupt Stop under Windows ...47 Product Service ... 48 Warranty ... 49 Table of Contents iii...
  • Page 8 Chapter 3, Registers Format, describes the low-level register structure and format of the PCIDIO 24H/48H/96H. l Chapter 4, Operation Theorem, describes more details about the versatile functions, including DIO, timer / counter, and interrupt systems.
  • Page 9: Chapter 1 Introduction

    PCIDIO 48H and PCIDIO 96H are 48-channel and 96-channel DIO cards respectively. PCIDIO 24H is a reduced version of PCIDIO 48H, all the functions are exactly the same as PCIDIO 48H except there are 24 channels only. The PCIDIO 48H emulates two industry standard 8255 Programmable Peripheral Interface (PPI) chips operated under mode zero configuration.
  • Page 10: Features

    PCIDIO 24H/48H/96H are equipped with 1,2, and 4 50-pin male ribbon connectors respectively. Features The 24H/48H/96H series products provide the following advanced features: 1.1.1 Digital I/O Ports l 24/ 48/96 TTL/DTL compatible digital I/O lines l Emulates industry standard mode 0 of 8255 PPI...
  • Page 11: Specifications

    350mA @5V (Maximum) PCIDIO 48H: 500mA @5V (Typical) 540mA @5V (Maximum) PCIDIO 96H: 860mA @5V (Typical) 940mA @5V (Maximum) 500 K bytes/sec (Maximum) PCIDIO 24H : 148mm x 102mm PCIDIO 48H: 148mm x 102mm PCIDIO 96H: 166mm x 102mm Introduction 3...
  • Page 12: Software Support

    Software Support CyberResearch provides versatile software drivers and packages for users’ different approach to built-up a system. We not only provide programming library such as DLL for many Windows systems, but also provide drivers for many software package such as LabVIEW and InTouch All the software options are included with the software CD.
  • Page 13: Pci Lview: Labview Driver

    DASY PRO is an easy-to -use software package, which provides easy-setup instrument functions such as FFT analysis. DASY PRO, which includes DASYLab and CyberResearch 1.4.6 PCI DDE: DDE Server and InTouch DDE stands for Dynamic Data Exchange specifications. The PCI DDE includes the PCI cards’...
  • Page 14 6 Introduction...
  • Page 15: Chapter 2 Installation

    ® l Software Installation Guide If any of these items is missing or damaged, contact CyberResearch immediately. Be sure to save the shipping materials and carton in case the item is returned, or you want to ship or store the product in the future.
  • Page 16: Unpacking

    Unpacking Your card contains sensitive electronic components that can be easily damaged by static electricity. The card should be put on a grounded anti -static mat. The operator should wear an anti -static wristband, grounded at the same point as the anti -static mat.
  • Page 17: Pcb Layout

    PCB Layout 2.3.1 PCIDIO 48H/24H PCB Layout Figure 2.3.1 PCIDIO 48H/24H PCB Layout Installation 9...
  • Page 18: Pcidio 96H Pcb Layout

    2.3.2 PCIDIO 96H PCB Layout Controller C N 2 Figure 2.3.2 PCIDIO 96H PCB Layout 10 Installation...
  • Page 19: Hardware Installation

    Hardware Installation PCI configuration The PCI cards are equipped with a plug and play PCI controller, it can request base addresses and interrupts in accordance with the PCI standard. The system BIOS will install the system resource based on the PCI cards’...
  • Page 20: Device Installation For Windows Systems

    2.5 Device Installation for Windows Systems Once Windows 95/98/2000/XP h a s started, the P lug and Play function of Windows system will find the new PCIDAQ cards. If this is the first time you're installing a PCIDAQ card in your Windows system , you will be prompted to input the device information source.
  • Page 21: Connector Pin Assignment

    Connector Pin Assignment 2.6.1 Pin Assignment of PCIDIO 24H/48H/96H The I/O ports of PCIDIO 24H/48H/96H emulate the mode 0 configuration of the 8255 general purpose programmable peripheral interface. The cards come equipped with 50-pin male IDC connectors that interface with OPTO- 22.
  • Page 22 2.6.1 Continued Figure 2.6.1 pin assignments and pow er signals of PCIDIO 24H/48H/96H The DIO pin names are specified as PnXb, where n : means the connector reference number n=1~4. X : means the port name, X= ‘A’ , ‘B’ or ‘C’...
  • Page 23 For Your Notes Installation 15...
  • Page 24 For Your Notes 16 Installation...
  • Page 25: Jumpers Description

    Port A of CN1 are power-on pulled high. ‘H’ Port A of CN1 are power-on pulled low. ‘L’ Port A of CN1 are power-on floating. (The jumper is removed) Port Name for PCIDIO 24H/48H/96H for PCIDIO 24H/48H/96H, for PCIDIO 24H/48H/96H, for PCIDIO 48H/96H...
  • Page 26: Power Supply Configuration

    2.7.2 12V Power Supply Configuration Pin 2 and pin 4 of the CN1 ~ CN4 50-pin OPTO-22 connectors can be configured as 12V power supply or ground. Please refer to Figure 2.4 for the 12 volts power supply position. JP1~JP4 of the 12V power are for CN1~CN4 respectively.
  • Page 27 For Your Notes Installation 19...
  • Page 28 Intentionally Blank...
  • Page 29: Chapter 3 Registers Format

    Registers Format Detailed descriptions of the register's format are specified in this chapter. This information is quite useful for the programmers who wish to handle the card through low-level programming. However, we suggest users understand more about the PCI interface before beginning any low-level programming.
  • Page 30: I/O Address Map

    Not used Timer/Counter #0 Timer/Counter #1 Timer/Counter #2 Timer/Counter Mode Status Not used Not used Registers Format Boards PCIDIO 24H PCIDIO 48H PCIDIO 96H PCIDIO 48H PCIDIO 96H PCIDIO 96H doesn't apply to PCIDIO series PCIDIO 24H PCIDIO 48H PCIDIO 96H...
  • Page 31: Chapter 4 Operation Theorem

    Operation Theorem Digital I/O Ports 4.1.1 Introduction The 48H/96H products can emulate one/two/four mode 0 configuration of 8255 programmable peripheral interface (PPI) chips. There are 24 DIO signals for every PPI. 4.1.2 8255 Mode 0 The basic functions of 8255 mode 0 are: l Two 8-bit I/O ports l Two nibble-wide (4-bit) ports C l Each port can be used as either input or output...
  • Page 32: Digital I/O Port Programming

    PPI ports by using the software library. Here we define the port name in Table 4.1. These port names are used both in software library and all through this manual. The programming for PCIDIO 24H/48H and PCIDIO 96H are fully compatible.
  • Page 33: Power On Configuration

    Control Word 1BH* Table 4.2 Summary of control word (D0 - D4) (* power on default configuration) 4.1.6 Power on Configuration The default configuration after power on, hardware reset or software reset sets all ports as input ports, and therefore, users don’t have to worry about damaging the external devices when system is power on.
  • Page 34: Timer/Counter Operation

    Timer/Counter Operation 4.2.1 Introduction One 8254 programmable timer/counter chip is installed in 48H/96H series. There are three counters in one 8254 chip and 6 possible operation modes for each counter. The block diagram of the timer/counter system is shown in Figure 4.2. Trigger P1C4 Edge...
  • Page 35: Cascaded 32 Bits Timer

    The 8254 timer/ counter IC occupies 4 I/O address. Users can refer to Tundra's or Intel's data sheet for a full description of the 8254 features. You can download the 8254 data sheet from the following web site: http://support.intel.com/support/controllers/peripheral/231164.htm http://www.tundra.com (for Tundra’s 82C54 datasheet.) 4.2.2 Cascaded 32 Bits Timer The input clock frequency of the cascaded timers is 2MHz.
  • Page 36: Irq Level Setting

    IRQ is also asserted, then clear current IRQ to allow the next IRQ coming in. The two IRQs are named as INT1 and INT2. In PCIDIO 24H/48H/96H, INT1 comes from P1C0, P1C3 or the event counter interrupt. INT2 comes from P2C0, P2C3 or the timer interrupt.
  • Page 37: Interrupt Source Control

    D3 D2 D1 Disable Mode 1 Mode 2 Mode 3 (*) Note: Not available on PCIDIO 24H. Then the IRQ sources is set as “P1C0 O R ~P1C3”, the IRQ trigger conditions are summarized in table 4.4. P1/2C0 P1/2C3 IRQ Trigger Condition High 1->0...
  • Page 38: And 5V Power Supply

    12V and 5V Power Supply The OPTO-22 compatible connectors provide external devices the +12 volts and +5 volts power supply. To avoid short or overload of the power supply, resetable fuses are added on all the output power. Refer to Figure 2.5. The maximum current for 5 volts on every connector is 0.5 A.
  • Page 39: Chapter 5 C/C++ Libraries

    PCIDIO 24H. The software driver of PCIDIO 24H is fully compatible with that of PCIDIO 48H. In the following sections, each function call that has a name associated with “DIO48H" can be applied to PCIDIO 24H directly. The function prototypes and some useful constants are defined in the header files LIB directory (DOS) and INCLUDE directory (Windows 95).
  • Page 40: Programming Guide

    _{hardware_model}_{action_name}. e.g. _DIO48H_Initial() . All functions in the PCIDIO 48H driver are used by the board as {hardware_model}. But they can be used by PCIDIO 48H and PCIDIO 24H. In order to recognize the difference between the DOS library and Windows 95 library, a capital "...
  • Page 41: Dio48H/96H_Initial

    The pciinfo: @ Return Code ERR_NoError ERR_PCIBiosNotExist 32 C/C++ Libraries numbers 24H/48H/96H cards. value shows how many PCIDIO 24H/48H/96H cards are installed in your system. It is a structure to record the PCI bus plug play information which BIOS. PCI_INFO defined ACL_PCI.H...
  • Page 42: Digital Input

    PA7 PA6 PA5 PA4 PA3 PA2 PA1 PA0 PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 @ Syntax PCIDIO 24H/48H: C/C++ (DOS) _DIO48H_DI (U16 cardNo, U16 channelPort, U8 *diData) _DIO96H_DI (U16 cardNo, U16 channelPort, U8...
  • Page 43 PCI_CH1_PAE: CH2’s Port A uses External Latch PCI_CH1_PBE: CH2’s Port B uses External Latch PCI_CH1_PCE: CH2’s Port C uses External Latch Note: 1.CH2 and CH3 are only available for PCIDIO 96H. 2.Only CH0 is available for PCIDIO 24H. @ Return Code ERR_NoError 34 C/C++ Libraries...
  • Page 44: Digital Output

    Digital Output @ Description This function is used to write data to digital output ports. @ Syntax C/C++ (DOS) _DIO48H_DO (U16 cardNo, U16 channelPort, U8 doData) _DIO96H_DO (U16 cardNo, U16 channelPort, U8 doData) C/C++ (Windows 95) W_DIO48H_DO (U16 cardNo, U16 channelPort, U16 doData) W_DIO96H_DO (U16 cardNo, U16 channelPort, U16 doData)
  • Page 45: Configuration Port

    @ Description This function is used to configure the Input or Output of each Port. Each I/O Port of PCIDIO 24H/48H/96H is either input or output, so it has to configure as input or output before I/O operations are applied.
  • Page 46: Configuration Channel

    @ Description This function is used to configure the Input or Output of each Channel. Each I/O Port of PCIDIO 24H/48H/96H is either input or output, so it has to configure as input or output before I/O operations are applied.
  • Page 47 ctrlValue PORT_OOOO PORT_OOOI PORT_OOIO PORT_OOII PORT_OIOO PORT_OIOI PORT_OIIO PORT_OIII PORT_IOOO PORT_IOOI PORT_IOIO PORT_IOII PORT_IIOO PORT_IIOI PORT_IIIO PORT_IIII The ctrlValue constants are defined in acl_pci.h and acl_pci.bas. @ Return Code ERR_NoError 38 C/C++ Libraries Port A Port CU Port B Port CL...
  • Page 48: Set Interrupt Control

    Set Interrupt Control @ Description This function is used to set the interrupt configuration. The interrupt should be configured before the function starts. @ Syntax C/C++ (DOS) void _DIO48H_Set_INT_Control(U16 cardNo, U16 ctrlValue); void _DIO96H_Set_INT_Control(U16 cardNo, U16 ctrlValue); C/C++ (Windows 95) void W_DIO48H_Set_INT_Control(U16 cardNo, U16 ctrlValue);...
  • Page 49: Timer Start

    Timer Start @ Description This function is used to set and start the timer0 of the on-board timer 8254. @ Syntax C/C++ (DOS) void _DIO48H_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0) void _DIO96H_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0) C/C++ (Windows 95) void W_DIO48H_Timer_Start(U16 cardNo, U16 timer0Mode, U16 c0)
  • Page 50: Timer Read

    5.10 Timer Read @ Description This function is used to read the current count of the timer0 of the on- board timer 8254 . @ Syntax PCIDIO 24H/48H: C/C++ (DOS) void _DIO48H_Timer_Read(U16 cardNo, U16 *counterValue); void _DIO96H_Timer_Read(U16 cardNo, U16 *counterValue);...
  • Page 51: Timer Stop

    5.11 Timer Stop @ Description This function is used to stop the timer0 of the on-board timer 8254 . @ Syntax C/C++ (DOS) void _DIO48H_Timer_Stop(U16 cardNo, U16 *counterValue); void _DIO96H_Timer_Stop(U16 cardNo, U16 *counterValue); C/C++ (Windows 95) void W_DIO48H_Timer_Stop(U16 cardNo, U16 *counterValue);...
  • Page 52: Cascaded Timer

    5.12 Cascaded Timer @ Description This function is used to set and start the cascaded timer1 and timer 2 of the on- board timer 8254 . @ Syntax C/C++ (DOS) void _DIO48H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2); void _DIO96H_Cascaded_Timer(U16 cardNo, U16 c1, U16 c2);...
  • Page 53: Get Irq Status

    5.13 Get IRQ Status @ Description This function is used to read back the status of interrupt when interrupt is inserted. @ Syntax C/C++ (DOS) void _DIO48H_Get_IRQ_Status(U16 cardNo, U16 *int1Status, U16 *int2Status); void _DIO96H_Get_IRQ_Status(U16 cardNo, U16 *int1Status, U16 *int2Status); C/C++ (Windows 95) void W_DIO48H_Get_IRQ_Status(U16 cardNo, U16 *int1Status, U16 *int2Status);...
  • Page 54: Clear Irq

    24H/48H/96H, all the ports will be set as input ports. Note that this function can not re-start the PCI bus and all the hardware setting won‘t be change either. @ Syntax PCIDIO 24H/48H: C/C++ (DOS) _DIO48H_Software_Reset (U16 cardNo) _DIO96H_Software_Reset (U16 cardNo)
  • Page 55: Interrupt Start Under Windows

    Visual Basic (Windows 95) W_DIO48H_Software_Reset (ByVal cardNo As Integer) As Integer Integer W_DIO96H_Software_Reset (ByVal cardNo As Integer) As Integer @ Argument cardNo: @ Return Code ERR_NoError 5.16 Interrupt Start under Windows @ Description This function is only available with the Windows 95/98 driver. It is used to initialize and start up the interrupt control.
  • Page 56: Interrupt Stop Under Windows

    @ Argument cardNo: If the interrupt source is set as internal timer source, this value is the frequency divider of Timer#1. If the interrupt source is set as internal timer source, this value is the frequency divider of Timer#2. ctrlValue: the value for INT mode setting. The value can be set for INT1 is INT1_OFF, INT1_P1C0, INT1_P1C3C0, or INT1_EVENT_IRQ.
  • Page 57: Product Service

    Signal connections and programming are the two most common sources of difficulty. CyberResearch support personnel can help you solve these problems, especially if you are prepared for the call.
  • Page 58: Warranty • 49

    CyberResearch, Inc. will, at its option, repair or replace the defective item under the terms of this warranty, subject to the provisions and specific exclusions listed herein.

This manual is also suitable for:

Pcidio 48hPcidio 96h

Table of Contents

Save PDF