Home

NuDAQ® PCI-7256 User's Guide

image

Contents

1. 22 e Register Format In PCI 7256 software funciton library we provide simple and easy to use functions to handle the procedure of interrupt Using these functions users don t need to care about the interrupt register in PCI controller We suggest users use these functions instead of developing interrupt functions by themselves For more information about PCI 7256 funciton library please refer to Chapter 5 Register Format e 23 Operation Theorem 4 1 Latching Relay Output One of the innovative features on PCI 7256 is the 16 channel latching relay output The PCI 7256 contains only one type of latching relay 2 coil Form C Figure 4 1 shows the latching relay contact arrangement under RESET condition 10 NC 9 COM 8 NO O 7 Figure 4 1 2 coil latching relay RESET condition Each latching relay on PCL7256 has two coils which serve as one SET coil and one RESET coil To control the two coil latching relay we need two control bits one for the SET coil and one for the RESET coil What we have to do is to energize the SET coil and deenergize the RESET coil when switching RESET condition to SET condition After the contact switches to the opposite position at a steady state we can cut out the current on the SET coil and the contact will not change any more Thus the latching relay can achieve the advantage of power saving Under the scheme of controlling latching relay we define the SET condition control bits as 1 0 and
2. Return Code ERR_NoError ERR_BoardNoInit 32 e C C DOS Libraries 5 6 7256 COS Channel Description This function is used to enable the COS channel Syntax U16 7256 COS Channel U16 boardID U16 COS Enable Data Argument boardID Board ID to the specific borad COS Enable Data COS channel enable 1 enable the corresponding channel and 0 disable the corresponding channel Return Code ERR_NoError ERR_BoardNoInit 5 7 7256 COS Latch Description This function is used to latch digital input data after COS interrupt occurs Syntax U16 7256 COS Latch U16 boardID U16 COS_Latch Data Argument boardID Board ID to the specific borad COS_Latch_Data Digital input data when COS occurs This register will be erased when clearing IRQ Return Code ERR_NoError ERR_BoardNoInit C C DOS Libraries e 33 5 8 7256 INT Control Description This function is used to control the interrupt source of PCL7256 For more details about interrupt sources refer to section 3 7 Syntax U16 7256 INT Control U16 boardID U16 COS Enable U16 CHO Enable U16 CH1 Enable Argument boardID Board ID to the specific borad COS_Enable COS interrupt function enable disable CHO Enable Digital input channel 0 interrupt enable disable CH1_Enable Digital input channel 1 interrupt enable disable The possible combinations of interrupt source are shown in the following table Es Enable CHO Enable CO
3. Rising edge of DI channel 1 Ch 0 amp 1 interrupt Rising edge of DI channel 0 or enable 1 ae Forbidden mazes Not allowed disable EIE Register Format e 21 3 8 Interrupt Status Register When interrupt occurs this register provides information for users to recognize the interrupt status and the interrupt setup condition Address BASE 0x08 Attribute Read ea eS SS ee ee ET ET CH1 Int CHO Int COS Status Status el tatus can _ Int_EN Int_EN Int_EN COS Int Status bit 0 COS interrupt Status register 0 COS interrupt de asserts 1 COS interrupt asserts CHO Int Status bit 1 Digital input channel 0 interrupt status 0 ChO interrupt de asserts 1 ChO interrupt asserts CH1 Int Status bit 2 Digital input channel 1 interrupt status 0 Ch1 interrupt de asserts 1 Ch1 interrupt asserts 3 9 Handling PCI Controller Registers The PCI bus controller adopted in PCI 7256 is PCI 9030 which is provided by PLX technology Inc When users attempt to handle low level programming some registers in PCI 9030 should be noticed The interrupt control register INTCSR Ox4Ch of PCI9030 takes charge of all interrupt information from local bus to PCI bus When users want to develop their own interrupt function driver both interrupt registers in PCI 9030 and in PCI 7256 have to work together For more detailed information about the interrupt control register in PCI 9030 please refer to the PCI 9030 databook
4. The PCI 7256 card is equipped with a 68 pin SCSI connector CN1 The pin assignment of the SCSI connector is described by Figure 2 5 Legend DI x DICOM x ISO5V ISOGND NO x COM x NC x 14 e Installation isosv 32 ISOGND DIO 0 DIT DI2 DI3 Did t DI5 DI6 2 ag DIT Pica 7 TT DIS DI10 8 7 DIT DIT2 DI13 DII4 49 a4 D115 COMO i a Come NOO NO8 1d 78 COM ad CoM no1 16 20 NO9 NC2 4 2 NC10 oo TE ST Ore NC3 42 24 NC11 COM3 2 22 COM11 NO3 26 NOT NC4 27 NC12 com4 24 28 COM12 NO4 42 27 NO12 NC5 I NC13 COM5 a ol COM13 NOS 49 02 NO13 NC6 63 NC14 come 20 ee COM14 NO6 22 63 NO14 NC7 06 NC1s COM7 33 07 COM1S NO7 68 NO15 Figure 2 5 Pin Assignment of PCI 7256 CN1 Digital input channel x x 0 15 DI common ground group x x 1 for DI channel 0 7 x 2 for DI channel 8 15 Isolated 5V power output Isolated ground for 5V power output Normal Open pin of relay x x 0 15 Common pin of relay x x 0 15 Normal Close pin of relay x x 0 15 27 Termination Board Connection The PCI 7256 is equipped with a SCSI 68 pin connector The available termination board is DIN 68S 1S The DIN 68S 1S is a general purpose 68 pin screw terminal with DIN socket It is also equipped with a SCSI 68 pin cable that makes users install PCI 7256 more easily Installation e 15 Register Format The detailed descriptions of the register format are specified in this chapter This information is quite useful f
5. The PCI 7256 provides a Change of State COS interrupt function on any one of digital input channel This function allows users to monitor the status of input channels By enabling the COS Setup registers it will generate an interrupt when the corresponding channnel changes its state whether a rising edge signal or a falling edge signal For more detailed information please refer to section 4 4 Address BASE 0x06 TE id A as _ EE EE aa es ES SET7 SET6 SETS SET4 SET3 SET2 EER SET15 SET14 SET13 SET12 SET11 SET10 SET9 ET8 COS SETx change of state setup of DI channel x x 0 15 1 enable the COS interrupt 0 disable the COS interrupt 3 6 COS Latch Register When COS occurs the COS Latch register will also latch the DI data Once the user clear the interrupt request the COS Latch register will be cleared automatically The COS function releases the CPU from the burden of polling all of the input channels and enables the computer to handle higher VO performance Address BASE 0x06 Attribute Read e e e e ME EDE a eas CL x COS latch register of DI channel x x 0 15 1 digital input voltage is in high level 0 digital input voltage is in low level Register Format e 19 3 7 Interrupt Control Register There are two different interrupt modes in PCI 7256 In the first mode users enable the COS interrupt function to monitor the enabled input channel s status whenever the status changes from 0 to 1 or 1
6. and Board ID switch are specified The connectors pin assignments are also described Chapter3 Register Format describes the details of register format and structure of the PCI 7256 This information is very important for the programmers who want to control the hardware by low level programming Chapter 4 Operation Theorem describes how to operate the PCI 7256 The latching relay isolated digital input and change of state functions are introduced Some programming concepts are also described Chapter 5 C C libraries describes the software utility and the library of PCL7256 and also describes how to meet your requirements and help you to program your own software application Appendix A relay Contact Protection Circuits provides the information about relay contact protection circuits How to Use This Guide e iii Introduction The PCI 7256 Latching Relay Actuator and Isolated D I card is a basic Digital VO card for PCI bus computer in industrial applications This PCI 7256 provide 16 latching relay actuators and 16 opto isolated digital inputs All relays are Form C type They are very suitable for ON OFF control devices All of the digital input channels are identical non polarity opto isolated each of them can be switchable by using RC filter or non RC filter All channels are isolated and suitable for collecting digital inputs in noisy environments The function of Change of State COS interrupt is
7. library please refer to section 4 1 and 5 3 respectively Address BASE 0x00 Attribute Write Sec GEN ae EE ENE SS IE A BS E ER Ta a a ee EE a Address BASE 0x02 Attribute Write NES ET RS a TERI ENE ER EE NEE OE RUE EE EDE GE DOx_R Reset bit of relay output channel x x 0 15 DOx_S Set bit of relay output channel x x 0 15 Register Format e 17 3 3 Relay Output Read Back Register The status of the latching relay can be readback from the readback register If the relay is in RESET condition the corresponding bit value is 0 If the relay is in SET condition the bit value is 1 Address BASE 0x02 a Read ia e ei de DE RBK15 RBK13 RBK10 RBK9 RBK8 RBKX Read back data of relay x x 0 15 1 relay is in SET status 0 relay is in RESET status 34 Isolated Digital Input Register There are 16 isolated input channels on PCI 7256 card The status of the 16 channels can be read from the isolated input register Each bit corresponds to each channel The bit value 1 means the input logic is high and 0 menas the input logic is low Address BASE 0x04 Attribute Read MEE NIESE CS a Dz De DE DU De De DI DO me tee e ales ROL E eE D5 Di4 Dna DT2 DI Dno Do DE DIx isolated digiatal input channel x x 0 15 1 input voltage is in high level 0 input voltage is in low level 18 e Register Format 3 5 COS Setup Register
8. provided It means when any of these digital inputs changes its state an interrupt will be generated for user to handle this external event Using latching relays the PCl 7256 has the advantage of power saving The status of each latching relay output is reflected by a LED When the latching relay is in SET condition its corresponding in board LED will turn ON otherwise it is OFF Another useful feature is Board ID It s convenient for user to identify a specified card by setting up a switch when user have two or more PCI 7256 cards in one system The I O signals are via a 68 pin SCSI connector Introduction e 1 1 1 Features The PCI 7256 Latching Relay Actuator and D I Card provides the following advanced features 32 bit PCl Bus Plug and Play 16 latching relay actuator outputs the output status will remain when power off 16 opto isolated digital inputs for PCI 7256 LED indicators to show the status of relays and can be read back Jumper selectable AC filtered non AC filtered input signals On board relay driving circuits Change of State COS detection for digital input channels Digital input channel 0 amp 1 interrupt Dry contact input available Board ID 1 2 Applications Industrial ON OFF control External high power relay driving Signal switching Laboratory automation Industrial automation Switch contact status sensing limit switch monitoring Cooperating with A D and D A cards to implement a data ac
9. H1_Status Digital input channel 1 interrupt status 1 represents interrupt asserts 0 represents interrupt de asserts Return Code ERR_NoError ERR_BoardNoInit C C DOS Libraries e 35 AppendixA Relay Contact Protection Circuits The contacts are the most important elements of relay constructions Contact performance is conspicuously influenced by contact material voltage and Current values applied to the contacts Another important issue is contact protection a right contact protection circuit can suppress the counter EMF to a low level However note that incorrect use will result in an adverse effect Typical contact protection circuits are given below 1 RC Circuit This circuit is suitable for DC application If the load is a timer leakage current flows through the RC circuit causing faulting operation Contact The below circuit is suitable for both AC and DC applications If the load is a relay or solenoid the release time lengthens It s effective when connected to both contacts if the power supply voltage is 24V or 48V and the voltage cross the load is 100 to 200V Load Contact 36 e Appendix A Relay Contact Protection Circuits Device Selection As a guide in selecting R and C R 0 5 to 19 per 1V contact voltage C 0 5 to 1 uF per 1A contact current Values vary depending on the properties of the capacity C acts to suppress the discharge the moment the contacts open Resisto
10. NuDAQ PCI 7256 Latching Relay Actuator amp Isolated D l Cards User s Guide Recycled Paper Copyright 2001 ADLINK Technology Inc All Rights Reserved Manual Rev 1 00 December 11 2001 Part NO 50 11127 100 The information in this document is subject to change without prior notice in order to improve reliability design and function and does not represent a commitment on the part of the manufacturer In no event will the manufacturer be liable for direct indirect special incidental or consequential damages arising out of the use or inability to use the product or documentation even if advised of the possibility of such damages This document contains proprietary information protected by copyright All rights are reserved No part of this manual may be reproduced by any mechanical electronic or other means in any form without prior written permission of the manufacturer Trademarks NuDAQ is registered trademarks of ADLINK Technology Inc Other product names mentioned herein are used for identification purposes only and may be trademarks and or registered trademarks of their respective companies Getting service from ADLINK e Customer Satisfaction is always the most important thing to ADLINK If you need any help or service please contact us ADLINK Technology Inc Web Site ttp www adlinktech com Sales amp Service service adlinktech com Technical NuDAQ USBDAQ nudaq adlinktech com Support Automati
11. OPC is an OPC server which can link with the OPC clients There are many software packages on the market can provide the OPC clients now The PCIS OPC supports the Windows 98 NT and 2000 Please contact ADLINK or dealer to purchase the license Introduction e 7 Installation This chapter describes how to install the PCI 7256 The contents in the package and unpacking information that you should be careful are described 2 1 What you have In addition to the User s Manual the package includes the following items e PCI 7256 latching relay and digital input cards e ADLINK Software CD e Software Installation Guide If any of these items is missing or damaged contact ADLINK or 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 8 e Installation 2 2 Unpacking Your PCI 7256 card contains sensitive electronic components that can be easily damaged by static electricity The card should be operated on a grounded anti static mat 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 handling damages on the module before processing After opening the card module carton extract the system module and place it only on a grounded antistatic surface wi
12. S Enable IRQsource IRQsource IRQ oa condition SAES Interrupt disable ae of state in the 1 Ch 0 interrupt enable Rising edge of DI channel 0 1 Ch 1 interrupt enable Rising edge of DI channel 1 Ch 0 amp 1 ert Rising edge of DI enable channel 0 amp 1 Se Ben Ea aaa E disable SE Return Code ERR_NoError ERR_BoardNolnit ERR_INTNotSet 34 e C C DOS Libraries 5 9 7256 CLR_IRQ Description This function is used to clear the interrupt request of PCI 7256 Syntax U16 _7256_CLR_IRQ U16 boardID U16 COS_CLR U16 CHO CLR U16 CH1_CLR Argument boardID Board ID to the specific borad COS_CLR Write 1 to clear COS interrupt request and write 0 without any effect CHO_CLR Write 1 to clear digital input channel 0 and write 0 without any effect CH1_CLR Write 1 to clear digital input channel 1 and write 0 without any effect Return Code ERR_NoError ERR_BoardNoInit 5 10 7256 GET IRO Status Description This function is used to get the interrupt status of PC7256 Syntax U16 7256 GET IRO Status U16 boardID U16 COS Status U16 CHO Status U16 CH1 Status Argument boardID Board ID to the specific borad COS Status COS interrupt status 1 represents interrupt asserts 0 represents interrupt de asserts CHO Status Digital input channel 0 interrupt status 1 represents interrupt asserts 0 represents interrupt de asserts C
13. SCS U8 16 i i 32 i U32 32 bit single precision 0 to 4294967295 floating point F32 32 bit single precision 3 402823E38 to floating point 3 402823E38 64 bit double precision 1 797683134862315E308 to floating point 1 797683134862315E309 Boolean logic value TRUE FALSE C C DOS Libraries e 29 5 2 7256 Initial Description The PCI 7256 cards are initialized according to the card number Because the PCI 7256 is PCI bus architecture and meets the plug and play design the IRQ and base address pass through address are assigned by system BIOS directly Every PCI 7256 card has to be initialized by this function before using other functions Syntax U16 7256 Initial U16 existCards PCI INFO pcilnfo Argument existCards The number of installed PCI 7256 cards The returned value shows how many PCI 7256 cards are installed in your system pcilnfo It is a structure to memorize the PCI bus plug and play initiallization information which is decided by p amp p BIOS The PCI INFO structure is defined in ACL PCI H The base I O address and the interrupt channel number is stored in pciinfo which is for reference Return Code ERR_NoError ERR_PCIBiosNotExist ERR BoardNolnit ERR_InvalidBoardNumber 30 e C C DOS Libraries 5 3 7256 DO Description This function is used to write data to digital output port which can energize the Latching relay SET RESET coils You can control all 16 RELAYS through 7256 DO
14. a ssKee einai RES cost GE NERT ansben OOG ERGE DEE acta BOSE NEER oi 8 del to le RE EE EE ER EE NALLET 9 2 3 PCB Layouts AA N EO MH N 10 2 4 Jumper SONG sist PERSE ER E Pe be e lace DA EEEE DRONK ERA Ee SE 11 2 4 External LED CONNECTION ee see es ee ee ke ee ee Re ee RR ee Re 12 2 5 Board IDEES RE ana ae ea 13 2 6 Connector Pin Assignments ie see ee ee ee RR ee RR ee Re 14 2 7 Termination Board Connection ee ee ee RR ee Re 15 Chapter 3 Register Format ius sesse sees Re Ee RE Re EE GE Ke EE 16 3 1 VOAddi Ss Map EE SES tenes Sele en De ese 16 3 2 Relay Output Control Register esse se ee ee RR ee Re 17 3 3 Relay Output Read Back Register iese ee es ee AR Ee ee ee es 18 3 4 Isolated Digital Input Register esse ee ee RR ee Re es 18 3 5 COS Setup Register iii ees ee Ak ee RR EA ee ee RA ee ee 19 3 6 COS Latch Register issie ss ee de RR Ei Ak ee RR dee ee 19 3 7 Interrupt Control Register see see ee ee RR Ee ee RR Ee ee Re 20 3 8 Interrupt Status Register issie see ee ee RR ee RR ee ee 22 3 9 Handling PCI Controller Registers ie sesse see ee ee ee Re 22 Chapter 4 Operation TheoreM u ees sees se ee Re Re EE Re EE 24 4 1 Latching Relay Output iese see ee ee ee RR ee RR Ek ee RR ee Re 24 Table of Contents e i 4 2 Isolated Digital INPUT riria ees se ee RE ee RR ee RR ee RR ee ee Re 26 4 3 Interrupt Architecture issie ese ss
15. by using this function Althought the register map of latching relays is 32 bit width we use 16 bit access to control the latching relay through this function Bit 1 represent the SET condition 1 0 and Bit 0 represent the RESET condition 0 1 Syntax U16 _7256_DO U16 boardID U16 doData Argument boardID Board ID to the specific borad doData value which will be written to digital output port Return Code ERR_NoError ERR_BoardNoInit 5 4 7256 DO Read Back Description This function is used to read data back from digital output port control by 7256 DO function There are 16 bit digital outputs on the PCL7256 You can get back all RELAYS status SET or RESET by using this function Syntax U16 7256 DO Read Back U16 boardID U16 doReadBackData Argument boardID Board ID to the specific borad diReadBackData value read back from digital output port 0 represents the latching relay is under RESET condition and 1 represents the latching relay is under SET condition Return Code ERR_NoError ERR_BoardNoInit C C DOS Libraries e 31 5 5 7256 DI Description This function is used to read data from digital input port There are 16 bit digital inputs on the PCI 7256 You can get all 16 input data by using this function Syntax U16 7256 DI U16 boardID U16 diData Argument boardID Board ID to the specific borad diData return 16 bit value from digital input port
16. dee ee de ee RR Ee ee ee Re ee ee ee RR de ee Ee ee 27 4 4 Change of State COS Interrupt ee ee ee RR ee Re es 27 Chapter 5 C C DOS Libraries eene ee Ee RE Re EG EE 28 5 1 Programming Guide einean ee ee sd ee Re EA ee AR EE AA ee AR EE Ak ee AA Ee Ak ee 28 5 1 1 Naming ConvenHON iese sesse se se se se se se Ge Ge Ge Ge Ge Be Ge Ge Ge Be Ge Ge be Be Ge Ge be be be 28 5 1 2 Data T ER EE EE EE EE 29 De AE RE RE AR MO 30 Bis 272562 DO tn EE EE HEER RE ERAEN 31 5 4 7256 DO Read Back ee ee AR Ee ee Ee AA Ee ee RR ee ee ee 31 5 5 727256 DIE EE SE ee ek Dee ee ee ee di wek Pi ee 32 5 6 27256 GOS Channel its EE Eg SE SE EE DE ete es 33 Bil 7256 GOS Latch ii EE EO RE ER GE ee OE SERS O ee GE 33 5 8 7256 INT Controls side EE ie EE Ee SE ed DE Need 34 9 9 7256 CER SI RG tt aa a NE ER rior aati RR EE ERGE RA 35 5 10 7256 GET_IRQ_Status 0 c ee ke ee ee AR EE ee AR EE ee RA ee ee 35 Appendix A Relay Contact Protection Circuits 36 Warranty Policy ii sessies sege n ee GE gede ER ee ee N ee EE We ee 39 ii e Table of Contents How to Use This Guide This manual is for helping users to manipulate the PCI 7256 It is divided into 5 chapters Chapter 1 Introduction gives an overview of the product features applications and specifications Chapter 2 Installation describes how to install the PCI 7256 The layout of PC7256 is shown and jumper setting for digital input filter external LED connection
17. e release time Effective when connected to both contacts of the power supply voltage is 24 or 48V and the voltage across the load is 100 to 200 V Contact Inductive Load 38 e Appendix A Relay Contact Protection Circuits Warranty Policy Thank you for choosing ADLINK To understand your rights and enjoy all the after sales services we offer please read the following carefully 1 Before using ADLINK s products please read the user manual and follow the instructions exactly When sending in damaged products for repair please attach an RMA application form 2 All ADLINK products come with a two year guarantee free of repair charge e The warranty period starts from the product s shipment date from ADLINK s factory e Peripherals and third party products not manufactured by ADLINK will be covered by the original manufacturers warranty e End users requiring maintenance services should contact their local dealers Local warranty conditions will depend on the local dealers 3 Our repair service does not cover two year guarantee while damages are caused by the following a Damage caused by not following instructions on user menus b Damage caused by carelessness on the users part during product transportation c Damage caused by fire earthquakes floods lightening pollution and incorrect usage of voltage transformers d Damage caused by unsuitable storage environments with high temperatures high humid
18. easurement or automation applications With DAOBench you can easily develop custom user interfaces to display your data analyze data you acquired or received from some other sources and integrate with popular applications or data sources For more detailed information about DAQBench please refer to the user s guide in the CD Manual PDF Software DAQBench DA BenchManual PDF You can also get a free 4 hour evaluation version of DAQBench from the CD DAQBench is charged software Please contact ADLINK dealer or ADLINK to purchase the software license 1 4 5 PCIS DDE DDE Server and InTouch DDE stands for Dynamic Data Exchange specifications The PCIS DDE includes the PCI cards DDE server The PCIS DDE server is free and included in the ADLINK CD The DDE server can be used conjunction with any DDE client under Windows 98 NT 2000 14 6 PCIS ISG ISaGRAF driver The ISAGRAF WorkBench is an IEC1131 3 SoftPLC control program development environment The PCIS ISG includes ADLINK products target 6 e Introduction drivers for ISaGRAF under Windows NT environment The PCIS ISG is included in the ADLINK CD It needs license Please contact ADLINK or dealer to purchase the license 1 4 7 PCIS ICL InContro Driver PCIS ICL is the InControl driver which support the Windows NT The PCIS ICL is included in the ADLINK CD It needs license Please contact ADLINK or dealer to purchase the license 1 4 8 PCIS OPC OPC Server PCIS
19. g timing is an example of COS operation All of the enabled DI channels signal level change will be detected to generate the interrupt request While the interrupt request generates the corresponding DI data will also be latched into the COS latch register In our COS architecture the DI data are sampled by a 8 25MHz clock It means the pulse width of the digital input have to last longer than 122 ns or the COS latch register won t latch the correct input data The COS latch register will be erased after clearing the interrupt request Digital Input 16 CH are all enabled COS Latch 0x0000 N OXC76A 0x0000 N OxFFFRX 0x0000 Register Interrupt R equest Clear IRQ Clear IRQ 0x321A 0xC 76A OXFFFF Figure4 4 Timing of COS Operation Theorem e 27 C C DOS Libraries 5 1 Programming Guide 5 1 1 Naming Convention The functions of the NuDAQ PCI cards or NulPC CompactPCI cards software driver are using full names to represent the functions real meaning The naming conventions are _ hardware_model _ action_name e g _7256_Initial All functions in the PCI 7256 drivers are with 7256 as hardware_model 28 e C C DOS Libraries 5 1 2 Data Types We have defined some data types in Pci 7256 h These data types are used by NuDAQ Cards library We suggest you use these data types in your application programs The following table shows the data type names and their range Us amp bitASCIicharacter__ Oto255 S
20. ity or volatile chemicals e Damage caused by leakage of battery fluid when changing batteries f Damages from improper repair by unauthorized technicians g Products with altered and damaged serial numbers are not entitled to our service h Other categories not protected under our guarantees 4 Customers are responsible for the fees regarding transportation of damaged products to our company or to the sales office Warranty Policy e 39 5 To ensure the speed and quality of product repair please download an RMA application form from our company website www adlinktech com Damaged products with RMA forms attached receive priority For further questions please contact our FAE staff ADLINK service adlinktech com Test amp Measurement Product Segment NuDAQ adlinktech com Automation Product Segment Automation adlinktech com Computer amp Communication Product Segment NuPRO adlinktech com NulPC adlinktech com 40 e Warranty Policy
21. nal LED connection Figure 2 3 External LED connectors for relay status indication The PCI 7256 card has 16 LEDs on board to indicate the operation status of the 16 relays In addition PCI 7256 also has 16 external LED connectors for users applications Utilizing external LEDs connecting with the JP3 and JP4 users can have their relays status shown on chassis panel or other apparatus Only LED which have fordward voltage Vy lower than 3V can work normally Each external LED connector has a current limiting resistor 3300 connecting with 5V power so it s not necessary for user to add a resistor to limit the current flow through LED The direction of the external LED s connection is shown in Figure 2 3 Before connect user s LEDs on these connectors make sure the LED is in the right direction 12 e Installation 2 5 Board ID When users plug two or more data acquisition cards in one system it takes a lot of efforts to identify one specific card For easier identification PCL7256 provides a Board ID function According to a DIP switch configuration located in S1 users can assign a board ID to a specific card directly and access the card correctly through software programming For more details about Board ID in programming please refer to chapter 5 Table 2 2 shows all of the switch setting conditions Note 1 on O off Table 2 2 Board ID Setting Conditions Installation e 13 2 6 Connector Pin Assignments
22. on Jautomation adlinktech com utomation NuIPG Jnuipc adlinktech com INuPRO EBC Jnupro adlinktech com TEL 886 2 82265877 FAX __ 886 2 82265717 9F No 166 Jian Yi Road Chungho City Taipei 235 Address Taiwan e Please inform or FAX us of your detailed information for a prompt satisfactory and constant service Detailed Company Information Company Organization Contact Person E mail Address Address Country TEL Web Site Product Model Ooo O OS Computer Brand M B CPU Environment to Use Chipset BIOS Video Card Network Interface Card Challenge Description Suggestions to ADLINK Table of Contents Chapter 1 Introduction sees see Re EER Re EER EE RE EE EE KEER EE 1 Med FO ALUIES EE N RR RE aTi 2 1 2 ApplicatioNS EE SEE ORDERS ER Ee EER Ge GE ee EE Re be N ee be Ee 2 1 3 Seel ie ien SR LE 3 1 4 es SUPDOM RO EE eee eds g 5 Programming LIDIFALY i i eiieeii ee Re ge Ge GR Re Ge Re ge aria 5 PCIS LVIEW LabVIEW Bi EG 5 143 PCIS VEE VEE DITVEI sies ese ES AE ee E Gee Ged ge ee Eie ee 6 144 PCIS OCX ActiveX Controls u iese ee ee ee ee ee ee ee ee eg 6 1 4 5 PCIS DDE DDE Server and ITOUCH ND EN 6 14 6 PCIS ISG ISAGRAF dVEL uuee esse see ee ee 6 1 4 7 PCIS ACL InControl Driver ees 7 148 PCIS OPC OPC Server iii ee ee ee ee ee ee ee ee ee ee ee eg 7 Chapter 2 InstallatiOn ee sees sees se Ke Re Re EE RE Re EER EE Re EE RE REKE 8 2 1 What you have asses et
23. or the programmers who want to handle the card by low level programming However we suggest user understand more about the PCI interface before starting low level programming 31 VO Address Map The 7256 registers are all 16 bit wide Users can access these registers only by 16 bits I O instructions The control of the relays and status of the isolation input is by means of accessing registers The following table shows the register map including descriptions and their offset addresses relative to the base address Table 3 1 The register map of PCI 7256 oes Wie RE 0x02h Relay Output CH 8 15 Relay eae back 0x04h EE SEE Isolated Input CH 0 15 Ox06h COS Setup Register COS Latch Register Ox08h Interrupt Control Register Interrupt Status Register 16 e Register Format 3 2 Relay Output Control Register There are 16 latching relays on each PCI 7256 board Each latching relay is controlled by two bits of the control register The setting 0 1 means the latching relay is in RESET condition Under the RESET condition the normal open NO signal line is open from the common COM line and the normal close NC signal line is connected with the common line The setting 1 0 means the normal open signal line is now closed while the NC signal is open For safety operation do not fill the register with 1 1 or it will cause an uncertain output status of the relay For more information about the latching relay and software function
24. quisition amp control system 2 e Introduction 13 Specifications Digital input Input channels Photo coupler PC 3H4 10 mA rated Input current 50 mA max for isolated input Up to 24 Vpc or 24V ac Input Voltage Logic Low 0 2V Logic High 5 24V Input impedance 4 7 KQ Input mode Isolation AC filter Non AC filter Isolated voltage 2 500 Vrms channel to system e Relay Output Output channels Relay type 16 DPDT Form C Contact rating eae ae A Breakdown voltage 1000 Vins Operate time Contact resistance Insulation resistance 1000M Q min at 500 Vpc Life expectancy gt 2 X 10 times at 1A 30Vpc gt 10 times at 0 5A 125V ac 176 4m s 18G 10 to 55Hz at double amplitude of 3mm Monitor SET RESET status of each LED indicators relay external LED connectors could be applied Power supply of Relay 5V from the PCI Bus Isolated 5V Power Supply Vibration Resistance Output Voltage 5V Output Current 170mA max 40 C General Specifications Dimension mm x 106 mm standard PCI half Bus 32 bit PCI bus Operating temperature 0 60 C Storage temperature 20 C 80 C Introduction e 3 516 06 non condensing Power Consumption 5V 340 mA No relays energized PCI 7256 980mA maximum when all relays are active simultaneously 4e Introduction 14 Software Support ADLINK provides versatile software drivers and packages for users different approach to builtup a sy
25. r R acts to limit the current when the power is turned on the next time Test to confirm Use a capacitor with a breakdown voltage of 200 to 300V Use AC type capacitors non polarized for AC circuits 2 Diode Circuit This circuit is suitable for DC application The diode connected in parallel causes the energy stored in the coil to flow to the coil in the form of current and dissipates it as joule heat at the resistance component of the inductive load This circuit further delays the release time compared to the RC circuit Contact Inductive Load Device Selection Use a diode with a reverse breakdown voltage at least 10 times the circuit voltage and a forward current at least as large as the load current In electronic circuits where the circuit voltages reverse breakdown voltage of above 2 to 3 times the power supply voltage 3 Diode amp Zener diode Circuit This circuit is also suitable for DC application Effective when the release time i the diode circuit is too long Contact Inductive Load Appendix A Relay Contact Protection Circuits 37 Device Selection Use a zener diode with a zener voltage about the same as the power supply voltage 4 Varistor Circuit This circuit is also suitable for both AC amp DC applications Using the stable voltage characteristics of the varistor this circuit prevents excessively high voltages from being applied across the contacts This circuit also slightly delays th
26. stem We not only provide programming library such as DLL for many Windows systems but also provide drivers for many software packages such as LabVIEW VEE InTouch InControl ISaGRAF and so on All the software options are included in the ADLINK CD The non free software drivers are protected with serial licensed code Without the software serial number you can still install them and run the demo version for two hours for demonstration purpose Please contact ADLINK or the dealer to purchase the software license serial code 1 4 1 Programming Library For customers who are writing their own programs we provide function libraries for many different operating systems including e DOS Library Borland C C and the functions descriptions are included in this user s guide e PCIS DASK Include device drivers and DLL for Windows 98 Windows NT and Windows 2000 DLL is binary compatible across Windows 98 Windows NT and Windows 2000 That means dl applications developed with PCIS DASK are compatible across Windows 98 Windows NT and Windows 2000 The developing environment can be VB VC Delphi BC5 or any Windows programming language that allows calls to a DLL The user s guide and function reference manual of PCIS DASK are in the CD Please refer the PDF manual files under Manual_PDF Software PCIS DASK The above software drivers are shipped with the board Please refer to the Software Installation Guide to install
27. th 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 Note DO NOT APPLY POWER TO THE CARD IF IT HAS BEEN DAMAGED You are now ready to install your PCI 7256 Installation e 9 2 3 PCB Layout The location of connector switch and jumpers are shown in the figure2 1 They are described in the following sections 10 GECGGEEERLEEEEEG APA UUUL HAUUAUULUHEL Wid ord avO WS2I 16 Figure 2 1 PCl 7256 PCB Layout 10 o Installation 24 Jumper Setting The PCI 7256 is a plug and play add on card for PCI bus It is not necessary for user to setup its base address and IRQ level to fit the hardware of your computer system However to fit user s versatile operation there are still a few jumpers to set for the digital input The jumpers on PCI 7256 card are used to configure the digital input channels as AC Filtered or Non AC Filtered inputs Each digital input channel and their corresponding jumpers are shown in the following Table2 1 JUMPER i INPUT SIGNAL DIO DI7 DI8 DIT5 Table 2 1 The jumpers and DI channels The default setting of the input signal selection is Non AC Filtered DC signal input which is shown as below O N Wt OU DN Ooo Da DY Figure 2 2 Default Input Signal Jumper Setting Installation e 11 24 Exter
28. the 24 e Operation Theorem RESET condition control bits as 0 1 For more details about the latching relay control register refer to section 3 3 PCI 7256 also provides a software function for user to control the latching relays Using this function relay control is as simple as the general relay Instead of writing 32 bit data to the relay output register user only needs to prepare 16 bit data and each bit represents a relay s status Value 1 represents SET condition and value 0 represents RESET condition For more details about the relay output function library refer to section 5 3 The relay output contacts are rated for a maximum of 0 5A at 125Vac resistive or 1A 30Vpc You should reduce these ratings for inductive loads For more detailed information of relay contact please refer to Appendix A Operation Theorem e 25 42 Isolated Digital Input The PCI 7256 contains 16 opto isolated digital input channels The circuit diagram of the isolated input channel is shown below Ya Ys Figure 4 2 Photo Coupler The digital input is first routed through a photo coupler PC3H4 so that the connection are not polarity sensitive whether useing positive or negative voltage In addition a first order filter with time constant about 1 5ms is provided to filter high frequency noise The normal input voltage range for high state is 5 to 24V The PCI 7256 provides an isolated 5V power for dry contact input When
29. the external circuit has no voltage source e g a switch users can use the on board 5V to respond the change of external circuit The maximum output current of the on board isolated power is 170mA 40 Please pay attention to the current consumption of the external circuit not exceeding the limit The dry contact architecture is shown in Figure 4 3 Figure 4 3 Dry contact 26 e Operation Theorem 4 3 Interrupt Architecture PCI 7256 has a powerful dual interrupt routing scheme including change of state detection and interrupt sources on digital input channel 0 and channel 1 Using these interrupts well can make you handle more complicated information from outside enviroment and release your computer from a heavy burden in dealing with digital input data Note that the dual interrupts do not mean the card occupies two IRQ levels There are two interrupt modes in PCI 7256 but you can only choose one of them at one time Table3 2 shows all of the combinations of interrupt modes 44 Change of State COS Interrupt What is COS The COS Change of State means either the input state logic level changes from low to high or from high to low The COS detection circuit will detect the edge of level change In the PCI 7256 card the COS detection circuit is applied to all the input channels When any channel changes its logic level the COS detection circuit generates an interrupt request to PCI controller COS Detection The followin
30. these drivers 1 4 2 PCIS LVIEW LabVIEW Driver PCIS LVIEW contains the Vls which are used to interface with NIS LabVIEW software package The PCIS LVIEW supports Windows 95 98 NT 2000 The LabVIEW drivers are free and shipped with the board You can install and use them without license For detail information about PCIS LVIEW please refer to the user s guide in the CD Manual_PDF Software PCIS LVIEW Introduction e 5 1 4 3 PCIS VEE VEE Driver The PCIS VEE includes the user objects which are used to interface with VEE software package PCIS VEE supports Windows 95 98 NT 2000 The VEE drivers are free and shipped with the board You can install and use them without license For detail information about PCIS VEE please refer to the user s guide in the CD Manual_PDF Software PCIS VEE 14 4 PCIS OCX ActiveX Controls We suggest the customers who are familiar with ActiveX controls and VB VC programming use PCIS OCX ActiveX control components library for developing applications PCIS OCX is designed for Windows 98 NT 2000 For more detailed information about PCIS OCX please refer to the user s guide in the CD Manual PDF Software PCIS OCX PCIS OCX PDF The above software drivers are shipped with the board Please refer to the Software Installation Guide in the package to install these drivers Also ADLINK supplies an ActiveX control software DAQBench DAQBench is a collection of ActiveX controls for m
31. to 0 In the second mode users can select digital input channel 0 channel 1 or both channels as the interrupt sources In this mode interrupt only assertes when the DI status changes from 0 to 1 i e rising edge Because the two different modes share the same interrupt signal in hardware users are not allowed to enable these two modes at the same time After processing the interrupt request event users have to clear the interrupt request in order to handle another interrupt request To clear the interrupt request write 1 to the corresponding bit Address BASE 0x08 Attribute Write BE Em Ed Se ERA CH1 CHO COS CLR CLR CLR EATA EEA Int EN Int EN Int EN COS CLR bit 0 write 1 to clear the COS interrupt 1 clear the COS interrupt 0 no effect CHO CLR bit 1 write 1 to clear DI channel 0 interrupt 1 clear DI channel 0 interrupt 0 no effect CH1 CLR bit 2 write 1 to clear DI channel 1 interrupt 1 clear DI channel 1 interrupt 0 no effect COS Int_EN bit 8 Write Read Change of State interrupt enable control 1 enable 0 disable CHO Int EN bit 9 Write Read DI channel 0 interrupt enable control 1 enable 0 disable 20 e Register Format CH1 Int EN bit 10 Write Read DI channel 1 interrupt enable control 1 enable 0 disable The following table shows all possible combinations of interrupt source Table 3 2 Interrupt source set up OHH NEE LEEN ee eee Ch 1 interrupt enable

Download Pdf Manuals

image

Related Search

Related Contents

FSB-200(A) e FSB-200S(A)  Low Partition  M1500 Digital Pressure Transmitter User`s Manual  bisca bus à la demande - Office de Tourisme de Biscarrosse  INSTALLATION MANUAL Convertible Type Series  Vanguard CT-7000 S3 Product Manual  The Noise Lab  BT 0951 Rekosil FIT 680 Tipo II  Mechanical Collection Cal.Y513 簡易操作ガイド  Manuel d`utilisation TS Identification  

Copyright © All rights reserved.
Failed to retrieve file