Home

Manual - TopsCCC

image

Contents

1. Contact arrangement Output channel 0 3 are form C Output channel 4 7 are Form A Operating time 5 mSec Release time 10 mSec Expected life gt 100 000 times at 30V 1A solated Inputs Type opto isolated PC 814 Input voltage DC 5 24V 0 1KHz Input impedance 4 7K ohm or optional 47K ohms for 24Vdc input range Response time 20u Sec Isolated 500v channel channel channel Ground Interrupt Pos or Neg edge interrupt programmable Ch 0 Ch 8 Software Software Toolkit DLL ACtiveX for Windows 98 2000 NT XP Software Toolkit for Labview Intouch Environmental Power requirements 5V 600mA typical Operation Temp 0 to 50C Storage Temp 20 to 70C Humidity 0 to 90 none condensing Dimensions 180 X 105 mm EX 94288 User s manual L5 Software Supporting Topsccc 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 the provided CD L6 Programming Library The provided CD includes the function libraries for many different operating systems including DOS Library Borland C 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 functionsDescriptions
2. Its sixteen on board SPDT relays are ideal for applications such as device Tals s Mainteat reS we a e a aE Oa AASER 34 ON OFF control or small power switched For easy monitoring each relay is equipped with one red LED to show its ON OFF status The EX 94288 s sixteen optically isolated digital input channels are ideal for digital input in noisy environments or with floating potentials This I O card 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 94288 isolated digital I O card provide the following advanced features 16 relay output channels and 16 isolated digital input channels LED indicators to show activated relays Output status read back Keep relay output values when hot system software reset High voltage isolation on input channels 2 500 V pc On board digital filter circuit High over voltage protection 70 V pc Wide input range 0 30 V pc Interrupt handling capability 37 pin D type connector Board card number L3 Applications Laboratory and Industrial automation Industrial ON OFF control Switch status sensing PC based Industrial Machinery Testing amp Measurement Laboratory amp Education External relay driving 14 EX 94288 User s manual Specifications Relay Outputs ol Contact Rating 0 3A 120V AC DC 1A 30V DC
3. D_4288_IntEnable WORD cardNo WORD Int1Mode WORD Int2Mode User_Interrupt_HANDLER useriIntServiceRoutine C C Windows WORD W_4288_IntEnable WORD cardNo WORD Int1Mode WORD Int2Mode User_Interrupt_HANDLER userIntServiceRoutine Visual BASIC Windows Function W_4288_IntEnable ByVal cardNo As Long ByVal IntiMode As Long ByVal Int2Mode As Long ByVal userIntServiceRoutine As Long As Long Delphi Function W_4288_IntEnable cardNo Integer Int1lMode Integer Int2Mode Integer userIntServiceRoutine Pointer Integer Argument cardNo card number 1 2 3 4 It s set by jumper on card Int1 Mode Interrupt mode of channel 0 DI_0 Bit 0 1 or 0 rising or falling edge Interrupt Bit 1 1 or 0 enable Disable interrupt Int2Mode Interrupt mode of channel 8 DI_ 8 Bit 0 1 or 0 rising or falling edge Interrupt Bit 1 1 or 0 enable disable interrupt userlntServiceRoutine user Interrupt service routine called when interrupt occurs Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 32 EX 94288 User s manual G17 W_4288_IntDisable Description Disable interrupt of digital input channel 0 DI_0 and channel 8 DI_8 Syntax C C Dos WORD W_4288_IntDisable WORD cardNo C C Windows WORD W_4288_IntDisable WORD cardNo Visual BASIC Windows Function W_4288_IntDisable ByVal cardNo As Long Delphi Function W_4288_IntDisable cardNo Integer Ar
4. 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 LabVIEW software package Supporting Windows 95 98 NT 2000 The LabVIEW drivers are free shipped with the board InTouch Driver Contains the InTouch driver which support the Windows 98 2000 NT XP The The InTouch drivers are free shipped with the board EX 94288 User s manual EX 94288 User s manual Chapter 2 24 PCB Layout Installation 165mm This chapter describes how to install the EX 94288 card Please follow the follow steps to install the EX 94288 card ooo0oo0oo0oo0oo oo0oo0oo0oo0oo 21 What You Have In addition to this User s Manual the package includes the following items EX 94288 board Driver utilities CD This user s manual O O 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 94288 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 PCI Bus ontroller C Ll L C A module carton for obvious damage Shipping and handling may cause damage
5. relay port 1 data Address Base 0x05h Read NO 8 NO 15 Attribute Write only Base 0CC Write No used Value 10H enable PCI INT A a Read Read digital input port 0 DI_O DI_7 OOH disable PCI INT A Write No used Interrupt mode control register Base 0E0h Control the interrupt mode of DI_O and DI_ 8 channels Read Rede digita input port OLS BL Address Base 0x03h Table 3 1 Attribute Write only Value bit 1 0 Disable interrupt form DI_O bit 1 1 bit 0 0 Enable falling edge interrupt form DI_O bit 1 1 bit 0 1 Enable rising edge interrupt form DI_O bit 3 0 Disable interrupt form DI_8 bit 3 1 bit 2 0 Enable falling edge interrupt form DI_8 bit 3 1 bit 2 0 Enable rising edge interrupt form DI_8 13 14 EX 94288 User s manual Chapter 4 Jumper setting 41 Card number setting Maximum four EX 94288 cards can be installed in system simultaneously with each has a unique card number A jumper called ID See page 8 on the card is used to set the card number starts from 1 to 4 iw Card number 888 default setting we OO 5 0 J Sk 188 fe ie AI NUA 88 5 0 o 338k 5 15 EX 94288 User s manual Chapter 5 Operation Theorem 5 1 Digital Input Channels The isolated digital inputs of EX 94288 can accept both dry contact input and voltage input wet contact The input voltage range form OV to 24V and inpu
6. 29 O O 10 DL9 com _3 28 O O 9 DI_8 NO_3 27 O O 8017 NC_2 26 O O 7 DL6 com 2 235 O O 6 D5 NO_2 24 O O 6 D4 NC_1 23 O O 4D COM_1 22 O O 3 DI_2 NO1 21 O O 3D nC_o 20 O O DLo CN2 Figure 2 1 Pin Assignment of EX 94288 connector CN2 Legend DI_n Digital input output channel n DI_GND Ground return path of input channels NO_n Relay output channel n normal open NC_n Relay output channels n normal close COM_n Relay common n EX 94288 User s manual The CN1 pin assignment is as shown in Figure 2 2 5 O O 18 NC_13 O O 17 COM13 O 39 O 16 NO_13 37 j O 35 18 NC_13 O 15 NC_12 33 17 COM_13 O 31 16 NO_13 O 14 COM_12 29 15 NC_12 O 27 14 COM_12 13 NO_12 z 13 NO_12 o O 8 Converting cable UANO O 12 NC_11 21 11 COM_11 O 19 10 NO_11 O 11 COM11 17 9 NC_10 O 15 8 COM_10 O 10 NO_11 13 7 NO_10 O NC_15 25 11 6 NC_9 O 9 NC_10 COM_15 24 9 5 COM_9 O NO_15 23 7 4 NO9 O 8 COM_10 NC_14 22 5 3 NC8 O COM_14 21 3 2 COM_8 O 7 No10 NO_14 20 1 1 NO NC_15 25 O O 6 NC_9 CN1 COM_15 24 O oO come n pin number of 37 pin D type connecto NO_15 23 O O 4 NO_9 NC_14 22 O O 3 NC_8 COM_14 21 O O 2 coms NO_14 20 O 2 J 1 NO_8 CN1 Figure 2 2 Pin Assignment of E
7. EX 94288 User s manual EX 94288 16 channel isolated Digital Input and 16 channel relay output 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 does 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 Sep 2002 Rev 1 0 EX 94288 User s manual Table of Contents Chapter 1 Introduction sa ssis ccc css teetectecaccsteeeaceedsnecenttchseceeteceesactrscerenterecstecterss 4 Ts IntrOGUCTION we fess oe Riis cent a eg ie A Spee 4 We2 FO ALUIOS a5 ving E A E vas dehertuccttecsasceptedibiaacasessapesinsdagddataeaais 4 1 3 cAppliCatiONS isie sais e ogari aeara dicta lettin nce Maden tbe enn 4 WAS Specifications ceceszerisicassihectertekie ste e Peke E a a 5 1 5 Software SUpPpOrtiNg iiai enerne aaia akie aea asiaa i 6 1 6 Programming HD ar eaa a aee aeaa aa aae aaa aaa Paa r I a SEa tessa te 6 Chapter 2 Installation ccseccsseesseeeeseeesseeenseeeeeeeeseeeaseeeeseeesseeeseeeaseeeseeeeeeees 7 24 What Yot Aave a a a e aches aar a aa Eia Eii 7 2 2 Unpacking eten en
8. X 94288 connector CN1 Legend NO_n Relay output channel n normal open NC_n Relay output channels n normal close COM_n Relay common n 11 EX 94288 User s manual Chapter 3 Registers Format 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 31 PCI PnP Registers 12 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 EX 94264 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 descriptio
9. aere rhesi Na ataa aT 7 2 3 Hardware Installation Outline 02 ee eeeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeeeeeessaeeseeeenaas 7 24 PGB Layouts ctiecisseie pete ea eaaa e Tae yale eed eed tems 8 2 5 Installation Procedures scceeeseeceeeeeeecereneeceeeseeeeeseseeeesesseeenenseneetenenes 9 2 6 Device Installation for Windows Systems cecceeeceeeeeeseeeeeeeeeeaeeeeeeetaes 9 2 7 Connector Pin Assignment of EX 94288 ceeeeeseeeeeeeeneeeeeeeeeneeeeneeteaes 10 Chapter 3 Registers Format c cccsecsseeeeeseeseeeeeeeeeeseeeeseeesseeeeeseeeeeeeenseeeneees 12 Sil PGUPAR Registers ea a r E E EA te T ia 12 3 2 Digital Input Output Register Address Map cccsscecessseeeeeenteesesees 13 3 3 PCI controller register address map eeeceeeeeeeeeeeeeeeeeeeeeeneeeeeeeteneeeeneeeeaes 13 Chapter 4 Jumper setting s sssnssenssnnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nannan 15 4 1 Card number setting 0 ec eeceeceeseseeeeneeeeseeeeeeeeeeeesaeeeaeeseaeeeaeeseaeeeaeens 15 Chapter 5 Operation TheOrenm cecccssccssecsseeesseeeeseeeseeeeseeesseesseeeeeeeeeseeeseeees 16 5 1 Digital Input Channels eeecceeeeeeeeeeeeeeeeeneeeeneeeeaeeeeeeseaeeseeeeeeeeeeneereaes 16 5 2 Digital Output Channels eccceeeceeseeeeeeeeeseeeeeeeseeeseeeeseseeeeaeeseeeeeeeeaes 16 5 3 Edge Change Detection ccccesccceseeeeseeeeneeeeceseeeeeaeeseseeseaeeteeeseeeteaes 17 Chapter 6 LID Par
10. e iicciecccsccd es ied case dda dates edi ccece eects isee ud ne sanior iieiea inia ondina kaans 18 6 1 Libraries Installation eeseeeeenneeeeeeeeeeeeneeeeeeeaeeeeesaeeeesenaeeeeseneeeeenaes 18 6 2 How to use the Functions in PCIDAQ DLL ee eee 18 6 3 Summary of function CallS oo ee cece cece eeeeeeeeeeeeeeeeeseeeeaeeeeaeeseeeseneeeeneeeeaes 19 6 4 Wi 4288 Openvic acie Sieve ee i ado a a AAS 20 6 5 W_4288 GetCardsID nhen aiaa a 21 66 WE 4288 VERSION ee e rnos ha pec ea Menarini De eraep etd vain eter 6 7 W_4288 GetBusSlot 6 8 W 4288 CloSe iss tues cts ei ee gl eas ov eer nt ee a 6 9 W 4288 ReadDl 2 2c 82d na e a n d 6 10 W_4288_WriteRelay 6 11 W_4288_ReadRelay EX 94288 User s manual EX 94288 User s manual 6 12 W_4288 Set_RelayBit cccee cece tee cipean iaie e sees eeeeeseeesneeseeeeeeene 28 C hapte r 1 6 13 W_4288 Reset_RelayBit cccccccccscceeeeeeeeeeeneeeeeeeeeseeeeeeeeeeeeeeeeeeaaees 29 6 14 D_4288 Read_IntStatus ccccccccsccccesseceeesneeeeseneeeeeseeeessneeeesssneeessneees 30 l nt rod u cti O n 6 15 W_4288 Clear _IntStatus snn a a ER E rA ER 31 6 16 W_4288_IntEnable nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 32 GAT W 4288 inDisabler nam eta a a a an n a 33 L1 introduction Chapter 7 EX 9837 Terminal board scssscssssesssssessesesessessessessessessceneeseeneesees 34 The EX 94288 is a 16 ch relay actuator and 16 ch isolated digital input card for the l PCI bus
11. ed 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 Position the board into the PCI slot you selected Secure the card in place at the rear panel of the system Device Installation for Windows Systems Once Windows 95 98 2000 has started the Plug and Play function of Windows system will find the new Expert cards If this is the first time to install Expert cards in your Windows system you will be informed to input the device information source EX 94288 User s manual 27 Connector Pin Assignment of EX 94288 10 There are two connectors labeled CN1 and CN2 The CN1 connector is a 37 pin D type connector and CN2 connector is a 40 pin FRC connector The CN2 can be converted to 37 pin D type connector by using converting cable attached in the package The pin assignment of the CN2 37 pins D type connector includes the isolated digital input channels DI_O DI_15 and relay output channels Relay_O Relay_7 The CN2 pin assignment is as shown in Figure 2 1 EY 19 COM_0 COM_7 37 O O 18 NO_O NO_7 36 O O 17 DI_GND COM_6 35 O O 16 DI_15 NO_6 34 O O 15 DI_14 COM_5 33 O O 14 DI_13 NO_5 32 O O 13 DI_12 com_4 31 O O 42 D111 NO_4 30 O O 11 DI_10 NC_3
12. gument 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 94288 User s manual Chapter 7 EX 9837 Terminal board EX 9837 Screw terminal termination board features one 37 pin D type connector for easy maintenance wiring and installation It provides 37 channels that are accessed through a 37 pin D type connector 7 1 Main features Low cost screw terminal board for the all Expert series with 37 pin D type connector Reserved space for signal conditioning circuits such as low pass filter voltage attenuator and current shunt Industrial type termination blocks permit heavy duty and reliable signal connections Table top mounting using nylon standoffs Screws and washers provided for panel or wall mounting Dimensions 80mm W x 181mm H 37 pin D type connector O ODNDORWNM 34
13. ly EX 94288 cards have to be initialized by this function before calling other functions W_4288 GetCardsID Get EX 94288 card number 21 Syntax i i 22 W_4288_Version version Pumper of POPAL C C Dos W_4288_GetBusSlot a anc SIDE RUM er occupied Dy og WORD D_4288_Open WORD cardNo z inati C C Windows W_4288 Close Close EX 94288 card before terminating 24 program WORD D_4288_Open WORD ExistCards W_4288_ReadDi Read digital input port data 8 bit 25 Visual BASIC Windows W_4288_WriteRelay Write data 8 bit to digital output port 26 Function W_4288_ Open ByRef Exitedcards As Long As Long W_4288_ReadRelay Read back current relay port value 27 Delphi W_4288 Set_RelayBit Set a bit of port to high 28 Function W_4288_ Open var ExistedCards Integer Integer W_4288 Reset_RelayBit Reset a bit of port to low 29 Argument D_4288 Read _IntStatus Read interrupt status register DOS only 30 CardNo card number be opened for DOS only W_4288 Clear_IntStatus Clear interrupt status register 30 existCards The number of installed EX 94288 cards for Windows only W_4288_IntEnable Enable digital input change interrupt 31 This return value shows how many EX 94288 cards are installed in your W_4288 IntDisable Disable digital input interrupt 33 system Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 19 20 EX 94288 User s manual 5 W_4288_GetCardsID Description Get the cards number that is set b
14. ns and their offset addresses relative to the base address EX 94288 User s manual EX 94288 User s manual 32 Digital Input Output Register Address Map Interrupt status register There are 16 isolated digital inputs and 16 relay output channels on EX 94288 each Read the interrupt status of DI_O and or DI_8 channels or clear the interrupt bit of based address is corresponding to a signal on the digital input or output status register channel Address Base 0C8h 33 PCI controller register address map Attribute Read write Reset control register Value The EX 94288 is in inactive state when the system power on and should be Write any data to clear interrupt status activated by set bit o of this register to 1 state Address Base 0x00h Attribute Write only Value 01 PCI Internal special control register Read bit 0 DI_0 interrupt bit 1 DI_8 interrupt I O control registers Address Base 0COh Base OEOh Attribute Read Write EX 94288 internal control register should be written with value OFH before ek controlling EX 94288 card Port Mode Funcion Address Base 002h a a Attribute Write only Base 0COh Write Write data to relay output port 0 NO_O NO_ 7 Value always are OFh Read Read back current relay port 0 data NO_0 NO_7 Interrupt mask control register Write Write data to relay output port 1 NO_8 NO_ 15 Enable or disable PCI interrupt INT A Base 0C4h ted back currentrelaypot idaia l
15. ortNo Integer var bitNo 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 23 EX 94288 User s manual 68 W_4288 Close Description The IRQ and base_address of EX 94288 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_4288_Close WORD cardNo C C Windows W_4288 Close void Visual BASIC Windows Function W_4288_Close Delphi Function W_4288_ Close Argument None Return Code None 24 EX 94288 User s manual G9 Ww _4288 ReadDI Description This function is used to read data from digital input port There are two 8 bit digital inputs on the EX 94288 You can get 8 bit input data from EX 94288 by calling this function Syntax C C Dos WORD D_4288_ReadDI WORD cardNo WORD portNo WORD DiData C C Windows W_4288_ReadDI WORD cardNo WORD portNo WORD DiData Visual BASIC Windows Function W_4288_ReadDI ByVal cardNo As Long ByVal portNo As Long ByRef DiData As Long As Long Delphi Function W_4288_ReadDI cardNo Integer portNo Integer var DoData Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Digital Input port number 0 or 1 DiData re
16. s Long As Long Delphi Function W_4288_Reset_RelayBit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 bitNo Channel Number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 29 EX 94288 User s manual 614 D_4288 Read_IntStatus Description Get the interrupt status for DOS only Syntax C C DOS WORD D_4288_Read_IntStatus WORD cardNo WORD IntStatus Argument cardNo card number set by jumper on the card IntStatus return PCI interrupt status if bitO 1 interrupted by channel 0 DI_0 if bit 1 interrupted by channel 9 DI_8 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 30 EX 94288 User s manual G15 w_4288_Clear_IntStatus Description Clear interrupt by writing data to Base Port 0xC8 Syntax C C Dos WORD D_4288_Clear_IntStatus WORD cardNo C C Windows W_4288_Clear_IntStatus WORD cardNo Visual BASIC Windows Function W_4288_Clear_IntStatus ByVal cardNo As Long As Long Delphi Function W_4288_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 31 EX 94288 User s manual 616 W_4288_IntEnable Description Enable Interrupt of channel 0 DI_0 and or channel 8 DI_8 Syntax C C Dos WORD
17. s Long ByRef RelayData As Long As Long Delphi Function W_4288_ReadRelay cardNo Integer portNo Integer var DoData Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 Data Return current output data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 27 EX 94288 User s manual G12 w_4288 Set_RelayBit Description Set a relay channel ON energized Syntax C C Dos WORD D_4288_Set_RelayBit WORD cardNo WORD portNo WORD bitNo C C Windows W_4288_Set_RelayBit WORD cardNo WORD portNo WORDbitNo Visual BASIC Windows Function W_4288_Set_RelayBit ByVal cardNo As Long ByVal portNo As Long ByVal bitNo As Long As Long Delphi Function W_4288_Set_RelayBit cardNo Integer portNo Integer bitNo Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 bitNo Channel Number 0 to 7 Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 28 EX 94288 User s manual G13 w_4288_Reset_RelayBit Description Set a relay channel Off dis energized Syntax C C Dos WORD D_4288_Reset_RelayBit WORD cardNo WORD portNo WORD bitNo C C Windows WORD W_4288_Reset_RelayBit WORD cardNo WORD portNo WORD bitNo Visual BASIC Windows Function W_4288 _Reset_RelayBit ByVal cardNo As Long ByVal portNo As Long ByVal bitNo A
18. t resistor is 4 7K ohms 47K option The connection between outside signal and EX 94288 is shown in Figure 5 3 Dry contact input Din a Voltage input DI_n 0 15 Figure 5 3 digital inputs of EX 94288 52 Digital Output Channels On EX 94288 the COM_n pin is used as relay channel n COMMON NO_n pin is used as relay channel n normal open output and NC_n pin is used as relay channel n normal close output The block as shown in Figure 5 4 Figure 5 4 relay output of EX 94288 16 EX 94288 User s manual 53 Edge Change Detection The ECD Edge Change Detection detection circuit is used to detect the edge of level change In the EX 94288 the detection circuit is applied to two input channels DIO_O and DIO_8 If channel is programmed to be rising edge or falling edge 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 Rising Edge Interrupt DLoorDL8 JF LJ LeJ L ECD TT TT NT PLO a ee Generate Interrupt Falling Edge Interrupt DI_OorDI8 TI ml ECD TL TL NT LC Be A Generate Interrupt Figure 5 5 Debounce block diagram of EX 94288 17 EX 94288 User s manual Chapter 6 Libraries This chapter describes the software library for operating this card Only the functions in DOS library and Windows 98 2000 DLL are described Please refer
19. to Where your module Be sure there are no shipping and handing damages on the module See before processing CN1 Optical digital input and relay channel 0 channel 7 connector After opening the card module carton extract the system module and place it only on JP1 Relay channel 8 channel 15 connector a grounded anti static surface component side up Again inspect the module for ID Card number selection jumper 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 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 102 mm 1 25 EX 94288 User s manual Installation Procedures 1 Turn off your computer 6 7 26 Turn off all accessories printer modem monitor etc connect
20. to the PCIDAQ function reference manual which included in Topsccc CD for the descriptions of the Windows 98 NT 2000 DLL functions G1 Libraries Installation The device drivers and DLL functions of Windows 98 NT 2000 are included in the PCIDAQ The Topsccc CD also includes the detail examples and readme files G2 How to use the Functions in PCIDAQ DLL VC 6 0 1 Add file Include PCIDAQ H in your 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 1 Add file Include Declare pas in your project 2 Add this sentence uses Declare in the head of your unit pas C Builder 1 Add file Include PCIDAQ H and Lib PCIDAQ_CB ib to your project 2 Add this sentence include Include PCIDAQ H to head of your main file Note For more information please refer to program in directory Example 18 EX 94288 User s manual EX 94288 User s manual G3 Summary of function calls G4 w_ 4288 Open Description Function Description Page Because the EX 94288 is PCI bus architecture and meets the plug and play design aA the IRQ and base_address pass through address are assigned by system BIOS W_4288_Open Peau ree EES a0 direct
21. turn digital input data Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 25 EX 94288 User s manual 610 w_4288_WriteRelay Description This function is used to write data to output port There are two 8 bit digital outputs port on the EX 94288 You can send 8 bit output data to EX 94288 by calling this function Syntax C C Dos WORD D_4288_WriteRelay WORD cardNo WORD portNo WORD Data C C Windows W_4288_WriteRelay WORD cardNo WORD portNo WORD Data Visual BASIC Windows Function W_4288_WriteRelay ByVal cardNo As Long ByVal portNo As Long ByVal Data As Long As Long Delphi Function W_4288_WriteRelay cardNo Integer portNo Integer Data Integer Integer Argument cardNo Card number 1 2 3 4 It s set by jumper on card portNo Relay output port number 0 or 1 Data Data be written to output port Return Code Error code Please refer to PCIDAQ H or DOSDAQ H 26 EX 94288 User s manual GII w_4288_ReadRelay Description This function is used to read current data of realy output port There are two 8 bit digital outputs port on the EX 94288 You can read back 8 bit output data of EX 94288 by calling this function Syntax C C Dos WORD D_4288_ReadRelay WORD cardNo WORD portNo WORD RelayData C C Windows WORD W_4288_ ReadRelay WORD cardNo WORD portNo WORD RelayData Visual BASIC Windows Function W_4288_ReadRelay ByVal cardNo As Long ByVal portNo A
22. y jumper on cards Syntax C C DOS void D_4232_GetCardsID WORD CardsIDArray C C Windows WORD W_4288_GetCardsID WORD CardsIDArray Visual BASIC Windows Function W_4288_GetCardsID ByRef CardsIDArray As Long As Integer Delphi Function W_4288_GetCardsID var CardsIDArray Word Word Argument Cards IDArray 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 21 EX 94288 User s manual 66 W_4288 Version Description PCIDAQ DLL driver drives the EX 94288 cards This function returns the version of PCIDAQ DLL driver Syntax C C Dos void D_4288_Version char version C C Windows WORD D_4288_Version void Visual BASIC Windows Function W_4288_Version As Long Delphi Function W_4288_Version Integer Return Code Version Version string DOS only The version of PCIDAQ DLL 22 EX 94288 User s manual G7 W_4288_GetBusSlot Description Get the PCI bus and slot occupied by EX 94288 Syntax C C Dos WORD D_4288_GetBusSlot WORD cardNo WORD bus WORD slot C C Windows W_4288_GetBusSlot WORD cardNo WORD bus WORD slot Visual BASIC Windows Function W_4288_GetBusSlot ByVal cardNo As Long ByRef bus As Long ByRef slot As Long As Long Delphi Function W_4288_GetBusSlot cardNo Integer var p

Download Pdf Manuals

image

Related Search

Related Contents

Manuel d`utilisation de la partie communication : Le site  SÉRIE NEW VF.vp  User Manual  Pavestone Rumblestone RSK52869 Instructions / Assembly  言言H0NDH  LifeChoice Activox Manual  有価証券報告書  

Copyright © All rights reserved.
Failed to retrieve file