Acces PAD128 User Manual

Summary of PAD128

  • Page 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.

  • Page 2

    Page ii.

  • Page 3

    Page iii notice the information in this document is provided for reference only. Acces does not assume any liability arising out of the application or use of the information or products described herein. This document may contain or reference information and products protected by copyrights or paten...

  • Page 4

    Page iv warranty prior to shipment, acces equipment is thoroughly inspected and tested to applicable specifications. However, should equipment failure occur, acces assures its customers that prompt service and support will be available. All equipment originally manufactured by acces which is found t...

  • Page 5

    Page v table of contents notice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Iii warranty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Iv foreword ....

  • Page 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 ...

  • Page 7: Chapter 1: Introduction

    Page 1-1 manual mpad128.D1g chapter 1: introduction features • type ii pcmcia card. • 12-bit analog-to-digital converter. • up to eight analog inputs. • 32 sample fifo buffer. • two 8-bit digital i/o ports. Description model pad128 is a type ii pcmcia card (pc card). It performs data acquisition on ...

  • Page 8

    Pad128 manual page 1-2 manual mpad128.D1g digital input/output the pad128 also has capability for 16 digital input/output bits that can be programmed as inputs or outputs on a groups-of-eight basis. This function is based on the industry-standard type 8255 programmable peripheral interface and the a...

  • Page 9

    Page 1-3 manual mpad128.D1g a/d converter accuracy • common mode rejection ratio (diff'l inputs): 75 db at power line frequency (20 khz sample rate). • full-scale error (after auto-cal): ±½ lsb typical, ±2 lsb max. • integral linearity (after auto-cal): ±½ lsb typical, ±1 lsb max. • resolution: 12 b...

  • Page 10

    Pad128 manual page 1-4 manual mpad128.D1g figure 1-1: pad128 block diagram.

  • Page 11: Chapter 2:  Installation

    Page 2-1 manual mpad128.D1g chapter 2: installation the software provided with this card is contained on either one cd or multiple diskettes and must be installed onto your hard disk prior to use. To do this, perform the following steps as appropriate for your software format and operating system. S...

  • Page 12

    Pad128 manual page 2-2 manual mpad128.D1g to copy the files on the master diskette to your hard disk, perform the following steps. 1. Place the master diskette into a floppy drive. 2. Change the active drive to the drive that has the diskette installed. For example, if the diskette is in drive a, ty...

  • Page 13

    Page 2-3 manual mpad128.D1g samples samples for using acces32.Dll are provided in this directory. Using this dll not only makes the hardware programming easier (much easier), but also one source file can be used for both windows 95/98 and windowsnt. One executable can run under both operating system...

  • Page 14

    Pad128 manual page 2-4 manual mpad128.D1g findbase.Exe dos utility to determine an available base address for isa bus , non-plug-n-play cards. Run this program once, before the hardware is installed in the computer, to determine an available address to give the card. Once the address has been determ...

  • Page 15

    Page 2-5 manual mpad128.D1g windows nt 4.0 installation windows nt 4.0 is not a plug-and-play operating system, so getting the card to work properly requires a few extra steps. After physically installing the pad128 card into the slot, run the "setup.Exe" program included in the software package. Th...

  • Page 16

    Pad128 manual page 2-6 manual mpad128.D1g.

  • Page 17

    Page 3-1 manual mpad128.D1g chapter 3: cable connections the pad128 requires our cab-37pc cable to provide the transition from the microminiature 32-pin pcmcia connector to a standard 37-pin d subminiature connector. The 37-pin connector is equipped with 4-40 thumb screws to provide strain relief. P...

  • Page 18

    Pad128 manual page 3-2 manual mpad128.D1g.

  • Page 19

    Page 4-1 manual mpad128.D1g chapter 4: address selection when using dos, the pad128 address can be selected anywhere within an i/o address range 100-3ff hex, providing that the addresses do not overlap with other functions. If in doubt, refer to the table below for a list of standard address assignm...

  • Page 20

    Pad128 manual page 4-2 manual mpad128.D1g.

  • Page 21: Chapter 5:  Software

    Page 5-1 manual mpad128.D1g chapter 5: software several programs are provided to support the pad128 analog input card, and, also, to help you to develop your application programs. These programs are on a cd or floppy that comes with your board. Setup program the setup program (ntsetup.Exe in the roo...

  • Page 22

    Pad128 manual page 5-2 manual mpad128.D1g.

  • Page 23: Chapter 6:  Programming

    Page 6-1 manual mpad128.D1g chapter 6: programming port addresses and functions all i/o accesses may be performed with byte- or word-sized reads and writes. The registers related to the a/d functions are usually accessed with words, and the digital functions are accessed by either bytes or words, de...

  • Page 24

    Pad128 manual page 6-2 manual mpad128.D1g base address + 0 through base address + 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 c...

  • Page 25

    Page 6-3 manual mpad128.D1g bit d1 is a pause bit. If this bit is set on a point, the chip will stop acquiring points after finishing that point. It will set the start bit (d0 of base+10) to 0. Restart at the next point by setting the start bit to 1. Bit d0, loop, is set on the last point you set up...

  • Page 26

    Pad128 manual page 6-4 manual mpad128.D1g corrects for gain errors. This is the recommended calibration method and should be performed once during initialization of the board each time a process is started. Bit d2, zero, performs only a simple offset correction calculation. This process takes about ...

  • Page 27

    Page 6-5 manual mpad128.D1g for example, if the point list held channels 3, 5,and 7, bits df-dd for channel 3 would hold 000, for channel 5 would hold 001, and for channel 7 would hold 010. If sign mode is set, bits df-dd are the sign-extension of the data, and hold the same value as bit dc. Bit dc ...

  • Page 28

    Pad128 manual page 6-6 manual mpad128.D1g d 6 / m 2 d 5 / m 1 d 2 / m 0 mode x 0 0 mod e 0 x 1 1 mod e 1 1 x x mod e 2.

  • Page 29

    Page 6-7 manual mpad128.D1g mode 0 is the most frequently used mode of operation wherein: a. There are two 8-bit ports (a and b) and two unavailable 4-bit ports (c hi and lo). B. Any port can be configured as an input or an output. C. Outputs are latched. D. Inputs are not latched. Mode 1 is used fo...

  • Page 30

    Pad128 manual page 6-8 manual mpad128.D1g non-fifo polling this is something of a misnomer, as the fifo is always enabled. Basically, we will only be using the fifo as if it were a single sample deep. That is, each time a data value goes in, it will be read out. Initialize the card as above, with pa...

  • Page 31

    Page 6-9 manual mpad128.D1g digital i/o the pad128 comes with both analog inputs and digital i/o. Digital bits are provided through an industry standard 8255 ppi chip. The 8255 is a powerful and flexible solution to many digital needs, providing two eight-bit ports and two four-bit ports individuall...

  • Page 32

    Pad128 manual page 6-10 manual mpad128.D1g this corresponds to 98 hex. If the card base address is 2d0 hex, use the c command to write to the control register as follows: base=0x2d0; outportb(base, 0x98); to read the inputs at port a use the c inportb command: x=inportb(base); //read port a to set o...

  • Page 33

    Page 6-11 manual mpad128.D1g.

  • Page 34: Appendix A: 8255 Data Sheet

    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..

  • Page 35

    Pad128 manual page a-2 manual mpad128.D1g.

  • Page 36

    Page b-1 manual 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 corporation..

  • Page 37

    Pad128 manual page b-2 manual mpad128.D1g.

  • Page 38: Customer Comments

    10623 roselle street, san diego ca 92121 tel. (858)550-9559 fax (858)550-7322 www.Accesioproducts.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 find and inclu...

  • Page 39

    Pad128 manual page b-4 manual mpad128.D1g.