Advantech PCI-1718 Manual de usuario Pagina 1

Busca en linea o descarga Manual de usuario para Digital + i / s analógicas módulos Advantech PCI-1718. Advantech PCI-1718 User's Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 94
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
PCI-1718 Series
12-bit Multifunction Cards with
Universal PCI Bus
User Manual
Vista de pagina 0
1 2 3 4 5 6 ... 93 94

Indice de contenidos

Pagina 1 - User Manual

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 6

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 34

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

Pagina 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

Pagina 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

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

Pagina 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

Pagina 39 - 31 Chapter 3

PCI-1718 Series User Manual 36

Pagina 40

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

Pagina 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

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

Pagina 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

Pagina 44

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

Pagina 45 - Programming Guide

vContentsChapter 1 Introduction ... 21.1 Features ...

Pagina 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

Pagina 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

Pagina 48

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

Pagina 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

Pagina 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

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

Pagina 52

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

Pagina 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

Pagina 54

PCI-1718 Series User Manual 50

Pagina 55 - 47 Chapter 4

2 APPENDIX ASpecifications

Pagina 56

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

Pagina 57 - 49 Chapter 4

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

Pagina 58

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

Pagina 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

Pagina 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

Pagina 61 - A.3 Digital Input

PCI-1718 Series User Manual 56

Pagina 62 - A.5 Counter/Timer

2 APPENDIX BBlock Diagrams

Pagina 63 - A.6 General

PCI-1718 Series User Manual 58Appendix B Block Diagrams

Pagina 64

2 APPENDIX CRegister Structure & Format

Pagina 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

Pagina 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

Pagina 67 - Register Structure &

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

Pagina 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

Pagina 69

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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

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

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

Pagina 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

Pagina 78 - Bit # 7 654321 0

PCI-1718 Series User Manual viii

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 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

Pagina 87 - 79 Appendix C

PCI-1718 Series User Manual 80

Pagina 88

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

Pagina 89 - Calibration

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

Pagina 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

Pagina 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

Pagina 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

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

Pagina 94

PCI-1718 Series User Manual 86

Comentarios a estos manuales

Sin comentarios