Omega ISA- BUS MULTI-FUNCTIONAL BOARD OME-A822PG Hardware Manual

Isa-bus multi-functional board

Advertisement

Quick Links

User' s Guide
Shop online at
www.omega.com
e-mail: info@omega.com
OME-A822PG
ISA-Bus
Multi-Functional Board
Hardware Manual

Advertisement

Table of Contents
loading

Summary of Contents for Omega ISA- BUS MULTI-FUNCTIONAL BOARD OME-A822PG

  • Page 1 User’ s Guide Shop online at www.omega.com e-mail: info@omega.com OME-A822PG ISA-Bus Multi-Functional Board Hardware Manual...
  • Page 2 Toll Free in United Kingdom: 0800-488-488 e-mail: sales@omega.co.uk It is the policy of OMEGA to comply with all worldwide safety and EMC/EMI regulations that apply. OMEGA is constantly pursuing certification of its products to the European New Approach Directives. OMEGA will add the CE mark to every appropriate device upon certification.
  • Page 3 OME-A-822PGH/PGL Enhanced Multi-Function Card Hardware Manual OME-A-822PGL/PGH Hardware Manual ---- 1...
  • Page 4: Table Of Contents

    Tables of Contents Introduction_________________________________________________________ 4 General Description __________________________________________________ 4 Features _____________________________________________________________ 4 Specifications _________________________________________________________ 5 1.3.1 Power Consumption : ________________________________________________________ 5 1.3.2 Analog Inputs ______________________________________________________________ 5 1.3.3 A/D Converter _____________________________________________________________ 5 1.3.4 DA Converter ______________________________________________________________ 6 1.3.5 Digital I/O_________________________________________________________________ 6 1.3.6 Interrupt Channel ___________________________________________________________ 6 1.3.7...
  • Page 5 2.4.9 A/D Software Trigger Control Register _________________________________________ 23 2.4.10 D/O Output Latch Register __________________________________________________ 24 Digital I/O __________________________________________________________ 25 8254 Timer/Counter __________________________________________________ 26 A/D Conversion ______________________________________________________ 27 2.7.1 A/D conversion flow________________________________________________________ 28 2.7.2 A/D Conversion Trigger Modes _______________________________________________ 29 2.7.3 A/D Transfer Modes ________________________________________________________ 29 2.7.4 Using software trigger and polling transfer ______________________________________ 30...
  • Page 6: Introduction

    1. Introduction 1.1 General Description The OME-A-822PGL/PGH is a high performance, multifunction analog, digital I/O board for PC AT compatible computers. The OME-A-822PGL provides low gain (0.5,1, 2, 4, 8). The OME-A-822PGH provides high gain (0.5,1,5,10,50,100,500,1000). The OME-A-822PGL/PGH contains a 12-bit ADC with up to 16 single-ended or 8 differential analog inputs.
  • Page 7: Specifications

    1.3 Specifications 1.3.1 Power Consumption : +5V @960 mA maximum, OME-A-822PGL/PGH Operating temperature : -20°C to 60°C 1.3.2 Analog Inputs Channels : 16 single-ended or 8 differential Input range : (software programmable) OME-A-822PGL:bipolar unipolar : 0 to 10V, 0 to 5V, 0 to 0.2.5V, 0 to 1.25.V OME-A-822PGH:bipolar unipolar : 0 to 10V, 0 to 1V, 0 to 0.1V, 0 to 0.01V Input current : 250 nA max (125 nA typical ) at 25 deg.
  • Page 8: Da Converter

    1.3.4 DA Converter Channels : 2 independent type : 12 bit multiplying , Analog device AD-7541 Linearity : +/- 1/2 bit Output range : 0 to 5V or 0 to 10V jumper selected , may be used with other AC or DC reference input. Maximum output limit +/- 10V Output drive : +/- 5mA settling time : 0.6 microseconds to 0.01% for full scale step 1.3.5 Digital I/O...
  • Page 9: Programmable Timer/Counter

    1.3.7 Programmable Timer/Counter Type : 82C54 -8 programmable timer/counter Counters : Counter1 and counter2 are cascaded as a 32 bit pacer timer. Counter0 is a user available timer/counter. The software driver also uses counter0 to implement a machine independent timer. Clock input frequency : DC to 10 MHz Pacer output : 0.00047Hz to 0.5MHz Input ,gate : TTL compatible...
  • Page 10: Applications

    1.4 Applications Signal analysis FFT & frequency analysis Transient analysis Production testing Process control Vibration analysis Energy management Industrial and laboratory. measurement and control 1.5 Product Check List The OME-A-8322PGL/PGH includes the following items: OME-A-822PGL/PGH multifunction card OME-A-822PGL/PGH CD ROM Attention ! If any of these items are missing or damaged, please contact our customer service department.
  • Page 11: Hardware Configuration

    2. Hardware Configuration 2.1 Board Layout OME-A-822PGL/PGH Hardware Manual ---- 9...
  • Page 12: I/O Base Address Setting

    2.2 I/O Base Address Setting The OME-A-822PGL/PGH occupies 16 consecutive locations in I/O address space. The base address is set by DIP switch SW1. The default address is 0x220. SW1 : BASE ADDRESS BASE ADDR 200-20F 210-21F 220-22F( ) 230-23F 300-30F 3F0-3FF ( ) : default base address is 0x220...
  • Page 13: Jumper Settings

    The PC I/O port map is given below. ADDRESS Device 000-1FF PC reserved 200-20F Game/control 210-21F XT Expansion Unit 238-23F Bus Mouse/Alt. Bus Mouse 3A0-3AF 278-27F Parallel Printer 2B0-2DF 2E0-2E7 AT GPIB 2E8-2EF Serial Port 2F8-2FF Serial Port 300-31F Prototype Card 2.3 Jumper Settings 2.3.1 JP1 : D/A Internal Reference Voltage...
  • Page 14: Jp2 : D/A Int/Ext Ref Voltage Selection

    2.3.2 JP2 : D/A Int/Ext Ref Voltage Selection Ch 1 = INT Ch 2 = INT (default) Ch 1 = INT Ch 2 =EXT (ExtRef2) If JP2 is set to internal reference, then JP1 should be set to -5V or -10V internal reference voltage.
  • Page 15: Jp4 : A/D Trigger Source Selection

    2.3.4 JP4 : A/D Trigger Source Selection Internal Trigger (default) The OME-A-822PGL/PGH supports two trigger types, internal trigger and external trigger. The external trigger comes from ExtTrg, CN3 pin 17. There are two types of internal triggers, software trigger and pacer trigger. More detailed information is given in section 2.4.8.
  • Page 16: Jp6 : User Timer/Counter Clock Input Selection

    2.3.6 JP6 : User Timer/Counter Clock Input Selection Internal 2M Clock (default) The OME-A-822PGL/PGH has 3 independent 16 bit timer/counters. The cascaded counter1 and counter2 are used as a pacer timer. Counter0 can be used as a user programmable timer/counter. The user programmable timer/counter can be set to 2M internal clock or external clock ExtCLK, CN3 pin 37.
  • Page 17: Jp7 : Dma Dack Selection

    2.3.7 JP7 : DMA DACK Selection, JP8 : DMA DRQ Selection NO DMA DMA 1 (default) DMA 3 The DMA channel can not shared. The OME-A-822 software driver can support 8 different boards in one PC based system, but only two of these boards can use the DMA transfer function.
  • Page 18: I/O Register Address

    2.4 I/O Register Address The OME-A-822PGL/PGH occupies 16 consecutive PC I/O addresses. The following table lists the registers and their locations. Address Read Base+0 8254 Counter 0 Base+1 8254 Counter 1 Base+2 8254 Counter 2 Base+3 Reserved Base+4 A/D Low Byte Base+5 A/D High Byte Base+6...
  • Page 19: 8254 Counter

    2.4.1 8254 Counter The 8254 Programmable timer/counter has 4 registers from Base+0 through Base+3. For detailed programming information on the 8254 , please refer to Intel‘s “Microsystem Components Handbook”. Address Read Base+0 8254 Counter 0 Base+1 8254 Counter 1 Base+2 8254 Counter 2 Base+3 Reserved...
  • Page 20: D/A Output Latch Register

    2.4.3 D/A Output Latch Register (WRITE) Base+4 : Channel 1 D/A Low Byte Data Format Bit 7 Bit 6 Bit 5 (WRITE) Base+5 :Channel 1 D/A High Byte Data Format Bit 7 Bit 6 Bit 5 (WRITE) Base+6 : Channel 2 D/A Low Byte Data Format Bit 7 Bit 6 Bit 5...
  • Page 21: D/I Input Buffer Register

    2.4.4 D/I Input Buffer Register (READ) Base+6 : D/I Input Buffer Low Byte Data Format Bit 7 Bit 6 Bit 5 (READ) Base+7 : D/I Input Buffer High Byte Data Format Bit 7 Bit 6 Bit 5 D/I 16 bits input data : D15..D0, D15=MSB, D0=LSB The OME-A-822PGL/PGH provides 16 TTL compatible digital inputs.
  • Page 22: A/D Gain Control Register

    2.4.6 A/D Gain Control Register (WRITE) Base+9 : A/D Gain Control Register Format Bit 7 Bit 6 Bit 5 The only difference between the OME-A-822PGL and OME-A-822PGH is the GAIN control function. The OME-A-822PGL provides gains of 1/2/4/8 and the OME-A-822PGH provides gains of 1/10/100/1000.
  • Page 23: A/D Multiplex Control Register

    OME-A-822PGH GAIN CONTROL CODE TABLE BI/UN Settling Time GAIN Input Range 23 us 28 us 140 us 1300 us 1000 23 us 28 us 140 us 1300 us 1000 23 us 28 us 140 us 1300 us BI=Bipolar, UNI=Unipolar, X=don‘t care, N/A=not available 2.4.7 A/D Multiplex Control Register (WRITE) Base+A : A/D Multilexer Control Register Format Bit 7...
  • Page 24: A/D Mode Control Register

    2.4.8 A/D Mode Control Register (WRITE) Base+B : A/D Mode Control Register Format Bit 7 Bit 6 Bit 5 X=don‘t care JP4 Select Internal Trigger Mode Select Trigger Type D2 D1 D0 Software Trig Select X=disable JP4 Select External Trigger Mode Select Trigger Type D2 D1 D0 External Trigger...
  • Page 25: A/D Software Trigger Control Register

    The software driver provides three data transfer methods, polling, interrupt and DMA. The polling subroutine, A-822_AD_PollingVar() or A-822_AD_PollingArray(), set the A/D mode control register to 0x01. This control word enables software trigger and polling transfer. The interrupt subroutine, A-822_AD_INT_START(…), sets the A/D mode control mode register to ox06.
  • Page 26: D/O Output Latch Register

    2.4.10 D/O Output Latch Register (WRITE) Base+D : D/O Output Latch Low Byte Data Format Bit 7 Bit 6 Bit 5 (WRITE) Base+E : D/O Output Latch High Byte Data Format Bit 7 Bit 6 Bit 5 D/O 16 bits output data : D15..D0, D15=MSB, D0=LSB The OME-A-822PGL/PGH provides 16 TTL compatible digital outputs.
  • Page 27: Digital I/O

    2.5 Digital I/O The OME-A-822PGL/PGH provides 16 digital input channels and 16 digital output channels. All levels are TTL compatible. The connection diagram and block diagram are given below: Output Latch Register Base+D Latch D0..D7 D0..D7 Reset Power on reset Reset D8..D15 Latch...
  • Page 28: 8254 Timer/Counter

    2.6 8254 Timer/Counter The 8254 Programmable timer/counter has 4 registers from Base+0 through Base+3. For detailed programming information about the 8254 , please refer to Intel‘s “Microsystem Components Handbook”.The block diagram is shown below. CN3.33 CN3.37 Cin : clock input Cout : clock output INTCLK : internal clock CN3 : connector CN3...
  • Page 29: A/D Conversion

    2.7 A/D Conversion This section explains how to perform A/D conversions. The A/D conversion can be triggered 3 ways, by software trigger, by pacer trigger or by external trigger to the A/D converter. At the end of A/D conversion, it is possible to transfer data by 3 ways, those are polling , interrupt and DMA.
  • Page 30: A/D Conversion Flow

    2.7.1 A/D conversion flow Before using the A/D converter, the user should configure the following hardware settings: 1. select single-ended or differential input (JP3) (refer to Sec. 2.9 first) 2. select internal trigger or external trigger (JP4) 3. select IRQ level if needed (JP5) 4.
  • Page 31: A/D Conversion Trigger Modes

    2.7.2 A/D Conversion Trigger Modes OME-A-822PGL/PGH supports three trigger modes. 1 : Software Trigger : Write any value to the A/D software trigger control register, BASE+A, to initiate an A/D conversion cycle. This mode is very simple but it is very difficult to achieve a precise sample rate.
  • Page 32: Using Software Trigger And Polling Transfer

    2.7.4 Using software trigger and polling transfer If the user needs to control the A/D converter without the A-822 software driver, software trigger and polling transfer is suggested. The program steps are listed below: 1. send 0x01 to the A/D mode control register (software trigger + polling transfer) (refer to Sec.
  • Page 33: D/A Conversion

    2.8 D/A Conversion The OME-A-822PGL/PGH provides two 12 bit D/A converters. Before using the D/A converter function, you should address the following items: D/A output register, BASE+4/BASE+5/BASE+6/BASE+7, (sec. 2.4.3) JP1 jumper set to internal reference voltage -5V or -10V (sec. 2.3.1) JP2 jumper set to internal or external reference voltage (sec.
  • Page 34: Analog Input Signal Connection

    2.9 Analog Input Signal Connection The OME-A-822 can measure signals in the single-ended or differential mode. In the differential mode each channel has a unique signal HIGH and signal LOW connection. In the single-ended mode all channels have a unique signal HIGH connection but share a common LOW or ground connection.
  • Page 35 Figure 1-A If the source is grounded, a second ground connection on the card could result in a ground loop. Figure 1-B OME-A-822PGL/PGH Hardware Manual ---- 33...
  • Page 36 Figure 2 Figure 3 OME-A-822PGL/PGH Hardware Manual ---- 34...
  • Page 37 Figure 4 R is a shunt resistor. A 250Ω shunt resistor converts 4-20mA to 1-5Vdc. Signal Shielding The signal shielding is the same for the connections shown in Figure 1 to Figure 4 Use a single connection to frame ground (not A.GND or D.GND) OME-A-822PGL/PGH Hardware Manual ---- 35 OME-A-822PGL/PGH A.GND...
  • Page 38: Using Ome-Db-8225 Cjc Output

    2.10 Using OME-DB-8225 CJC Output The OME-DB-8225 daughter board contains built-in cold junction compensation (CJC) circuitry that provides a 10mV per Deg C output. With 0.0 Volts @ -273 Deg C. The OME-A-822 should be protected from drafts and direct sunlight in order to accurately reflect room temperature. CJC Calibration: 1.
  • Page 39: Connector

    3. Connector The OME-A-822PGL/PGH provides three connectors. Connector 1, CN1 contains the 16 digital inputs. Connector 2, CN2, contains the 16 digital outputs. Connector 3, CN3, contains the analog inputs, analog outputs and timer/counter I/O. 3.1 CN1/CN2/CN3 Pin Assignment CN1 : Digital Input Pin Assignment. Pin Number Description Digital Input 0/TTL Digital Input 2/TTL...
  • Page 40 SINGLE-ENDED SIGNAL MODE CN3 : Analog input, Analog output and Timer/Counter Pin Assignment. Pin Number Description Analog Input 0/+ Analog Input 1/+ Analog Input 2/+ Analog Input 3/+ Analog Input 4/+ Analog Input 5/+ Analog Input 6/+ Analog Input 7/+ Analog GND Analog GND D/A internal -5V/-10V...
  • Page 41 DIFFERENTIAL SIGNALS CN3 : Analog input, Analog output and Timer/Counter Pin Assignment. Pin Number Description Analog Input 0/+ Analog Input 1/+ Analog Input 2/+ Analog Input 3/+ Analog Input 4/+ Analog Input 5/+ Analog Input 6/+ Analog Input 7/+ Analog GND Analog GND D/A internal -5V/-10V voltage reference output...
  • Page 42: Daughter Board

    3.2 Daughter Board The OME-A-822PGL/PGH can be connected with many different daughter boards. The daughter boards are described below: 3.2.1 OME-DB-8225 The OME-DB-8225 provides an on-board CJC(Cold Junction Compensation) circuit for thermocouple measurement and a terminal block for easy signal connection. The CJC is connected to A/D channel_0.
  • Page 43: Calibration

    4. Calibration The OME-A-822PGL/PGH is factory calibrated for optimum performance. Recalibration is suggested for high vibration environments. calibrating the OME-A-822PGL/PGH. One 6 digit multimeter One stable voltage source (4.9988V) Diagnostic program : this program included with the OME-A822PGL/PGH. 4.1 Description of Variable Resistors There are seven variable resistors(VRs) on the OME-A-822PGL/PGH used for calibration, they are described below.
  • Page 44: D/A Calibration

    4.2 D/A Calibration 1. Run the A82XDIAG.EXE program 2. Press the “Right Arrow Key” to select “CALIBRATION”. 3. Press the “Down Arrow Key” to select “G. D/A REFERENCE”. 4. Press the “Enter Key” 5. Connect VREF, pin 11 of CN3, to a DVM (Digital Volt Meter) 6.
  • Page 45: A/D Calibration

    4.3 A/D Calibration 1. Run the A82XDIAG.EXE 2. Press “Right Arrow Key” to select “CALIBRATION” 3. Press the “Down Arrow Key” to select “C. A/D REFERENCE” item. 4. Press the “Enter Key” 5. Input a stable 4.9988V to A/D channel 0, pin 1 of CN3 6.
  • Page 46: Diagnostic Utility

    5. Diagnostic Utility 5.1 Introduction The A82XDIAG.EXE diagnostic utility is a menu-driven program which allows complete testing of the OME-A-822PGL/PGH board. change to the subdirectory used in the installation process (C:\OME-A-822 for example). Then type "A82XDIAG" <Enter> to start the application. These steps are shown below: C:\>CD A822<Enter>...
  • Page 47 Although you can continue by pressing any key, it is recommended that the jumper situation be corrected since many operations in the A82XDIA utility check the I/O base address and report an error if the configuration file and the actual jumper settings do not match.
  • Page 48: Running The Diagnostic Utility

    5.2 Running The Diagnostic Utility The initial screen of A82XDIAG is shown below. There are five main menus in the initial screen. They are Setup, Calibration, FunctionTest, sPecialTest and Help. Use the Left or Right key to select the main menu. Then use the Up or Down key to select the menu item.
  • Page 49: Setup

    5.2.1 Setup The Setup menu allows the user to setup the board configuration. There are six functions in this muen, Card type, Base Addresss, DMA no, IRQ no, Save option, eXit. Card type : <Up/Down> key to select A-822PGL/PGH, <Enter> key to select Base Address : <Up/Down>...
  • Page 50 DMA no and IRQ no selection screen OME-A-822PGL/PGH Hardware Manual ---- 48...
  • Page 51: Calibration

    5.2.2 CALIBRATION The CALIBRATION menu contains ten submenu items: they are, D/A Reference voltage, D/A Channel 0 gain, D/A channel 1 gain, A/D Gain, A/D Offset, A/D Bipolar Offset, A/D Unipolar Offset. These items relate to the calibration of the OME-A-822PGL/PGH. The CALIBRATION main menu, is a graphic representation of the OME-A-822PGL/PGH board layout.
  • Page 52: Function Test

    5.2.3 FUNCTION TEST The FUNCTION TEST main menu contains seven submenus: they are D/A TEST, Digital I/O, A/D MULTIPLEX, A/D use IRQ, A/D use DMA, A/D GAIN, Timer 0. The main menu is shown below. The “D/A TEST” menu, is shown below. OME-A-822PGL/PGH Hardware Manual ---- 50...
  • Page 53 <D/A TEST > Test Screen Assume D/A output range 0 to 5V Send D/A output to both channels simultaneously Press <p> pause screen, press <p> again release screen Press <Up> key to increase screen delay Press <Down > key to decrease screen delay Press <ESC>...
  • Page 54 <Digital I/O> Test Screen Connect CN1 to CN2 16 bit up counter is sent to 16 channel DO 16 channel DO is connected to 16 channel DI 16 channel DI are readback and show on the screen If DO equals DI then OK shown on screen If DO does not equal DI then Error shown on screen Press <p>...
  • Page 55 <A/D Multiplexer> Test Screen Assume 16 channel single-ended, bipolar, gain=1, analog input signals Input range from -5V to +5V Continue to scan 16 channels Press <ESC> key to quit OME-A-822PGL/PGH Hardware Manual ---- 53...
  • Page 56 <A/D use IRQ> Test Screen Assume single-ended, bipolar, gain=1 Use <PgUp> key to select the next channel Use <PgDn> key to select the previous channel Use <Up>/<Down> key to adjust C1 Use <Left>/<Right> key to adjust C2 The sample rate = The pacer timer rate = 2000/(C1*C2) K Use <p>...
  • Page 57 <A/D use DMA> Test Screen Assume single-ended, bipolar, gain=1 Use <PgUp> key to select the next channel Use <PgDn> key to select the previous channel Use <Up>/<Down> key to adjust C1 Use <Left>/<Right> key to adjust C2 Sample rate = pacer timer rate = 2000/(C1*C2) K Use <p>...
  • Page 58 <DA GAIN> Test Screen Assume single-ended, bipolar, gain=1, A/D channel 0 connected to D/A channel 0 Use <Up>/<Down> key to adjust gain control code Use <Left>/<Right> key to adjust D/A output value Use software trigger and polling transfer mode Press <ESC> key to quit OME-A-822PGL/PGH Hardware Manual ---- 56...
  • Page 59 <Timer 0> Test Screen Assume JP6 set to internal 2M clock If the counter0 is functioning normally, the value will increment automatically. OME-A-822PGL/PGH Hardware Manual ---- 57...
  • Page 60: Special Test

    5.2.4 SPECIAL TEST The SPECIAL TEST menu contains four submenu items: they are D/A Volt Set, DIO Bit Pattern, IRQ Clock Test and DMA Clock Test. These functions are reserved for factory testing. OME-A-822PGL/PGH Hardware Manual ---- 58...
  • Page 61: Help

    5.2.5 Help The Help menu will display the software version as shown below. OME-A-822PGL/PGH Hardware Manual ---- 59...
  • Page 62 Department will issue an Authorized Return (AR) number immediately upon phone or written request. Upon examination by OMEGA, if the unit is found to be defective, it will be repaired or replaced at no charge. OMEGA’s WARRANTY does not apply to defects resulting from any action of the purchaser, including but not limited to mishandling, improper interfacing, operation outside of design limits, improper repair, or unauthorized modification.
  • Page 63 Where Do I Find Everything I Need for Process Measurement and Control? OMEGA…Of Course! Shop online at www.omega.com TEMPERATURE Thermocouple, RTD & Thermistor Probes, Connectors, Panels & Assemblies Wire: Thermocouple, RTD & Thermistor Calibrators & Ice Point References Recorders, Controllers & Process Monitors...

Table of Contents