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.
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.
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.
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...
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.
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’...
® 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.
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.
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’...
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.
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’...
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...
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.
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.
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...
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...
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.
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.
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...
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.
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.
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...
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.
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).
_{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 "...
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 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...
@ 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.
@ 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...
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);...
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)
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);...
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);...
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);...
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)
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.
@ 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.
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.
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.
Need help?
Do you have a question about the PCIDIO 24H and is the answer not in the manual?
Questions and answers