background image

PAD128 Manual

Page 6-2

Manual MPAD128.D1g

Base A 0 Through Base A E (Even), Point Setup

Registers

DF

DE

DD

DC

DB

DA

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

SettleTime, use 0000

0

0

ti

m

e

r

0

CH-, use 000

CH+

p

a

u

se

lo

o

p

The highlighted bits are the ones you will use most often, the rest can be set to 0 for
normal operation.

These eight word-sized registers contain the list of channels from which you wish to
acquire data.  The list is an ordered array of contiguous points, where the first entry (at
base+0) indicates the first channel you wish to acquire.  The second entry (at base+2)
through the eighth entry (Base+E) are optional and indicate further channels you wish
to acquire in the order you wish to acquire them.  No registers may be skipped.  For
example, if you wish to acquire channels 1 and 5, the entries would be set in Base+0 and
Base+2, not base+4 and Base+A.

The last channel's entry should have the loop bit (D0) set to allow the A/D to start over
at the beginning of the list.

Bits DF through DC, SettleTime, are optional, use 0000 for most input sources.  If a
larger settle time is desired, for example for source impedances (R) greater than 100
ohms, the following equation will calculate the necessary setting for these bits (D):

D = 3.33 x R (round up to nearest integer)

Bits DB, DA and D8 are reserved for advanced functions.  Refer to the LM12H458 chip
specification for more information.

Bit D9 is the timer bit.  When bit 9 is set to 1, the A/D chip will halt until the duration
programmed in Base + 16 elapses.  After the timeout elapses, operation will continue
at the next point.

Bits D7 through D5, CH-, select the low-side analog input channel.  For single-ended
use, set these bits to 000.  Any other setting configures the point for differential, where
the values 001 through 111 indicate which channel (1-7) is to be used for the low side
of the differential analog input.  

Bits D4 through D2, CH+,  indicate the high-side analog input channel.  For most
applications place a bit pattern from 000 to 111 to indicate which channel (0-7) you
want this point to acquire.  When CH- is set to anything other than 000, CH+ selects the
high side of the differential analog input channel.

Содержание PAD128

Страница 1: ...ACCES I O PRODUCTS INC 10623 Roselle Street San Diego CA 92121 TEL 858 550 9559 FAX 858 550 7322 MODEL PAD128 USER MANUAL FILE MPAD128 D1g...

Страница 2: ...Page ii...

Страница 3: ...tain or reference information and products protected by copyrights or patents and does not convey any license under the patent rights of ACCES nor the rights of others IBM PC PC XT and PC AT are regis...

Страница 4: ...not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provideon site or in plant service at reasonable rates si...

Страница 5: ...cations 1 2 Regulatory Compliance 1 3 Chapter 2 Installation 2 1 CD Installation 2 1 3 5 Inch Diskette Installation 2 1 Directories Created on the Hard Disk 2 2 Installing the Card 2 4 Chapter 3 Cable...

Страница 6: ...Page vi List of Figures Figure 1 1 PAD128 Block Diagram 1 4 List of Tables Table 4 1 Standard Address Assignments for 286 386 486 Computers 4 1 Table 6 1 PAD128 Register Definition Map HEX 6 1...

Страница 7: ...l inputs Or you could have two single ended inputs and three differential inputs If you are using differential inputs you must use channels with the same full scale range In the standard card there ar...

Страница 8: ...the card slot drive these services are normally provided by Windows The diskette CD includes a program called FINDBASE that helps you find an unused base address to use with the card when using DOS P...

Страница 9: ...es depending on range from 1 LSB for 10V range to 2 LSB on the 0 100mV range Digital Input Output Inputs Logic High 2 0 to 5 0 VDC Logic Low 0 3 to 0 8 VDC Input Load high 3 2 A Input Load low 250 A O...

Страница 10: ...PAD128 Manual Page 1 4 Manual MPAD128 D1g Figure 1 1 PAD128 Block Diagram...

Страница 11: ...mpts to install the software for this card WIN95 98 NT 2000 1 Place the CD into your CD ROM drive 2 The CD should automatically runthe install programafter 30 seconds If the install program does not r...

Страница 12: ...E that contains C samples Win32 language Subdirectories containing samples for Win95 98 and NT WinRISC exe A Windows dumb terminal type communication program designed for RS422 485 operation Used prim...

Страница 13: ...programs in DOS PCIFind exe A utility for DOS and Windows to determine what base addresses and IRQs are allocated to installed PCI cards This program runs two versions depending on the operating syste...

Страница 14: ...jumpers to set Everything on the PAD128 card is programmable including address and interrupt level If you havetwo PCMCIA slots you canplug two PAD128 devices inthe same Windows based computer DOS or...

Страница 15: ...key named Industrial Computer Source then add a new subkey to the Industrial Computer Source key you just created named PAD128 In the PAD128 key add a new string with the name Driver and the value pad...

Страница 16: ...PAD128 Manual Page 2 6 Manual MPAD128 D1g...

Страница 17: ...7 Digital I O 14 7 8 Digital I O 13 8 9 Digital I O 12 9 10 Digital I O 11 10 11 Digital I O 10 11 12 Digital I O 9 12 13 Digital I O 8 13 14 Digital I O 0 14 15 Digital I O 1 15 16 Digital I O 2 16 1...

Страница 18: ...PAD128 Manual Page 3 2 Manual MPAD128 D1g...

Страница 19: ...ng systems you can skip this chapter Hex Range Usage 000 01F DMA Controller 1 020 03F INT Controller 1 Master 040 05F Timer 060 06F 8042 Keyboard 070 07F Real Time Clock NMI Mask 080 09F DMA Page Regi...

Страница 20: ...PAD128 Manual Page 4 2 Manual MPAD128 D1g...

Страница 21: ...try required to allow NT to detect and install the card correctly This program need only be executed once per system Sample Programs The sample programs are in forms suitable for use with DOS Borland...

Страница 22: ...PAD128 Manual Page 5 2 Manual MPAD128 D1g...

Страница 23: ...D Point Readback Base Address C A D Point Setup A D Point Readback Base Address E A D Point Setup A D Point Readback Base Address 10 A D Control A D Control Readback Base Address 14 advanced features...

Страница 24: ...ts DF through DC SettleTime are optional use 0000 for most input sources If a larger settle time is desired for example for source impedances R greater than 100 ohms the following equation will calcul...

Страница 25: ...nts Bit DB Diag places the chip in diagnostic mode In this mode the channel numbers take on special meaning allowing readback of various reference and ground voltages When Diag is set CH set to 000 se...

Страница 26: ...DD DC DB DA D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 number of conversions in FIFO point being acquired used for advanced functions Bits DF through DB indicate how many points of data are in the FIFO It is impor...

Страница 27: ...DIO2 DIO1 DIO0 This port contains DIO0 through DIO7 s control and status bits Base Address 21 Digital I O 8255 Port B D7 D6 D5 D4 D3 D2 D1 D0 DIO15 DIO14 DIO13 DIO12 DIO11 DIO10 DIO9 DIO8 This port c...

Страница 28: ...PAD128 Manual Page 6 6 Manual MPAD128 D1g D6 M2 D5 M1 D2 M0 Mode X 0 0 Mode 0 X 1 1 Mode 1 1 X X Mode 2...

Страница 29: ...reading these instructions The first step every time you use the card is to initialize it This five step process is as follows Reset the Card and Point List Index Base 10 bit 1 Calibrate the Card Bas...

Страница 30: ...above with no Pause bits and set Loop on the last point Start a Conversion Base 10 bit 0 Wait for FIFO full Base 14 bits F B Read the Data Base 18 Loop to Wait for FIFO full Wait for FIFO Full is a lo...

Страница 31: ...orts that are available at the connector are controlled through the 8255 device located at Base 20 through Base 23 Programming Example The following example in C is provided as a guide to assist you i...

Страница 32: ...se 0x2D0 outportb Base 0x98 To read the inputs at Port A use the C inportb command X inportb Base Read Port A To set outputs high 1 at Port B outportb Base 1 0xff Turn on all Port B bits Each time the...

Страница 33: ...Page 6 11 Manual MPAD128 D1g...

Страница 34: ...Page A 1 Manual MPAD128 D1g Appendix A 8255 Data Sheet The following pages are extracted from the 8255 data sheets and are provided for your reference...

Страница 35: ...PAD128 Manual Page A 2 Manual MPAD128 D1g...

Страница 36: ...nual MPAD128 D1g Appendix B LM12H458 Data Sheet The following pages are extracted from the LM12H458 Data Sheet and are provided for your reference Reprinted with permission of National Semiconductor C...

Страница 37: ...PAD128 Manual Page B 2 Manual MPAD128 D1g...

Страница 38: ...ccesioproducts com Customer Comments If you experience any problems with this manual or just want to give us some feedback please email us at manuals accesioproducts com Please detail any errors you f...

Страница 39: ...PAD128 Manual Page B 4 Manual MPAD128 D1g...

Отзывы: