Home

DA720 User`s Manual

image

Contents

1. 47 A final note Don t be intimidated by the binary operators AND and OR and try to use operators for which you have a better intuition For instance if you are tempted to use addition and subtraction to set and clear bits in place of the methods shown above DON T Addition and subtraction may seem logical but they will not work if you try to clear a bit that is already clear or set a bit that is already set For example you might think that to set bit 5 of a port you simply need to read in the port add 32 2 to that value and then write the resulting value back to the port This works fine if bit 5 is not already set But what happens when bit 5 is already set Bits 0 to 4 will be unaffected and we can t say for sure what happens to bits 6 and 7 but we can say for sure that bit 5 ends up cleared instead of being set A similar problem happens when you use subtraction to clear a bit in place of the method shown above Now that you know how to clear and set bits we are ready to look at the programming steps for the DA810 board functions D A Conversions D A conversions are performed on the eight analog output channels AOUTI through AOUTS by writing data to the D A converter registers and then issuing an update command by performing a read at BA 0 which simulta neously updates the outputs of all eight channels The 12 bit digital data for each channel is loaded in a two step process LSB followed by MSB After the data has been loa
2. 4 1 4 2 Defining the Map The I O map for the DA720 is shown in Table 4 1 below As shown the board occupies 16 consecutive I O port locations The base address designated as BA can be selected using DIP switch S1 as described in Chapter 1 Board Settings This switch can be accessed without removing the board from the connector The following sections describe the register contents of each address used in the I O map Table 4 1 DA720 I O Map Address Register Description Read Function Write Function Decimal uocare Ar Dacs pace ogm ACT Update All DACs DACs Program DAC1 LSB BA 0 BA BA 2 BA 3 BA 4 5 6 BA 7 BA 8 9 10 1 BA 12 BA 19 BA 14 D A Converter 8 MSB Reserved Program DAC8 MSB BA 15 BA Base Address 43 BA 0 D A Converter 1 LSB Update DACs Read Write A write programs the DACI LSB eight bits A read simultaneously updates the outputs of all eight channels BA 1 D A Converter 1 MSB Write Only Programs the DAC1 MSB four bits into DO through D3 D4 through D7 are irrelevant Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit 11 Bit10 Bit9 Bit 8 BA 2 D A Converter 2 LSB Write Only Programs the DAC2 LSB eight bits BA 3 D A Converter 2 MSB Write Only Programs the DAC2 MSB four bits into DO through D3 D4 through D7 are irrelevant BA 4 D A Converter 3 LSB Write Only Programs the DAC3 LSB eight bits BA
3. 0 to 10 or 10 volts Relative ceur cy 22 1 a PD er ir ad 1 LSB max F llzscale aCeutragy s s ana ii 5 LSB max Nonzlneatityiiia aaa lana 1 LSB max Settling times id 5 usec typ Current Requirements 66 mA 5V 22 mA O 12V 16 mA O 12V P2 I O Connector 50 pin right angle shrouded box header Size 3 875 H x 5 25 W 99mm x 134mm A 3 4 APPENDIX B VO CONNECTOR PIN ASSIGNMENTS B 1 B 2 I O Connector P2 AOUTI ANALOG GND AOUT2 ANALOG GND AOUT3 ANALOG GND AOUT4 ANALOG GND AOUT5 ANALOG GND AOUT6 ANALOG GND AOUT7 ANALOG GND AOUT8 ANALOG GND N C N C N C N C N C N C N C N C N C N C N C N C N C N C N C N C N c 63 62 N c c 65 G6 c c GDG c N C N C N C N C N C N C N C e 12 VOLTS 5 VOLTS 12 VOLTS DIGITAL GND P2 Mating Connector Part Numbers Manufacturer PatNumbe 1 746094 0 3425 7650 B 3 4 APPENDIX C WARRANTY 2 LIMITED WARRANTY Real Time Devices Inc warrants the hardware and software products it manufactures and produces to be free from defects in materials and workmanship for one year following the date of shipment from REAL TIME DE VICES This warranty is limited to the original purchaser of product and is not transferable During the one year warranty period REAL TIME DEVICES will repair or replace at its option any defective products or parts at no addit
4. 5 D A Converter 3 MSB Write Only Programs the DAC3 MSB four bits into DO through D3 D4 through D7 are irrelevant BA 6 D A Converter 4 LSB Write Only Programs the DAC4 LSB eight bits BA 7 D A Converter 4 MSB Write Only Programs the DAC4 MSB four bits into DO through D3 D4 through D7 are irrelevant BA 8 D A Converter 5 LSB Write Only Programs the DACS LSB eight bits BA 9 D A Converter 5 MSB Write Only Programs the DACS MSB four bits into DO through D3 D4 through D7 are irrelevant BA 10 D A Converter 6 LSB Write Only Programs the DAC6 LSB eight bits BA 11 D A Converter 6 MSB Write Only Programs the DAC6 MSB four bits into DO through D3 D4 through D7 are irrelevant BA 12 D A Converter 7 LSB Write Only Programs the DAC7 LSB eight bits BA 13 D A Converter 7 MSB Write Only Programs the DAC7 MSB four bits into DO through D3 D4 through D7 are irrelevant BA 14 D A Converter 8 LSB Write Only Programs the DAC8 LSB eight bits BA 15 D A Converter 8 MSB Write Only Programs the DAC8 MSB four bits into DO through D3 D4 through D7 are irrelevant 4 5 Programming the DA720 This section gives you some general information about programming and the DA720 board and then walks you through the major DA720 programming functions These descriptions will help you as you use the example pro grams included with the board of the program descriptions in this se
5. and 6 in a port Read in the current value of the port AND it with 171 171 255 2 2 2 and then write the resulting value to the port In C this is programmed as v inportb port address amp 171 outportb port address v To set multiple bits in a port OR the current value of the port with the value b where b the sum of the individual bits to be set Note that the bits to be set do not have to be consecutive Example Set bits 3 5 and 7 in a port Read in the current value of the port OR it with 168 168 2 25 27 and then write the resulting value back to the port In assembly language this is programmed as mov dx PortAddress in al dx or al 168 out dx al Often assigning a range of bits is a mixture of setting and clearing operations You can set or clear each bit individually or use a faster method of first clearing all the bits in the range then setting only those bits that must be set using the method shown above for setting multiple bits in a port The following example shows how this two step operation is done Example Assign bits 3 4 and 5 in a port to 101 bits 3 and 5 set bit 4 cleared First read in the port and clear bits 3 4 and 5 by ANDing them with 199 Then set bits 3 and 5 by ORing them with 40 and finally write the resulting value back to the port In C this is programmed as v inportb port address amp 199 40 outportb port address v
6. range settings Jumpers installed on 5 amp X1 P3 for DAC1 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 P4 for DAC2 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 P5 for DAC3 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 for DAC4 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 P7 for DAC5 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 for DAC6 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 for DAC7 to set output at 5 to 5 volts Configures the output voltage range settings Jumpers installed on 5 amp X1 P10 for DAC8 to set output at 5 to 5 volts SI Sets the base address 300 hex 768 decimal 1 3 BASE ADDRESS si HOLIMS 777 9 E 62 62 o9 9 62 E USA Q Accessing the Analog World 855655 m MO 000000 0999999 10000000 il RN 00000000 0000000 000000000000 a Hojs gt 8 0 01 5 aa o e1nov 28214 5 o olx zi zav 00000000000 00000000000 c4 x S lees pees o 0000 e
7. result in unpredictable board operation and erratic response To install the board 1 Turn OFF the power to your computer 2 Remove the top cover of the computer housing refer to your owner s manual if you do not already know how to do this 3 Select any unused short or full size expansion slot and remove the slot bracket 4 Touch the metal housing of the computer to discharge any static buildup and then remove the board from its antistatic bag 5 Holding the board by its edges orient it so that its card edge bus connector lines up with the expansion slot connector in the bottom of the selected expansion slot 6 After carefully positioning the board in the expansion slot so that the card edge connector is resting on the computer s bus connector gently and evenly press down on the board until it is secured in the slot NOTE Do not force the board into the slot If the board does not slide into place remove it and try again Wiggling the board or exerting too much pressure can result in damage to the board or to the computer 7 After the board is installed secure the slot bracket back into place and put the cover back on your computer The board is now ready to be connected via the external I O connector at the rear panel of your computer External I O Connections Figure 2 1 shows the DA720 s P2 I O connector pinout Refer to this diagram as you make your I O connec tions AOUT1 ANALOG GND AOUT2 ANALOG GND AOUT3 ANA
8. voltage outputs as shown Figure 3 1 This chapter describes the hardware which makes up this circuit AOUTI El VOLTAGE SELECT DECODE VOLTAGE SELECT VOLTAGE SELECT VOLTAGE SELECT VOLTAGE SELECT VOLTAGE SELECT VOLTAGE SELECT AOUT8 VOLTAGE SELECT PC BUS CONNECTOR 12 VOLTS CONTROL 5 VOLTS Fig 3 1 DA720 Block Diagram D A Conversion The DA720 board performs digital to analog conversions on eight independent analog output channels The output of each conversion channel is jumper selectable for 5 10 0 to 5 or 0 to 10 volts The AD7237 12 bit D A converter contains two independent D A converter channels in a single CMOS package The data to be converted is double buffered at the D A input which allows simultaneous updating of all eight D A output channels The AD712 precision operational amplifier provides complete coverage of the output voltage ranges The exceptionally low offset voltage and drift ensure an accurate analog output on each channel 3 3 3 4 CHAPTER 4 BOARD OPERATION AND PROGRAMMING This chapter shows you how to program and use your DA720 board It provides a complete description of the I O map and programming operations to aid you in programming The example programs included on the disk in your board package are listed at the end of this chapter These programs written in Turbo C Turbo Pascal and BASIC include source code to simplify your applications programming
9. 6 LSB Write Only ie 4 4 BA 11 D A Converter 6 MSB Write Only nenne 4 4 BA 12 D A Converter 7 LSB Write Only sese ette nenne 4 5 BA 13 D A Converter 7 MSB Write Only i 4 5 BA 14 D A Converter 8 LSB Write Only iii 4 5 BA 15 D A Converter 8 MSB Write Only i 4 5 Programming the DAT 20 eben Dt RE e HE eR rer pee RU EE 4 6 Clearing and Setting Bits in a POrt enne ono coronan cn nennen treten tentent nennen 4 7 D A GOnVersiOnDSs seht aep pes tp den Bn ie 4 8 Example Prograims za edet e Gs atuei d esc aite A ER tute ade ee tee ori 4 10 Cand Pascal Programs iine esit b aaa 4 10 BASIC Programs aiii risas 4 10 CHAPTER 5 CALIBRATION 5 555 nal 5 1 Required Equipment rete ett PIRE enses 5 3 D A Calibration NN 5 4 X2 Voltage Multiplier i a A pee 5 4 APPENDIX DA720 SPECIFICATIONS ss sisetscssncssssssstssencoteestsccsousonveastcsnenstoonsad easteadeossnsbeseueesesees A 1 APPENDIX B I O CONNECTOR PIN ASSIGNMENTS 2 1 2 B 1 APPENDIX C WARRANTY 55 aer C 1 1 1 1 2 1 3 2 1 2 2 3 1 5 1 List of Illustrations Board Layout Showing Factory Configured Settings i 1 4 AOUTI Through AOUT8 DAC Output Ranges Select
10. DA720 User s Manual 00 Real Time Devices Inc Accessing the Analog World DA720 User s Manual UI REAL TIME DEVICES INC Post Office Box 906 State College Pennsylvania 16804 Phone 814 234 8087 FAX 814 234 5218 Published by Real Time Devices Inc P O Box 906 State College PA 16804 Copyright 1993 by Real Time Devices Inc All rights reserved Printed in U S A 9329 Table of Contents INTRODUCTION e M i 1 Digital to Analog Conversioni pile Sauce e tette IO E coe eene i 3 What Comes With Your Bordo eS i 3 Board Access nles Ae ete Un i 3 Using This Manu l 2 ana n oe ete ar e AR EE ORE AERE Eee i 3 When You Need Help i re hir i AP ER ERR GIU RS su D A ERA EDI ORE i 3 CHAPTER 1 BOARD SETTINGS eoeri eoe eet erronee eo een eo siria 1 1 Factory Configured Switch and Jumper Settings essent nennen entree 1 3 Through P10 DACI Through DACS Output Range Select Factory Setting 5 to 5 Volts 1 4 51 Base Address Factory Setting 300 hex 768 decimal 1 5 CHAPTER 2 BOARD INSTALLATION eeee ee eene enne enne 2 1 Board Installatioh I
11. LOG GND AOUTA ANALOG GND AOUT5 ANALOG GND AOUT6 ANALOG GND AOUT7 ANALOG GND AOUT8 ANALOG GND o C z22222222222222 9999999999999 N C 12 VOLTS 5 VOLTS 12 VOLTS DIGITAL GND 96 OO OJO OG OO 9 969 909 0969 De 696 6969 QDS DIO 63 69 6969 6269 Fig 2 1 P2 I O Connector Pin Assignments 2 3 Connecting the Analog Outputs Voltage Outputs To connect a channel s voltage output the high side of the device receiving the output is connected to an AOUT line and the low side is connected to the corresponding ANALOG GND Figure 2 2 shows how to connect the DA720 outputs to a load 720 Il O CONNECTOR OP AMP T BUFFERS AOUT 1 LOAD PIN 2 ANALOG GND e e PIN 15 AOUT 8 LOAD PIN 16 ANALOG GND Fig 2 2 Voltage Output Connections Running the 720DIAG Diagnostics Program Now that your board is ready to use you will want to try it out An easy to use menu driven diagnostics program 720DIAG is included with your example software to help you verify your board s operation You can also use this program to make sure that your current base address setting does not contend with another device 2 4 CHAPTER 3 HARDWARE DESCRIPTION This chapter describes the features of the DA720 s D A circuit 3 1 3 2 The DA720 provides eight analog output channels with
12. TO NU aclamadas 2 3 External T O Connections ated e dec pe erbe eie e eet doses o ate 2 3 Connecting the Analog Outputs Voltage Outputs 2 4 Running the 720DIAG Diagnostics Program sse eene ener enr en nennen nennen 2 4 CHAPTER 3 HARDWARE DESCRIPTION e c esee ee ee ernst ee sten setae 3 1 D A Conversion encre m e e e Ds goed sped nee ep Aleck ene yr eee bed aee eoe 3 3 CHAPTER 4 BOARD OPERATION AND PROGRAMMING e eeeee eee ee 4 1 Defining the VO Map e th te e a i as lan sin 4 3 0 D A Converter 1 LSB Update All DACs Read Write eese eren 4 4 BA 1 D A Converter 1 MSB Write Only eene nooo nen Ene tentent ettet en reete nenne 4 4 BA r2 D A Converter 2 LSB Write Only ALARE RR EE R E AE EEG EE 4 4 BA 3 D A Converter 2 MSB Write Only i 4 4 BA 4 D A Converter 3 LSB Write Only cinan anna e aa 4 4 5 D A Converter 3 MSB Write Only 4 4 BA 6 D A Converter 4 LSB Write ONlY ieri ieri rei iii 4 4 BA 7 D A Converter 4 MSB Write Only i 4 4 8 D A Converter 5 LSB Write Only eisiaa aeaa earan tenente nennen nen teen cene 4 4 9 D A Converter 5 MSB Write Only eene 4 4 BA 10 D A Converter
13. Through P10 ii 1 5 Base Address watch ST ueteri I Ex IAA ino 1 6 PZI O Connector Pin Assignments 5c er met a ne 2 3 Voltage Output Connections ice ene eee nis diete deett ete et ette deus on RE ti 2 4 DAT20 Block Diagram ne tte HD P ars ae 3 3 Board Layout en ep t e t e iii 5 3 iii INTRODUCTION The DA720 Low Cost Industrial Control series analog output board turns your IBM PC XT AT or compatible into a high performance testing and control system Installed within a single short or full size expansion slot in the computer the DA720 board features 8 fast settling 12 bit analog output channels 5 10 0 to 5 or 0 to 10 volt analog output range e Simultaneous updating of all output channels BASIC Turbo Pascal amp Turbo C source code diagnostic program The following paragraphs briefly describe the major functions of the board More detailed discussions of board functions are included in Chapter 3 Hardware Description and Chapter 4 Board Operation and Programming The board setup is described in Chapter 1 Board Settings Digital to Analog Conversion The digital to analog D A circuitry features two 12 bit converter channels in each AD7237 D A converter IC for a total of eight output channels The two channels in each AD7237 are internally double buffered and all channels are simultaneously updated by issuing a single command Each channel can be jumpered to one of fou
14. VINGS OR OTHER DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PRODUCT SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSE QUENTIAL DAMAGES FOR CONSUMER PRODUCTS AND SOME STATES DO NOT ALLOW LIMITA TIONS ON HOW LONG AN IMPLIED WARRANTY LASTS SO THE ABOVE LIMITATIONS OR EXCLU SIONS MAY NOT APPLY TO YOU THIS WARRANTY GIVES YOU SPECIFIC LEGAL RIGHTS AND YOU MAY ALSO HAVE OTHER RIGHTS WHICH VARY FROM STATE TO STATE C 3 DA720 Board User Selected Settings Base I O Address
15. and let the board circuitry stabilize for 15 minutes before you start calibrating Required Equipment The following equipment is required for calibration Digital Multimeter 5 1 2 digits e Small Screwdriver for trimpot adjustment While not required the 720DIAG diagnostics program included with example software is helpful when performing calibrations Figure 5 1 shows the board layout with the eight trimpots located along the top edge of the board TR1 through left to right BASE ADDRESS METE si ws 77 9 E E E E E E E USA Q Accessing the Analog World 55555 e O000000 09000000 00000000 n ae 00000000 ERA x IT 5 no s 6 0 0 0 5 z nov 000000000000 08 sel N a 1 240v 000000000000 010 eni x xt n vLNOV 3 000000 1 240v x xt Naa 000000000000 RECTA ao pci 000000000000 81nOv 2 000000 D x 5 ik 0000000 8 Channel Digital Analog Converter Board passe DA720 12 Bit Resolution pem cu ci y 2200000008 lo ei 0000000000 TZ I A FA 0000000000 Ut C33 Copyright Aes Real Time Devices Inc State College PA 16804 USA i Pi Fig 5 1 Board Layout 5 3 D A Calibration X2 Voltage Multiplier The D A converter requires no ca
16. bit read of a port and inport for a 16 bit read Be sure to use only 8 bit operations with the DA720 4 6 Clearing and Setting Bits in a Port When you clear or set one or more bits in a port you must be careful that you do not change the status of the other bits You can preserve the status of all bits you do not wish to change by proper use of the AND and OR binary operators Using AND and OR single or multiple bits can be easily cleared in one operation To clear a single bit in a port AND the current value of the port with the value b where b 255 204 Example Clear bit 5 in a port Read in the current value of the port AND it with 223 223 255 2 and then write the resulting value to the port In BASIC this is programmed as V INP PortAddress AND 223 OUT PortAddress V To set a single bit in a port OR the current value of the port with the value b where b 2 Example Set bit 3 in a port Read in the current value of the port OR it with 8 8 25 and then write the resulting value to the port In Pascal this is programmed as V Port PortAddress VOR 8 Port PortAddress V Setting or clearing more than one bit at a time is accomplished just as easily To clear multiple bits in a port AND the current value of the port with the value b where b 255 the sum of the values of the bits to be cleared Note that the bits do not have to be consecutive Example Clear bits 2 4
17. ction use decimal values unless otherwise specified The DA720 is programmed by writing to and reading from the correct I O port locations on the board These I O ports were defined in the previous section Most high level languages such as BASIC Pascal C and C and of course assembly language make it very easy to read write these ports The table below shows you how to read from and write to I O ports using some popular programming languages Wie outportb Address Data Port Address Data mov dx Address mov dx Address Assembly in al dx mov al Data out dx al In addition to being able to read write the I O ports on the DA720 you must be able to perform a variety of operations that you might not normally use in your programming The table below shows you some of the operators discussed in this section with an example of how each is used with Pascal C and BASIC Note that the modulus operator is used to retrieve the least significant byte LSB of a two byte word and the integer division operator is used to retrieve the most significant byte MSB Language Modulus Integer Division AND c amp a b c a b c a b amp c a b c MOD DIV AND OR b MODc bDIVc b ANDc a b ORC a b c a bORc Many compilers have functions that can read write either 8 or 16 bits from to an I O port For example Turbo Pascal uses Port for 8 bit port operations and PortW for 16 bits Turbo C uses inportb for an 8
18. ded for all desired channels the channels are simultaneously updated by issuing the update command If a channel s data has not been updated since the last conversion the output of the DAC will not change The digital data is converted to a corresponding voltage which is present at the output until new data is loaded and another update command is issued The output voltage ranges are determined by the settings of the AOUT channel jumpers on P3 through P10 The following tables show key digital inputs and their corresponding outputs for unipolar and bipolar voltage ranges The resolution for 0 to 5 volts is 1 22 millivolts for 0 to 10 and 5 volts 2 44 millivolts and for 10 volts 4 88 millivolts D A Converter Unipolar Calibration Table Ideal Output Voltage in millivolts 4 8 D A Converter Bipolar Calibration Table D A Bit Weight 4095 Max Output 2048 1024 512 56 128 o Ideal Output Voltage in millivolts 5 V 4997 6 2500 0 3750 0 4375 0 4687 5 4843 8 4921 9 4960 9 4980 5 4990 2 4995 1 4997 6 5000 0 10 V 9995 1 0 0 5000 0 7500 0 8750 0 9375 0 9687 5 9843 8 9921 9 9960 9 9980 5 9990 2 9995 1 10000 0 Example Programs Included with the DA720 is a set of example programs that demonstrate the use of many of the board s features These examples are in written in C Pascal and BASIC Also included is an easy to use menu driven diagnostics
19. i o 0000 000000 vLNOV 3 U10 u xt faa 9LNOV 3 00000000000 u12 a x S enag ooooot 2 xt faa 8LnoV 2 LEZLOW er 000000000000 x S 0000000 DA720 8 Channel Digital Analog Converter Board pas 12 Bit Resolution Jeez ci RE Sasso zu 0000000000 00000000 0990969 0000000000 ut Copyright 01993 Real Time Devices Inc State College PA 16804 USA Ai P1 Fig 1 1 Board Layout Showing Factory Configured Settings Through P10 DAC1 Through DACS Output Range Select Factory Setting 5 to 5 Volts These identical header connectors shown in Figure 1 2 let you independently set the output of each D A converter to one of four voltage ranges ADUTI is set on P3 AOUT is set on and so on through AOUTS which is set on P10 Figure 1 2 shows all four possible configurations for these headers and the table below summarizes these settings The top pair of pins 5V is jumpered when operating in a unipolar voltage range The next pair of pins 5V is jumpered when operating in a bipolar voltage range 5 or 10 volts The and X2 pins set the range multiplier When a jumper is installed across X1 the multiplier is set at times 1 for 0 to 5 and 5 volt ranges When the jumper is installed across X2 the mu
20. ional charge provided that the product is returned shipping prepaid to REAL TIME DEVICES AII replaced parts and products become the property of REAL TIME DEVICES Before returning any product for repair customers are required to contact the factory for an RMA number THIS LIMITED WARRANTY DOES NOT EXTEND TO ANY PRODUCTS WHICH HAVE BEEN DAM AGED AS A RESULT OF ACCIDENT MISUSE ABUSE such as use of incorrect input voltages improper or insufficient ventilation failure to follow the operating instructions that are provided by REAL TIME DEVICES acts of God or other contingencies beyond the control of REAL TIME DEVICES OR AS A RESULT OF SERVICE OR MODIFICATION BY ANYONE OTHER THAN REAL TIME DEVICES EXCEPT AS EX PRESSLY SET FORTH ABOVE NO OTHER WARRANTIES ARE EXPRESSED OR IMPLIED INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE AND REAL TIME DEVICES EXPRESSLY DISCLAIMS ALL WARRANTIES NOT STATED HEREIN ALL IMPLIED WARRANTIES INCLUDING IMPLIED WARRANTIES FOR MECHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE LIMITED TO THE DURATION OF THIS WARRANTY IN THE EVENT THE PRODUCT IS NOT FREE FROM DEFECTS AS WARRANTED ABOVE THE PURCHASER S SOLE REMEDY SHALL BE REPAIR OR REPLACEMENT AS PROVIDED ABOVE UNDER NO CIRCUMSTANCES WILL REAL TIME DEVICES BE LIABLE TO THE PURCHASER OR ANY USER FOR ANY DAMAGES INCLUDING ANY INCIDENTAL OR CONSEQUENTIAL DAM AGES EXPENSES LOST PROFITS LOST SA
21. libration for the X1 ranges 0 to 5 and 5 volts The following paragraph describes the calibration procedure for the X2 multiplier ranges To calibrate for X2 0 to 10 or 10 volts set the DAC output voltage range to 0 to 10 volts jumpers on SV and X2 on the corresponding header connector which configures the DAC output for the channel you are calibrat ing Then program the D A converter of the channel you are calibrating with the digital value 2048 The ideal DAC output for 2048 at X2 0 to 10 volt range is 5 0000 volts Adjust the appropriate trimpot as listed in Table 5 1 until an output of 5 0000 volts is obtained Repeat this procedure for all channels Table 5 2 list the ideal output voltages for all bit weights in the unipolar ranges and Table 5 3 lists the ideal output voltages for the bipolar ranges Table 5 1 X2 Voltage Adjustment Table 5 2 D A Converter Unipolar Calibration Table Ideal Output Voltage in millivolts D A Bit Weight 0 to 10 V 5 4 Table 5 3 D A Converter Bipolar Calibration Table Ideal Output Voltage in millivolts D A Bit Weight 5 5 5 6 APPENDIX A DA720 SPECIFICATIONS A 2 DA720 Characteristics Typical 25 C Interface Switch selectable base address mapped D A GonVerlet ate aerea r AD7237 Analog QUIPUIS diiniita ae en Dirt ide de beet 8 channels FRESOIUTIOM gt tut dont tot O Noa Most LM 12 bits Output rariges senori iii 0 to 5 5
22. ltiplier is times 2 for 0 to 10 and 10 volt ranges The factory setting of each DAC is shown in Figure 1 2a 5 volts Output Range Jumpers OFF OFF 1 4 5 5 5 5 5 5 5 5 X1 X1 X1 X1 X2 X2 X2 X2 Fig 1 2a 5V Output Fig 1 2b 0 to 5V Output Fig 1 2 10V Output Fig 1 2d 0 to 10V Output Fig 1 2 AOUT1 Through AOUT8 DAC Output Range Select P3 Through P10 S1 Base Address Factory Setting 300 hex 768 decimal One of the most common causes of failure when you are first trying your board is address contention Some of your computer s I O space is already occupied by internal I O and other peripherals When the DA720 board attempts to use I O address locations already used by another device contention results and the board does not work To avoid this problem the DA720 has an easily accessible DIP switch S1 which lets you select any one of 32 starting addresses in the computer s I O Should the factory setting of 300 hex 768 decimal be unsuitable for your system you can select a different base address simply by setting the switches to any value shown in Table 1 2 The table shows the switch settings and their corresponding decimal and hexadecimal in parentheses values Make sure that you verify the order of the switch numbers on the switch 1 through 5 before setting them When the switches are pulled forward they are OPEN or set to logic 1 as labeled on the DIP switch package When you set
23. ograms in the software package included with your board provide enough information to properly use all of the board s features If you have any problems installing or using this board contact our Technical Support Department 814 234 8087 during regular business hours eastern standard time or eastern daylight time or send a FAX requesting assistance to 814 234 5218 When sending a FAX request please include your company s name and address your name your telephone number and a brief description of the problem CHAPTER 1 BOARD SETTINGS The DA720 board has jumper and switch settings you can change if necessary for your application The board is factory configured as listed in the table and shown on a diagram in the beginning of this chapter Should you need to change these set tings use these easy to follow instructions before you install the board in your computer Factory Configured Switch and Jumper Settings Table 1 1 lists the factory settings of the user configurable jumper and switches on the DA720 board Fig ure 1 1 shows the board layout and the locations of the factory set jumpers The following paragraphs explain how to change the factory settings Pay special attention to the setting of S1 the base address switch to avoid address contention when you first use your board in your system Table 1 1 Factory Settings Switch Factory Settings Jumper Function Controlled Jumpers Installed Configures the output voltage
24. program 720DIAG which is especially helpful when you are first checking out your board after installation Before using the software included with your board make a backup copy of the disk You may make as many backups as you need C and Pascal Programs This program is source code files so that you can easily develop your own custom software for your DA720 DAC Simple program that shows how to program the D A converters BASIC Programs This program is source code files so that you can easily develop your own custom software for your DA720 DAC Simple program that shows how to program the D A converters 4 10 CHAPTER 5 CALIBRATION This chapter tells you how to calibrate the DA720 using the 720DIAG calibration program included in the example software package and eight trimpots on the board These trimpots calibrate the D A X2 multiplier output 5 1 5 2 This chapter tells you how to calibrate the D A converter X2 voltage multiplier The X1 range does not have to be calibrated All D A ranges are factory calibrated before shipping Any time you suspect inaccurate readings you can check the accuracy of your conversions using the procedure below and make adjustments as necessary Using the 720DIAG diagnostics program is a convenient way to monitor conversions while you calibrate the board Calibration is done with the board installed in your system You can access the trimpots along the top edge of the board Power up the system
25. r output voltage ranges 5 10 0 to 5 or 0 to 10 What Comes With Your Board You receive the following items in your DA720 package DA720 interface board Software and diagnostics diskette with BASIC Turbo Pascal and Turbo C source code User s manual If any item is missing or damaged please call Real Time Devices Customer Service Department at 814 234 8087 If you require service outside the U S contact your local distributor Board Accessories In addition to the items included in your DA720 package Real Time Devices offers a full line of accessories Call your local distributor or our main office for more information about these accessories and for help in choosing the best items to support your board s application Accessories for the DA720 include the TB50 terminal board and XB50 prototype terminal board for prototype development and easy signal access and the XT50 twisted pair wire flat ribbon cable assembly for external interfac ing Using This Manual This manual is intended to help you install your new board and get it running quickly while also providing enough detail about the board and its functions so that you can enjoy maximum use of its features even in the most complex applications We assume that you already have an understanding of data acquisition principles and that you can customize the example software or write your own applications programs When You Need Help This manual and the example pr
26. the base address for your board record the value in the table inside the back cover Figure 1 3 shows the DIP switch set for a base address of 300 hex 768 decimal Table 1 2 Base Address Switch Settings S1 Base Address Switch Setting Base Address Switch Setting Decimal Hex 54321 Decimal Hex 54321 10000 10001 10010 10011 10100 10101 10110 10111 11000 656 290 912 390 11001 11010 11011 11100 11101 11110 752 2F0 01111 1008 3F0 11111 0 closed 1 open 1 5 Fig 1 3 Base Address Switch S1 CHAPTER 2 BOARD INSTALLATION The DA720 board is easy to install in your IBM PC XT AT or compatible computer This chapter tells you step by step how to install and connect the board for voltage outputs After you have installed the board and made all of your con nections you can turn your system on and run the 720DIAG board diagnostics program included on your example software disk to verify that your board is working 2 1 2 2 Board Installation Keep the board in its antistatic bag until you are ready to install it in your computer When removing it from the bag hold the board at the edges and do not touch the components or connectors Before installing the board in your computer check the jumper settings Chapter 1 reviews the factory settings and how to change them If you need to change any settings refer to the appropriate instructions in Chapter 1 Note that incompatible settings can

Download Pdf Manuals

image

Related Search

Related Contents

Gastroback 98100  332646B - Reactor E-10hp, Instructions-Parts, Spanish  User`s Manual MFB-Series SFP Fast Ethernet Module  USER MANUAL MODEL 210-P INDUSTRIAL pH  Turbomolecular Drag Pumps TMH 521 P TMU 521 P  Manual Ice - HON-00823 (PeB).indd  ACT-HDC15SPD 1 to 5 HDD Duplicator User`s Manual  Manuel d`installation  Masimo Rainbow™ SET® Pulse CO  

Copyright © All rights reserved.
Failed to retrieve file