Advantech PCI-1718 Series Uživatelský manuál Strana 1

Procházejte online nebo si stáhněte Uživatelský manuál pro Digitální a analogové I / O moduly Advantech PCI-1718 Series. Advantech PCI-1718 Series User manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 0
PCI-1718 Series
12-bit Multifunction Cards with
Universal PCI Bus
User Manual
Zobrazit stránku 0
1 2 3 4 5 6 ... 93 94

Shrnutí obsahu

Strany 1 - User Manual

PCI-1718 Series12-bit Multifunction Cards with Universal PCI BusUser Manual

Strany 2

PCI-1718 Series User Manual 2Chapter 1 IntroductionThank you for buying the Advantech PCI-1718HDU/HGU. PCI-1718HDU/HGU is a PCI-Bus multifunction car

Strany 3

3 Chapter 1 1.1 Features• Register level programming compatible with PCL-818HD/HG• 16 single-ended or 8 differential A/D inputs, switch selectable

Strany 4

PCI-1718 Series User Manual 4Onboard FIFOThere are 1 K samples FIFO for A/D (AI) on PCI-1718HDU/HGU. This is an important feature for faster data tra

Strany 5 - Contents

5 Chapter 1 1.3 Installation Guide Before you install your PCI-1718HDU/HGU card, please make sure you have the following necessary components:• PCI

Strany 6

PCI-1718 Series User Manual 6Figure 1.1: Installation Flow Chart

Strany 7

7 Chapter 1 1.4 Software Overview Advantech offers a rich set of DLL drivers, third-party driver support and application software to help fully expl

Strany 8

PCI-1718 Series User Manual 81.5 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application

Strany 9 - Introduction

9 Chapter 1 Programming with Device Drivers Function LibraryAdvantech Device Drivers offer a rich function library that can be uti-lized in various a

Strany 10 - Chapter 1 Introduction

PCI-1718 Series User Manual 101.6 AccessoriesAdvantech offers a complete set of accessory products to support the PCI-1718HDU/HGU card. These accesso

Strany 11 - 1.1 Features

2CHAPTER 2InstallationThis chapter provides a packaged item checklist, proper instructions for unpacking and step-by-step procedures for both driver a

Strany 12 - 1.2 Applications

PCI-1718 Series User Manual iiCopyrightThe documentation and the software included with this product are copy-righted 2005 by Advantech Co., Ltd. All

Strany 13 - 1.3 Installation Guide

PCI-1718 Series User Manual 12Chapter 2 Installation2.1 UnpackingAfter receiving your PCI-1718HDU/HGU package, please inspect its contents first. Th

Strany 14 - PCI-1718 Series User Manual 6

13 Chapter 2 .2.2 Driver InstallationWe recommend you install the driver before you install the PCI-1718HDU/HGU card into your system, since this wi

Strany 15 - 1.4 Software Overview

PCI-1718 Series User Manual 14Figure 2.1: Setup Screen of Advantech Automation Software3. Select the Device Drivers option.4. Select the specific devi

Strany 16 - PCI-1718 Series User Manual 8

15 Chapter 2 2.3 Hardware InstallationAfter the Device Drivers installation is completed you can install the PCI-1718HDU/HGU card into any PCI slot

Strany 17 - 9 Chapter 1

PCI-1718 Series User Manual 162.4 Device Setup & Configuration The Advantech Device Manager program is a utility that allows you to set up, confi

Strany 18 - 1.6 Accessories

17 Chapter 2 Configuring the Device4. On the Device Setting dialog box (Fig. 2-4), you can configure the A/D channels configuration either as 8 Diffe

Strany 19 - Installation

PCI-1718 Series User Manual 18After your card is properly installed and configured, you can click the Test… button to test your hardware by using the

Strany 20 - Chapter 2 Installation

2CHAPTER 3Signal ConnectionsThis chapter provides useful informa-tion about how to connect input and output signals to the PCI-1718 cards via the I/O

Strany 21 - 2.2 Driver Installation

PCI-1718 Series User Manual 20Chapter 3 Signal Connections3.1 OverviewMaintaining signal connections is one of the most important factors in ensurin

Strany 22

21 Chapter 3 3.2.1 Setting the BoardID Switch (SW1)BoardID settings are used to set a board’s unique identifier when multiple identical cards are ins

Strany 23 - 2.3 Hardware Installation

iiiProduct Warranty (2 years)Advantech warrants to you, the original purchaser, that each of its prod-ucts will be free from defects in materials and

Strany 24

PCI-1718 Series User Manual 223.2.2 Channel Configuration, S/E or DIFF (SW2)The PCI-1718 cards offer 16 single-ended or eight differential analog inpu

Strany 25 - 17 Chapter 2

23 Chapter 3 When you set JP11 to EXT, the D/A converter takes its reference voltage input from pin 31 of connector CN3. You can apply any voltage be

Strany 26

PCI-1718 Series User Manual 243.2.5 Timer Clock Selection (JP8)PCI-1718’s JP8 controls the input clock frequency for the 8254 program-mable clock/time

Strany 27 - Signal Connections

25 Chapter 3 3.2.6 Ext. trigger and Counter Gate 0 Control (JP5)Jumper 5 determines the source of A/D external trigger signal (Lower) and gate contr

Strany 28 - Chapter 3 Signal Connections

PCI-1718 Series User Manual 26Table 3.7: Summary of Jumper SettingsJumper Function DescriptionJP1 (first) S0D0 (default)JP1 (sec-ond)S1D1 (default)JP1

Strany 29

27 Chapter 3 3.2.8 Setting the Time to Reset Digital OutputsSome users will want the capability of clearing each digital output when the system (or P

Strany 30

PCI-1718 Series User Manual 283.3 Signal ConnectionsPin AssignmentFigure 3-2 shows the pin assignments for the 37-pin I/O connector on the PCI-1718HD

Strany 31 - JP10 5 V (default)

29 Chapter 3 3.3.1 I/O Connector Signal DescriptionTable 3.9: I/O Connector Signal DescriptionsSignal NameReference Direction DescriptionA/D S <0.

Strany 32 - JP8 1 MHz (default)

PCI-1718 Series User Manual 303.3.2 Analog Input ConnectionsPCI-1718HDU/HGU supports either 16 single-ended or 8 differential analog inputs. Switch SW

Strany 33

31 Chapter 3 If the signal source has one side connected to a local ground, the signal source ground and the PCI-1718HDU/HGU ground will not be at ex

Strany 34

PCI-1718 Series User Manual ivCEThis product has passed the CE test for environmental specifications when shielded cables are used for external wiring

Strany 35 - (default)

PCI-1718 Series User Manual 32Expanding Analog InputsYou can expand any or all of the PCI-1718HDU/HGU's A/D input chan-nels using multiplexing da

Strany 36 - 3.3 Signal Connections

33 Chapter 3 Analog Output ConnectionThe PCI-1718HDU/HGU provides one D/A output channel. You can use the internal precision -5 V or -10 V reference

Strany 37

PCI-1718 Series User Manual 343.3.3 Digital Signal ConnectionsThe PCI-1718HDU/HGU has 16 digital input and 16 digital output chan-nels. The digital I/

Strany 38

35 Chapter 3 3.4 Field Wiring Considerations When you use PCI-1718 cards to acquire data from outside, noises in the environment might significantly

Strany 39 - 31 Chapter 3

PCI-1718 Series User Manual 36

Strany 40

2CHAPTER 4Programming GuideThis chapter provides useful informa-tion about how to do register level pro-gramming for PCI-1718 cards.Sections include:•

Strany 41 - 33 Chapter 3

PCI-1718 Series User Manual 38Chapter 4 Programming Guide4.1 OverviewThe PCI-1718 cards are delivered with an easy-to-use 32-bit Device Driver for u

Strany 42

39 Chapter 4 4.3.1 Software Trigger and Polling1. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3.

Strany 43 - 35 Chapter 3

PCI-1718 Series User Manual 40Example Code:/********This code supports TurboC 3.0 or later versions********/#include <stdio.h>#include <DOS.h

Strany 44

41 Chapter 4 4.3.2 Pacer Trigger Mode with InterruptMUX ScanChannel Control &A/D RangeControlSet Scan ChannelSet To PacerTrigger Mode andEnable D

Strany 45 - Programming Guide

vContentsChapter 1 Introduction ... 21.1 Features ...

Strany 46 - Chapter 4 Programming Guide

PCI-1718 Series User Manual 421. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3. Set pacer rate an

Strany 47 - 39 Chapter 4

43 Chapter 4 /***** Set Pacer *****/ outportb(base_addr+0x0f,0x7E); //Pacer=1M/clk1/clk2 outportb(base_addr+0x0d,0x0A); //clk1 o

Strany 48

PCI-1718 Series User Manual 44void interrupt isr(void){ disable(); /***** Add code on here *****/ iflag = 1; //Interrupt Flag outportb(bas

Strany 49 - 41 Chapter 4

45 Chapter 4 4.3.3 Pacer Trigger Mode with Interrupt and FIFOMUX ScanChannel Control &A/D RangeControlSet Scan Channelw Base+0 1Hw Base+0 2 HClea

Strany 50

PCI-1718 Series User Manual 461. Set the input range for each A/D channel2. Set the input channel by specifying the MUX scan range3. Set pacer rate an

Strany 51 - 43 Chapter 4

47 Chapter 4 outportb(base_addr+0x02,0x00); //MUX Scan Channel Control outportb(base_addr+0x01,0x03); //Channel 1 Gain Setting outportb(

Strany 52

PCI-1718 Series User Manual 48 while(iflag==0) {;} /***** FIFO HALF Interrupt and Get Data *****/ for(k=0;k<512;k++) {

Strany 53 - 45 Chapter 4

49 Chapter 4 4.4 Programming with LabVIEW and ActiveDAQAdvantech offers not only a rich set of DLL drivers, but also third-party driver support and

Strany 54

PCI-1718 Series User Manual 50

Strany 55 - 47 Chapter 4

2 APPENDIX ASpecifications

Strany 56

PCI-1718 Series User Manual vi1718 Series 283.3.1 I/O Connector Signal Description ... 29Table 3.9:I/O Connector Signal D

Strany 57 - 49 Chapter 4

PCI-1718 Series User Manual 52Appendix A SpecificationsA.1 Analog InputChannels16 single-ended or 8 differential or combinationResolution12-bitFIFO

Strany 58

53 Appendix A A.2 Analog OutputCommon Mode Voltage±11 V max. (operational)Max. Input Voltage±15 VInput Protect30 Vp-pInput Impedance100 MΩ/10pF(Off)

Strany 59 - Specifications

PCI-1718 Series User Manual 54A.3 Digital InputA.4 Digital OutputInput Channels16Input VoltageLow 0.4V max.High 2.4 V min.Input LoadLow 0.4 V max.@

Strany 60 - Appendix A Specifications

55 Appendix A A.5 Counter/TimerCounter chip82C54 or equivalentChannels3 channels, 2 channels are permanently configured as programmable pacers; 1 ch

Strany 61 - A.2 Analog Output

PCI-1718 Series User Manual 56A.6 GeneralI/O Connector Type37-pin DSUB female for Analog One 20-pin Box Header for DI One 20-pin Box Header for DODi

Strany 62 - A.4 Digital Output

2 APPENDIX BBlock Diagrams

Strany 63 - A.5 Counter/Timer

PCI-1718 Series User Manual 58Appendix B Block Diagrams

Strany 64 - A.6 General

2 APPENDIX CRegister Structure & Format

Strany 65 - Block Diagrams

PCI-1718 Series User Manual 60Appendix C Register Structure & FormatC.1 OverviewPCI-1718 cards are delivered with an easy-to-use 32-bit Device

Strany 66 - Appendix B Block Diagrams

61 Appendix C Table C.1: PCI-1718HDU/HGU Register Format (Part 1)Base Addr.+HEX7 6 54 321000HRA/D low byte data and channelsAD3 AD2 AD1 AD0 C3 C2 C1

Strany 67 - Register Structure &

viiTable C.12:Register for FIFO Interrupt Control ... 70C.11 Clear Interrupt Request — BASE+08H... 71Table C.13:Register

Strany 68 - C.2 I/O Port Address Map

PCI-1718 Series User Manual 62Table C.2: PCI-1718HDU/HGU Register Format (Part 2)Base Addr.+HEX76 5432 1008H R A/D StatusEOC U/B MUX INT CN3 CN2 CN1

Strany 69

63 Appendix C Table C.3: PCI-1718HDU/HGU Register Format (Part 3)Base Addr.+HEX7 654321014HRBoardIDID3ID2ID1ID0WClear FIFO Interrupt Request17HRA/D d

Strany 70

PCI-1718 Series User Manual 64C.3 A/D Data and Channels — BASE+00H~01HAD11 ~ AD0 Analog to digital dataAD0 The least significant bit (LSB) of the A

Strany 71

65 Appendix C C.5 A/D Range Control — BASE+01H Each A/D channel has its own individual input range, controlled by a range code stored in onboard RAM

Strany 72

PCI-1718 Series User Manual 66PCI-1718HGUInput Range (V) Unipolar/BipolarGain CodeG3 G2 G1 G0±5V B 0000±0.5V B 0001±0.05V B 0 0 1 0±0.005V B 00110 to

Strany 73 - BASE + 01H XXXXG3*G2*G1G0

67 Appendix C C.6 MUX Scan Channel Control — BASE+02HThe write register at BASE+02H controls multiplexer (MUX) scanning. The high nibble provides th

Strany 74

PCI-1718 Series User Manual 68C.7 MUX Scan Channel Status — BASE+02HRead register BASE+02H to get the current multiplexer (MUX) channel.CC3 ~ CC0 C

Strany 75 - Bit # 7 6543210

69 Appendix C DI15 ~ DI0 Digital input dataDI0 The least significant bit (LSB) of the DI dataDI15 The most significant bit (MSB)C.9 D/A Output —

Strany 76

PCI-1718 Series User Manual 70DA11 ~ DA0 Analog to digital dataDA0 The least significant bit (LSB) of the D/A dataDA11 The most significant bit (

Strany 77 - C.9 D/A Output — BASE+04/05H

71 Appendix C C.11 Clear Interrupt Request — BASE+08HWrite any value to register BASE+08H to clear the interrupt request.C.12 A/D Status — BASE+08H

Strany 78 - Bit # 7 654321 0

PCI-1718 Series User Manual viii

Strany 79 - C.12 A/D Status — BASE+08H

PCI-1718 Series User Manual 72U/B Unipolar/bipolar mode indicator0 Bipolar mode1 Unipolar modeMUX Single-ended/differential channel indicator0 8 dif

Strany 80

73 Appendix C C.13 A/D Control — BASE+09HRead/write register BASE+09H provides information on the PCI-1718HDU/HGU's operating modes.INTE Disab

Strany 81 - C.13 A/D Control — BASE+09H

PCI-1718 Series User Manual 74C.14 Timer/Counter Enable — BASE+0AHWrite register BASE+0AH enables or disables the PCI-1718 card’s timer/counter.TC0

Strany 82 - BASE + 0AH TC1 TC0

75 Appendix C C.16 Clear FIFO Interrupt Request — BASE+14HWrite any value to this I/O port to clear the FIFO's interrupt request.C.17 A/D Data

Strany 83

PCI-1718 Series User Manual 76C.18 FIFO Status — BASE+19HThe register at BASE+19H clears the FIFO buffer and sets its empty flag (EF). The FIFO stat

Strany 84 - C.19 FIFO Clear — BASE+19H

77 Appendix C C.20 Register Programming Flow ChartC.20.1 Software Trigger Mode with PollingMUX ScanChannel Control &A/D RangeControlSet Software

Strany 85 - 77 Appendix C

PCI-1718 Series User Manual 78C.20.2 Pacer Trigger Mode with InterruptMUX ScanChannel Control &A/D RangeControlSet Scan ChannelSet To PacerTrigge

Strany 86

79 Appendix C C.20.3 Pacer Trigger Mode with Interrupt [FIFO Used]MUX ScanChannel Control &A/D RangeControlSet Scan Channelw Base+0 1Hw Base+0 2

Strany 87 - 79 Appendix C

PCI-1718 Series User Manual 80

Strany 88

2 APPENDIX DCalibrationThis appendix provides brief informa-tion on PCI-1718 card calibration. Reg-ular calibration checks are important to main

Strany 89 - Calibration

2CHAPTER 1IntroductionThis chapter introduces the PCI-1718 cards and their typical applications.Sections include:• Features• Applications• Installa

Strany 90 - Appendix D Calibration

PCI-1718 Series User Manual 82Appendix D CalibrationPCI-1718 cards are calibrated at the factory for initial use. However, a recalibration of the an

Strany 91 - D.1 VR Assignment

83 Appendix D D.1 VR Assignment The six variable resistors (VRs) on the PCI-1718HDU/HGU board help you make accurate adjustment on all A/D and D/A c

Strany 92 - D.2 A/D Calibration

PCI-1718 Series User Manual 84D.2 A/D CalibrationRegular and accurate calibration ensures maximum possible accuracy. The CALB.EXE calibration progra

Strany 93 - D.3 D/A Calibration

85 Appendix D D.3 D/A CalibrationConnect a reference voltage within the range ±10 V to the reference input of the D/A channel you want to calibrate.

Strany 94

PCI-1718 Series User Manual 86

Komentáře k této Příručce

Žádné komentáře