Home
Manual - TopsCCC
Contents
1. 34 Debounce control registers There are total thirty two bits on EX 94164 to enable or disable debounce function of digital input ports port 0 port 3 Address Base 0C8H Attribute Write only Value Bit no Value Portno Debounce mode 0 Disable Bit 0 Port 0 1 Enable 0 Disable Bit 1 Port 1 1 Enable 0 Disabl Bit 2 Port 2 ee 1 Enable 0 Disable Bit 3 Port 3 1 Enable Bit 4 Bit 7 Debounce factor 0000 1111 13 EX 94164 User s manual Debounce period 10 msec x Debounce factor 35 Interrupt control register There are total 8 digital input channels DI_O DI_7 on the EX 94164 AC can generate interrupt signal This register control the interrupt mode of input channels DI_0 DI 7 port 0 35 1 Interrupt mask control register This register can individually enables or disable interrupt of each digital input channels DI_0 DI_7 port 0 Address BASE 0COH Attribute write only Value Bit no Value Channel no Interrupt Bto Channel 0 pio __Disable 1 Enable Bit 1 Channel 1 p1 __Disable 1 Enable Bit 2 0 Channel 2 DI_2 __Disable 1 Enable pits O channel 3 p13 __Disable__ 1 Enable Bit 4 Channel 4 p4 __Disable 1 Enable Bits _ Channel 5 DI5 _ Disable 1 Enable Bte _ Channel ge pie Disable 1 Enable Bit 7
2. PE Ool1 activated by set bit o of this register to 1 state Address Base 00H Attribute Write only Value 01 PCI Internal special control register EX 98354 internal control register should be written with value OOH before controlling EX 98354 card Address Base 02H Attribute Write only Value always are 00H Interrupt mask control register Enable or disable PCI interrupt INT A Address Base 05H Attribute Write only Value 10H enable PCI INT A 11 12 EX 94164 User s manual 00H disable PCI INT A 33 Digital Input Register Address Map There are 64 isolated digital input channels on EX 94164 AC each bit of based address is corresponding to a signal on the digital input channel Address BASE 0COH BASE 0DCH port 0 port 7 Attribute read only Value Bit Port 7 6 5 4 3 2 1 0 Base OCOH O DI_7 DL6 DIL5 DIL5 DIL3 DIL2 DL1 DLO Base 0C4H 1 DI_15 DI_14 DI_13 DI_12 DI_11 DI_10 DI_9 DI_8 Base OC8H 2 DI_23 DI_22 DI_21 DI_20 DI_19 DI_18 DI_17 DI_16 Base OCCH 3 DI_31 DI_30 DI_29 DI_28 DI_27 DI_26 DI_25 DI_24 Base ODOH 4 DI_39 DI_38 DI_37 DI_36 DI_35 DI_34 DI_33 DI_32 Base OD4H 5 DI_47 DI_46 DI_45 DI_44 DI_43 DI_42 DI_41 DI_40 Base OD8H 6 DI_55 DI_54 DI_53 DI_52 DI_51 DI_50 DI_49 DI_48 Base ODCH 7 DI_63 DI_62 DI_61 DI_60 DI_59 DI_58 DI_57 DI_56
3. It s set by jumper on card Return Code 32 Error code Please refer to PCIDAQ H or DOSDAQ H EX 94164 User s manual 52 Read Interrupt Status Register Description Read the digital channel number which generate interrupt DOS only Syntax C C DOS WORD D_4164 _Read_IntStatus WORD cardNo WORD IntStatus Argument cardNo card number 1 2 3 4 It s set by jumper on card IntStatus Bit n 1 Interrupted by DI_n n 0 7 Bit n 0 No Interrupted by DI_n n 0 7 Return Code Error code Please refer to DOSDAQ H 4515 Clear Interrupt Status Register Description Clear interrupt status register Syntax C C DOS WORD D_4164 Clear_IntStatus WORD cardNo C C Windows WORDW_4164_Clear_IntStatus WORD cardNo Visual BASIC Windows Function W_4164_Clear_IntStatus ByVal cardNo As Long As Long Delphi Function W_4164_Clear_IntStatus cardNo Integer Integer 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 33 EX 94164 User s manual Chapter 6 E X 98068 Terminal board 34 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
4. Humidity 5 95 non condensing Power Consumption 5V 530 mA typical Dimension 170mm W x102mm H EX 94164 User s manual EX 94164 User s manual Chapter 2 Installation ptm 24 PCB Layout This chapter describes how to install the EX 94164 AC card Please follow the follow steps to install the EX 94164 AC card 21 What You Have In addition to this User s Manual the package includes the following items EX 94164 AC board Driver utilities CD 102 mm This users manual If any of these items is missing or damaged contact the dealer from whom you purchased 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 94164 AC card contains sensitive electronic components that can be easily damaged by static electricity The operator should be wearing an anti static Where wristband grounded at the same point as the anti static mat Inspect the card beaten ad module carton for obvious damage Shipping and handling may cause damage to CN1 Digital input connector DI_0 D_ 63 ISOGND and ISOVCC 15VDC your module Be sure there are no shipping and handing damages on the module CN2 No used before processing JP1 Card number setting 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
5. different applications The interrupt mode the ECD detection circuit generate an interrupt request when the following is a functional description of the digital debounce signal inputs are changed from low to high level or high to low level respectively 1 When a digital debounce is enabled the EX 94164 AC will sample the signals at the enabled input channel at a 20 ms sampling rate 2 When a high or low signal is present at a digital input channel whose digital Rising Edge Interrupt debounce function is enabled the signal will be filtered out as noise unless it lasts for an effective period DLO DIL15 _ P Lj P ig f 0 15 3 The effective period is determined by multiplying the sampling rate 20 ms by ECD J J d A the sampling number 1 15 chosen by the user i e ml l rl Effective period debounce factor x 20 ms Ta ee 4 See Sec 5 9 page 30 to more detail using of debounce function Generate Interrupt Disable Debounce Falling Edge Interrupt DI o D 15 _ MU Lo T L DI_O DI_15 Read IN MU L NT L ECD l l l A A NT LOO Noise Signal T ee Generate Interrupt Noise Enable Debounce Figure 4 3 inputs interrupt block diagram DI_o bDI_15__ MU SOC EOL Read IN OL L Debounce width 20 msec x n Figure 4 4 inputs debouce block diagram 19 20 EX 94164 User s manual Chapter 5 Libraries This chapter describes the software library for operating this card Only the functio
6. s to make sure that they are properly seated Do this only with the module place on a firm flat surface Controller 23 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 selection The PCI card can be inserted to any PCI slot without any configuration for system resource EX 94164 User s manual EX 94164 User s manual 25 Installation Procedures 27 Connector Pin Assignment of EX 94164 AC The pin assignment of the 68 pins SCSI II connector is an isolated signal connector Ve TUTON your Computer EX 94164 AC s pin assignment is as shown in Figure 2 7 2 Turn off all accessories printer modem monitor etc connected to your computer 3 Remove the cover from your computer ovocie EN 4 Setup jumpers on the card ISOGND 67 33 ISOGND 5 Before handling the PCI cards discharge any static buildup on your body by Dea es Sete touching the metal case of the computer Hold the ed
7. Change Detection icce aaiae iare hi raasden aiaia 19 43 Digital debon niiki a ea 20 Chapter 5 Libraries sieo Sesio noa snnsneusanieaoatnne eneen esihe rsa enaska aoaaa k sN n enaka siaina 21 5 1 Libraries Installation cecccceeeseeeeeeescneeeesenceeesseceeseseeeeeesenseneseeeeeessoeeeee 21 511 How to use the DOSDAQH LIB in DOS 1 0 0 eeceeeeeeeneeeneeeeneeteneeeeneeeenees 21 5 12 How to use the PCIDAQ DLL s in WinNdOWS eccceseeeeeeteeeeeeeeeteeeennees 22 52 Summary Of function Calls vcezcesstjeciceesis cghethecags enencidd ade tenaneddeekteadtepenadies 23 2 EX 94164 User s manual 53 Opencard enc aA ata ine aan treks See ee 24 DA Get Card s Daa eeraa e eaaa errie a ars en Aona iae aa dese stiganier tga 25 55 Get Driver Version saciei t ili agectleceessneee shesnednelacboue qpend taaa on aaa Ena aE 26 56 Close ea ea e a E a a aaa AES 27 5 7 Get PCI Bus and Slot NUMDber sseseeseeseeseeeetsitesitstreetnninettnernnstnnsenneene 28 58 Read digital input data e cece eeeeeeeeeeeeeeceeeeeeeeeeeaeeseaeeseaeeseaeeeeeeseeereaes 29 5 9 Set debounce time of digital inputs 2 0 0 ee eeeeeeeneeeeeeeeeneeeeeeeeeneeeeeeeeeaees 30 510 sEnable INtenrupt 2 scscczhe atest r a etetiaceg ches alteN ar a ae Eet 31 5I Disable Interrupt rierren iau nana dlc cated hele aeo a atana Y 32 5 12 Read Interrupt Status REQGiStelr eceeeeecseeeeeeeeeeeeeeeeeseaeeteeeteneeeeeeeeeaes 33 5 13 Clear Inte
8. Channel 7 DI_7 Pisae 1 Enable 14 EX 94164 User s manual EX 94164 User s manual 352 Interrupt trigger control register 3 6 Interrupt status register There is one register store the interrupt status of input channels DI_O DI_7 l t signal be tri d at risi d falli dge of each input on the nterrupt signal can be triggered at rising edge or falling edg p Address Base 0E0H EX 94164 card This register is used to control interrupt trigger mode Address BASE 0C4H Attribute Read only Attribute write only Value Value Bit Interrupt status 7 6 5 4 3 2 1 0 Bit no Value Channelno Trigger mode Base 0EOH DO_7 DO 6 DO_5 DO5 DO3 DO2 DO1 DOO 0 Rising edge DItO Channel 0 DI_0 M ai Note Bit n 1 means that the corresponding channel is interrupted 1 Falling edge 0 Rising edge Bit 1 Channel 1 D1 _ 37 Clear Interrupt register Falling edge P This register is used to clear interrupt status registers to accept next interrupt cycle 0 Ch 1 2 DI 2 Rising edge Bit 2 annel 2 DI_2 Np aca ee at heey Ul Write any value to this register after interrupt handle completed 1 Falling edge 0 Risina ed Address Base 0CCH f ising edge Bit3 Channel 3 DI_3 Eng 209e Attribute Write only 1 Falling edge Value any value Bit4 O Channel 4 pi_4 _Rising edge _ 1 Falling edge Bits 0 Channel 5 pi_5 __Rising edge 1 Fal
9. EX 94164 User s manual EX 94164 AC Isolated 64 channel D I 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 EX 94164 User s manual Table of Contents Chapter 1 Introd tion sins cece cee cached ccdcecdeecetstinccsvecgentassvace conegcenestibacecceeensctecbcees 4 L1 Introduction usa dette detect EA a ee 4 ED oRCAtuneS s EE E sae eie ett Ae Bost iae T 4 E3 Specifications seis si a eek tetas ade edie ele heed dedi 5 T4 Software SUpport Oa aaa ae aa cass E aa aaRS 6 15 Programming Library sasn baa eet lee 6 Chapter 2 Installation j cs2ssiceck cccctceeseeestiecd i etecideedi chia anena OLEE TEA etietdes 7 21 What You Havens ime ae enesta ean a oeie oeo re Naaa deed ners aetna 7 22 Unpack giii s rear e a winds ere ape lect 7 23 Hardware Installation Outline eee cece eeseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseneeenaes 7 24 PCB Layoutive ities ea ait ae ae i 8 25 Installation Procedures i
10. IntServiceRoutine Pointer Integer Argument Argument cardNo card number 1 2 3 4 It s set by jumper JP1 on card IntMode Triggering edge of input port 0 s channels Bit n 0 Rising edge interrupt of channel n DI_n n 0 7 1 Falling edge interrupt of channel n DI_n n 0 7 IntMask Interrupt mask of input port O s channels Bit n 0 Disable interrupt of channel n DI_n n 0 7 1 Enable interrupt of channel n DI_n n 0 7 userlntServiceRoutine User Interrupt service routine pointer will be called when interrupt occurs For C void userlntServiceRoutine WORD CardNo WORD IntStatus For VB Sub UserlInterruptRutine ByVal CardNo As Long ByVal IntStatus As Long For Delphi Procedure userlntServiceRoutine CardNo Word IntStatus Word StdCall 31 EX 94164 User s manual This function will pass CardNo and IntStatus parameters to user s service routine when interrupt occurred Where IntStatus Bit n 1 Interrupted by DI_n Bit n 0 No interrupted by DI_n CardNo Card number Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 511 Disable Interrupt Description Disable interrupt of input Syntax C C DOS WORD D_4164_IntDisable WORD cardNo C C Windows Void W_4164_IntDisable WORD cardNo Visual BASIC Windows Function W_4164_IntDisable ByVal cardNo As Long Delphi Function W_4164_IntDisable cardNo Integer Argument cardNo Card number 1 2 3 4
11. SIC 1 Add file Include Declare bas in your project Delphi 1 Add file Include Declare pas in your project Add this sentence uses Declare in the head of your unit pas C Builder 1 Add file Include PCIDAQ H and Lib PCIDAQ_CB lib to your project Add this sentence include Include PCIDAQ H to head of your main file Note For more information please refer to program in directory Example 22 EX 94164 User s manual 52 Summary of function calls The EX 94164 provides you eleven function calls to access the digital input signals Function Description page Open card Initial EX 94164 AC card before using 24 Get Card s ID Get PCI ID code of EX 94164 AC 25 Get Driver Version Get version number of PCIDAQ DLL 26 Close EX 94164 AC card before Close card 27 terminating program Get PCI bus and slot number occupied Get PCI Bus and Slot number by EX 94164 AC 28 Read digital input data Read digital input port data 8 bit 29 S t debo ncetime in Pana timer of digital input 30 Enable interrupt Enable interrupt by inout DI_O DI_7 31 Disable interrupt Disable digital input interrupt 32 Read interrupt status Read channels which generate interrupt 33 Clear interrupt status register Clear interrupt status register 33 23 EX 94164 User s manual 53 Open card Description Because the EX 94164 AC is PCI bus architecture and meets the plug and pl
12. _Set_DebounceMode WORD cardNo BYTE DebounceMode Visual BASIC Windows Function W_4164_ Set_DebounceMode ByVal cardNo As Long ByVal DebounceMode As Long As Long Delphi Function W_4164_Set_DebounceMode cardNo Integer DebounceMode Integer Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card DebounceMode Bito 0 Disable port 0 debounce 1 Enable port 0 debounce Biti 0 Disable port 1 debounce 1 Enable port 1 debounce Bit2 0 Disable port 2 debounce 1 Enable port 2 debounce Bit3 0 Disable port 3 debounce 1 Enable port 3 debounce Bit4 Bit7 0001 1111 debounce factor Debounce period 10 msec x Debounce factor For example if Bit4 Bit7 0010 then debounce period 20ms 2 40ms Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 30 EX 94164 User s manual 5 10 Enable Interrupt Description Enable Interrupt of digital inputs Syntax C C DOS WORD D_4164_IntEnable WORD cardNo WORD IntMode WORD IntMask UserIntServiceRoutine C C Windows WORD W_4164_IntEnable WORD cardNo WORD IntMode WORD IntMask User_Interrupt_HANDLER userIntServiceRoutine Visual BASIC Windows Function W_4164_IntEnable ByVal cardNo As Long ByVal IntMode As Long IntMask as Long ByVal userIntServiceRoutine As Long As Long Delphi Function W_4164_IntEnable cardNo Integer IntMode Integer IntMask Integer user
13. ay design the IRQ and base address are assigned by system BIOS directly EX 94164 AC cards have to be initialized by this function before calling other functions Syntax C C DOS WORD D_4164 Open WORD cardNo C C Windows WORD W_4164_Open WORD ExistedCards Visual BASIC Windows Function W_4164_Open ByRef ExistedCards As Long As Long Delphi Function W_4164 Open var ExistedCards Integer Integer Argument cardNo Card number set by jumper on card DOS only existCards Pointer to return a value shows how many EX 94164 AC cards installed Windows only Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 24 EX 94164 User s manual 54 Get Card s ID Description Get the cards number that is set by jumper on cards Syntax C C DOS void D_4164 GetCardsID WORD CardsIDArray C C Windows WORD W _4164 GetCardsID WORD CardsIDArray Visual BASIC Windows Function W_4164_GetCardsID ByRef CardsIDArray As Long As Integer Delphi Function W_4164_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 25 EX 94164 User s manual 55 Get Driver Version Description The EX 94164 AC card is driven by PCIDAQ DLL driver This functi
14. ge and do not touch the DI_61 64 30 DI_29 DI_60 63 29 DI_28 components DI_59 62 28 DI_27 es i DI_58 61 27 DI_26 6 Position the board into the PCI slot you selected Bree 0 26 DIL28 7 Secure the card in place at the rear panel of the system DI_56 59 25 DI_24 26 ors er ore 3 p DI_54 5 Device Installation for Windows Systems EA a2 D21 Once Windows 95 98 2000 has started the Plug and Play function of Windows pee cot Bo Brae system will find the new Expert cards If this is the first time to install Expert cards in DI_50 53 19 DI_18 your Windows system you will be informed to input the device information source DI_49 52 18 DI_17 DI_48 51 17 DI_16 DI_47 50 16 DI_15 DI_46 49 15 DI_14 DI_45 48 14 DI_13 DI_44 47 13 DI_12 DI_43 46 12 DI_11 DI_42 45 11 DI_10 DI_41 44 10 DI_9 DI_40 43 9 DL8 DI_39 42 8 DI_7 DI_38 41 7 D6 DI_37 40 6 D5 DI_36 39 5 DI_4 DI_35 38 4 DI_3 DI_34 37 3 D2 DI_33 36 2 DI_1 DI_32 35 1 DILO CN1 Figure 2 7 Pin Assignment of EX 94164 AC connector CN2 Legend Di_n Isolated digital input channel n ISOVC Isolated 15VDC output 100 mA max ISOGND Ground return path of isolated input and output channels EX 94164 User s manual EX 94164 User s manual 28 Card number setting Chapter 3 Maximum four EX 94164 AC cards can be installed in system simultaneously with each has a unique card number Reg is
15. ling edge Bite Channel 6 pie _Rising edge 1 Falling edge Bit7 Channel 7 p7 _Rising edge 1 Falling edge 15 16 EX 94164 User s manual Chapter 4 Operation Theorem 41 Isolated Digital Input Channels The isolated digital input is can accept dry contact and or voltage input signal The input voltage range form OV to 24V and input resister is 4 7K ohms The connection between outside signal and EX 94164 AC is shown in Figure 4 1 and Figure 4 2 Dry contact digital input Dry contact input DC DC 15V ISOVCC 33 34 Figure 4 1 Dry contact inputs of EX 94164 AC 17 18 EX 94164 User s manual Voltage digital input DC DC 15V ISOVCC 33 34 Figure 4 2 Voltage digital inputs of EX 94164 AC Note The digital input connections of EX 94164AC are not polarity sensitive whether used on AC or DC voltage EX 94164 User s manual EX 94164 User s manual 42 Edge Change Detection 43 Digital debounce Each digital input channel has a programmable digital debounce for eliminating The ECD Edge Change Detection detection circuit is used to detect the edge of ae unexpected signals and noise from the card circuitry The user can set different level change In the EX 94164 AC the detection circuit is applied to 16 input ate S91 channels DI_0 DI_15 If channel is programmed to be rising edge or falling edge digital debouncing parameters for each input channel in
16. ns in DOS library and Windows DLL are described Please refer to the PCIDAQ function reference manual which included in Tops s CD for the descriptions of the Windows 98 NT 2000 DLL functions SI Libraries Installation EX 94164 AC card comes with software drivers for DOS and Windows The following sections show you how to install the software libraries DOSDAQH LIB for DOS or PCIDAQ for Windows 98 NT 2000 The device drivers and DLL functions of Windows 98 NT 2000 are included in the PCIDAQ Tops ccc s CD also includes the detail examples and readme files 5 11 How to use the DOSDAQGH LIB in DOS For BC compiler 1 Large mode Add LIB BC DOSDAQL LIB in your project Huge mode Add_ LIB BC DOSDAQH LIB in your project Include DOSDAQLH in your source file For MSC compiler 1 Large mode Add_ LIB MSC DOSDAQL LIB in your project Huge mode Add_ LIB MSC DOSDAQH LIB in your project Include DOSDAQLH in your source file For TC compiler 1 Large mode Add LIB TC DOSDAQL LIB in your project Huge mode Add_ LIB TC DOSDAQH LIB in your project Include DOSDAQLH in your source file 21 EX 94164 User s manual 512 How to use the PCIDAQ DLL s in Windows VC 6 0 1 Add file Include PCIDAQ H in your project In link page of menu project setting add LIB PCIDAQ LIB in the blank of Objects Library Modules Add this sentence include Include PCIDAQ H to the head of your main file Visual BA
17. on returns the version of PCIDAQ DLL driver Syntax C C DOS void D_4164 _Version char version C C Windows Int W_4164_ Version void Visual BASIC Windows Function W_4164 Version As Long Delphi Function W_4164_ Version Integer Argument version This string pointer return the version of DOSDAQ DLL DOS only Return Code Return the version number in integer data format Windows only 26 EX 94164 User s manual 56 Close card Description The IRQ and base address of EX 94164 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_4164 _Close WORD cardNo C C Windows Void W_4164 Close void Visual BASIC Windows Function W_4164_ Close Delphi Function W_4164_ 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 27 EX 94164 User s manual 5 7 Get PCI Bus and Slot number Description Get the PCI bus and slot number occupied by EX 94164 AC card Syntax C C DOS WORD D_4164_GetBusSlot WORD cardNo WORD bus WORD slot C C Windows WORD W_4164_GetBusSlot WORD cardNo WORD bus WORD slot Visual BASIC Windows Function W_4164_GetBusSlot ByVal cardNo As Long ByRef bus As Long ByRef slot As Long As Long Delphi Function W_4164_GetBu
18. or many Windows systems but also provide drivers for many software package Input polarity polarity sensitive for EX 94164 and non polarity for EX 94164AC such as LabVIEW Intouch and so on All the software options are included in Input Voltage 0 24V dc the provided CD Logic H 3 24V L6 Programming Library Logic L 0 2 4V The provided CD includes the function libraries for many different operating systems including Input resistance 4 7KQ 0 5W Isolated voltage 5000 Vrms Throughput 10K Hz 0 1 ms Interrupt Sources DOS Library BorlandC C and Microsoft C the functions descriptions are included in this user s guide 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 Driver Contains the Vis which are used to interface with NI s Channel 0 to channel 15 of digital input channels Digital debounce Software programmable from 20 msec to 300 msec for all digital input channels LabVIEW software package Supporting Windows 95 98 NT 2000 The General Specifications LabVIEW drivers are free shipped with the board Connector 68 pin SCSI II connector InTouch Driver Contains the InTouch driver which support the Windows Operating temperature 0 C 60 C 98 2000 NT XP The The InTouch drivers are free shipped with the board Storage temperature 20 C 80 C
19. requirement of your applications O SCSI I 68 pin connector O cc cc c i c cc 9 Lo 2 Co 3 Co 4 Co 5 Co i 79 3 Co 9 os 1 2 Co 3 OO 4 5 Co 7 Co 9 E o Lo T 2 Co 3 OO i MNT 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3 3 3 34 O EX 98068 Terminal board O
20. rrupt Status ReQiSter eceeeceseeeeeeeeeeeeeeeeeeeseaeeseeeeeneeeeeeeeaees 33 Chapter 6 EX 98068 Terminal board cccscceseeeseeeseeeeeseeeseeeeeseeeeseeeeeneeneees 34 EX 94164 User s manual Chapter 1 Introduction 11 Introduction The EX 94164 AC is 64 CH high density isolated digital input product This input 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 94164 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 94164 AC Isolated digital I O card provide the following advanced features 64 Isolated digital Input channels non polarity input for EX 94164AC 5000 Vrms high voltage isolation External interrupt signal on digital input channels Built in digital debounce L3 68 pin SCSI II connector Pin compatible to EX 98068 see page 34 EX 94164 User s manual EX 94164 User s manual 14 Specifications L5 Software Supporting Topsccc provides versatile software drivers and packages for users different Optical Isolated Input Channel i j approach to built up a system We not only provide programming library such as DLL Non bere or Channel 64 digital input charnels f
21. s ccciewana etapie eaten 9 26 Device Installation for Windows Systems cccccesseeeeseeeeeeeeeteeeeeeeeeaees 9 27 Connector Pin Assignment of EX 94164 AC ei eeeeseeeeeeeeeteeeeesereteneeenaees 10 28 Card number Setting 0 2 eeeceeeseceececeneeeeaeeceaeeeeaeeseaeeseaeeseaeeseaeessaeeseaeetaes 11 Chapter 3 Registers Format cseccssesesseeeseeeesseeenseeesseeeaseeesseeeaseeeeseasaseeeeeaees 12 31 PCl PnP Registers c ccc cease iia ee a a eeg o iri aveia 12 32 PCI controller register address Map ceeeeeeeeeeeeeeeeeneeteeeteneeteeeteeeenaees 12 3 3 Digital Input Register Address Map cecceeeseeeeeeseeeeeeeeteaeeeeeeeteaeeesnees 13 34 Debounce control registers cceeeeeceeeeeeneeeeneeeeeeeeeeeseeeseaeeeseeseneeeeaees 13 35 Interrupt Control register ssessniiineseii iiini n 14 3 5 1 Interrupt mask Control register eseeeeceeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeseneeeeaees 14 3 5 2 Interrupt trigger Control reQiSter eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeteeeeeeeteaeeenaees 15 3 6 Interrupt status register ee eeseeeeseeeseeeeeeeeseeeeaeeseaeeseaeeseaeessaeeseaeeteaees 16 3 7 Clear Interrupt register eeeceeseeeeseceseeeeeeseaeeeeaeeseaeeeeaeeseaeeseaeeseaeeseaees 16 Chapter 4 Operation TheOrenm cccccsccesseeesseeesseeeeseeesseeenseeesseeeaseeeseeeeaseeeeseaes 17 4 1 Isolated Digital Input Channels 0 0 0 0 cceecceseeeeeeeeeeeeeeeeeeeseeeeeeeessaeeeseeeeaas 17 42 Edge
22. sSlot cardNo Integer var bus Integer var slot Integer Integer Argument cardNo card number 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 28 EX 94164 User s manual 58 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 94164 AC by calling this function Syntax C C DOS WORD D_4164_Read_Di WORD cardNo WORD portNo WORD DiData C C Windows WORD W_4164_Read_Di WORD cardNo WORD portNo WORD DiData Visual BASIC Windows Function W_4164_Read_Di ByVal cardNo As Long ByVal portNo As Long ByRef DiData As Long As Long Delphi Function W_4164_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 7 Didata return digital input data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 29 EX 94164 User s manual 59 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_4164_Set_DebounceMode WORD cardNo WORD DebounceMode C C Windows WORD W_4164
23. ters Fo rmat A jumper called JP1 see page 8 on the card is used to set the card number starts from 1 to 4 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 JP1 Card number 31 PCI PnP Registers ome 1 There are two types of registers PCI Configuration Registers PCR and Peripheral 2 default setting Interface Bus PIB The PCR which is compliant to the PCl bus specifications is 1 g 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 OO 4 i O O13 2 technology s web site to download relative information It is not necessary for users a to understand the details of the PIB if you use the software library The EX 94164 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 Q04 instructions The following sections show the address map including descriptions O_O 3 oo 2 3 and their offset addresses relative to the base address OO 32 PCI controller register address map 4 Reset control register 00 3 4 The EX 94164 is in inactive state when the system power on and should be OO 2
Download Pdf Manuals
Related Search
Related Contents
USO E MANUTENZIONE USE AND MAINTENANCE Lenco TFT-1537 CHP2 - Bulletin - Sigma Samsung Galaxy Note edge User Manual OM, Gardena, Turbotrimmer, Art 02407-20, 2007-06 Sprint Nextel F3 User's Manual Uni-Trend UT362 anemometer Copyright © All rights reserved.
Failed to retrieve file