Home
Manual - TopsCCC
Contents
1. ssseeeneene 27 Connector Pin Assignment of EX 94264 AC 28 Card number setting aie teet rede neni entere eine Chapter 3 Registers Format eeeeeeeseseeeeeeeeeeee nennen nnne nnne nnn 15 31 PGI PnP Redgisters eere netten em Meh ian 16 32 Digital Input Register Address Map ceceeseeceeseeeeeeeeeeeeeeeeeeeeeesaeeeeeeaeeeeesaeeneeeaeees 16 33 Digital Output Register 34 Reset control registers Chapter 4 Operation Theorem esee nennen nnne 19 41 Isolated Digital Input Channels eseeennenneeennene mene 20 42 Isolated Digital Output Channels eene 21 43 Edge Change Detection ssssseseeeeneeenenee nennen 22 44 Digital debourice i2 ceri n e AD N resin ERE Re PAR eee EE MR BRE 23 Chapter S Libraries iieri hotte cene receta 25 51 Libraries InstallatiOri 3 rrt t pereo er a erectae bern nee en Deni es 52 How to use the Functions in PCIDAQ DLL 53 Summary of f nction calls 5 irte eR e een e te Seas BAS Open caldo oet AIME ILE 55 Get Gard SID opc 29 56 Get Driver Version 5 7 Close card c a eee de ee i el ee 58 Get PCI Bus and Slot number seen 32 59 Read digital input data ssssssseeseeeeeeneneenen nennen nnns 33 510 Set debounce time of digital inputs 34 EX94264 User s manual 511 Write data to digital output port sesessesseeeeeeeeeeeeeneee
2. 58 Get PCI Bus and Slot number Description Get the PCI bus and slot number occupied by EX 94264 AC card Syntax C C DOS WORD D 4264 GetBusSlot WORD cardNo WORD bus WORD slot C C Windows WORD W 4264 GetBusSlot WORD cardNo WORD bus WORD slot Visual BASIC Windows W 4264 GetBusSlot ByVal cardNo As Long ByRef bus As Long ByRef slot As Long As Long Delphi W 4264 GetBusSlot cardNo Integer var bus Integer var slot Integer Integer Argument cardNo card number to select borad 1 2 3 4 It s set by jumper on card bus return PCI bus Number slot return PCI slot Number of the bus Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 32 EX94264 User s manual 59 Read digital input data Description This function is used to read data from digital input port You can get 8 bit input data from EX 94264 AC by calling this function Syntax C C DOS WORD D 4264 Read Di WORD cardNo WORD portNo WORD DiData C C Windows WORD W 4264 Read Di WORD cardNo WORD portNo WORD DiData Visual BASIC Windows W 4264 Read Di ByVal cardNo As Long ByVal portNo As Long ByRef DiData As Long As Long Delphi W 4264 Read Di cardNo Integer portNo Integer var DiData Integer Integer Argument cardNo card number 1 2 3 4 It S set by jumper on card portNo Digital Input port number 0 3 DiData return digital input data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H
3. output transistor ON m De activate a bit of digital output port 38 Reset bit of digital output port output transistor OFF Enable interrupt Enable interrupt by input DI 0 DI 7 39 Disable interrupt Disable digital input interrupt 41 Read channels which generate 42 Read interrupt status interrupt Clear interrupt status register Clear interrupt status register 43 27 EX94264 User s manual 54 Open card Description Because the EX 94264 AC is PCI bus architecture and meets the plug and play design the IRQ and base address are assigned by system BIOS directly EX 94264 AC cards have to be initialized by this function before calling other functions Syntax C C DOS WORD D 4264 Open WORD cardNo C C Windows WORD W 4264 Open WORD ExistedCards Visual BASIC Windows W_4264 Open ByRef ExistedCards As Long As Long Delphi W 4264 Open var ExistedCards Integer Integer Argument cardNo card number set by jumper on card DOS only existCards The number of installed EX 94264 AC cards Windows only This returned value shows how many EX 94264 AC cards are installed in your system Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 28 EX94264 User s manual 55 Get Card s ID Description Get the cards number that is set by jumper on cards Syntax C C DOS void D 4264 GetCardsID WORD CardsIDArray C C Windows WORD W 4264 GetCardsID WORD CardsIDArray Visual BASIC
4. DI 7 If channel is programmed to be positive edge or negative edge diode is not necessary interrupt mode the ECD detection circuit generate an interrupt request when the signal inputs are changed from low to high level or high to low level respectively Positive Edge Interrupt DiO DI7 LI L J L ECD rL T L INT TL TL TL Generate Interrupt Negative Edge Interrupt DI 0 DI 7 L TL ECD L TL TL INT TL TLO TIL _ CM MNT Please note that when the loading is as inductance type loading such as relay coil Generate Interrupt or motor the DO COM pin must be connected to the external power source The extra connection is to utilize the fly wheel diode to form a current release closed loop so that the transistor won t be destroyed by the reverse high voltage which is generated by the inductance load when the output switches from ON to OFF Figure 4 3 isolated digital outputs 21 22 EX94264 User s manual EX94264 User s manual 44 Digital debounce Each digital input channel has a programmable digital debounce for eliminating unexpected signals and noise from the card circuitry The user can set different digital debouncing parameters for each input channel in different applications The following is a functional description of the digital debounce 1 When a digital debounce is enabled the EX 94264 AC will sample the signals at the enabled input channel at a 10 ms sampling rate 2 When a
5. Format 15 EX94264 User s manual 3 This information is quite useful for the programmers who wish to handle the card by low level programming However we suggest user have to understand more about the PCI interface then start any low level programming In addition the contents of this chapter can help users understand how to use software driver to manipulate this card 1 PCI PnP Registers There are two types of registers PCI Configuration Registers PCR and Peripheral Interface Bus PIB The PCR which is compliant to the PCl bus specifications is initialized and controlled by the plug amp play PnP PCI BIOS The PCI bus controller Tiger 100 320 is provided by Tigerjet Network Inc www tjnet com For more detailed information of PIB please visit Tigerjet technology s web site to download relative information It is not necessary for users to understand the details of the PIB if you use the software library The PCI PnP BIOS assigns the base address of the PIB The assigned address is located at offset 14h of PIB The EX94264 AC board registers are in 32 bit width But only lowest byte bit0 bit7 is used The users can access these registers by only 32 bit I O or 8 bit I O instructions The following sections show the address map including descriptions and their offset addresses relative to the base address 32 Digital Input Register Address Map There are 32 isolated digital input channels on EX 94264 AC each bit o
6. Interrupt of DI 2 bit3 1 0 Rising Falling edge Interrupt of DI 3 bit4 1 0 Rising Falling edge Interrupt of DI 4 bitb 1 0 Rising Falling edge Interrupt of DI 5 bit6 1 0 Rising Falling edge Interrupt of DI 6 bit7 1 0 Rising Falling edge Interrupt of DI 7 IntMask Interrupt mask of channels bit0 1 0 Enable Disable Interrupt of DI 0 bit121 0 Enable Disable Interrupt of DI 1 bit2 1 0 Enable Disable Interrupt of DI 2 bit3 1 0 Enable Disable Interrupt of DI 3 bit4 1 0 Enable Disable Interrupt of DI 4 bit5 1 0 Enable Disable Interrupt of DI 5 bit6 1 0 Enable Disable Interrupt of DI 6 39 40 EX94264 User s manual 5 16 Disable Interrupt Description Disable interrupt of input Syntax C C DOS WORD D 4264 IntDisable WORD cardNo C C Windows Void W 4264 IntDisable WORD cardNo Visual BASIC Windows W 4264 IntDisable ByVal cardNo As Long Delphi W 4264 IntDisable cardNo Integer Argument cardNo card number 1 2 3 4 It Ss set by jumper on card Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 41 EX94264 User s manual 5 17 Read Interrupt Status Register Description Read the digital channel number which generate interrupt DOS only Syntax C C DOS WORD D 4264 Read IntStatus WORD cardNo WORD IntStatus Argument cardNo card number to select borad 1 2 3 4 It Ss set by jumper on card IntStatus BitO 1 DI 0 Interrupt BitO 0 DI 0 no Interrupt Bit121 DI 1 Interrupt Bit120 DI 1 n
7. high or low signal is present at a digital input channel whose digital debounce function is enabled the signal will be filtered out as noise unless it lasts for an effective period 3 The effective period is determined by multiplying the sampling rate 10 ms by the sampling number 1 15 chosen by the user i e Effective period Sampling number x 10 ms 4 See Sec 5 10 page 34 to more detail using of debounce function Disable Debounce DI 0 DI 31 WU l Jj L Read IN Wt Lo I L Noise Signal Noise Enable Debounce DI 0 DI 31 Wt Ld L Read IN T Lo TL L_Debounce width 10 msec x n 23 24 EX94264 User s manual Chapter 5 Libraries 25 EX94264 User s manual This chapter describes the software library for operating this card Only the functions in DOS library and Windows DLL are described Please refer to the PCIDAQ function reference manual which included in TOPS CCC CD for the descriptions of the Windows 98 NT 2000 DLL functions 51 Libraries Installation Please refer to the Software Installation Guide for the detail information about how to install the software libraries for DOS or Windows 98 DLL or PCIDAQ for Windows 98 NT 2000 The device drivers and DLL functions of Windows 98 NT 2000 are included in the PCIDAQ The TOPS CCC CD also includes the detail examples and readme files 52 How to use the Functions in PCIDAQ DLL VC 6 0 1 Add file Include PCIDAQ H in your
8. 33 EX94264 User s manual 5 10 Set debounce time of digital inputs Description The all digital input channels DI O DI 31 are grouped into 4 ports each port can has an individually programmable digital debounce circuit which can filter the bounce of input signals Syntax C C DOS WORD D 4264 Set DebounceMode WORD cardNo WORD DebounceMode C C Windows WORD W 4264 Set DebounceMode WORD cardNo BYTE DebounceMode Visual BASIC Windows W 4264 Set DebounceMode ByVal cardNo As Long ByVal DebounceMode As Long As Long Delphi W 4264 Set DebounceMode cardNo Integer DebounceMode Integer Integer Argument cardNo card number to select borad 1 2 3 4 It s set by jumper on card DebounceMode Bit0 21 0 Enable Disable Port 0 DI 0 DI 7 debounce Bit1 21 0 Enable Disable Port 1 DI 8 DI 15 debounce Bit2 21 0 Enable Disable Port 2 DI 16 DI 23 debounce Bit3 21 0 Enable Disable Port 3 DI 24 DI 31 debounce Bit4 Bit7 0001 1111 debounce time factor for example Bit4 Bit7 0010 debounce time 10ms 2 20ms Bit4 Bit7 0101 debounce time 10ms 5 50ms Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 34 EX94264 User s manual 4 11 write data to digital output port Description This function is used to write data byte to output port You can send 8 bit output data to EX 94264 AC by calling this function Syntax C C DOS WORD D 4264 Write Do WORD cardNo WORD portNo WORD Da
9. EX94264 User s manual EX 94264 AC Isolated 32 channel D I and 32 channel D O Copy Right Notice The information in this manual is subject to change without prior notice in order t o improve reliability design and function and dosed not represent a commitment on the part of the manufacturer No part of this manual may be reproduced copied or transmitted in any form without the prior written permission of manufacturer Acknowledgment Products mentioned in this manual are mentioned for identification purpose only Products manes appearing in this manual may or may not be registered trademarks or copyright of their respective companies Printed Aug 2002 Rev 1 0 EX94264 User s manual EX94264 User s manual Table of Contents Chapter Introduction 1 euer 5 11 Introduction 12 FOALUCS vive L3 Applicatiofis 4 23 sccta nest ain ate erede nee ee UR DT eode 6 14 SPECITICALIONS ice weenie eA iaie 7 15 Software Supporting 16 Programming Library Chapter 2 Installation cccssecsssssseecsseesseeesseeeeseeeseeeesseeesneeeeseeeeseeeesenesseeeeas 9 21 What YOU LEV M 22 npacking en re ren tme tr ene ra reb ais 23 Hardware Installation Outline sees 24 PCB EaVOUt iine e ote dta n nein epi m 25 Installation Procedures rrr etr ren rerit ra 26 Device Installation for Windows Systems
10. LO UC 00000000000 O EX 98068 Terminal board O 44
11. RD cardNo WORD portNo WORDbitNo C C Windows WORD W 4264 Set Do Bit WORD cardNo WORD portNo WORDbitNo Visual BASIC Windows W 4264 Set Do Bit ByVal cardNo As Long ByVal portNo As Long ByVal bitNo As Long As Long Delphi W 4264 Set Do Bit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo card number 1 2 3 4 It S set by jumper on card portNo Digital output port number 0 3 bitNo bit number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 37 EX94264 User s manual 5 14 Reset bit of digital output port Description Set one digital output bit to open state output transistor OFF Syntax C C DOS WORD D 4264 Reset Do Bit WORD cardNo WORD portNo WORD bitNo C C Windows WORD W 4264 Reset Do Bit WORD cardNo WORD portNo WORD bitNo Visual BASIC Windows W 4264 Reset Do Bit ByVal cardNo As Long ByVal portNo As Long ByVal bitNo As Long As Long Delphi W 4264 Reset Do Bit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo card number to select borad 1 2 3 4 It s set by jumper on card portNo Doport number 0 3 bitNo channel Number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 38 EX94264 User s manual EX94264 User s manual 5 15 Enable Interrupt bit7 1 0 Enable Disable Interrupt of DI 7 Description userlntServiceRoutine User Interrupt service routine point
12. Windows W 4264 GetCardsID ByRef CardsIDArray As Long As Integer Delphi W 4264 GetCardsID var CardsIDArray Word Word Argument CardsIDArray This array return card number 1 2 3 4 which is set by jumper on card You should define a 4 elements array and then pass the array s pointer to this function Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 29 EX94264 User s manual 56 Get Driver Version Description The EX 94264 AC card is driven by PCIDAQ DLL driver This function returns the version of PCIDAQ DLL driver Syntax C C DOS void D 4264 Version char version C C Windows Int W 4264 Version void Visual BASIC Windows W 4264 Version As Long Delphi W 4264 Version Integer Argument version This string return the version of DOSDAQ DLL DOS Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 30 EX94264 User s manual 57 Close card Description The IRQ and base address of EX 94264 AC pass through address are assigned by system BIOS directly This function should be called to release all system resource before terminate application program Syntax C C DOS WORD D 4264 Close WORD cardNo C C Windows Void W 4264 Close void Visual BASIC Windows W 4264 Close Delphi W 4264 Close Argument cardNo card number 1 2 3 4 It S set by jumper on card Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 31 EX94264 User s manual
13. al debounce 68 pin SCSI II connector Pin compatible to EX 98068 see page 44 13 Applications Laboratory and Industrial automation Watchdog timer Event counter Frequency counter and generator Low level pulse generator Time delay EX94264 User s manual EX94264 User s manual 14 Specifications L5 Software Supporting Optical Isolated Input Channel TOPS CCC 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 Intouch and so on All the software options are included in Numbers of Channel 32 digital inputs Input polarity polarity sensitive for EX 94264 and non polarity for EX 94264AC the provided CD IDpurvoitagezos eqvtue l6 Programming Library Logic H 3 24V 3 vir ape E 1 The provided CD includes the function libraries for many different operating systems Logic L 0 2 4V including Input resistance 4 7KQ 0 5W DOS Library Borland C C and Microsoft C the functions descriptions Isolated voltage 5000 Vrms are included in this user s guide Throughput 10K Hz 0 1 ms Windows 98 2000 NT Me XP DLL For VB VC BC5 the functions descriptions are included in this user s guide Windows 98 2000 NT Me XP ActiveX For Windows s applications LabVIEW 6 Driver Contains the Vis which are used to inte
14. chased the product Save the shipping materials and carton in case you want to ship or store the product in the future 22 Unpacking Your EX 94264 AC card contains sensitive electronic components that can be easily damaged by static electricity The operator should be wearing an anti static wristband grounded at the same point as the anti static mat Inspect the card module carton for obvious damage Shipping and handling may cause damage to your module Be sure there are no shipping and handing damages on the module before processing After opening the card module carton extract the system module and place it only on a grounded anti static surface component side up Again inspect the module for damage Press down on all the socketed IC s to make sure that they are properly seated Do this only with the module place on a firm flat surface 2 3 Hardware Installation Outline PCI configuration The PCI cards are equipped with plug and play PCI controller it can request base addresses and interrupt according to PCI standard The system BIOS will install the system resource based on the PCI cards configuration registers and system parameters which are set by system BIOS Interrupt assignment and memory usage I O port locations of the PCI cards can be assigned by system BIOS only These system resource assignments are done on a board by board basis It is not suggested to assign the system resource by any other methods PCI slot selectio
15. er will be called Enable Interrupt of digital inputs when interrupt occurs Syntax for ane C C DOS void userlntServiceRoutine WORD CardNo WORD IntStatus WORD D 4264 IntEnable WORD cardNo WORD IntMode WORD for vas IntMask UserlntServiceRoutine Sub UserlnterruptRutine ByVal CardNo As Long ByVal IntStatus As Long C C Windows for Delphi WORD W 4264 IntEnable WORD cardNo WORD IntMode WORD Procedure userlntServiceRoutine CardNo Word IntStatus Word StdCall IntMask User Interrupt HANDLER userlntServiceRoutine Visual BASIC Windows This function will pass CardNo and IntStatus parameters to user s service W 4264 IntEnable ByVal cardNo As Long ByVal IntMode As Long routine when interrupt occurred IntMask as Long ByVal userlntServiceRoutine As Long As Long Where IntStatus Delphi bitO 1 Interrupt from DI 0 W 4264 IntEnable bit121 Interrupt from DI 1 cardNo Integer IntMode Integer IntMask Integer userlntServiceRoutine Poi nter Integer Argument bit2 1 Interrupt from DI 2 bit3 1 Interrupt from DI 3 bit4 1 Interrupt from DI 4 bit5 1 Interrupt from DI 5 bit6 1 Interrupt from DI 6 bit7 1 Interrupt from DI 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H cardNo card number 1 2 3 4 It S set by jumper JP1 on card IntMode Interrupt mode of input port 0 DI 0 DI 7 bit0 1 0 Rising Falling edge Interrupt of DI 0 bit1 1 0 Rising Falling edge Interrupt of DI 1 bit2 1 0 Rising Falling edge
16. f based ad 16 dress is corresponding to a signal on the digital input channel Address BASE 0xc0 BASE Oxcc port 0 port 3 Attribute read only Bit Port 7 6 5 4 3 2 1 0 Base 0xc0 O DI_7 DI6 DI 5 DDI5 DIS DI2 DI_1 DIO Base 0xc4 1 DI 15 DI 14 DI 13 DI 12 DI 11 DI 10 DI 9 DI 8 Base 0xc8 2 DI 23 DI 22 DI 21 DI 20 DI 19 DI 18 DI 17 DI 16 Base Oxcc 3 DI_31 DI 30 DI 29 DI 28 DI 27 DI 26 DI 25 DI 24 EX94264 User s manual 33 Digital Output Register There are total 32 digital output channels on the EX 94264 AC each bit of based address is corresponding to a signal on the digital output channel Address BASE 0xd0 BASE 0xdc port 0 port 3 Attribute write read Bit Port 7 6 5 4 3 2 1 0 Base 0xd0 0 DO_7 DO 6 DO 5 DO 5 DO_3 DO 2 DO 1 DO_O Base 0xd4 1 DO 15 DO 14 DO 13 DO 12 DO 11 DO 10DO 9 DO 8 Base 0xd8 2 DO 23 DO 22 DO 21 DO 20 DO 19 DO 18 DO 17 DO 16 Base 0xdc 3 DO 31 DO S30 DO 29 DO 28 DO 27 DO 26 DO 25 DO 24 34 Reset control registers The EX 94264 AC is in inactive state when the system power on and should be activated by set bit o of this register to 1 state Address Base 0x00 Attribute Write only Bit 7 6 5 4 3 2 1 0 State Base 0x00 O O O JO JO JO JO O Inactive reset state Default Ba
17. imum four EX 94264 AC cards can be installed in system simultaneously with EX 94264 AC s pin assignment is as shown in Figure 2 7 each has a unique card number A jumper called JP1 see page 11 on the card is used to set the card number starts from 1 to 4 ISOGND 68 84 DO COM ISOGND 67 33 ISOGND DO 31 66 32 DI 31 JP1 Card number DO 30 65 31 DI 30 DO 29 64 30 DI 29 DO 28 63 29 DI 28 OOo 4 DO 27 62 28 DI 27 OO 3 1 DO 26 61 27 DI 26 ool default setting DO 25 60 26 DI 25 O CO 1 DO 24 59 25 DI 24 DO 23 58 24 DI 23 DO 22 57 23 DI 22 DO 21 56 22 DI 21 a 5 E DO 20 55 21 DI 20 2 DO 19 54 20 DI 19 7 DO 18 53 19 DI 18 DO 17 52 18 DI 17 DO 16 51 17 DI 16 DO 15 50 16 DI 15 0 O 4 DO_14 49 15 DI 14 O O 3 3 DO 13 48 14 DI 13 Oo OoJ2 DO 12 47 13 DI 12 Oo0 1 DO 11 46 12 DI 11 DO 10 45 11 DI 10 DO 9 44 10 DI 9 4 DO 8 43 9 DI 8 OOl 3 DO 7 42 8 DL 7 O Ol2 4 DO 6 41 7 DL 6 Oo Ol 1 DO 5 40 6 DI 5 DO 4 39 5 DI 4 DO 3 38 4 DL 3 DO 2 37 3 DL 2 DO 1 36 2 DI 1 DO 0 35 1 DIO Figure 2 7 Pin Assignment of EX 94264 AC connector CN1 Legend DI n Isolated digital input channel n DO n Isolated digital output channel zin DO COM Power input signal for fly wheel diode of DO channels ISOGND Ground return path of isolated input and output channels 13 14 EX94264 User s manual Chapter 3 Registers
18. n The PCI card can be inserted to any PCI slot without any configuration for system resource EX94264 User s manual EX94264 User s manual 24 PCB Layout 25 Installation Procedures 1 Turn off your computer 2 Turn off all accessories printer modem monitor etc connected to your computer Remove the cover from your computer Setup jumpers on the card Before handling the PCI cards discharge any static buildup on your body by touching the metal case of the computer Hold the edge and do not touch the components 6 Position the board into the PCI slot you selected 7 Secure the card in place at the rear panel of the system 102mm d4 a A O 2 6 Device Installation for Windows Systems s5 NI Once Windows 95 98 2000 has started the Plug and Play function of Windows Reserved system will find the new EX cards If this is the first time to install EX cards in your Tor testing window systemad you will be informed to input the device information source Please refer to the Software Installation Guide for the steps of installing the device Where CN1 Digital input output connector JP1 Card number selection jumper CN2 Testing only no used for user 12 EX94264 User s manual EX94264 User s manual 27 Connector Pin Assignment of EX 94264 AC 28 Card number setting The pin assignment of the 68 pins SCSI II connector is an isolated signal connector Max
19. nnennenen nennen 35 512 Read back digital output data 36 513 Set bit of digital output port eniti tte etie een 37 514 Reset bit of digital output port nennen nennen 38 515 Enable Interruption eene nde ene re ted Deeds 39 516 Disable Interrupt c needed eene e enr B 41 51 7 Read Interrupt Status Register 42 518 Clear Interrupt Status Register sse 43 Chapter 6 EX 98068 Terminal board eese 44 4 EX94264 User s manual EX94264 User s manual Chapter 1 ll Introduction The EX 94264 AC is 64 CH high density isolated digital input and or output product l nt rod u ct l O n This I O card is isolated up to 5000 Vdc excluding cables for channel to computer isolation It protects your computer against damage caused by accidental contact with high external voltage and eliminates troublesome ground loops The EX 94264 AC fully implements the PCI local bus specification Rev 2 1 All bus relative configurations such as base memory and interrupt assignment are automatically controlled by BIOS software 12 Features The EX 94264 AC Isolated digital I O card provide the following advanced features 32 Isolated digital Input channels non polarity input for EX94264AC 32 Isolated digital output channels High output driving capability 500mA sink current on isolated output 5000 Vrms high voltage isolation External interrupt signal on DI channels Built in digit
20. o Interrupt Bit2 1 DI 2 Interrupt Bit2 0 DI 2 no Interrupt Bit8 1 DI 3 Interrupt Bit320 DI 3 no Interrupt Bit4 1 DI 4 Interrupt Bit4 0 DI 4 no Interrupt Bits 1 DI 5 Interrupt Bits 0 DI 5 no Interrupt Bit6 1 DI 6 Interrupt Bit6 0 DI 6 no Interrupt Bit7 1 DI 7 Interrupt Bit7 0 DI 7 no Interrupt DI n see sec 2 7 page 13 Return Code 42 Error code Please refer to DOSDAQ H or DOSDAQ H EX94264 User s manual 5 18 Clear Interrupt Status Register Description Clear interrupt status register Syntax C C DOS WORD D 4264 Clear IntStatus WORD cardNo C C Windows WORDW 4264 Clear IntStatus WORD cardNo Visual BASIC Windows W 4264 Clear IntStatus ByVal cardNo As Long As Long Delphi W 4264 Clear IntStatus cardNo Integer Integer Argument cardNo card number to select borad 1 2 3 4 It s set by jumper on card Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 43 EX94264 User s manual Chapter 6 E X 98068 Terminal board EX 98068 digital input output termination board features one DIN socket for easy maintenance wiring and installation It provides 68 channels that are accessed through a SCSI 68 connector Each terminal pin is in serial with O ohms resistor to relative pin on the DIN connector These resistors can be changed to the desired value to meet the requirement of your applications O SCSI I 68 pin connector O o NNNMNNNNNNNHHAHHHHHHH OONDORWN DIDIT LCCIDUD ODIO
21. project 2 In link page of menu project setting add LIB PCIDAQ LIB in the blank of Objects Library Modules 3 Add this sentence include Include PCIDAQ H to the head of your main file Visual BASIC 1 Add file Include Declare bas in your project Delphi 2 Add file Include Declare pas in your project 3 Add this sentence uses Declare in the head of your unit pas C Builder 4 Add file Include PCIDAQ H and Lib PCIDAQ_CB lib to your project 5 Add this sentence include Include PCIDAQ H to head of your main file Note For more information please refer to program in directory Example 26 53 Summary of function calls EX94264 User s manual Function Description page Open card Initial EX 94264 AC card before using 28 Get Card s ID Get PCI ID code of EX 94264 AC 29 Get Driver Version Get version number of PCIDAQ DLL 30 Close EX 94264 AC card before 31 Close card ui terminating program Get PCI bus and slot number occupied 45 Get PCI Bus and Slot number by EX 94264 AC Read digital input data Read digital input port data 8 bit 33 Setd bo hce tie Set debounce timer of digital input 34 signals d data to digital output jio data 8 bit to digital output port 35 Read back digital output data Read back current value of digital 36 output port Activate a bit of digital output port 37 Set bit of digital output port
22. rface with NI s LabVIEW 6 software package Supporting Windows 95 98 NT 2000 The Optical Isolated Output Channel Numbers of Channel 32 digital outputs Output type Darlington transistors with common ground Output voltage 5voc min 90voc maximum LabVIEW e drivers are free shipped with the board Output Device ULN2803 common ground InTouch Driver Contains the InTouch driver which support the Windows Sink Current Max 500mA ch for only one of the ULN2803 transistor is ON 98 2000 NT XP The The InTouch 6 drivers are free shipped with the board Power Dissipation 1 47W per ULN2803 device 8 channels Isolated voltage 5000 voc Interrupt Sources Channel 0 to channel 7 of digital input channels Digital debounce Software programmable from 10msec to 160 msec General Specifications Connector 68 pin SCSI II connector Operating temperature 0 C 60 C Storage temperature 20 C 80 C Humidity 5 95 non condensing Power Consumption 5V 9 530 mA typical Dimension 170mm W x102mm H EX94264 User s manual EX94264 User s manual Ch 2 This chapter describes how to install the EX 94264 AC card Please follow the follow apte r steps to install the EX 94264 AC card Installation 21 What You Have In addition to this User s Manual the package includes the following items EX 94264 AC board Driver utilities CD This user s manual If any of these items is missing or damaged contact the dealer from whom you pur
23. se 0x00 O 0 jO JO O O JO 1 Active state Bit 0 of this register should be set to 1 before using EX 94264 AC EX94264 User s manual 18 EX94264 User s manual Chapter 4 Operation Theorem 19 EX94264 User s manual 41 isolated Digital Input Channels The isolated digital input is open collector transistor structure The input voltage range form OV to 24V and input resister is 4 7K ohms The connection between outside signal and EX 94264 AC is shown in Figure 4 1 and Figure 4 2 Polarity input DI n 0 31 0 24V ISOGND d G Figure 4 1 Isolated digital inputs of EX 94264 Non polarity input EX 94264AC only 1 4 7K DI n 0 31 0 24V E Figure 4 2 Non polarity isolated digital inputs of EX 94264AC Note The digital input connections of EX 94264AC are not polarity sensitive whether used on AC or DC voltage 20 EX94264 User s manual EX94264 User s manual 42 Isolated Digital Output Channels 43 Edge Change Detection On EX 94264 AC the DO COM pin is used as fly wheel diode which can protect The ECD Edge Change Detection detection circuit is used to detect the edge of the driver if the loading is inductance loading such as relay motor or solenoid If the level change In the EX 94264 AC the detection circuit is applied to 8 input channels loading is resistance loading such as resistor or LED the connection to fly wheel DI 0
24. ta C C Windows WORD W 4264 Write Do WORD cardNo WORD portNo WORD Data Visual BASIC Windows W 4264 Write Do ByVal cardNo As Long ByVal portNo As Long ByVal Data As Long As Long Delphi W 4264 Write Do cardNo Integer portNo Integer Data Integer Integer Argument cardNo card number 1 2 3 4 It S set by jumper on card portNo Digital port number 0 3 Data Data be written to output port Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 35 EX94264 User s manual 5 12 Read back digital output data Description This function is used to read current data of output port You can read back 8 bit output data of EX 94264 AC by calling this function Syntax C C DOS WORD D 4264 Read Do WORD cardNo WORD portNo WORD DoData C C Windows WORD W 4264 Read Do WORD cardNo WORD portNo WORD DoData Visual BASIC Windows W 4264 Read Do ByVal cardNo As Long ByVal portNo As Long ByRef DoData As Long As Long Delphi W 4264 Read Do cardNo Integer portNo Integer var DoData Integer Integer Argument cardNo card number 1 2 3 4 It S set by jumper on card portNo Do port number 0 3 Data return current output data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 36 EX94264 User s manual 5 13 Set bit of digital output port Description Set one digital output bit to short state output transistor ON Syntax C C DOS WORD D 4264 Set Do Bit WO
Download Pdf Manuals
Related Search
Related Contents
PDF File Kensington Desktop Comfort Keyboard Drawer with SmartFit® System Test 2 RAPPORT La performance énergétique des bâtiments bien-être PN40H-JP 取扱説明書 Télécharger la brochure Manual Instrucciones Agua Copyright © All rights reserved.
Failed to retrieve file