Advantech PCI-1718 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Digitale und analoge E / A-Module Advantech PCI-1718 herunter. Advantech PCI-1718 User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 94
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
PCI-1718 Series
12-bit Multifunction Cards with
Universal PCI Bus
User Manual
Seitenansicht 0
1 2 3 4 5 6 ... 93 94

Inhaltsverzeichnis

Seite 1 - User Manual

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 6

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 27 - Signal Connections

25 Chapter 3 3.2.6 Ext. trigger and Counter Gate 0 Control (JP5)JP5 has two jumpers. The upper jumper selects the card's A/D trigger source when

Seite 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

Seite 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

Seite 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

Seite 31 - JP10 5 V (default)

29 Chapter 3 3.3.1 I/O Connector Signal DescriptionTable 3.9: I/O Connector Signal DescriptionsSignal NameReferenceDirectionDescriptionA/D S <0..1

Seite 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

Seite 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

Seite 34

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

Seite 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

Seite 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

Seite 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/

Seite 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

Seite 39 - 31 Chapter 3

PCI-1718 Series User Manual 36

Seite 40

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

Seite 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

Seite 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.

Seite 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

Seite 44

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

Seite 45 - Programming Guide

vContentsChapter 1 Introduction ... 21.1 Features ...

Seite 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

Seite 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

Seite 48

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

Seite 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

Seite 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

Seite 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(

Seite 52

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

Seite 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

Seite 54

PCI-1718 Series User Manual 50

Seite 55 - 47 Chapter 4

2 APPENDIX ASpecifications

Seite 56

PCI-1718 Series User Manual viTable 3.9:I/O Connector Signal Descriptions ... 293.3.2 Analog Input Connections ...

Seite 57 - 49 Chapter 4

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

Seite 58

53 Appendix A A.2 Analog OutputA.3 Digital InputChannels1Resolution12-bitMax. Transfer Rate100 kS/sOutput Range (Internal & External Reference)

Seite 59 - Specifications

PCI-1718 Series User Manual 54A.4 Digital OutputA.5 Counter/TimerOutput Channels16Output VoltageLow 0.4 V max.@ +8.0mA (sink)High 2.4 V min.@ -0.4m

Seite 60 - Appendix A Specifications

55 Appendix A A.6 GeneralI/O Connector Type37-pin DSUB female for Analog One 20-pin Box Header for DI One 20-pin Box Header for DODimensions175 x 10

Seite 61 - A.3 Digital Input

PCI-1718 Series User Manual 56

Seite 62 - A.5 Counter/Timer

2 APPENDIX BBlock Diagrams

Seite 63 - A.6 General

PCI-1718 Series User Manual 58Appendix B Block Diagrams

Seite 64

2 APPENDIX CRegister Structure & Format

Seite 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

Seite 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

Seite 67 - Register Structure &

viiC.13 A/D Control — BASE+09H ... 73Table C.15:Register for A/D Control ... 73C.14 Ti

Seite 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

Seite 69

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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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 —

Seite 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 (

Seite 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

Seite 78 - Bit # 7 654321 0

PCI-1718 Series User Manual viii

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 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

Seite 87 - 79 Appendix C

PCI-1718 Series User Manual 80

Seite 88

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

Seite 89 - Calibration

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

Seite 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

Seite 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

Seite 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

Seite 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.

Seite 94

PCI-1718 Series User Manual 86

Kommentare zu diesen Handbüchern

Keine Kommentare