Measurement PCI-COM232 User Manual

PC104-DIO48
User’s Manual
Revision 4
April, 2001
Your new Measurement Computing product comes with a fantastic extra —
Management committed to your satisfaction!
Thank you for choosing a Measurement Computing product—and congratulations! You own the finest, and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in material or workmanship will be repaired, replaced with s ame or s imilar device, or refunded at MCC’s discretion. For specific information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be eligible for replacement with the same or similar device for 5 0% of the current list price. I/O boards face some harsh environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
Trademark and Copyright Inf ormatio n
Measurement Computing Corporation, InstaCal, Universal Library, and the Measurement Computing logo are eit her trademarks or registered trademarks of Measurement Computing Corporation. Refer to the Copyrights & Trademarks section on
mccdaq.com/legal
mentioned herein are tr ademarks or trade names of their respect ive companies. © 2000 Measurement Computing Corporation. All rights reserved. No part of this publication may be reproduced, stored in a
retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording, or otherwise without the prior written permission of Measurement Computing Corporation.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without prior written consent from Measure ment Computing Corporation. Life support devices/systems are devices or systems that, a) are intended for surgical implantation into the body, or b) support or sustain life and whose failure to perform can be reasonably expected to result in injury. Measurement Computing Corporation products are not designed with the components required, and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
HM PC104-DIO48.lwp
for more information about Measurement Computing trademarks. Other product and company names
Table of Contents
1 SOFTWARE INSTALLATION 2 HARDWARE INSTALLATION
..............................
..............................
.....................................
.............................
................................
..............................
..............................
3 CONTROL & DATA REGISTERS
............................
...............................
4 SPECIFICATIONS 5 ELECTRONICS AND INTERFACING
.....................................
................................
....................
........................
.....................
.........................
.................
1 1
12.1 BASE ADDRESS
32.2 INSTALLING THE BOARD
32.3 CABLING TO THE DIO48 CONNECTOR
32.4 SIGNAL CONNECTION
42.5 UNCONNECTED INPUTS
52.6 CONNECTOR DIAGRAM 6
73.1 DIGITAL I/O REGISTERS 11 12
125.1 PULL UP & PULL DOWN RESISTORS
145.2 TTL TO SOLID STATE RELAYS
155.3 VOLTAGE DIVIDERS
175.4 LOW PASS FILTERS DE-BOUNCE INPUTS
This page is blank.
1 SOFTWARE INSTALLATION
The board has switches and jumpers to set before installing the board in your computer. By far the simplest way to configure your board is to use the InstaCal InstaCal various switches and jumpers (as applicable) to match your application requirements, and will create a configuration file that your application software (and the Universal Library) will refer to so the software you use will automatically know the exact configuration of the board.
TM
program provided as part of your software package.
TM
will show you all available options, how to configure the
Please refer to the Extended Software Installation Manual regarding the
TM
installation and operation of InstaCal
. The following hard copy information is provided as a matter of completeness, and will allow you to set the hardware configuration of the board if you do not have
TM
immediate access to InstaCal
and/or your computer.
2 HARDWARE INSTALLATION
2.1 BASE ADDRESS
The PC104-DIO48 employs the PC bus for power, communications and data transfer. As such it draws power from the PC, monitors the address lines and control signals and responds to it's I/O address, and it receives and places data on the eight data lines.
The base address is the starting location that software writes to and reads from.
The base address switch is the means for setting the base address. Each switch position corresponds to one of the PC bus address lines. The down position activates that address bit.
1 2 3 4 5 6 7
BASE ADDR ESS SW ITCHES – 300h Shown.
SWITCH HEX
1 200 2 100 3 80 4 40 5 20 6 10 7 08
Figure 2-1. Base Address Switches
1
The actual address is constructed by calculating the HEX or decimal number Base Address Select Switches which corresponds to the base address bits the PC104-DIO48 will respond to. For example, in Figure 2-1, switches 1 and 2 down, all others are up. Switch 1 = 200 hex (512 decimal) and switch 2 = 100 hex (256 decimal). When added together they equal 300 hex (768 decimal).
Certain address are reserved for use by the PC (Table 2-1). Others are free and can be used by the PC104-DIO48 and other expansion boards. We recommend that BASE = 300 hex (768 decimal) be tried first. See Figure 2-2 for the orientation of the switch block.
Table 2-1. PC I/O Addresses
FUNCTIONHEX
EGA2C0-2CF8237 DMA #1000-00F EGA2D0-2DF8259 PIC #1020-021 GPIB (AT)2E0-2E78253 TIMER040-043 SERIAL PORT2E8-2EF8255 PPI (XT)060-063 SERIAL PORT2F8-2FF8742 CONTROLLER (AT)060-064 PROTOTYPE CARD300-30F PROTOTYPE CARD310-31FDMA PAGE REGISTERS080-08F HARD DISK (XT)320-32F8259 PIC #2 (AT)0A0-0A1 PARALLEL PRINTER378-37FNMI MASK (XT)0A0-0AF SDLC380-38F8237 #2 (AT)0C0-0DF SDLC3A0-3AF80287 NUMERIC CO-P (AT)0F0-0FF MDA3B0-3BBHARD DISK (AT)1F0-1FF PARALLEL PRINTER3BC-3BFGAME CONTROL200-20F EGA3C0-3CFEXPANSION UNIT (XT)210-21F CGA3D0-3DFBUS MOUSE238-23B SERIAL PORT3E8-3EFALT BUS MOUSE23C-23F FLOPPY DISK3F0-3F7PARALLEL PRINTER270-27F SERIAL PORT3F8-3FFEGA2B0-2BF
RANGE
070-071
FUNCTIONHEX
RANGE
CMOS RAM & NMI MASK (AT)
The PC104-DIO48 BASE switch may be set for address in the range of 000 to 3F8 so it should not be hard to find a free address area for your PC104-DIO48. Once again, if you are not using IBM prototyping cards or some other board which occupies these addresses, then 300-31Fh are free to use. Addresses not specifically listed, such as 390-39Fh, are free.
2
2.2 INSTALLING THE BOARD
1. Turn the power off.
2. Push the board firmly down into the expansion bus connector. If it is not seated fully it may fail to work and could short circuit the PC bus power onto a PC bus signal. This could damage the motherboard in your PC as well as the PC104-DIO48.
2.3 CABLING TO THE DIO48 CONNECTOR
The connector is a standard 50-pin, male, header connector. A mating female connector (C50FF-##) may be purchased from Measurement Computing.
2.4 SIGNAL CONNECTION
All the digital outputs/inputs on the connector are CMOS TTL. TTL is an electronics industry term, short for Transistor Transistor Logic, which describes a standard for digital signals which are either 0V or 5V (nominal).
Under normal operating conditions, the voltages on the 82C55 pins range from near 0 volts for the low state to near 5.0 volts for the high state. Before connecting the PC104-DIO48 to external devices, review the electrical specification in this manual to ensure that the boards input voltage specifications are not exceeded. In addition to voltage and load matching, digital signal sources often need to be de-bounced. More details on digital interfacing are in the section on Interface Electronics in this manual.
3
Figure 2-2. PC104-DIO48 Board Layout and Pin 1 Location
IMPORTANT NOTE: The PC104-DIO48 uses two 82C55 digital chips for digital I/O. The 82C55 digital I/O chip initializes all ports as inputs on power up and reset. A TTL input is a high impedance input. If you connect another TTL input device to the 82C55 it will probably be turned ON every time the 82C55 is reset, or, it might be turned OFF instead. Remember, an 82C55 which is reset is in INPUT mode.
To safeguard against unwanted signal levels, all devices being controlled by an 82C55 should be tied low (or high, as required) by a 2.2K ohm resistor.
You will find positions for pull up and pull down resistor packs on your PC104-DIO48 board. To implement these, please turn to the application note on pull up/down resistors.
2.5 UNCONNECTED INPUTS
Keep in mind that unconnected inputs float. If you are using a PC104-DIO48 board for input, and have unconnected inputs, ignore the data from those lines.
4
Loading...
+ 16 hidden pages