Acces PAD128 User manual

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 ii

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 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 registered trademarks of the International Business Machines Corporation.
Printed in USA.
© Copyright 2001 by ACCES I/O Products Inc, 10623 Roselle Street, San Diego, CA 92121. All rights reserved.
U.S. Patent No.s 4,603,320 and 4,972,470.

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 to be defective will be
repaired or replaced subject to the following considerations.
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. We will assign a Return Material Authorization (RMA) number which must
appear on theouter label of the return package. All units/componentsshould be properly packed for handling
and returned with freight prepaid to the ACCES designated Service Center, and will be returned to the
customer's/user's site freight prepaid and invoiced.
Coverage
First Three Years: Returned unit/part will be repaired and/or replaced at ACCES option with no charge for
labor 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
terms and conditions of the respective equipment manufacturer's warranty.
General
Under this Warranty, liability of ACCES is limited to replacing, repairing or issuing credit (at ACCES
discretion) for any products which are proved to be defective during the warranty period. In no case is
ACCES liable for consequential or special damage arriving from use or misuse of our product. The
customer is responsible for all charges caused by modifications or additions to ACCES equipment not
approved in writing by ACCES or, if in ACCES opinion the equipment has been subjected to abnormal use.
"Abnormal use" for purposes of this warranty is defined as any use to which the equipment is exposed other
than that use specified or intended as evidenced by purchase or sales representation. Other than the above,
no other warranty, expressed or implied, shall apply to any and all such equipment furnished or sold by
ACCES.

Page v
Table of Contents
Notice ..............................................................iii
Warranty ...........................................................iv
FOREWORD ........................................................iii
Guarantee ..........................................................iv
Limited Warranty ....................................................iv
Return Procedure .................................................... v
Limitation of Liability ................................................. v
Advisories ..........................................................vi
Chapter 1: Introduction ..............................................1-1
Description ........................................................... 1-1
Data Acquisition ....................................................... 1-1
Digital Input/Output ..................................................... 1-1
Special Functions ...................................................... 1-2
Utility Software ........................................................ 1-2
Specifications ......................................................... 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 Connections ........................................3-1
Chapter 4: Address Selection .........................................4-1
Chapter 5: Software .................................................5-1
Setup Program ........................................................ 5-1
Sample Programs ...................................................... 5-1
Chapter 6: Programming .............................................6-1
Port Addresses and Functions ............................................ 6-1
Analog Inputs ......................................................... 6-6
Digital I/O ............................................................ 6-8
Programming Example .................................................. 6-8
Appendix A: 8255 Data Sheet ........................................ A-1
Appendix B: LM12H458 Data Sheet ................................... B-1

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

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 up to eight
analog inputs and provides parallel digital input/output capability for up to 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.
Data Acquisition
The analog-inputconfiguration is software controlled on a channel-by-channel basis and you can
have any combination of single-ended and differential inputs that adds up to eight pins. For
example, you could have two single-ended inputs referred to one ground and four other single-ended
inputs that are referred to another ground. Or you could have four differential 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 are four ranges.
Therefore, you would have to pair channels 0 and 1, 2 and 3, 4 and 5, and 6 and 7. The same rule
holds true if you use any of the inputs as a ground reference for another input. The signal input and
its ground should use channels with the same full-scale range. If you are planning to refer multiple
channels to a particular non-card ground, you should consult the factory for a special version of the
card that has enough channels of the same range to accommodate the total number of inputs and the
ground.
The analog-to-digital converter provides 12-bit resolution. Overall throughput rate is 129,000
Samples/second. Conversions are normally initiated by a programmable on-card pacer clock. The
A/D converter has self-calibration capability (to eliminate linearity and zero-drift errors) and a
32-sample FIFO buffer. The buffer allows accumulation of data while the computer is servicing
other requests.

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 and B ports are available for use.
Special Functions
Control logic in the PAD128 uses a programmable array and special functions can be factory
programmed. If you have need for special functions such as external synchronization give us a call.
Utility Software
Programs on 3½" diskette or CD-ROM are included with the PAD128. These programs are based
on the assumption that the PCMCIA Card and Socket Services have been loaded on the host
computer to provide the software interface to 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. 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.
Sample programs in 6 languages (Borland C 3.5, Turbo Pascal 7.0, C++Builder 3, Delphi 4.0, Visual
C++ 5.0, and Visual BASIC 5.0) are provided.
Specifications
Data Acquisition
•Analog Inputs: As many as eight single-ended inputs, or four differential inputs, or a
mixture of both but not to exceed use of eight input pins. (See the
limitation on pairing mentioned in the Data Acquisition section.)
•Input Voltage Range: Ch 0 and 1: ± 10V; Ch 2 and 3: ± 5V; Ch 4 and 5: 0-5V;
Ch 6 and 7: 0-0.1V .
Note
These are the default ranges. If your card has been modified, there will be an addendum sheet in the
front of the manual.

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 bits.
•Maximum Throughput Rate: 129K Samples/Sec.
System Accuracy
•Gain accuracy of each range is ± 2 % of reading
•Uncertainty in reading (noise) varies 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.
Outputs
•Logic High: 2.5 VDC min., source 200 :A.
•Logic Low: 0.5 VDC max., sink 1.7 mA.
Environmental
•Operating Temperature Range: 0 °C. to 60 °C.
•Storage Temperature Range: -50 °C. to +120 °C.
•Humidity: 5% to 95% RH, non-condensing.
•Power Required: Operating: +5 VDC @ 47 mA typical, 65 mA max.
•Form Factor: PCMCIA type II.
Regulatory Compliance
CE Compliance: Testing not completed at print time. Please check with us for certification status.

PAD128 Manual
Page 1-4 Manual MPAD128.D1g
Figure 1-1: PAD128 Block Diagram

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. Substitute the appropriate drive letter for your
CD-ROM or disk drive where you see d: or a: respectively in the examples below.
CD Installation
DOS/WIN3.x
1. Place the CD into your CD-ROM drive.
2. Type d:K to change the active drive to the CD-ROM drive.
3. Type installK to run the install program.
4. Follow the on-screen prompts 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 run the install program after 30 seconds. If the install program
does not run, click START | RUN and type d:install, click OK or press K.
3. Follow the on-screen prompts to install the software for this card.
3.5-Inch Diskette Installation
As with any software package, you should make backup copies for everyday use and store your
original master diskettes in a safe location. The easiest way to make a backup copy is to use the DOS
DISKCOPY utility.
In a single-drive system, the command is:
diskcopy a: a:K
You will need to swap disks as requested by the system.
In a two-disk system, the command is:
diskcopy a: b:K
This will copy the contents of the master disk in drive A to the backup disk in drive B.

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, type a:K.
3. Type installK and follow the on-screen prompts.
Directories Created on the Hard Disk
The installation process will create several directories on your hard disk. If you accept the
installation defaults, the following structure will exist.
[CARDNAME]
Root or base directory containing the SETUP.EXE setup program used to help you configure
jumpers and calibrate the card.
DOS\PSAMPLES: A subdirectory of [CARDNAME] that contains Pascal samples.
DOS\CSAMPLES: A subdirectory of [CARDNAME] that contains "C" samples.
Win32\language: Subdirectories containing samples for Win95/98 and NT.
WinRISC.exe
AWindows dumb-terminal type communication program designed for RS422/485 operation.
Used primarily with Remote Data Acquisition Pods and our RS422/485 serial communication
product line. Can be used to say hello to an installed modem.
ACCES32
This directory contains the Windows 95/98/NT driver used to provide access to the hardware
registers when writing 32-bit Windows software. Several samples are provided in a variety of
languages to demonstrate how to use this driver. The DLL provides four functions (InPortB,
OutPortB, InPort, and OutPort) to access the hardware.
This directory also contains the device driver for Windows NT, ACCESNT.SYS. This device driver
provides register-level hardware access in Windows NT. Two methods of using the driver are
available,through ACCES32.DLL (recommended) and through the DeviceIOControl handles
provided by ACCESNT.SYS (slightly faster).

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
systems and still have full access to the hardware registers. The DLL is used exactly like any
other DLL, so it is compatible with any language capable of using 32-bit DLLs. Consult the
manuals provided with your language's compiler for information on using DLLs in your specific
environment.
VBACCES
This directory contains sixteen-bit DLL drivers for use with VisualBASIC 3.0 and Windows 3.1
only. These drivers provide four functions, similar to the ACCES32.DLL. However, this DLL is
only compatible with 16-bit executables. Migration from 16-bit to 32-bit is simplified because of
the similarity between VBACCES and ACCES32.
PCI
This directory contains PCI-bus specific programs and information. If you are not using a PCI card,
this directory will not be installed.
SOURCE
Autility program is provided with source code you can use to determine allocated resources at
run-time from your own programs in DOS.
PCIFind.exe
Autility 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 system. Windows
95/98/NT displays a GUI interface, and modifies the registry. When run from DOS or Windows3.x,
atext interface is used. For information about the format of the registry key, consult the
card-specific samples provided with the hardware. In Windows NT, NTioPCI.SYS runs each time
the computer is booted, thereby refreshing the registry as PCI hardware is added or removed. In
Windows 95/98/NT PCIFind.EXE places itself in the boot-sequence of the OS to refresh the registry
on each power-up.
This program also provides some COM configuration when used with PCI COM ports. Specifically,
it will configure compatible COM cards for IRQ sharing and multiple port issues.
WIN32IRQ
This directory provides a generic interface for IRQ handling in Windows 95/98/NT. Source code
is provided for the driver, greatly simplifying the creation of custom drivers for specific needs.
Samples are provided to demonstrate the use of the generic driver. Note that the use of IRQs in
near-real-time data acquisition programs requires multi-threaded application programming
techniques and must be considered an intermediate to advanced programming topic. Delphi, C++
Builder, and Visual C++ samples are provided.

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 determined, run the setup program provided with the
hardware to see instructions on setting the address switch and various option selections.
Poly.exe
Ageneric utility to convert a table of data into an nth order polynomial. Useful for calculating
linearization polynomial coefficients for thermocouples and other non-linear sensors.
Risc.bat
A batch file demonstrating the command line parameters of RISCTerm.exe.
RISCTerm.exe
Adumb-terminal type communication program designed for RS422/485 operation. Used primarily
with Remote Data Acquisition Pods and our RS422/485 serial communication product line. Can be
used to say hello to an installed modem. RISCTerm stands for Really Incredibly Simple
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.
DOS or Windows 3.x Installation
You must have installed the Card & Socket Services (CSS) software that was provided with your
PCMCIA-capable computer. For complete installation instructions refer to "readme.txt" in your
PAD128 software directory.
DOS 'Plug N Play' or SuperClient Installation
The SuperClient uses the PAD128 internal CIS (configuration information) to configure thecard and
prepare the system for use. Consult the SuperClient documentation provided with your computer of
PC-Card adapter to determine the installation procedure.
Windows 9x/ME/NT 2000 Installation
Windows 9x/ME/NT 2000 will automatically recognize the installation of the PCMCIA card and
provide a list of options to install the card. Select the option "Driver from disk provided by hardware
manufacturer" and select the CD or floppy which will install support for the card. Windows
9x/ME/NT 2000 reads the INF file from the root directory of the CD or floppy to determine how to
install the card. Depending on options selected in the Windows PCMCIA drivers, you may hear a
"rising" two-note tone upon successful installation and a new PCMCIA icon in the taskbar tray.

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. This program will create an entry in the
Windows NT PCMCIA Registry Database, allowing Windows NT 4.0 to recognize the PAD128.
After running "Setup.exe," the system must be rebooted for the changes to take effect. The device
should then show up in the "PC Card (PCMCIA)" Control Panel where its resource assignments can
be found.
Although manual modification of the Registry should not be necessary, the steps necessary to
duplicate the actions performed by "Setup.exe" are documented here for informational purposes.
After starting Regedit, navigate to the following key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Pcmcia\Database
Add a new subkey 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 "pad128." This completes the modifications necessary for
Windows NT 4.0 to recognize the PAD128 card. The system must then be rebooted for the changes
to take effect. Please note: even though a driver name is provided here in the registry, no driver is
needed or used.
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.
Do Not Force the PAD128 Card into the Slot.
Install the card with the label facing "up" or towards side "A", but you should check with your
systems owners manual. When correctly oriented, the PAD128 card should seat in the slot with little
pressure. Force the PAD128 card in upside down and you will probably burn out components as well
as destroy the key slot.
Once the card is inserted, you may then run the Sample software to confirm operation of your
PAD128 card.

PAD128 Manual
Page 2-6 Manual MPAD128.D1g

Page 3-1
Manual MPAD128.D1g
Chapter 3: Cable Connections
The PAD128 requires our CAB-37PC cable to provide the transition from the microminiature32-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.
PAD128 Connector ..................................... CAB-37PC Cable
Pin Description .......................................... DB-37F Pin
1. Reserved .................................................... 1
2. Reserved .................................................... 2
3. Reserved .................................................... 3
4. Reserved .................................................... 4
5. Reserved .....................................................5
6. Digital I/O 15 .................................................6
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
17. Digital I/O 3 .................................................17
18. Digital I/O 4 .................................................18
19. Digital I/O 5 .................................................19
20. Digital I/O 6 .................................................20
21. Digital I/O 7 .................................................21
22. Ground .....................................................22
23. Analog Input 7 (0-0.1V) .......................................23
24. Analog Input 6 (0-0.1V) .......................................24
25. Analog Input 5 (0-5V) .........................................25
26. Analog Input 4 (0-5V) .........................................26
27. Analog Input 3 (± 5V) .........................................27
28. Analog Input 2 (± 5V) .........................................28
29. Analog Input 1 (± 10V) ........................................29
30. Analog Input 0 (± 10V) ........................................30
31. Ground .....................................................31
32. Not used ....................................................32
Analog Input 5 (0-5V) .........................................33
Not connected ...............................................34
Not connected ...............................................35
Not connected ...............................................36
Not connected ...............................................37

PAD128 Manual
Page 3-2 Manual MPAD128.D1g

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 assignments or use the
base address locator program FINDBASE provided on CD or diskette. It will assist you
to avoid an address conflict.
Windows 95, 98, and NT will select an appropriate base address for you. Windows will
most likely put the card at one of the following addresses: 240, 100, 140, 180, 1C0, 2C0,
or 300. If you are using one of these operating 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, NM I Mask
080-09F DMA Page Register
0A0-0BF INT Controller 2
0C0-0DF DMA Controller 2
0F0 Clear Math Coprocessor Busy
0F1 Reset Coprocessor
0F8-0FF Arithmetic Processor
1F0-1F8 IDE Fixed Disk
200-207 Game I/O
278-27F Parallel Printer Port 2
2F8-2FF Asynchronous Comm’n (Secondary)
300-31F Prototype Card
360-36F Reserved
378-37F Parallel Printer Port 1
380-38F SDLC or Binary Synchronous Comm’n 2
3A0-3AF Binary Synchronous Comm’n 1
3B0-3BF Monochrome Display/Printer
3C0-3CE Local Area Network
3D0-3DF Color/Graphic Monitor
3F0-3F7 Floppy Diskette Controller
3F8-3FF Asynchronous Comm’n (Primary)
Table 4-1: Standard Address Assignments for 286/386/486 Computers

PAD128 Manual
Page 4-2 Manual MPAD128.D1g
Table of contents
Other Acces Computer Hardware manuals
Popular Computer Hardware manuals by other brands

NEC
NEC VR4181 mPD30181 user manual

Renesas
Renesas Emulation Pod M306H2T-RPD-E user manual

Renesas
Renesas H8S/2628 user manual

Extron electronics
Extron electronics SMP 300 Series user guide

Panasonic
Panasonic UB-5335 operating instructions

Linksys
Linksys WEC600N - Dual Band Wireless-N Ultra RangePlus... Quick installation guide