Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24,...
Page 3
Limited Warranty The PC-TIO-10 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Page 4
Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instruments products are being used.
Page 5
This manual is divided into the following chapters and appendixes: • Chapter 1, Introduction, describes the PC-TIO-10, lists the contents of your PC-TIO-10 kit, lists the optional software and equipment for use with the PC-TIO-10, and explains how to unpack the PC-TIO-10 kit. •...
Page 6
Preface • Appendix F, Customer Communication, contains forms for you to complete to facilitate communication with National Instruments concerning our products. • The Index alphabetically lists topics covered in this manual, including the page where the topic can be found.
Page 8
Preface Customer Communication National Instruments wants to receive your comments on our products and manuals. We are interested in the applications you develop with our products, and we want to help if you have problems with them. To make it easy for you to contact us, this manual contains comment and configuration forms for you to complete.
Page 11
Tables Table 2-1. PC-TIO-10 Factory-Set Switch and Jumper Settings ........2-1 Table 2-2. Default Settings of National Instruments Products for the PC ......2-4 Table 4-1. PC-TIO-10 Address Map ................... 4-2 Table E-1. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space ....................
PC-TIO-10, and explains how to unpack the PC-TIO-10 kit. The PC-TIO-10 is a timing and digital I/O interface for the PC. Two AMD Am9513A STCs are used for the timing interface. With these chips, which feature many different timing and counting modes, the PC-TIO-10 can perform of a wide range of pulse measurement and wave generation functions.
• Opto-isolated, solid-state relays and I/O module mounting racks The PC-TIO-10 turns the PC into a timing and digital I/O system controller for applications in laboratory testing, production testing, and industrial process monitoring and control. What Your Kit Should Contain The contents of the PC-TIO-10 kit (part number 776452-01) are listed as follows.
NI-DAQ software package for controlling the PC-TIO-10 is included with the board. Using NI-DAQ is quicker and easier than and as flexible as using the low-level programming described in Chapter 4, Programming.
Chapter 1 Unpacking Your PC-TIO-10 board is shipped in an antistatic package to prevent electrostatic damage to the board. Several components on the board can be damaged by electrostatic discharge. To avoid such damage in handling the board, take the following precautions: •...
The DIP switch and jumpers are shown in the parts locator diagram in Figure 2-1. The PC-TIO-10 is configured at the factory to a base I/O address of hex 1A0, to interrupt level 5, and to local interrupt setting No Connect and No Connect. These settings (shown in Table 2-1) are suitable for most systems.
Figure 2-1. PC-TIO-10 Parts Locator Diagram Base I/O Address Settings The base I/O address for the PC-TIO-10 is determined by the switches at position U12 (see Figure 2-1). The switches are set at the factory for the I/O address hex 1A0. With this default setting, the PC-TIO-10 uses the I/O address space hex 1A0 through 1A7.
0FF are reserved for system use. Base I/O values hex 100 through 3FF are available on the I/O channel. A2, A1, and A0 are used by the PC-TIO-10 to decode accesses to the onboard registers. On the U12 DIP switches, press the side marked OFF to select a binary value of 1 for the corresponding address bit.
* These settings are software configurable and are disabled at startup time. Interrupt Level Selection There are two sets of jumpers for interrupt selection on the PC-TIO-10 board. W1 is used for selecting the interrupt level, while W2 is used for local selection of two of the counter outputs as interrupt sources.
Figure 2-4. Interrupt Jumper Setting for Disabling Interrupts Local Interrupt Selection In addition to the jumpers for selecting the interrupt level used by the PC-TIO-10, a set of jumpers, W2, is used to locally connect two of the counter outputs to the interrupt generation circuitry.
Remove the top cover or access port to the I/O channel. Remove the expansion slot cover on the back panel of the computer. Insert the PC-TIO-10 in an unused 8-bit, 16-bit, or 32-bit slot. It may be a tight fit, but do not force the board into place.
These are the frequency outputs of the two Am9513A devices. 31-32 EXTIRQ<1..2> These are the interrupt inputs for the PC-TIO-10. This pin is connected to the computer's ground signal. +5 V This pin is connected to the computer's +5 VDC power supply.
Warning: Under no circumstances should this +5-V power pin be connected directly to ground or to any other voltage source on the PC-TIO-10 or any other device. Doing so may damage the PC-TIO-10 and the PC. National Instruments is not liable for damage resulting from such a connection.
Chapter 3 Theory of Operation This chapter explains the basic operation of the PC-TIO-10 circuitry. The block diagram in Figure 3-1 illustrates the key functional components of the PC-TIO-10 board. 1-MHz and 5-MHz Clocks GATE Data SOURCE Am9513A Transceiver STC A...
Interrupt Control Circuitry The interrupt level used by the PC-TIO-10 is selected by the onboard jumper W1. Interrupts can be generated from two different sources, EXTIRQ1 and EXTIRQ2, each of which has programmable-edge polarity and individual enable, clear, and disable commands. A second set of jumpers, W2, locally connects two of the counter outputs to the interrupt circuitry.
Chapter 4 Programming This chapter describes in detail the address and function of each of the PC-TIO-10 control and status registers. This chapter also includes important information about programming the PC-TIO-10. The PC-TIO-10 is a timing and digital I/O board designed around two Am9513A integrated circuits and one MC6821 integrated circuit.
The MC6821 Control Registers control the overall operation of the MC6821 and the selection of the two internal registers that are accessed through each of the MC6821 Data Registers. Some of the bits in the Control Registers are not used because of the design of the PC-TIO-10. These bits should be set as follows.
Programming Example for the Am9513A STCs The code below lists a sample function that can be used to reset the Am9513A STCs on the PC-TIO-10. In addition, the code lists a sample function that can be used to generate a variable duty-cycle square-wave.
Programming Interrupt Programming Example for the MC6821 The PC-TIO-10 is configured so that EXTIRQ1 on the I/O connector is connected to CA1 on the MC6821, EXTIRQ2 on the I/O connector is connected to CB1 on the MC6821, and CA2 and CB2 of the MC6821 are disabled.
Appendix A Specifications This appendix lists the specifications of the PC-TIO-10. These specifications are typical at 25° C, unless otherwise stated. The operating temperature range is 0° to 70° C. I/O Connector Electrical Specifications I/O Signal Ratings Absolute maximum voltage rating -0.3 to +7.0 V with respect to GND...
Appendix B I/O Connector This appendix describes the pinout and signal names for the I/O connector on the PC-TIO-10. Figure B-1 shows the PC-TIO-10 I/O connector. SOURCE1 GATE1 OUT1 SOURCE2 GATE2 OUT2 SOURCE3 GATE3 OUT3 9 10 SOURCE4 GATE4 11 12...
Filling out a copy of the Technical Support Form before contacting National Instruments helps us help you better and faster. National Instruments provides comprehensive technical assistance around the world. In the U.S. and Canada, applications engineers are available Monday through Friday from 8:00 a.m. to 6:00 p.m.
Page 112
National Instruments for technical support helps our applications engineers answer your questions more efficiently. If you are using any National Instruments hardware or software products related to this problem, include the configuration forms from their user manuals. Include additional pages if necessary.
Page 113
Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Page 114
Click here to comment on this document via the National Instruments at http://www.natinst.com/documentation/daq/ Documentation Comment Form ___________________________________________________ National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: PC-TIO-10 User Manual Edition Date:...
Page 117
I/O signal ratings. See specifications and ratings. input signal specifications, A-1 installation cabling, 2-16 procedure for, 2-6 unpacking the PC-TIO-10, 1-4 INTEN bit, 4-9 interrupt level default settings for National Instrument products, 2-4 jumpers for interrupt level selection, 2-4 to 2-5...
Page 119
Index operating environment specifications, A-2 operation of PC-TIO-10. See theory of operation. optional equipment, 1-3 optional software, 1-3 OUT<5..1> bit, 4-6 OUT1 through OUT10 signals, 2-8, 2-11 to 2-13 output signal specifications, A-1 to A-2 PC I/O channel control circuitry, 3-2 PC-TIO-10.