National Instruments PC-LPM-16/PnP manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125

Ir a la página of

Buen manual de instrucciones

Las leyes obligan al vendedor a entregarle al comprador, junto con el producto, el manual de instrucciones National Instruments PC-LPM-16/PnP. La falta del manual o facilitar información incorrecta al consumidor constituyen una base de reclamación por no estar de acuerdo el producto con el contrato. Según la ley, está permitido adjuntar un manual de otra forma que no sea en papel, lo cual últimamente es bastante común y los fabricantes nos facilitan un manual gráfico, su versión electrónica National Instruments PC-LPM-16/PnP o vídeos de instrucciones para usuarios. La condición es que tenga una forma legible y entendible.

¿Qué es un manual de instrucciones?

El nombre proviene de la palabra latina “instructio”, es decir, ordenar. Por lo tanto, en un manual National Instruments PC-LPM-16/PnP se puede encontrar la descripción de las etapas de actuación. El propósito de un manual es enseñar, facilitar el encendido o el uso de un dispositivo o la realización de acciones concretas. Un manual de instrucciones también es una fuente de información acerca de un objeto o un servicio, es una pista.

Desafortunadamente pocos usuarios destinan su tiempo a leer manuales National Instruments PC-LPM-16/PnP, sin embargo, un buen manual nos permite, no solo conocer una cantidad de funcionalidades adicionales del dispositivo comprado, sino también evitar la mayoría de fallos.

Entonces, ¿qué debe contener el manual de instrucciones perfecto?

Sobre todo, un manual de instrucciones National Instruments PC-LPM-16/PnP debe contener:
- información acerca de las especificaciones técnicas del dispositivo National Instruments PC-LPM-16/PnP
- nombre de fabricante y año de fabricación del dispositivo National Instruments PC-LPM-16/PnP
- condiciones de uso, configuración y mantenimiento del dispositivo National Instruments PC-LPM-16/PnP
- marcas de seguridad y certificados que confirmen su concordancia con determinadas normativas

¿Por qué no leemos los manuales de instrucciones?

Normalmente es por la falta de tiempo y seguridad acerca de las funcionalidades determinadas de los dispositivos comprados. Desafortunadamente la conexión y el encendido de National Instruments PC-LPM-16/PnP no es suficiente. El manual de instrucciones siempre contiene una serie de indicaciones acerca de determinadas funcionalidades, normas de seguridad, consejos de mantenimiento (incluso qué productos usar), fallos eventuales de National Instruments PC-LPM-16/PnP y maneras de solucionar los problemas que puedan ocurrir durante su uso. Al final, en un manual se pueden encontrar los detalles de servicio técnico National Instruments en caso de que las soluciones propuestas no hayan funcionado. Actualmente gozan de éxito manuales de instrucciones en forma de animaciones interesantes o vídeo manuales que llegan al usuario mucho mejor que en forma de un folleto. Este tipo de manual ayuda a que el usuario vea el vídeo entero sin saltarse las especificaciones y las descripciones técnicas complicadas de National Instruments PC-LPM-16/PnP, como se suele hacer teniendo una versión en papel.

¿Por qué vale la pena leer los manuales de instrucciones?

Sobre todo es en ellos donde encontraremos las respuestas acerca de la construcción, las posibilidades del dispositivo National Instruments PC-LPM-16/PnP, el uso de determinados accesorios y una serie de informaciones que permiten aprovechar completamente sus funciones y comodidades.

Tras una compra exitosa de un equipo o un dispositivo, vale la pena dedicar un momento para familiarizarse con cada parte del manual National Instruments PC-LPM-16/PnP. Actualmente se preparan y traducen con dedicación, para que no solo sean comprensibles para los usuarios, sino que también cumplan su función básica de información y ayuda.

Índice de manuales de instrucciones

  • Página 1

    PC-LPM-16/PnP User Manual Multifunction I/O Board for the PC November 1996 Edition Part Number 320287C-01  Copyright 1990, 1996 National Instruments Corporation. All Rights Reserved. a.Book : a.Title Page 1 Wednesday, November 20, 1996 6:36 PM[...]

  • Página 2

    support@natinst.com E-mail: info@natinst.com FTP Site: ftp.natinst.com Web Address: http://www.natinst.com BBS United States: (512) 794-5422 BBS United Kingdom: 01635 551422 BBS France: 01 48 65 15 59 (512) 418-1111 Tel: (512) 795-8248 Fax: (512) 794-5678 Australia 03 9879 5166, Austria 0662 45 79 90 0, Belgium 02 757 00 20, Canada (Ontario) 905 78[...]

  • Página 3

    Important Information Warranty The PC-LPM-16 and PC-LPM-16PnP are 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. Th[...]

  • Página 4

     National Instruments Corporation v PC-LPM-16/PnP User Manual Table of Contents About This Manual Organization of This Manua l ........................................................................................ . ix Conventions Used in This Manua l ................................................................................ . x National[...]

  • Página 5

    T able of Contents PC-LPM-16/PnP User Manual vi  National Instruments Corporation Analog Input Circuitry .................................................................................... 3-5 Data Acquisition Timing Circuitry ................................................................. 3-6 Single-Channel Data Acquisition .................[...]

  • Página 6

    T able of Contents  National Instruments Corporation vii PC-LPM-16/PnP User Manual Glossary Index Figures Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware ............................................................... 1-4 Figure 3-1. PC-LPM-16PnP Block Diagram ..........................................[...]

  • Página 7

    T able of Contents PC-LPM-16/PnP User Manual viii  National Instruments Corporation Tables Table 4-1. Signal Connection Descriptions ............................................................ 4-3 Table C-1. Comparison of Characteristics .............................................................. C-1 Table C-2. PC Bus Interface Factory Setti[...]

  • Página 8

     National Instruments Corporation ix PC-LPM-16/PnP User Manual About This Manual This manual describes the mechanical and electrical aspects of the PC-LPM-16PnP and contains information concerning its installation, operation, and programming. The PC-LPM-16PnP is a low-cost, low- power analog input, digital, and timing I/O board for the IBM PC/XT[...]

  • Página 9

    About This Manual PC-LPM-16/PnP User Manual x  National Instruments Corporation • Appendix C , Using Your PC-LPM-16 (Non-PnP) Board , describes the differences between the PC-LPM-16PnP and the PC-LPM-16 non-PnP boards, the PC-LPM-16 board configuration, and installing the PC-LPM-16 into your computer. • Appendix D, Register-Level Programming[...]

  • Página 10

    About This Manual  National Instruments Corporation xi PC-LPM-16/PnP User Manual Non-PnP Non-PnP (non-Plug and Play) means that the board requires you to manually configure the product’s base address and interrupt level with switches and jumpers. You must perform this configuration before installing the board into your computer. PC PC refers t[...]

  • Página 11

    About This Manual PC-LPM-16/PnP User Manual xii  National Instruments Corporation installation and configuration instructions, specification information about your DAQ hardware, and application hints. • Software documentation—Examples of software documentation you may have are the LabVIEW, LabWindows  /CVI documentation sets, and the NI-D[...]

  • Página 12

     National Instruments Corporation 1-1 PC-LPM-16/PnP User Manual Introduction Chapter 1 This chapter describes the PC-LPM-16/PnP, lists what you need to get started, software programming choices, and optional equipment, and explains how to unpack the PC-LPM-16/PnP. About the PC-LPM-16/PnP The PC-LPM-16/PnP is a low-cost, low-power analog input, d[...]

  • Página 13

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-2  National Instruments Corporation What You Need to Get Started To set up and use your PC-LPM-16/PnP board, you will need the following: ❏ PC-LPM-16/PnP board ❏ PC-LPM-16/PnP User Manual ❏ One of the following software packages and documentation: NI-DAQ for PC Compatibles LabVIEW for Wind[...]

  • Página 14

    Chapter 1 Introduction  National Instruments Corporation 1-3 PC-LPM-16/PnP User Manual included with the NI-DAQ software kit. The LabWindows/CVI Data Acquisition Library is functionally equivalent to the NI-DAQ software. Using LabVIEW or LabWindows/CVI software will greatly reduce the development time for your data acquisition and control applic[...]

  • Página 15

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-4  National Instruments Corporation Figure 1-1. The Relationship between the Programming Environment, NI-DAQ, and Your Hardware Register-Level Programming The final option for programming any National Instruments DAQ hardware is to write register-level software. Writing register-level programmin[...]

  • Página 16

    Chapter 1 Introduction  National Instruments Corporation 1-5 PC-LPM-16/PnP User Manual Optional Equipment National Instruments offers a variety of products to use with your PC-LPM-16/PnP board, including cables, connector blocks, and other accessories, as follows: • Cables and cable assemblies, shielded and ribbon • Connector blocks, shielde[...]

  • Página 17

    Chapter 1 Introduction PC-LPM-16/PnP User Manual 1-6  National Instruments Corporation The mating connector for the PC-LPM-16/PnP is a 50-position, polarized, ribbon socket connector with strain relief. National Instruments uses a polarized (keyed) connector to prevent inadvertent upside-down connection to the PC-LPM-16/PnP. Recommended manufact[...]

  • Página 18

     National Instruments Corporation 2-1 PC-LPM-16/PnP User Manual Installation and Configuration Chapter 2 This chapter describes the installation and configuration of the PC-LPM-16PnP. For information on installing and configuring the PC-LPM-16, a non-PnP board, refer to Appendix C, Using Your PC-LPM-16 (Non-PnP) Board . Hardware Installation You[...]

  • Página 19

    Chapter 2 Installation and Configuration PC-LPM-16/PnP User Manual 2-2  National Instruments Corporation Software Installation If you are using NI-DAQ, refer to your NI-DAQ release notes to install your driver software. Find the installation section for your operating system and follow the instructions given there. If you are using LabVIEW, ref[...]

  • Página 20

    Chapter 2 Installation and Configuration  National Instruments Corporation 2-3 PC-LPM-16/PnP User Manual Base I/O Address and Interrupt Selection You can configure your PC-LPM-16PnP to use base addresses in the range of 100 to FFF0 hex. The PC-LPM-16PnP occupies 16 bytes of address space and must be located on a 16-byte boundary. Therefore, val[...]

  • Página 21

     National Instruments Corporation 3-1 PC-LPM-16/PnP User Manual T heory of Operation Chapter 3 This chapter includes an overview of the PC-LPM-16PnP board and explains the operation of each functional unit making up the board. This chapter also explains the basic operation of the PC-LPM-16PnP circuitry. Functional Overview The following are the [...]

  • Página 22

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-2  National Instruments Corporation Figure 3-1. PC-LPM-16PnP Block Diagram PC I/O Channel PC I/O Channel Interface Plug and  Play 1 MHz Interrupt Interface 256-Word FIFO MSM82C53 Digital I/O 12-Bit Sampling ADC Input Mux 16-Channel Single-Ended 16 8 8 3 Buffe[...]

  • Página 23

    Chapter 3 Theory of Operation  National Instruments Corporation 3-3 PC-LPM-16/PnP User Manual PC I/O Channel Interface Circuitry The PC I/O channel interface circuitry consists of an address bus, a data bus, interrupt lines, and several control and support signals. The components making up the PC-LPM-16PnP PC I/O channel interface circuitry are [...]

  • Página 24

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-4  National Instruments Corporation request lines available: IRQ3, IRQ4, IRQ5, IRQ6, IRQ7, and IRQ9. The PC-LPM-16PnP generates interrupts in three different situations: • When an A/D conversion generates data that can be read from FIFO • When an active low-level signal is detected on[...]

  • Página 25

    Chapter 3 Theory of Operation  National Instruments Corporation 3-5 PC-LPM-16/PnP User Manual Analog Input Circuitry The analog input circuitry consists of an input multiplexer, a jumper- selectable gain stage, and a 12-bit sampling ADC. The 12-bit output is sign-extended to 16 bits before it is stored in a 256-word deep FIFO memory. The input m[...]

  • Página 26

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-6  National Instruments Corporation ADC goes through a self-calibration cycle under software control. To properly use this ADC auto-calibration feature, you need an accurate input stage that does not introduce significant offset and gain errors. The analog input stage on the PC-LPM-16PnP [...]

  • Página 27

    Chapter 3 Theory of Operation  National Instruments Corporation 3-7 PC-LPM-16/PnP User Manual Single-Channel Data Acquisition During single-channel data acquisition, the channel-select bits in Command Register 1 select the analog input channel before data acquisition begins. This multiplexer setting remains constant during the entire data acquis[...]

  • Página 28

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-8  National Instruments Corporation Digital I/O Circuitry The PC-LPM-16PnP has 16 digital I/O lines that are TTL-compatible. Pins DIN<0..7> of the I/O connector are digital input lines, and pins DOUT<0..7> are digital output lines. These lines are monitored or driven by the Di[...]

  • Página 29

    Chapter 3 Theory of Operation  National Instruments Corporation 3-9 PC-LPM-16/PnP User Manual Timing I/O Circuitry The PC-LPM-16PnP uses an MSM82C53 Counter/Timer integrated circuit for data acquisition timing and for general-purpose timing I/O functions. Three counters on the circuit are available for general use, but the board can use only one[...]

  • Página 30

    Chapter 3 Theory of Operation PC-LPM-16/PnP User Manual 3-10  National Instruments Corporation Figure 3-6. Counter Block Diagram Each counter has a clock input pin, a gate input pin, and an output pin labeled CLK, GATE, and OUT, respectively. The MSM82C53 counters are numbered zero through two, and their GATE, CLK, and OUT pins are labeled GATE [...]

  • Página 31

     National Instruments Corporation 4-1 PC-LPM-16/PnP User Manual Signal Connections Chapter 4 This chapter describes how to make input and output signal connections to your PC-LPM-16PnP board via the I/O connector. I/O Connector Figure 4-1 shows the pin assignments for the PC-LPM-16PnP I/ O connector. This connector is located on the back panel o[...]

  • Página 32

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-2  National Instruments Corporation Figure 4-1. PC-LPM-16PnP I/O Connector Pin Assignments +5 V GA TE2 CLK1 OUT1 OUT0 EXTINT* DOUT7 DOUT5 DOUT3 DOUT1 DIN7 DIN5 DIN3 DIN1 +12 V DGND A CH7 A CH6 A CH5 A CH4 A CH3 A CH2 A CH1 A CH0 AIGND DGND OUT2 GA TE1 EXTCONV* OUT1* DOUT6 DOUT4 CLK2 GA TE0[...]

  • Página 33

    Chapter 4 Signal Connections  National Instruments Corporation 4-3 PC-LPM-16/PnP User Manual Signal Connection Descriptions Table 4-1. Signal Connection Descriptions Pin Signal Reference Description 1–2 AIGND N/A Analog Input Ground—The pins are connected to the analog input ground signal. ACH<0..15> signals should be referenced to AIG[...]

  • Página 34

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-4  National Instruments Corporation 40 EXTCONV* DGND External Convert Signal—This input signal externally initiates an A/D conversion. 41 OUT0 DGND Output of Counter 0—This signal outputs the programmed waveform of counter 0. 42 GATE0 DGND Counter 0 Gate Input—This signal controls th[...]

  • Página 35

    Chapter 4 Signal Connections  National Instruments Corporation 4-5 PC-LPM-16/PnP User Manual The connector pins can be grouped into categories of analog input signal pins, digital I/O signal pins, and timing I/O signal pins. Signal connection guidelines for each of these groups follow. Analog Input Signal Connections Pins 3 through 18 are analog[...]

  • Página 36

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-6  National Instruments Corporation Figure 4-2. Analog Input Signal Connections Digital I/O Signal Connections See Table 4-1 for the digital I/O pin descriptions. The following specifications and ratings apply to the digital I/O lines: • Absolute maximum +7.0 V with respect to DGND volta[...]

  • Página 37

    Chapter 4 Signal Connections  National Instruments Corporation 4-7 PC-LPM-16/PnP User Manual Figure 4-3. Analog Input Signal Connections Figure 4-3 shows the connections of the digital input port and digital output port. Digital input applications include receiving TTL signals and sensing external device states such as the switch in Figure 4-3. [...]

  • Página 38

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-8  National Instruments Corporation fuse in series. Both fuses are self-resetting; simply remove the circuit causing the heavy current load and the fuse will reset itself. Power Rating The following table shows the maximum current for each power line at the I/O connector. Timing Connection[...]

  • Página 39

    Chapter 4 Signal Connections  National Instruments Corporation 4-9 PC-LPM-16/PnP User Manual Figure 4-4. EXTCONV* Signal Timing General-Purpose Timing Signal Connections and General-Purpose Counter Timing Signals The general-purpose timing signals include the GATE, CLK, and OUT signals for the three MSM82C53 counters, except CLK of counter 0 is [...]

  • Página 40

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-10  National Instruments Corporation Figure 4-5. Event-Counting Application with External Switch Gating Perform pulse-width measurement by level gating to trigger the counter. Apply the pulse to be measured to the counter GATE input. Load the counter with the known count and program it to [...]

  • Página 41

    Chapter 4 Signal Connections  National Instruments Corporation 4-11 PC-LPM-16/PnP User Manual duration. In this case, program the counter to count falling edges at the CLK input while the gate is applied. The frequency of the input signal then equals the count value divided by the gate period. Figure 4-6 shows the connections for a frequency mea[...]

  • Página 42

    Chapter 4 Signal Connections PC-LPM-16/PnP User Manual 4-12  National Instruments Corporation MSM82C53 digital input specifications (referenced to DGND): •V IH input logic high voltage 2.2 V min •V IL input logic low voltage 0.8 V max • Input load current ± 10.0 µ A max MSM82C53 digital output specifications (referenced to DGND): •V OH[...]

  • Página 43

     National Instruments Corporation A-1 PC-LPM-16/PnP User Manual Specifications Appendix A This appendix lists the PC-LPM-16PnP specifications. These specifications are typical at 25 ° C unless otherwise specified. The operating temperature range is 0 ° to 70 ° C. PC-LPM-16PnP Board Analog Input Input Characteristics Number of channel s ......[...]

  • Página 44

    Appendix A Specifications PC-LPM-16/PnP User Manual A-2  National Instruments Corporation Gain error (relative to calibration reference) After calibration 0 to 5 V and ± 5 V range ............... ± 1.0 LSB typ, ± 2.0 LSB max All other ranges ............................ ± 2.0 of reading typ, ± 4.0 max Note: LSB refers to the least signific[...]

  • Página 45

    Appendix A Specifications  National Instruments Corporation A-3 PC-LPM-16/PnP User Manual Timing I/O Number of channels ........................... 3 counter/timers (1 dedicated to analog input) Resolution .......................................... 16 bits Compatibility ..................................... TTL, gate and source pulled high with[...]

  • Página 46

    Appendix A Specifications PC-LPM-16/PnP User Manual A-4  National Instruments Corporation Bus Interface Type.................................................... Slave Power Requirement +5 VDC ( ± 10%).................................. 50 mA typ +12 VDC ( ± 5%).................................. 15 mA typ -12 VDC ( ± 5%) ......................[...]

  • Página 47

    Appendix A Specifications  National Instruments Corporation A-5 PC-LPM-16/PnP User Manual sum of quantization uncertainty and A/D conversion error does not exceed a given amount. Integral nonlinearity in a ADC is an often ill-defined specification that is supposed to indicate a converter’s overall A/D transfer linearity. The manufacturers of [...]

  • Página 48

    Appendix A Specifications PC-LPM-16/PnP User Manual A-6  National Instruments Corporation To illustrate these definitions, Figure A-1 shows a portion of the analog-input-to-digital-output transfer curve for an ideal, ADC overlaid on the transfer curve of a hypothetical, typical, ADC. As shown in Figure A-1, the relative accuracy is the deviatio[...]

  • Página 49

    © National Instruments Corporation B-1 PC-LPM-16/PnP User Manual Appendix B MSM82C53 Data Sheet This appendix contains a manufacturer data sheet for the M SM82C53* CMOS programmable int erval timer (OKI Semiconductor) . This timer is used on the PC-LPM-16PnP board. *Copyright  ΟΚΙ Semiconductor 1995. Reprinted with permission of copyright ow[...]

  • Página 50

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-2 © National Instruments Corporation[...]

  • Página 51

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-3 PC-LPM-16/PnP User Manual[...]

  • Página 52

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-4 © National Instruments Corporation[...]

  • Página 53

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-5 PC-LPM-16/PnP User Manual[...]

  • Página 54

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-6 © National Instruments Corporation[...]

  • Página 55

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-7 PC-LPM-16/PnP User Manual[...]

  • Página 56

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-8 © National Instruments Corporation[...]

  • Página 57

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-9 PC-LPM-16/PnP User Manual[...]

  • Página 58

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-10 © National Instruments Corporation[...]

  • Página 59

    Appendix B MSM82C53 Data Sheet © National Instruments Corporation B-11 PC-LPM-16/PnP User Manual[...]

  • Página 60

    Appendix B MSM82C53 Data Sheet PC-LPM-16/PnP User Manual B-12 © National Instruments Corporation[...]

  • Página 61

     National Instruments Corporation C-1 PC-LPM-16/PnP User Manual Using Your PC-LPM-16 (Non-PnP) Board Appendix C This appendix describes the differences between the PC-LPM-16PnP and the PC-LPM-16 non-PnP boards, the PC-LPM-16 board configuration, and installing the PC-LPM-16 into your computer. Differences between the PC-LPM-16PnP and the PC-LPM-[...]

  • Página 62

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-2  National Instruments Corporation Data FIFO Size 16 words 512 words 256 words Dummy reads to A/D and FIFO high-byte and low-byte registers after clearing data FIFO Required Not required, but allowed Not required, but allowed ADC FIFO Data Reading Order Low byte before[...]

  • Página 63

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-3 PC-LPM-16/PnP User Manual To determine which PC-LPM-16 board you have, refer to the Assembly Number row in Table C-1 and compare it to the assembly number displayed on your circuit board (see Figure C-1). Interrupt Enable/ Disable Control Through Command Regis[...]

  • Página 64

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-4  National Instruments Corporation Configuration and Installation of the PC-LPM-16 (non-PnP) Board Configuration The PC-LPM-16 contains three jumpers and one DIP switch to configure the PC bus interface and analog input settings. Use the DIP switch to set the base I/O [...]

  • Página 65

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-5 PC-LPM-16/PnP User Manual Figure C-1. PC-LPM-16 Parts Locator Diagram 1W 3 2 Switch U26 3W 2 4W 1 5 Serial Number 6 Assembly Number 7 Product Name 2 3 4 6 7 5 1 [...]

  • Página 66

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-6  National Instruments Corporation Base I/O Address Selection The base I/O address for the PC-LPM-16 is determined by the switches at position U26 (see Figure C-2). The switches are set at the factory for the base I/O address hex 260. This factory setting is used as th[...]

  • Página 67

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-7 PC-LPM-16/PnP User Manual Each switch in U26 corresponds to one of the address lines A9 through A5. Slide the switch to the side labeled A9 to A5 to select a binary value of zero for the corresponding address bit. Slide the switch to the side of the switch lab[...]

  • Página 68

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-8  National Instruments Corporation possible switch settings, the corresponding base I/O address, and the base I/O address space used for that setting. Table C-3. Switch Settings with Corresponding Base I/O Address and Base I/O Address Space Switch Setting Base I/O Addr[...]

  • Página 69

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-9 PC-LPM-16/PnP User Manual Note: Base I/O address values hex 000 through 0FF are reserved for system use. Base I/O address values hex 100 through 3FF are available on the I/O channel. Interrupt Selection The PC-LPM-16 connects to any one of the six interrupt li[...]

  • Página 70

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-10  National Instruments Corporation Figure C-3. Interrupt Jumper Setting IRQ5 (Factory Setting) If you do not want to use interrupts, set the jumper on W3 as shown in Figure C-4. This setting disables the PC-LPM-16 from asserting an interrupt line on the computer I/O c[...]

  • Página 71

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board  National Instruments Corporation C-11 PC-LPM-16/PnP User Manual Figure C-5. Bipolar Input ( ± 5 V) Jumper Configuration (Factory Setting) Bipolar Input Selection 2 ( ± 2.5 V) Select the bipolar ( ± 2.5 V) input configuration by setting jumpers W1 and W2 as shown in Figure C-6. Figure C-6. Bipo[...]

  • Página 72

    Appendix C Using Y our PC-LPM-16 (Non-PnP) Board PC-LPM-16/PnP User Manual C-12  National Instruments Corporation Unipolar Input Selection 2 (0 to 5 V) Select the unipolar (0 to 5 V) input configuration by using the same setting as the ± 5 V range setting shown in Figure C-5. You can use this setting because the ADC is 12-bit. Therefore, 12-bit[...]

  • Página 73

     National Instruments Corporation D-1 PC-LPM-16/PnP User Manual Register-Level Programming Appendix D This appendix describes in detail information related to register-level programming the PC-LPM-16/PnP. Note: If you plan to use a programming software package such as NI-DAQ, LabVIEW, or LabWindows/CVI with your PC-LPM-16/PnP, you need not read [...]

  • Página 74

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-2  National Instruments Corporation Register Size The PC-LPM-16/PnP registers are 8-bit registers. To transfer 16-bit data, you need two consecutive I/O read or write operations. For example, to read the 16-bit A/D conversion result, read the low byte of FIFO first, then the high[...]

  • Página 75

    Appendix D Register -Level Programming  National Instruments Corporation D-3 PC-LPM-16/PnP User Manual Register Description Format The remainder of this appendix discusses each of the PC-LPM-16/PnP registers in the order shown in Table D-1. Each register group is introduced, followed by an individual register description. The individual register[...]

  • Página 76

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-4  National Instruments Corporation Command Register 1 Command Register 1 indicates the input channel to be read and the interrupt enable bits. Address: Base address + 00 (hex) Type: Write-only Word Size: 8-bit Bit Map: Bit Name Description 7 SCANEN* Scan Enable Bit—This bit en[...]

  • Página 77

    Appendix D Register -Level Programming  National Instruments Corporation D-5 PC-LPM-16/PnP User Manual Command Register 1 (Continued) 6 CNTINTEN Counter Interrupt Enable Bit—With this bit, the counter 2 output can cause interrupts. The power-on value is 0. If this bit is set, an interrupt occurs when counter 2 output makes a low-to-high transi[...]

  • Página 78

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-6  National Instruments Corporation Command Register 1 (Continued) If SCANEN* is cleared, analog channels MA<3..0> through channel 0 are sampled. Sampling order, whether from channel 0 to MA<3..0> or from MA<3..0> to channel 0, is determined by the SCANORDER bit[...]

  • Página 79

    Appendix D Register -Level Programming  National Instruments Corporation D-7 PC-LPM-16/PnP User Manual Command Register 2 Command Register 2 contains only one bit that enables the auto-calibration operation of the ADC. Address: Base address + 07 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–3 0 Reserved bits—The[...]

  • Página 80

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-8  National Instruments Corporation Command Register 2 (Continued) Bit Name Description 0 CALEN Calibration Enable Bit—If this bit is set, the auto- calibration of the 12 bit ADC is enabled. The power- on value is 0. To start the auto-calibration, first write one to this bit, t[...]

  • Página 81

    Appendix D Register -Level Programming  National Instruments Corporation D-9 PC-LPM-16/PnP User Manual Command Register 3 Command Register 3 contains other range setting configuration bits. Address: 05 (hex) Type: Write-only Word Size: 8-bit Bit Map: Bit Name Description 7–2 0 Reserved Bits—These bits must be set to zero. 1–0 ARNG<1..0&[...]

  • Página 82

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-10  National Instruments Corporation Status Register 1 Status Register 1 indicates the status of the current A/D conversion. The bits in this register determine if a conversion is being performed, if data is available, if any errors have been found, and the interrupt status. Addr[...]

  • Página 83

    Appendix D Register -Level Programming  National Instruments Corporation D-11 PC-LPM-16/PnP User Manual Status Register 1 (Continued) Bit Name Description 3 EXTINT* External Interrupt Status Bit—This bit reflects the status of the EXTINT* signal on the I/O connector. If the EXTINTEN bit in Command Register 1 is set and this bit is cleared, the[...]

  • Página 84

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-12  National Instruments Corporation 0 DAVAIL Data Available Bit—This bit indicates whether conversion output is available. If this bit is set, the ADC is finished with the last conversion and the result can be read from the FIFO. This bit is cleared if the FIFO is empty. Writi[...]

  • Página 85

    Appendix D Register -Level Programming  National Instruments Corporation D-13 PC-LPM-16/PnP User Manual Status Register 2 Status Register 2 contains supplementary error information. This register is only on the PC-LPM-16PnP. Address: 01(hex) Type: Read-only Word Size: 8-bit Bit Map: Bit Name Description 7–2 X Don’t care bits. 1 OVERFLOW Over[...]

  • Página 86

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-14  National Instruments Corporation Analog Input Register Group The three registers that make up the Analog Input Register Group control the analog input circuitry and can be used to read the FIFO. Reading the FIFO Register returns stored A/D conversion results. Writing to the A[...]

  • Página 87

    Appendix D Register -Level Programming  National Instruments Corporation D-15 PC-LPM-16/PnP User Manual A/D FIFO Low-Byte Register and A/D FIFO High-Byte Register The 13-bit A/D conversion results are sign-extended to 16-bit data in two’s complement format and are stored in a 16-word deep A/D FIFO buffer. Two 8-bit registers, the A/D FIFO Low-[...]

  • Página 88

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-16  National Instruments Corporation A/D FIFO Low-Byte Register and A/D FIFO High-Byte Register (Continued) Bit Name Description High Byte 7–0 D<15..8> A/D Conversion Data Bits 15 through 8—These bits contain the high byte of the 16-bit, sign-extended two’s complement[...]

  • Página 89

    Appendix D Register -Level Programming  National Instruments Corporation D-17 PC-LPM-16/PnP User Manual A/D Clear Register Write to this register to reset the ADC. This operation clears the data FIFO. All error bits in the Status Register are cleared as well. For the PC-LPM-16 (non PnP only), writing to this register clears the data FIFO and loa[...]

  • Página 90

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-18  National Instruments Corporation Counter/Timer (MSM82C53) Register Group The five registers making up the Counter/Timer Register Group access the onboard MSM82C53 counter/timer. The MSM82C53 has three counters: counter 0, counter 1, and counter 2. Counter 0 controls onboard d[...]

  • Página 91

    Appendix D Register -Level Programming  National Instruments Corporation D-19 PC-LPM-16/PnP User Manual Counter 0 Data Register Use the Counter 0 Data Register to load and read back contents of MSM82C53 counter 0. Address: Base address + 08 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..0> A/D Conversi[...]

  • Página 92

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-20  National Instruments Corporation Counter 1 Data Register Use the Counter 1 Data Register to load and read back contents of MSM82C53 counter 1. Address: Base address + 09 (hex) Type: Read-and-write Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..0> A/D Conversi[...]

  • Página 93

    Appendix D Register -Level Programming  National Instruments Corporation D-21 PC-LPM-16/PnP User Manual Counter Mode Register The Counter Mode Register determines the operation mode for each of the three counters on the MSM82C53 chip. The Counter Mode Register selects the counter involved, the counter’s read/load mode, its operation mode (that[...]

  • Página 94

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-22  National Instruments Corporation Counter Mode Register (Continued) 5–4 RL<1..0> Read/Write Select Bits—These bits select data written to or read from a counter, or these bits send a Counter Latch command. The Counter Latch command latches the current count of the re[...]

  • Página 95

    Appendix D Register -Level Programming  National Instruments Corporation D-23 PC-LPM-16/PnP User Manual Counter Mode Register (Continued) 3–1 M<2..0> Counter Mode Select Bits—These bits select the counting mode of the selected counter. The following table lists six available modes and the corresponding bit settings. Refer to Appendix B[...]

  • Página 96

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-24  National Instruments Corporation Timer Interrupt Clear Register Write to the Timer Interrupt Clear Register to clear the interrupt request asserted when a low pulse is detected on the counter 2 output. Address: Base address + 06 (hex) Type: Write-only Word Size: 8-bit Bit Map[...]

  • Página 97

    Appendix D Register -Level Programming  National Instruments Corporation D-25 PC-LPM-16/PnP User Manual Digital Input Register Read the Digital Input Register to return the logic state of the I/O connector’s eight digital input lines. Address: Base address + 05 (hex) Type: Read-only Word Size: 8-bit Bit Map: Bit Name Description 7–0 D<7..[...]

  • Página 98

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-26  National Instruments Corporation Programming Considerations Following are programming instructions for operating the circuitry on the PC-LPM-16/PnP. To program the PC-LPM-16/PnP, you must write to and read from the various registers on the board. The following programming ins[...]

  • Página 99

    Appendix D Register -Level Programming  National Instruments Corporation D-27 PC-LPM-16/PnP User Manual This sequence leaves the PC-LPM-16/PnP circuitry in the following state: • Counter 0 output is high. • Multichannel scan is disabled. • All interrupts are disabled. • Analog input circuitry is initialized to channel 0. • The A/D FIFO[...]

  • Página 100

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-28  National Instruments Corporation Analog Input Circuitry Programming Sequence 1. Initiate an A/D conversion. A low to high transition on OUT0 or on EXTCONV* initiates A/D conversion. Clear the CALEN bit in Command Register 2 to enable counter 0 and the EXTCONV*. When an A/D co[...]

  • Página 101

    Appendix D Register -Level Programming  National Instruments Corporation D-29 PC-LPM-16/PnP User Manual A/D FIFO Output Binary Modes The A/D conversion result stored in the A/D FIFO is a 16-bit two’s complement value. It is made of 13-bit magnitude and 3-bit sign extension. If the analog input range is unipolar 0 to +10 V or unipolar 0 to +5 V[...]

  • Página 102

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-30  National Instruments Corporation Clearing the Analog Input Circuitry Write to the A/D Clear Register to clear the analog input circuitry, which leaves the analog input circuitry in the following state: • Analog input error flag OVERFLOW is cleared. • Pending interrupt req[...]

  • Página 103

    Appendix D Register -Level Programming  National Instruments Corporation D-31 PC-LPM-16/PnP User Manual after getting the required number of conversions. The number of conversions in a single data acquisition operation in this case is unlimited. Counter 0 is clocked by a 1 MHz clock upon start up. Each of these programming steps is explained as [...]

  • Página 104

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-32  National Instruments Corporation during the programming. Write 0 to the A/D Clear Register to empty the FIFO (8-bit write), then read the low and high bytes from the A/D FIFO (PC-LPM-16 only). 4. Start and service the data acquisition operation. To start the data acquisition [...]

  • Página 105

    Appendix D Register -Level Programming  National Instruments Corporation D-33 PC-LPM-16/PnP User Manual Programming Multiple A/D Conversions Using External Timing You can use the external timing signal EXTCONV* for multiple A/D conversions. A low-to-high transition of EXTCONV* initiates an A/D conversion. Software can also initiate a data acquis[...]

  • Página 106

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-34  National Instruments Corporation service the data acquisition, perform the following sequence until you have read the desired number of conversion results: 1. Read the Status Register 2. If the DAVAIL bit is set, read the A/D FIFO Low-Byte Register first, then read the A/D FI[...]

  • Página 107

    Appendix D Register -Level Programming  National Instruments Corporation D-35 PC-LPM-16/PnP User Manual UP/DOWN bit in Command Register 2 is cleared—the software uses the following scan sequence: channel 3, channel 2, channel 1, channel 0, channel 3, channel 2, channel 1, channel 0, channel 3, and so on. Perform the following steps to select t[...]

  • Página 108

    Appendix D Register -Level Programming PC-LPM-16/PnP User Manual D-36  National Instruments Corporation Programming the MSM82C53 Counter/Timer Counters 0, 1, and 2 of the MSM82C53 counter/timer (except the CLK0 signal of counter 1) are available for general-purpose timing applications. Counter 0 has a fixed 1 MHz clock input and can be used as t[...]

  • Página 109

     National Instruments Corporation E-1 PC-LPM-16/PnP User Manual Customer Communication Appendix E For your convenience, this appendix contains forms to help you gather the information necessary to help us solve your technical problems and a form you can use to comment on the product documentation. When you contact us, we need the information on [...]

  • Página 110

    Fax-on-Demand is a 24-hour information retrieval system containing a library of documents on a wide range of technical information. You can access Fax-on-Demand from a touch-tone telephone at (512) 418-1111. You can submit technical support questions to the applications engineering team through e-mail at the Internet address listed below. Remember [...]

  • Página 111

    Technical Support Form Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions m[...]

  • Página 112

    PC-LPM-16/PnP Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration. Completing this form accurately [...]

  • Página 113

    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-LPM-16/PnP User Manual Edition Date: November 1996 Part Number: 320287C-01 Please comment on the completeness, clarity, and organization of the ma[...]

  • Página 114

     National Instruments Corporation G-1 PC-LPM-16/PnP User Manual Glossary Symbols ˚ degrees – negative of, or minus Ω ohms / per % percent ± plus or minus + positive of, or plus square root of +5 V +5 VDC source signal Prefix Meaning Value p- pico- 10 - 12 n- nano- 10 - 9 µ - micro- 10 - 6 m- milli- 10 - 3 k- kilo- 10 3 M- mega- 10 6 G- gi[...]

  • Página 115

    Glossary PC-LPM-16/PnP User Manual G-2  National Instruments Corporation A A amperes AC alternating current ACH analog input channel signal A/D analog-to-digital ADC A/D converter AI analog input AIGATE analog input gate signal AIGND analog input ground signal AISENSE analog input sense signal ANSI American National Standards Institute AOGND ana[...]

  • Página 116

    Glossary  National Instruments Corporation G-3 PC-LPM-16/PnP User Manual CTR counter D DAQ data acquisition DC direct current DMA direct memory access E EISA Extended Industry Standard Architecture ESP Engineering Software Package F F farads FIFO first-in-first-out ft feet H h hour hex hexadecimal Hz hertz I I/O input/output I OH current, output[...]

  • Página 117

    Glossary PC-LPM-16/PnP User Manual G-4  National Instruments Corporation ISA Industry Standard Architecture L LED light emitting diode LSB least significant bit M m meter MB megabytes of memory MSB most significant bit P PC personal computer R RAM random access memory rms root mean square S s seconds S samples SCANCLK scan clock signal SCXI Sign[...]

  • Página 118

    Glossary  National Instruments Corporation G-5 PC-LPM-16/PnP User Manual T TTL transistor-transistor logic V V volts VDC volts direct current VI virtual instrument V IH volts, input high V IL volts, input low V in volts in V OH volts, output high V OL volts, output low a.Book : n.Glossary Page 5 Wednesday, November 20, 1996 6:36 PM[...]

  • Página 119

    © National Instruments Corporation I -1 PC-LPM-16/PnP User Manual Index Numbers +5 V signal (table), 4-4 +12 V signal (table), 4-3 -12 V signal (table), 4-3 A ACH<0..15> signal description (table), 4-3 input ranges and maximum ratings, 4-5 A/D calibration, programming, D-27 A/D Clear Register, D-17 A/D FIFO clearing, D-30 output binary modes[...]

  • Página 120

    Index PC-LPM-16/PnP User Manual I -2 © National Instruments Corporation B base I/O address selection PC-LPM-16, C-5 to C-9 example switch settings (figure), C-7 PC bus interface factory settings (table), C-6 switch settings with corresponding base I/O address (table), C-8 to C-9 PC-LPM-16PnP, 2-3 BCD bits, D-23 bipolar input selection 1 ( ± 5 V) [...]

  • Página 121

    Index © National Instruments Corporation I -3 PC-LPM-16/PnP User Manual switch settings with corresponding base I/O address (table), C-8 to C-9 block diagram, revised, C-4 interrupt selection, C-9 to C-10 disabling interrupts (figure), C-10 IRQ5 factory setting (figure), C-10 overview, C-4 to C-5 parts locator diagram, revised, C-5 PC-LPM-16PnP. S[...]

  • Página 122

    Index PC-LPM-16/PnP User Manual I -4 © National Instruments Corporation digital I/O circuitry, 3-8 programming digital I/O circuitry, D-35 DISABDAQ bit, D-7, D-33 documentation conventions used in manual, x-xi National Instruments documentation, xi-xii organization of manual, ix-x related documentation, xii DOUT<0..7> signal description (tab[...]

  • Página 123

    Index © National Instruments Corporation I -5 PC-LPM-16/PnP User Manual interrupt selection PC-LPM-16, C-9 to C-10 disabling interrupts (figure), C-10 IRQ5 factory setting (figure), C-10 PC-LPM-16PnP, 2-3 I/O connector exceeding maximum ratings (warning), 4-1 pin assignments (figure), 4-2 J jumper settings. See configuration. L LabVIEW and LabWind[...]

  • Página 124

    Index PC-LPM-16/PnP User Manual I -6 © National Instruments Corporation Plug and Play compatibility, 2-2 to 2-3 power connections, 4-7 power rating (table), 4-8 power requirement specifications, A-4 programming. See register-level programming. pulse and square wave generation, 4-9 pulse-width measurement, 4-10 R register-level programming, D-26 to[...]

  • Página 125

    Index © National Instruments Corporation I -7 PC-LPM-16/PnP User Manual power rating (table), 4-8 signal descriptions (table), 4-3 to 4-4 timing connections, 4-8 to 4-12 data acquisition timing connections, 4-8 to 4-9 general purpose timing signal connections, 4-9 to 4-12 single-channel data acquisition, 3-7 software installation, 2-2 software pro[...]