ADLINK Technology PCI-8136 User manual

Category
Noise Reduction Machine
Type
User manual
Advance Technologies; Automate the World.
Manual Rev. 2.00
Revision Date: July 5, 2007
Part No: 50-11120-1010
PCI-8136
General Purpose
Multi-Function
I/O Card
User’s Manual
Copyright 2007 ADLINK TECHNOLOGY INC.
All Rights Reserved.
The information in this document is subject to change without prior
notice in order to improve reliability, design, and function and does
not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, spe-
cial, incidental, or consequential damages arising out of the use or
inability to use the product or documentation, even if advised of
the possibility of such damages.
This document contains proprietary information protected by copy-
right. All rights are reserved. No part of this manual may be repro-
duced by any mechanical, electronic, or other means in any form
without prior written permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, DAQBench are registered trademarks of ADLINK
TECHNOLOGY INC.
Product names mentioned herein are used for identification pur-
poses only and may be trademarks and/or registered trademarks
of their respective companies.
Getting Service from ADLINK
Customer Satisfaction is top priority for ADLINK Technology Inc.
Please contact us should you require any service or assistance.
ADLINK TECHNOLOGY INC.
Web Site: http://www.adlinktech.com
Sales & Service: [email protected]
TEL: +886-2-82265877
FAX: +886-2-82265717
Address: 9F, No. 166, Jian Yi Road, Chungho City,
Taipei, 235 Taiwan
Please email or FAX this completed service form for prompt and
satisfactory service.
Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX:
Web Site
Product Information
Product Model
Environment
OS:
M/B: CPU:
Chipset: BIOS:
Please give a detailed description of the problem(s):
Table of Contents i
Table of Contents
Table of Contents..................................................................... i
List of Tables.......................................................................... iii
List of Figures........................................................................ iv
1 Introduction ........................................................................ 1
1.1 Features............................................................................... 2
1.2 Specifications....................................................................... 2
1.3 Software Support................................................................. 4
2 Installation .......................................................................... 5
2.1 What You Have.................................................................... 5
2.2 Outline Drawing................................................................... 6
2.3 Hardware Installation........................................................... 7
Hardware configuration ...................................................7
PCI slot selection ............................................................7
Installation Procedures ...................................................7
Troubleshooting ..............................................................7
2.4 Software Installation ............................................................ 8
2.5 CN1: Main Connector .......................................................... 8
2.6 CN2: External Power Input............................................... 10
2.7 CN3 Pin Assignments: DB25 Connector ........................... 11
2.8 CN4 Pin Assignments: DB9 Connector............................. 11
3 Signal Connections.......................................................... 13
3.1 Analog Input....................................................................... 14
3.2 Analog Output.................................................................... 16
3.3 Digital Input........................................................................ 17
3.4 Digital Output..................................................................... 19
3.5 Pulse Input (Encoder Counter).......................................... 21
3.6 Pulse Output (Pulse Generator) ........................................ 25
3.7 VCC Pin............................................................................. 26
4 Operation Theory ............................................................. 27
4.1 AD Conversion and Preloaded Trigger.............................. 28
ADC ..............................................................................28
Voltage Compare ..........................................................28
ii Table of Contents
4.2 DA Conversion................................................................... 29
DA Output by Trigger Source .......................................29
4.3 DIO .................................................................................... 30
Digital Input ...................................................................30
Digital Output ................................................................31
4.4 Pulse Input and Position Compare .................................... 32
Pulse Input ....................................................................32
Encoder Counter Value Capture (latch) ........................33
Encoder Counter Value Compare .................................34
4.5 Pulse Output...................................................................... 35
4.6 Interrupt Control................................................................. 37
5 Function Library................................................................ 41
5.1 List of Functions................................................................. 42
5.2 Initialization........................................................................ 44
5.3 System Parameters ........................................................... 46
5.4 Digital I/O........................................................................... 48
5.5 Analog I/O.......................................................................... 50
5.6 Pulse I/O............................................................................ 55
5.7 Interrupt ............................................................................. 60
6 Appendix............................................................................ 65
6.1 Auto Calibration Utility........................................................ 65
6.2 Analog Output Error Test................................................... 71
Warranty Policy ..................................................................... 75
List of Tables iii
List of Tables
Table 2-1: CN1: Main Connector ............................................... 8
Table 2-2: CN2: External Power Input .................................... 10
Table 4-1: _8136_S_Get_Int_Status ....................................... 38
iv List of Figures
List of Figures
Figure 2-1: PCB Layout of the PCI-8136 ..................................... 6
Figure 3-1: Analog input circuit .................................................. 15
Figure 3-2: Analog output circuit................................................ 16
Figure 3-3: Digital input circuit.................................................... 17
Figure 3-4: Digital output circuit ................................................. 19
Figure 3-5: Pulse input (encoder counter) circuit....................... 22
Figure 3-6: Connection to line driver output............................... 23
Figure 3-7: Connect to open collector output............................. 24
Figure 3-8: Pulse output (pulse generator) circuit...................... 26
Introduction 1
1 Introduction
The PCI-8136 is a multi function DAQ card with 6-CH AD for sig-
nal measurement, and 6-CH 16-bit DA for precise voltage output.
It also has six-channels 32-bit differential encoder counters and
six pulse train generators, both supporting three kinds of differen-
tial pulse types: Out/Dir, A/B phase, CW/CCW. The PCI-8136 has
17 NPN type digital input channels and 6 open collector type digi-
tal output. All digital I/O are photo coupler isolated. The PCI-8136
also has a 24-bit programmable timer for users to generate a con-
stant timer interval.
The PCI-8136 provides Windows DLL for users to easily develop
their own applications. It supports Windows 95/98/NT/2000/XP/
Vista platform. The development environment for Windows is com-
patible with Visual Basic, Visual Basic .Net, Visual C++, Visual
C++.Net, C++ Builder, and Delphi. Since this is a PCI 32-bit inter-
face card, the PCI-8136 will only support Borland C++ 3.1 in a
DOS environment.
2Introduction
1.1 Features
The PCI-8136 provides ADPIO functions for users. The ADPIO
stands for Analog/Digital/Pulse Input/Output. The following list
summarizes the main features of the PCI-8136.
X 32-bit PCI-bus, plug and play
X 6 channels 16-bit analog output
X 6 channels analog input
X 19 channels isolated digital input
X 7 channels open collector digital output
X Programmable interrupt sources
X 6 differential types 32-bit encoder counters
X 6 differential type pulse generators
X One 24-bit programmable timer
X Software supports maximum up to 4 cards
X Function library for DOS and Windows 95/98/NT/2000/XP/
Vista
X Compact, half size PCB
1.2 Specifications
Analog Input
X 6 differential input channels
X Input range:
Z Voltage: ±10 V
Z Current: ±20 mA (manually soldering 124ohms resistor)
X Input impedance:
Z 10
12
Ohms || 100pF (voltage mode)
Z 124Ohms (current mode)
X Sampling rate: 133 kHz multiplexing
Introduction 3
Analog Output
X 6 output channels
X Output range: bipolar, ±10V
X 16-bit DAC resolution, 14-bit accuracy guaranteed
X Settling time: 2 µ second
X Voltage output drive: 5 mA max.
Digital Input
X 19 input channels for NPN type sensor
X Input impedance: 4.7 K Ohms
X Max. Current: 20 mA
X Isolated voltage: 2500 V
RMS
X
Throughput: 10 kHz (0.1 ms)
Digital Output
X 7 Output channels
X Output type: Darlington transistor with open collector type
(ULN2003A)
X Sink current:
Z 90 mA/Ch (typical)
Z 150 mA/Ch (max.)
Z 500 mA/total
X Isolated voltage 2500 V
RMS
X
Throughput 10 kHz (0.1 ms)
Pulse Input (Encoder Counter)
X 6 differential input channels
X 32-bit counter for AB-phase, CW/CCW, Pulse/Direction
modes
X 2500 V
RMS
optical isolation
X Maximum pulse input frequency: 2 MHz
X 32-bit encoder counter comparison
4Introduction
Pulse Output (Pulse Generator)
X 6 output channels with differential line drivers
X Pulse command type: CW/CCW, Pulse/Direction, A/B
Phase
X Maximum pulse rate: 500 kHz with 1µ second pulse width.
Timer
X One 24-bit programmable timer
X Base clock: 33 MHz from PCI bus
General Specifications
X Connectors:
Z 100-pin SCSI-type connector
Z DB25 female connector
Z DB9 male connector
X Operating Temperature: 0°C - 50°C
X Storage Temperature: -20°C - 80°C
X Humidity: 5 - 85%, non-condensing
X Power Consumption:
Z Slot power supply(input): +5V DC ±5%, 900mA max.
Z External power supply(input): +24V DC ±5%, 500mA
max.
Z External power supply(output): +5V DC ±5%, 500mA,
max.
X Dimension: 164mm(L) X 98.4mm(H)
1.3 Software Support
For the customers who are writing their own programs, we provide
a programming library for Borland C/C++ 3.1 under DOS and DLL
for Windows 95/98/NT/2000/XP/Vista. These function libraries are
shipped with the board.
Installation 5
2 Installation
This chapter describes how to install the PCI-8136 hardware and
software correctly. Please follow the following steps.
X Check what you have (section 2.1)
X Check the PCB (section 2.2)
X Install the hardware (section 2.3)
X Install the software driver (section 2.4)
X Understand the connectors' pin assignments (the rest of the
sections) and wiring the connections
2.1 What You Have
In addition to this User's Guide, the package includes the following
items:
X PCI-8136 General Purpose Multi-I/O Card
X DB9 and DB25 Bracket
X External power cable for CN1
X ADLINK All-in-one Compact Disc
If any item is missing or damaged, contact the dealer from whom
you pur¬chased the product. Save the shipping materials and car-
ton in case you want to ship or store the product in the future.
6Installation
2.2 Outline Drawing
Figure 2-1: PCB Layout of the PCI-8136
CN1: Main Connector
CN2: External Power Input
CN3: DB25 Connector for analog input/output and remote I/O
CN4: DB9 Connector for remote I/O
Note: Remote I/O function is reserved for special requests
Installation 7
2.3 Hardware Installation
2.3.1 Hardware configuration
The PCI-8136 has a plug and play PCI controller on board. The
memory usage (I/O port locations) of the PCI card is assigned by
system BIOS. The address assignment is done on a board-by-
board basis for all PCI cards in the system.
2.3.2 PCI slot selection
Your computer will probably have both PCI and ISA slots. Do not
force the PCI card into a PC/AT slot. The PCI-8136 can be used
in any PCI slot.
2.3.3 Installation Procedures
1. Read through this manual, and setup the jumper accord-
ing to your application
2. Turn off your computer, Turn off all accessories (printer,
modem, monitor, etc.) connected to computer.
3. Remove the cover from your computer.
4. Select a 32-bit PCI expansion slot. PCI slots are shorter
than ISA or EISA slots and are usually white or ivory.
5. Before handling the PCI-8136, discharge any static
buildup on your body by touching the metal case of the
computer. Hold the edge and do not touch the compo-
nents.
6. Position the board into the PCI slot you selected.
7. Secure the card in place at the rear panel of the system
unit using screw removed from the slot.
2.3.4 Troubleshooting
If your system won't boot or if you experience erratic operation
with your PCI board in place, it's likely caused by an interrupt con-
flict (perhaps because you incorrectly described the ISA setup). In
general, the solution, once you determine it is not a simple over-
8Installation
sight, is to consult the BIOS documentation that comes with your
system.
2.4 Software Installation
Please refer to the Software Installation Guide.
2.5 CN1: Main Connector
The CN1 is the major connector for the Digital I/O, Pulse IO and
Analog output signals.
No. Name I/O Function No Name I/O Function
1 AGND SG Analog ground 51 AGND SG Analog ground
2 DAC0 O Analog output, (0) 52 DAC3 O Analog output, (2)
3 DAC1 O Analog output, (1) 53 DAC4 O Analog output, (3)
4 DAC2 O Analog output, (2) 54 DAC5 O Analog output, (4)
5 VCC+5V O +5V from 24V 55 COM- PG +24V Ground
6 COM+ P +24V Input for Digital I/O 56 COM- PG +24V Ground
7 COM+ P +24V Input for Digital I/O 57 DI18 I Digital Input 18
8 COM+ P +24V Input for Digital I/O 58 DO6 O Digital Output 06
9 DI00 I Digital Input 00 59 DI01 I Digital Input 01
10 DI06 I Digital Input 06 60 DI08 I Digital Input 08
11 DI07 I Digital Input 07 61 DI09 I Digital Input 09
12 DO0 O Digital Output 00 62 DO1 O Digital Output 01
13 DI02 I Digital Input 02 63 DI03 I Digital Input 03
14 DI10 I Digital Input 10 64 DI12 I Digital Input 12
15 DI11 I Digital Input 11 65 DI13 I Digital Input 13
16 DO2 O Digital Output 02 66 DO3 O Digital Output 03
17 DI04 I Digital Input 04 67 DI05 I Digital Input 05
18 DI14 I Digital Input 14 68 DI16 I Digital Input 16
19 DI15 I Digital Input 15 69 DI17 I Digital Input 17
20 DO4 O Digital Output 04 70 DO5 O Digital Output 05
21 EA0+ I Encoder A-phase (+), (0) 71 EA1+ I Encoder A-phase (+), (1)
22 EA0- I Encoder A-phase (-), (0) 72 EA1- I Encoder A-phase (-), (1)
23 EB0+ I Encoder B-phase (+), (0) 73 EB1+ I Encoder B-phase (+), (1)
24 EB0- I Encoder B-phase (-), (0) 74 EB1- I Encoder B-phase (-), (1)
25 EZ0+ I Encoder Z-phase (+), (0) 75 EZ1+ I Encoder Z-phase (+), (1)
26 EZ0- I Encoder Z-phase (-), (0) 76 EZ1- I Encoder Z-phase (-), (1)
Table 2-1: CN1: Main Connector
Installation 9
27 EA2+ I Encoder A-phase (+), (2) 77 EA3+ I Encoder A-phase (+), (3)
28 EA2- I Encoder A-phase (-),(2) 78 EA3- I Encoder A-phase (-), (3)
29 EB2+ I Encoder B-phase (+),(2) 79 EB3+ I Encoder B-phase (+), (3)
30 EB2- I Encoder B-phase (-),(2) 80 EB3- I Encoder B-phase (-), (3)
31 EZ2+ I Encoder Z-phase (+),(2) 81 EZ3+ I Encoder Z-phase (+), (3)
32 EZ2- I Encoder Z-phase (-),(2) 82 EZ3- I Encoder Z-phase (-), (3)
33 EA4+ I Encoder A-phase (+),(4) 83 EA5+ I Encoder A-phase (+),(5)
34 EA4- I Encoder A-phase (-),(4) 84 EA5- I Encoder A-phase (-),(5)
35 EB4+ I Encoder B-phase (+),(4) 85 EB5+ I Encoder B-phase (+),(5)
36 EB4- I Encoder B-phase (-),(4) 86 EB5- I Encoder B-phase (-),(5)
37 EZ4+ I Encoder Z-phase (+),(4) 87 EZ5+ I Encoder Z-phase (+),(5)
38 EZ4- I Encoder Z-phase (-),(4) 88 EZ5- I Encoder Z-phase (-),(5)
39 OUT0+ O Pulse signal (+),(0) 89 OUT1+ O Pulse signal (+), (1)
40 OUT0- O Pulse signal (-),(0) 90 OUT1- O Pulse signal (-), (1)
41 DIR0+ O Dir. signal (+),(0) 91 DIR1+ O Dir. Signal (+), (1)
42 DIR0- O Dir. Signal (-),(0) 92 DIR1- O Dir. Signal (-), (1)
43 OUT2+ O Pulse signal (+), (2) 93 OUT3+ O Pulse signal (+),(3)
44 OUT2- O Pulse signal (-),(2) 94 OUT3- O Pulse signal (-),(3)
45 DIR2+ O Dir. signal (+), (2) 95 DIR3+ O Dir. signal (+),(3)
46 DIR2- O Dir. signal (-), (2) 96 DIR3- O Dir. signal (-),(3)
47 OUT4+ O Pulse signal (+),(4) 97 OUT5+ O Pulse signal (+),5
48 OUT4- O Pulse signal (-),(4) 98 OUT5- O Pulse signal (-),(5)
49 DIR4+ O Dir. signal (+),(4) 99 DIR5+ O Dir. signal (+),(5)
50 DIR4- O Dir. Signal (-),(4) 100 DIR5- O Dir. Signal (-),(5)
No. Name I/O Function No Name I/O Function
Table 2-1: CN1: Main Connector
10 Installation
2.6 CN2: External Power Input
Notes:
1. CN2 is a plug-in terminal connector with no screw.
2. Be sure to use the external power supply. The +24V DC
is used by external input/output signal circuit.
3. Wires for connection to CN2
Z Solid wire: ϕ 0.32 mm to ϕ 0.65 mm (AWG28 to AWG22)
Z Twisted wire: 0.08 mm
2
to 0.32 mm
2
(AWG28 to
AWG22)
Z Naked wire length: 10 mm standard
4. The EX+24V is shorted inside PCI-8136 with COM+ in
CN1 (No. 6,7,8).
5. The EXGND is shorted inside PCI-8136 with COM- in
CN1 (No. 55,56).
CN1 Pin No Name Description Cable Color
1 EXGND Grounds of the external power. Black
2 EX+24V
External power supply of +24V DC
± 5%
Red
Table 2-2: CN2: External Power Input
Installation 11
2.7 CN3 Pin Assignments: DB25 Connector
The signals on CN3 are for Analog input and remote serial IO.
Note1: The DAC1-3 pins are the same with those on CN1
Note2: The Remote Serial IO #2 is reserved.
2.8 CN4 Pin Assignments: DB9 Connector
The signals on CN4 are for remote serial IO#1.
Note: The Remote Serial IO #1 is reserved.
12 Installation
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84

ADLINK Technology PCI-8136 User manual

Category
Noise Reduction Machine
Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI