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...
Terms and Conditions If a unit is suspected of failure, contact ACCES' Customer Service department. Be prepared to give the unit model number, serial number, and a description of the failure symptom(s). We may suggest some simple tests to confirm the failure.
16 bits. A 24-inch long cable that mates with the PAD128 on one end and has a 37-pin male sub-D connector on the other end is available as Model CAB-37PC.
The diskette/CD includes a program called FINDBASE that helps you find an unused base address to use with the card when using DOS. PAD128 supports base addresses from 100h to 3FFh. Also, there is a TSR memory-resident program required to configure the card for it to be recognized by the Card and Socket Services when using DOS.
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. Substitute the appropriate drive letter for your CD-ROM or disk drive where you see d: or a: respectively in the examples below.
PAD128 Manual To copy the files on the master diskette to your hard disk, perform the following steps. Place the master diskette into a floppy drive. Change the active drive to the drive that has the diskette installed. For example, if the...
Page 13
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 systems and still have full access to the hardware registers.
Communications TERMinal. Installing the Card The PAD128 card can be installed in any PCMCIA Type II card slot. There are no switches or jumpers to set. Everything on the PAD128 card is programmable including address and interrupt level. If you have two PCMCIA slots you can plug two PAD128 devices in the same Windows based computer.
Page 15
Caution The PAD128 must be oriented with the label side up, or "side A" in PCMCIA terms. The standard PCMCIA case is "keyed" to prevent improper insertion but may be broken off if excessive force is used during installation.
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 assignments or use the base address locator program FINDBASE provided on CD or diskette.
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 root of the installed directories) is used in Windows NT only.
Base Address + 23 8255 Control Register 8255 Control Readback Table 6-1: PAD128 Register Definition Map (HEX) Note The listed registers are a subset of the capabilities of the A/D Chip. The device is capable of threshold monitoring, extended calibration modes, differential channel selection on a pin-by-pin basis, configurable settle times per input for poor sensor types, complex FIFO functions, and much more.
Page 24
PAD128 Manual Base Address + 0 Through Base Address + E (Even), Point Setup Registers SettleTime, use 0000 CH-, use 000 The highlighted bits are the ones you will use most often, the rest can be set to 0 for normal operation.
Page 25
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 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 10 microseconds, but is not generally recommended unless speed is critical.
Page 27
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.
Page 28
PAD128 Manual D 6 / M2 D5 / M1 D 2 / M 0 Mode Mod e 0 Mod e 1 Mod e 2 Page 6-6 Manual MPAD128.D1g...
Mode 0 is the most frequently used mode of operation wherein: There are two 8-bit ports (A and B) and two unavailable 4-bit ports (C Hi and Lo). Any port can be configured as an input or an output. Outputs are latched. Inputs are not latched.
Page 30
PAD128 Manual 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.
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 individually selectable as input or output.
Page 32
PAD128 Manual 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);...
Appendix A: 8255 Data Sheet The following pages are extracted from the 8255 data sheets, and are provided for your reference. Page A-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 B-1 Manual MPAD128.D1g...
Page 38
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 include your mailing address so that we can send you any manual updates. 10623 Roselle Street, San Diego CA 92121 Tel.