background image

Manual PCI-DA12-2/4/6 

17 

The Digital I/O Control Byte sets the directions of Port A and Port B. 
 

  

Port B Input 

Port B Output 

Port A Input 

92h 

90h 

Port A Output 

82h 

80h 

 

Table 5-3:

 Digital I/O Control Byte Values 

 

BIT

 

D7  D6  D5  D4  D3 

D2 

D1  D0 

Low Byte

  B7  B6  B5  B4  B3 

B2 

B1  B0 

High Byte

  x 

B11 

B10  B9  B8 

 

Table 5-4:

 DAC Data Format 

For Unipolar ranges: For Unipolar ranges, data are in true binary form.  
  

 

XXXX  0000  0000  0000    =  Zero 

 

XXXX  1000  0000  0000    =  ½ Scale 

 

XXXX  1111  1111  1111    =  Full Scale 

 

  | 

 

|     

 

MSB or B11 

   

 

   

B0 or LSB 

 
 
For Bipolar ranges: For Bipolar ranges, data are in offset binary form.  
 

 

XXXX  0000  0000  0000    =  -Full Scale 

 

XXXX  1000  0000  0000    =  Zero 

 

XXXX  1111  1111  1111    =  +Full Scale 

 

  | 

 

|     

 

MSB or B11 

   

 

   

B0 or LSB 

 

Note

 

PPI Mode 1 cannot be used with this circuit without modification. Thus, bits D2, D5, and D6 should 
always be set to "0". If your card has been modified to operate in Mode 1, then there is an Addendum 
sheet in the front of this manual describing that modification. This circuit cannot be modified to operate in 
PPI Mode. 
 
The circuit is initialized by the computer Reset command (all ports set for input and all buffers enabled). 
Both the 8255 control register and the buffer direction latch are accessed at the same address.  
  
The 8255 control register will latch a new configuration byte when it's written to with bit D7 high. If, for 
example, hex 80 is sent to Base 23, the group 0 PPI will be configured in mode 0 with ports A, 
B, and C as outputs. 
  
At the same time, data bit D7 is also latched in the buffer controller. A high state puts the buffers in the 
tristate mode; i.e., disabled. Now, if any of the ports are to be set as outputs, you may set the values of 
the respective port with the outputs still in tristate condition. Lastly, to enable the ports a control byte with 
bit D7 low must be sent to Base 23. 

 
Note

 

All data bits except D7 must be the same for the two control bytes. Those buffers will now remain enabled 
until another control byte with data bit D7 high is sent to Base 23. 
 

Содержание PCI-DA12-16

Страница 1: ...10623 Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL PCI DA12 2 4 6 USER MANUAL FILE MPCI DA12 6 C3a ...

Страница 2: ...CES nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright 2000 2005 by ACCES I O Products Inc 10623 Roselle Street San Diego CA 92121 All rights reserved WARNING ALWAYS CONNECT AND DISCONNECT YOUR FIELD CABLING WITH THE COMPUTER POWER OFF ALWAYS TURN COMPUTER POWER OFF BEFORE INSTALLING A CARD CONNECTIN...

Страница 3: ...or parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable rates similar to those of other manufacturers in the industry Equipment Not Manufactured by ACCES Equipment provided but not manufactured by ACCES is warranted and will be repaired according to the ...

Страница 4: ...tion Selection Map 12 Figure 3 2 Field Wiring 13 Chapter 4 Address Selection 14 Chapter 5 Programming 15 Table 5 1 Register Map 16 Table 5 2 I O Address Map for the Digital I O 16 Table 5 3 Digital I O Control Byte Values 17 Table 5 4 DAC Data Format 17 Chapter 6 Software 18 Chapter 7 Calibration 19 Chapter 8 Connector Pin Assignments 21 Table 8 1 P2 Connector Pin Assignments 21 ...

Страница 5: ...dual DAC chips are used The analog outputs can be updated either independently or simultaneously The DAC outputs are undefined at power up Therefore in order to prevent excessive outputs to external circuits the card contains automatic circuits that set D A outputs to less than 15 percent of span at system power on Upon power up the card is in the Simultaneous Update mode After all DACs have been ...

Страница 6: ...y LSB Monotonicity 12 bits over operating temperature range Settling Time 8 usec to one LSB for full scale step input Linearity LSB integral non linearity over rated temperature range Gain Stability 15 ppm C Output Drive Capability 5mA maximum Short Circuit Current 25 mA maximum Output Resistance Less than 0 1 Ω Data Format 12 bit binary right justified and offset binary for bipolar outputs Digita...

Страница 7: ...idity 5 to 95 non condensing External DAC Reference input 4 5V to 5 5V 5V Source output 0 to 500 mA fused resetting 12V Source output 0 to 500 mA fused resetting Size 6 long 152 mm Power Required 5 VDC at 250 mA typical with all digital outputs at high impedance 12 VDC at 116 mA maximum 6 channels 12 VDC at 56 mA maximum ...

Страница 8: ...Manual PCI DA12 2 4 6 8 Figure 1 1 Block Diagram ...

Страница 9: ...mation on installing under Linux Installing from CD Perform the following steps as appropriate for your operating system Substitute the appropriate drive letter for your drive where you see D in the examples below Windows 1 Place the CD into your CD ROM drive 2 The system should automatically run the install program If the install program does not run promptly click START RUN and type d install cl...

Страница 10: ...rd depending on the operating system and automatically finish installing the drivers 9 Run PCIfind exe to complete installing the card into the registry for Windows only and to determine the assigned resources 10 Run one of the provided sample programs that was copied to the newly created card directory from the CD to test and validate your installation The base address assigned by BIOS or the ope...

Страница 11: ... 5 0 to 2 5V OFF OFF ON Set in Position V 0 to 5V OFF OFF OFF 0 to 10V OFF ON OFF 2 5V to 2 5V ON OFF ON 5V to 5V ON OFF OFF 10V to 10V ON ON OFF Current Range S1 S2 S3 OUT 0 5 4 mA to 20 mA OFF OFF OFF Position I Analog Output Update Analog outputs are updated under program control in either one of two ways a Automatic Update Each channel is updated individually when new data are written to the r...

Страница 12: ...Manual PCI DA12 2 4 6 12 S5 V P2 OUT 5 OUT 3 OUT 1 OUT 4 OUT 2 OUT 0 S3 S1 S6 I S4 S2 Figure 3 1 Option Selection Map ...

Страница 13: ...urrent Output R Load Excitation Voltage 8 36 V maximum Observe Polarity Ground Voltage Output DAC Analog Voltage Output R Load CARD APPLICATION 5mA maximum Figure 3 2 Field Wiring Caution Do not connect current loops in a DAC that is set to voltage mode The loop supply can destroy the DAC ...

Страница 14: ...vided This utility will display a list of all of the cards detected on the PCI bus the addresses assigned to each function on each of the cards and the respective IRQs Alternately some operating systems can be queried to determine which resources were assigned In these operating systems you can use either PCIFind or the Device Manager utility from the System Properties Applet of the control panel ...

Страница 15: ...nded via a read from Base Address 8 Alternatively a read of Base Address A will update the DAC registers and switch the board to Automatic Update Mode While in Simultaneous Update Mode a single read will load all DAC registers with the value waiting in the pre load registers causing all outputs to be updated and changed simultaneously Automatic Update Mode is the configuration that changes a DAC o...

Страница 16: ...s and release card from Simultaneous Mode Base B DAC 5 High Byte Base C Base D Base E Restrict Output Voltage Limits outputs to 15 of full scale range Base F Clear Restrict Output Voltage Allows full operating output voltage Although it is possible to write the low and high bytes separately as shown above it is much easier to write both bytes with a single OUT DX AX instruction In that case only e...

Страница 17: ...he front of this manual describing that modification This circuit cannot be modified to operate in PPI Mode The circuit is initialized by the computer Reset command all ports set for input and all buffers enabled Both the 8255 control register and the buffer direction latch are accessed at the same address The 8255 control register will latch a new configuration byte when it s written to with bit ...

Страница 18: ...it resolution a corresponding decimal number N between 0 and 4095 is calculated 2 12 4096 N 4096 V out V full scale Next the data are written to the selected analog output channel See the preceding I O Address Map In this example we will assume analog output on channel zero AO 0 outport BASE 0 N For simplicity it was assumed that the simultaneous update capability was not used Examples of this rou...

Страница 19: ...e equation above for each channel at each possible range 0 6 These constants are used during normal operation to calibrate the output data in real time Refer to the samples provided on disk for an example of using this data In addition to a and b as shown above the EEPROM contains a table of ranges assigned to each channel Starting at Base F0 6 base addresses contain one byte each from 0 6 indicat...

Страница 20: ...asiest method of ensuring the table remains accurate Byte Address Channel Value Range Base F0h Channel 0 0 0 5V Base F1h Channel 1 1 0 2 5V Base F2h Channel 2 2 0 10V Base F3h Channel 3 3 5 5V Base F4h Channel 4 4 2 5 2 5V Base F5h Channel 5 5 10 10V 6 4 to 20mA Note that the analog reference voltage available on the connector at pin 29 is 5 1V This is 2 higher than the typical value of 5V to allo...

Страница 21: ... 7 Digital I O Port B Bit 3 26 5V fused 8 Digital I O Port B Bit 2 27 12V fused 9 Digital I O Port B Bit 1 28 Analog Reference Input 10 Digital I O Port B Bit 0 29 Analog Reference Output 11 Ground 30 Digital I O Port A Bit 7 12 Analog DAC 3 Output 31 Digital I O Port A Bit 6 13 Ground 32 Digital I O Port A Bit 5 14 Analog DAC 2 Output 33 Digital I O Port A Bit 4 15 Ground 34 Digital I O Port A Bi...

Страница 22: ... manual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find and include your mailing address so that we can send you any manual updates 10623 Roselle Street San Diego CA 92121 Tel 858 550 9559 FAX 858 550 7322 www accesio com ...

Отзывы: