Nova N13072 Instruction Manual

12-bit analog industrial interface board

Advertisement

Quick Links

N13072
ADS168
12-Bit Analog Industrial Interface Board
Nova Research and Engineering, Inc.
th
11930A 44
Street North
Clearwater, FL 33762
(727) 561-0606
6/17/2010

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the N13072 and is the answer not in the manual?

Questions and answers

Summary of Contents for Nova N13072

  • Page 1 N13072 ADS168 12-Bit Analog Industrial Interface Board Nova Research and Engineering, Inc. 11930A 44 Street North Clearwater, FL 33762 (727) 561-0606 6/17/2010...
  • Page 2 Windows and Windows 3.1 are trademarks of Microsoft Corporation. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means without prior written permission of Nova Research and Engineering, Inc.
  • Page 3: Table Of Contents

    Table of Contents Introduction....................4 Installation....................5 Card Configuration..................5 Operation....................7 Board Initialization ............... 9 Input Programming ..........9 Analog Output Programming ....... 11 Calibration....................14 Output Calibration ..............14 Troubleshooting..................15 Appendix A Card Specifications...............
  • Page 4: Introduction

    SECTION 1 Introduction The ADS168 is a multifunction analog and digital I/O expansion board for ISA compatible computers. The ADS168 board installs internally in a full-length expansion socket in an active or passive backplane, and is addressed through the computer s I/O address space (no memory- mapped addressing is supported).
  • Page 5: Installation

    SECTION 2 Installation The ADS168 can be installed any 16 bit slot of an ISA compatible computer system, with an active or passive backplane. When installing or removing the board, always use ESD handling precautions. The card is secured using a single screw to the computer rear card frame, as shown in Figure 1, below.
  • Page 6 300H 304H 308H 30CH 310H X = Jumper installed Table 2.1 - W3 Base I/O Address Settings Several address settings are shown in the following photographs (Figure 2). The progression is binary. Address=0x300 Address=0x304 Address=0x308 Address=0x30C Address=0x310 Figure 2 Some address settings Interrupts.
  • Page 7 IRQ14 IRQ7 IRQ15 IRQ6 IRQ12 IRQ5 IRQ11 IRQ4 IRQ10 IRQ3 Table 2.2 - W1, W2 IRQ Jumper Settings Use only one IRQ setting for each board in the host system. Refer to Chapter 6 for more information on host system IRQ settings and problem solving. A photograph of the card showing W1 and W2 is shown below (Figure 3).
  • Page 8: Operation

    SECTION 3 Operation This section describes the command, status and data formats for programming the ADS168. All data is transferred in 8-bit I/O bus transfers to and from registers on the ADS168. I/O Address Map. The ADS168 uses four sequential host system I/O locations starting at the base address, as determined by the W3 jumper block (Refer to section 2.2.1).
  • Page 9: Board Initialization

    or 32H software reset command can be used at any time. The reset action of the 30H and 31H commands are identical. Board Initialization. Once the board has been reset, it will need to be initialized with the analog output channel update configuration. To initialize the analog outputs, determine the number of the last analog output channel that needs to be updated, from 0 to 7, for a total of eight channels.
  • Page 10 the OUT DATA register being read. Data in the FIFO will be overwritten, once a new conversion command is requested. OUT DATA register Byte Count in FIFO (02H) FIFO (1st byte) Conversion Data Channel Number FIFO (2nd byte) Conversion Data Table 3.6 - Single Conversion Data The recommended program sequence for a single channel analog input conversion is: 1.
  • Page 11: Analog Output Programming

    Upon receiving a load FIFO command, the ADS168 will transfer all of the current conversion data for the selected analog input channels to the FIFO. The FIFO data will be loaded sequentially from the lowest channel number to the highest channel number in the internal scan list - not in the order the list was created.
  • Page 12 COMMAND register 5 VDC Scale 10 VDC Scale INP DATA (1st byte) D/A Output Data Channel Number INP DATA (2nd byte) D/A Output Data Table 3.9 - Analog Output Data Before the ADS168 can output an analog voltage value, the board has to be initialized as described in section 3.5.
  • Page 13 The programming sequence for the digital output mode is: 1. Read the STATUS register until the IBF flag is cleared. 2. Load the COMMAND register with the digital output command. 3. Read the STATUS register until the IBF flag is cleared. 4.
  • Page 14: Calibration

    SECTION 4 Calibration This procedure can be used to verify the performance of the ADS168, or when troubleshooting a control system containing the ADS168. The required instrumentation accuracy is high, so if a recalibration is required, the card should be returned to the manufacturer. See Appendix A for details.
  • Page 15: Troubleshooting

    SECTION 5 Troubleshooting I/O Address Conflicts. When operating the ADS168 with several other I/O adapters in a system, verify that the other I/O adapters do not share I/O address space with the ADS168. Refer to Sections 2.2.1 and 3.2. Interrupt Conflicts. Interrupt conflicts are very common in ISA bus computer systems. If the interrupt feature of the ADS168 is enabled, verify that other I/O adapter cards in the system are not using the same interrupt.
  • Page 16: Appendix A Card Specifications

    Appendix A Technical Specifications General. Bus interface: ISA, 16 bit. IBM-AT compatible. Bus transfer: 8 bits. I/O Address range: 000H to 3FCH. Interrupts available: IRQ 3, 4, 5, 6, 7, 10, 11, 12, 14, or 15 I/O wait states required: None. FIFO interface: 256 bytes (max.).
  • Page 17 Power. Power supplies that have poor voltage regulation, high levels of ripple or switching noise should not be used. +5 VDC 10% at 210 mA nominal (250 mA maximum) +12 VDC 5% at 30 mA nominal (85 mA maximum) -12 VDC 5% at 30 mA nominal (30 mA maximum). Environmental.
  • Page 18: Appendix B Ordering And Service Information

    Before returning defective materials for repair or replacement, contact the manufacture and obtain an RMA number. All ADS168 boards must be returned in ESD protective materials or the warranty will be void. Nova Research and Engineering 11930A 44 Street North...
  • Page 19: Appendix C Programming Examples

    Appendix C Programming Examples BASIC Programming Example ' ADS168 BASIC sample program Y = &H300 ' ADS168 I/O address ' ============================================================== Send Reset Command ' ============================================================== PRINT "Checking IBF flag" GOSUB CHKIBF PRINT "Sending reset (cleared outputs)." C = &H32 OUT Y + 1, C PRINT "Addr: ";...
  • Page 20 PRINT "Sending D/A output command." PRINT "Addr: "; HEX$(Y + 1); "H Command: "; HEX$(X1); "H" PRINT "Addr: "; HEX$(Y); "H Data: "; HEX$(X2); "H" PRINT "Addr: "; HEX$(Y); "H Data: "; HEX$(X3); "H" PRINT ' =============================================================== Do a A/D Conversion From a Channel ' =============================================================== C = 0 ' A/D channel address B = 1 ' Gain of X1, X2, X4 or X8...
  • Page 21 C Programming Example // ADS168 C sample program #include <stdio.h> // standard console I/O #include <conio.h> // console and port I/O // define variables Int DataReg = 0x300, // data register address StatReg = 0x301, // status register address CommReg = 0x301, // command register address FifoReg = 0x302, // FIFO register address...
  • Page 22 // ============================================================== Output a D/A Value to a Channel // ============================================================== Chan = 0; // DAC channel address Gain = 1; // select 5V or 10V F/S DacValue = 2047; // DAC 12 bit value DacComm = Gain * 0x80; DacLsb = ((DacValue &...
  • Page 23 // ============================================================ Functions // ============================================================ // wait for input buffer full (IBF) flag to clear Void ChkIbf() printf ("\nChecking IBF flag"); while ((inp(StatReg)) & 2); // wait for output buffer full (OBF) flag to set Void ChkObf() while ((inp(StatReg) & 1) == 0 ); ADS168 Analog Industrial Interface Board...
  • Page 24: Appendix D Interface Connections

    Appendix D Interface Connections Pin Signal Description Pin Signal Description 1 AGND Analog ground AO 7 Analog output 7 2 AO 6 Analog output 6 AO 5 Analog output 5 3 AO 4 Analog output 4 AO 3 Analog output 3 4 AO 2 Analog output 2 AO 1...
  • Page 25 Pin Signal Description Pin Signal Description 1 DGND Digital ground AGND Analog ground 2 DGND Digital ground AGND Analog ground 3 DGND Digital ground AGND Analog ground 4 DGND Digital ground AGND Analog ground 5 DGND Digital ground AGND Analog ground 6 DGND Digital ground AGND...
  • Page 26 Pin Signal Pin Signal B1 GND (signal not used) B2 RESET DRV B3 +5 VDC B4 (signal not used) B5 (signal not used) B6 (signal not used) B7 -12 VDC B8 (signal not used) B9 -12 VDC B10 GND A10 (signal not used) B11 (signal not used) A11 AEN B12 (signal not used)

This manual is also suitable for:

Ads168

Table of Contents