Measurement Computing USB-4301 Manual de usuario


USB-4301
9513-based Counter/Timer
User's Guide
Document Revision 5, March, 2009
© Copyright 2009, Measurement Computing Corporation

3
HM USB-4301.doc
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:
To provide PC-based data acquisition hardware and software that will save time and save money.
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 same or similar 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 50% 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.

4
Trademark and Copyright Information
TracerDAQ, Universal Library, Measurement Computing Corporation, and the Measurement Computing logo are either
trademarks or registered trademarks of Measurement Computing Corporation.
Windows, Microsoft, and Visual Studio are either trademarks or registered trademarks of Microsoft Corporation
LabVIEW is a trademark of National Instruments.
CompactFlash is a registered trademark of SanDisk Corporation.
XBee and XBee-PRO are trademarks of MaxStream, Inc.
All other trademarks are the property of their respective owners.
Information furnished by Measurement Computing Corporation is believed to be accurate and reliable. However, no
responsibility is assumed by Measurement Computing Corporation neither for its use; nor for any infringements of patents or
other rights of third parties, which may result from its use. No license is granted by implication or otherwise under any patent or
copyrights of 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 Measurement Computing Corporation.
Life support devices/systems are devices or systems which, 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.

5
HM USB-4301.doc
Table of Contents
Preface
About this User's Guide ....................................................................................................................... 7
What you will learn from this user's guide ......................................................................................................... 7
Conventions in this user's guide ........................................................................................................................................ 7
Where to find more information ......................................................................................................................... 7
Chapter 1
Introducing the USB-4301 .................................................................................................................... 8
Software features ................................................................................................................................................ 8
Connecting a USB-4301 to your computer is easy ............................................................................................. 8
Chapter 2
Installing the USB-4301 ........................................................................................................................ 9
What comes with your USB-4301 shipment? ..................................................................................................... 9
Hardware .......................................................................................................................................................................... 9
Additional documentation ................................................................................................................................................. 9
Unpacking the USB-4301 ................................................................................................................................. 10
Installing the software ...................................................................................................................................... 10
Installing the USB-4301 ................................................................................................................................... 10
Chapter 3
Functional Details ............................................................................................................................... 11
USB-4301 block diagram ................................................................................................................................. 11
External components ........................................................................................................................................ 12
USB connector .................................................................................................................................................................12
Status LED .......................................................................................................................................................................12
Power LED ......................................................................................................................................................................12
Screw terminal banks .......................................................................................................................................................12
Counter terminals (INP1 to INP5, GAT1 to GAT5, and OUT1 to OUT5) ......................................................................14
Digital input (DI0 to DI7) and output (DO0 to DO7) terminals .......................................................................................14
Digital input control terminal (DI CTL) for pull-up/down configuration ........................................................................15
Interrupt input terminal (INT) ..........................................................................................................................................15
Oscillator output terminal (OSC) .....................................................................................................................................15
Ground terminals (GND) .................................................................................................................................................15
Oscillator output (OSC) .................................................................................................................................... 15
Internal sources ................................................................................................................................................................15
External sources ...............................................................................................................................................................16
Divider (OSC divider)......................................................................................................................................................16
Counter operation ............................................................................................................................................. 16
Count source ....................................................................................................................................................................17
Gate control .....................................................................................................................................................................17
Counting modes ................................................................................................................................................ 17
Reload ..............................................................................................................................................................................17
Recycle ............................................................................................................................................................................17
BCD/Binary mode ...........................................................................................................................................................18
The "Special" gate............................................................................................................................................................18
Output control ..................................................................................................................................................................18
Example 1 ........................................................................................................................................................................19
Example 2 ........................................................................................................................................................................19
Interrupt input pin (INT) ................................................................................................................................... 20

USB-4301 User's Guide About this User's Guide
6
Chapter 4
Specifications ...................................................................................................................................... 21
Counter ............................................................................................................................................................. 21
Digital input / output ......................................................................................................................................... 22
Interrupt Input ................................................................................................................................................... 22
Memory ............................................................................................................................................................ 23
Microcontroller ................................................................................................................................................. 23
USB +5V voltage ............................................................................................................................................. 23
LEDs ................................................................................................................................................................. 23
Power ................................................................................................................................................................ 23
USB specifications ........................................................................................................................................... 24
Environmental .................................................................................................................................................. 24
Mechanical ....................................................................................................................................................... 24
Screw terminal connector type and pin out....................................................................................................... 24
Screw terminal pin out ...................................................................................................................................... 25
Declaration of Conformity .................................................................................................................. 26

7
HM USB-4301.doc
Preface
About this User's Guide
What you will learn from this user's guide
This user's guide explains how to install, configure, and use the USB-4301 so that you get the most out of its
counter features. This user's guide also refers you to related documents available on our web site, and to
technical support resources.
Conventions in this user's guide
For more information on …
Text presented in a box signifies additional information and helpful hints related to the subject matter you are
reading.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
< : > Angle brackets that enclose numbers separated by a colon signify a range of numbers, such as those assigned
to registers, bit settings, etc.
bold text Bold text is used for the names of objects on the screen, such as buttons, text boxes, and check boxes. For
example:
1. Insert the disk or CD and click the OK button.
italic text Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase. For
example:
The InstaCal installation procedure is explained in the Quick Start Guide.
Never touch the exposed pins or circuit connections on the board.
Where to find more information
The following electronic documents provide helpful information relevant to the operation of the USB-4301
MCC's Specifications: USB-4301 (the PDF version of the Specifications chapter in this guide) is available
on our web site at www.mccdaq.com/pdfs/Specs/USB-4301-spec.pdf.
MCC's Quick Start Guide is available on our web site at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf.
MCC's Guide to Signal Connections is available on our web site at
www.mccdaq.com/signals/signals.pdf.
MCC's Universal Library User's Guide is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf.
MCC's Universal Library Function Reference is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-functions.pdf.
MCC's Universal Library for LabVIEW™ User’s Guide is available on our web site at
www.mccdaq.com/PDFmanuals/SM-UL-LabVIEW.pdf.
USB-4301 User's Guide (this document) is also available on our web site at
www.mccdaq.com/PDFmanuals/USB-4301.pdf.

8
Chapter 1
Introducing the USB-4301
The USB-4301 is a USB-based high-performance, low-cost counter/timer device.
The USB-4301 is designed with a 9513 counter/timer chip. The 9513 chip has five independent 16-bit counters
(65,536 counts). Each counter has an input source, internal count register, load register, hold register, output,
and gate.
The 9513 is software-programmable for event counting, pulse and frequency measurement, alarm comparisons,
and other input functions. The 9513 can generate frequencies with either complex duty cycles, or with one-shot
and continuous-output modes. You can chain up to five 9513 counters together using software to enable a 32-,
48-, 64-, or 80-bit counter that does not require hardware connections. The gate source and gating functions are
software-programmable.
An eight-bit, high-current digital output port provides logic-level control, and can be used to switch solid state
relays. An eight-bit digital input port can be used to sense contact closures and other TTL level signals.
For more information on the 9513 counter/timer, refer to the 9513 data sheet. This document is available at
www.mccdaq.com/PDFmanuals/9513A.pdf.
Software features
For information on the features of InstaCal and the other software included with your USB-4301, refer to the
Quick Start Guide that shipped with your device. The Quick Start Guide is also available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf.
Check www.mccdaq.com/download.htm for the latest software version.
Connecting a USB-4301 to your computer is easy
Installing a data acquisition device has never been easier.
The USB-4301 relies upon the Microsoft Human Interface Device (HID) class drivers. The HID class
drivers ship with every copy of Windows that is designed to work with USB ports. We use the Microsoft
HID because it is a standard, and its performance delivers full control and maximizes data transfer rates for
your USB-4301. No third-party device driver is required.
The USB-4301 is plug-and-play. There are no jumpers to position, dual in-line package (DIP) switches to
set, or interrupts to configure.
You can connect the USB-4301 before or after you install the software, and without powering down your
computer first.
When you connect an HID to your system, your computer automatically detects it and configures the
necessary software. You can connect and power multiple HID peripherals to your system using a USB hub.
You can connect your system to various devices using a standard four-wire cable. The USB connector
improves upon serial and parallel port connectors with one standardized plug-and-port combination.
Data can flow two ways between a computer and peripheral over USB connections.

9
Chapter 2
Installing the USB-4301
What comes with your USB-4301 shipment?
As you unpack your board, make sure that the following components are included.
Hardware
USB-4301
USB cable (2 meter length)
Additional documentation
In addition to this hardware user's guide, you should also receive the Quick Start Guide (available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf). This booklet supplies a brief description of
the software you received with your USB-4301 and information regarding installation of that software. Please
read this booklet completely before installing any software or hardware.

USB-4301 User's Guide Installing the USB-4301
10
Unpacking the USB-4301
As with any electronic device, you should take care while handling to avoid damage from static
electricity. Before removing the USB-4301 from its packaging, ground yourself using a wrist strap or by simply
touching the computer chassis or other grounded object to eliminate any stored static charge.
If any components are missing or damaged, notify Measurement Computing Corporation immediately by
phone, fax, or e-mail:
Phone: 508-946-5100 and follow the instructions for reaching Tech Support.
Fax: 508-946-9500 to the attention of Tech Support
Email: [email protected]
Installing the software
Refer to the Quick Start Guide for instructions on installing the software on the Measurement Computing Data
Acquisition Software CD. This booklet is available in PDF at www.mccdaq.com/PDFmanuals/DAQ-Software-
Quick-Start.pdf.
Installing the USB-4301
To connect the USB-4301 to your system, turn your computer on, and connect the USB cable to a USB port on
your computer or to an external USB hub that is connected to your computer. The USB cable provides power
and communication to the USB-4301.
The USB-4301 installs as a composite device with separate devices attached. When you connect the USB-4301
for the first time, Found New Hardware popup balloons (Windows XP) or dialogs (Windows 2000) display as
each USB-4301 interface is detected.
After the USB-4301 is installed, the Power LED remains lit to indicate that communication is established
between the USB-4301 and your computer.
Caution! Do not disconnect any device from the USB bus while the computer is communicating with the
USB-4301, or you may lose data and/or your ability to communicate with the USB-4301.
If the Power LED turns off
If the Power LED is illuminated but then turns off, the computer has lost communication with the USB-4301.
To restore communication, disconnect the USB cable from the computer, and then reconnect it. This should
restore communication, and the Power LED should turn back on.
Tabla de contenidos
Otros manuales de Contador de efectivo de Measurement Computing





















