Konica Minolta PCI-1712 User manual

Quick StartPCI-1712/1712L
Unpacking
The PCI-1712/1712L package should contain the
following items:
þPCI-1712/1712L card
þCompanion CD-ROM disc
þUser’s Manual
þQuick Start
DriverInstallation
Step 1: Insert the companion disc into your CD-
ROM drive.
Step 2: The Setup Program will be launched
automatically, and you’ll see the following
Setup Screen.
Select the DLL Drivers installation option.
(If autoplay is not enabled, please use
Windows Explorer or Windows Run
command to execute setup.exe on CD-
ROM).
Step 3: Select the Windows 95/98 or Windows
NT option according to your operating
system.
Step 4: Follow the installation instructions step
by step to complete your DLL driver
setup.
HardwareInstallation
Step 1: Turn off your computer and unplug the
power cord and cables
Step 2: Remove the cover of your computer
Step 3: Remove the slot cover on the back panel
of your computer
Step 4: Touch the metal part of your computer
chassis to discharge static electricity on
your body
Step 5: Insert the PCI-1712/1712L card into a
PCI slot. Hold the card only by its edges
and carefully align it with the slot, then
insert the card firmly into place. Use of
excessive force must be avoided otherwise
the card might be damaged.
Step 6: Fasten the bracket of the PCI card on the
back panel rail of the computer with
screws
Step 7: Connect appropriate accessories (68-pin
cable, wiring terminals, etc., if necessary)
to the PCI card.
Step 8: Replace the cover of your computer
chassis. Re-connect the cables you
removed in step 2.
Step 9:Plug in the power cord and turn on the
computer
VerifyingyourInstallation
wAccess the Device Manager through the Control
Panel/System/Device Manager. On the Device
Manager tab of the System Property sheet, you
can see the Device Name of the PCI-1712/
1712L listed on it.
Get other manuals https://www.bkmanuals.com

DeviceInstallation
Step 1: Run the Device Installation program (by
accessing Start/Programs/ Advantech
Driver for 95 and 98 (or for NT)/Device
Installation).
Step 2: On the Device Installation program
window, select the Device menu item on
the menu bar, and click the Setup
command to bring up the I/O Device
Installation dialog box as below:
Step 3: Scroll down the List of Devices box to find
the device that you wish to configure,
then click the Add button to bring up the
Device Found(s) dialog box as shown
below:
Step 4: After selecting a device and click OK, the
Device Setting dialog box will pop up.
You can configure various settings for the
selected device.
Step 5: After you have finished configuring of the
device, click OK and the device will
appear in the Installed Devices box as
seen below:
Step 6: After your card is properly installed and
configured, you can click the Test button
to test your hardware.
Step 7: You can test your hardware by using the
testing utility we supplied. For more
detailed information, please refer to
Chapter 2 of the User’s Manual .
Get other manuals https://www.bkmanuals.com

Copyright®
This documentation and the software included with this product are
copyrighted 2001 by Advantech Co., Ltd. All rights are reserved.
Advantech Co., Ltd. reserves the right to make improvements in the
products described in this manual at any time without notice.
No part of this manual may be reproduced, copied, translated or
transmitted in any form or by any means without the prior written
permission of Advantech Co., Ltd. Information provided in this manual
is intended to be accurate and reliable. However, Advantech Co., Ltd.
assumes no responsibility for its use, nor for any infringements of the
rights of third parties which may result from its use.
Acknowledgments
PC-LabCard is a trademark of Advantech Co., Ltd. IBM and PC are
trademarks of International Business Machines Corporation. MS-DOS,
Windows®, Microsoft®Visual C++ and Visual BASIC are trademarks of
Microsoft®Corporation. Intel®and Pentium®are trademarks of Intel
Corporation. Delphi and C++Builder are trademarks of Inprise Corpora-
tion.
CE notification
ThePCI-1712/1712L,developedbyADVANTECHCO.,LTD., has
passed the CE test for environmental specifications when shielded
cables are used for external wiring. We recommend the use of shielded
cables. This kind of cable is available from Advantech. Please contact
your local supplier for ordering information.
On-line Technical Support
For technical support and service, please visit our support website at:
http://www.advantech.com/support
PartNo. 2003171201 2nd Edition
Printed in Taiwan March 2001
Get other manuals https://www.bkmanuals.com

Contents
1. Introduction................................................................. 1
1.1 Features ......................................................................................... 1
1.2 Installation Guide ........................................................................... 3
1.3 Accessories ................................................................................... 5
2. Installation .................................................................. 7
2.1 Unpacking...................................................................................... 7
2.2 Driver Installation .......................................................................... 8
2.3 Hardware Installation ..................................................................... 9
2.4 Device Setup & Configuration..................................................... 12
2.5 Device Testing ............................................................................. 15
3. Signal Connections .................................................. 19
3.1 Overview...................................................................................... 19
3.2 I/O Connector .............................................................................. 19
3.3 Analog Input Connections .......................................................... 24
3.4 Analog Output Connections ....................................................... 27
3.5 Field Wiring Considerations ........................................................ 28
4. Software Overview ................................................... 29
4.1 Programming Choices .................................................................. 29
4.2 DLLDriverProgrammingRoadmap ............................................. 30
5. Principles of Operation ............................................ 33
5.1 Analog Input Features................................................................. 33
5.2 Analog Output Features .............................................................. 40
5.3 Digital I/O Features ...................................................................... 43
5.4 Counter/Timer Features ............................................................... 44
Get other manuals https://www.bkmanuals.com

6. Calibration ................................................................. 55
6.1VR Assignment ............................................................................... 55
6.2A/DCalibration ............................................................................... 56
6.3D/ACalibration ............................................................................... 57
6.4CalibrationUtility ............................................................................ 58
Appendix A. Specification............................................ 69
Appendix B. Block Diagram ........................................ 73
Appendix C. Screw-terminal Board............................. 75
C.1 Introduction ................................................................................. 75
C.2 Features ....................................................................................... 75
C.3 Board Layout ............................................................................... 75
C.4 Pin Assignment ........................................................................... 76
C.5 Single-ended Connections........................................................... 77
C.6 Differential Connections .............................................................. 78
Appendix D. Register Structure and Format .............. 79
D.1 Overview...................................................................................... 79
D.2 I/O Port Address Map ................................................................. 79
D.3 A/DSingle Value Acquisition— WriteBASE+0 ......................... 83
D.4 Channel and A/D data — Read BASE + 0 ................................... 83
D.5 A/D Channel Range Setting — Write BASE+2 ............................ 84
D.6 MUXControl— WriteBASE+4 .................................................. 85
D.7 A/D Control/Status Register — Write/Read BASE+6.................. 87
D.8 Clearinterrupt and FIFO —WriteBASE+8 ................................. 89
D.9 Interrupt and FIFO status — Read BASE+8 ................................ 90
D.10 D/A control/status register — Write/Read BASE+A .................. 91
D.11 D/AChannel 0/1 Data —WriteBASE+C/E ................................. 93
D.12 82C54 Counter Chip 0 —Write/Read BASE+10to 16 .................. 94
D.13 82C54 counter chip 1 —Write/Read BASE+18 to 1E................... 95
Get other manuals https://www.bkmanuals.com

D.14 Counter gate and clock control/status — Write/ Read BASE+20
to26 ............................................................................................. 96
D.15 Digital I/Oregisters— Write/Read BASE+28 .............................. 99
D.16 Digital I/O configuration registers — Write/Read BASE+2A .... 100
D.17 Calibrationcommand registers —Write BASE+2C ................... 100
D.18 D/A Channel Data for Continuous Output Operation Mode —
WriteBASE+30 .......................................................................... 102
Get other manuals https://www.bkmanuals.com

Figures
Figure 2-1: The Setup Screen of Advantech Automation Software ....... 8
Figure 2-2: Different options for Driver Setup ....................................... 9
Figure 2-3: The device name listed on the Device Manager ............... 11
Figure 2-4: The Advantech Device Installation utility program ............ 12
Figure 2-5: The I/O Device Installation dialog box .............................. 12
Figure 2-6: The Device(s) Found dialog box .................................... 13
Figure 2-7: The Device Setting dialog box ......................................... 13
Figure 2-8: The Device Name appearing on the list of devices box .... 14
Figure 2-9: Analog Input tab on the Device Test dialog box ............... 15
Figure 2-10: Analog Input tab on the Device Test dialog box ............... 16
Figure 2-11: Analog Output tab on the Device Test dialog box ............ 16
Figure 2-12: Digital Input tab on the Device Test dialog box ................ 17
Figure 2-13: Digital Output tab on the Device Test dialog box .............. 17
Figure 2-14: Digital output tab on the Device Test dialog box .............. 18
Figure 3-1: I/O connector pin assignments for the PCI-1712/1712L ... 20
Figure 3-2: Single-ended input channel connection ........................... 24
Figure 3-3: Differential input channel connection - ground reference
signal source .................................................................. 25
Figure 3-4: Differential input channel connection - floating signal
source ............................................................................ 26
Figure 3-5: Analog output connections .............................................. 27
Figure 5-1: Post-Trigger Acquisition Mode ........................................ 35
Figure 5-2: Delay-Trigger Acquisition Mode ....................................... 35
Figure 5-3: About-Trigger Acquisition Mode ...................................... 36
Figure 5-4: Pre-Trigger Acquisition Mode .......................................... 37
Figure 5-5: PCI-1712/1712L Sample Clock Source ........................... 38
Figure 5-6: Frequency measurement ................................................ 49
Figure 6-1: PCI-1712/1712L VR1 & TP5 ............................................ 55
Figure 6-2: Selecting the device you want to calibrate ....................... 58
Figure 6-3: Warning message before start calibration ....................... 59
Get other manuals https://www.bkmanuals.com

Figure 6-4: Auto A/D Calibration Dialog Box ..................................... 59
Figure 6-5: A/D Calibration Procedure 1 ............................................ 60
Figure 6-6: A/D Calibration Procedure 2 ............................................ 60
Figure 6-7: A/D Calibration Procedure 3 ............................................ 61
Figure 6-8: A/D Calibration is finished ............................................... 61
Figure 6-9: Range Selection in D/A Calibration ................................. 62
Figure 6-10: Calibrating D/A Channel 0 ............................................... 62
Figure 6-11: Calibrating D/A Channel 1 ............................................... 63
Figure 6-12: D/A Calibration is finished ............................................... 63
Figure 6-13: Selecting Input Rage in Manual A/D Calibration panel ..... 64
Figure 6-14: Adjusting registers .......................................................... 65
Figure 6-15: Selecting D/A Range and ................................................ 66
Figure 6-16: Selecting D/A Range and ................................................ 66
Figure 6-17: Adjusting registers .......................................................... 67
Figure C-1: PCLD-8712 board layout ................................................. 75
Figure C-2: CN2 pin assignments for the PCLD-8712 ........................ 76
Get other manuals https://www.bkmanuals.com

Tables
Table 3-1: I/O Connector Signal Description (Part 1) ........................ 21
Table 3-1: I/O Connector Signal Description (Part 2) ........................ 22
Table 3-1: I/O Connector Signal Description (Part 3) ........................ 23
Table 5-1: Gains and Analog Input Range ........................................ 33
Table 5-2: Analog Input Data Format ............................................... 39
Table 5-3: The corresponding Full Scale values for various Input
Voltage Ranges ............................................................... 39
Table 5-4: Analog Output Data Format ............................................ 43
Table 5-5: The corresponding Full Scale values for various Output
Voltage Ranges ............................................................... 43
Table D-1: PCI-1712/1712L register format (Part 1) .......................... 80
Table D-1: PCI-1712/1712L register format (Part 2) .......................... 81
Table D-1: PCI-1712/1712L register format (Part 3) .......................... 82
Table D-2: Register for channel number and A/D data ...................... 83
Table D-3: Register for A/D channel range setting ............................ 84
Table D-4: Gain Codes for the PCI-1712/1712L ................................ 85
Table D-5: Register for multiplexer control ........................................ 85
Table D-6: Register for A/D control/status ........................................ 87
Table D-7: Analog Input Acquisition Mode ........................................ 88
Table D-8: Register for clear interrupt and FIFO ............................... 89
Table D-9: Register for interrupt and FIFO status ............................. 90
Table D-10: Register for D/A control ................................................... 91
Table D-11: Analog output operation mode ......................................... 92
Table D-12: Register for D/A channel 0/1 data ................................... 93
Table D-13: Register for 82C54 counter chip 0 ................................... 94
Table D-14: Register for 82C54 counter chip 1 ................................... 95
Table D-15: Register for counter gate and clock control/status ........... 96
Table D-16 : Table of Cn1 to Cn0 register ............................................ 96
Table D-17: Table of Gn1 to Gn0 register............................................ 97
Table D-18: Table for CLK_SEL1 to CLK_SEL0 register ..................... 99
Get other manuals https://www.bkmanuals.com

Table D-19: Register for Digital I/O ..................................................... 99
Table D-20: Register for digital I/O configuration ............................... 100
Table D-21: Register for digital I/O configuration ............................... 100
Table D-22: Register for calibration command .................................. 100
Table D-23: Calibration command .................................................... 101
Table D-24: Register for D/A channel data ....................................... 102
Get other manuals https://www.bkmanuals.com

– 1 –
Chapter 1
PCI-1712/1712L User’s Manual
Advantech Co., Ltd.
www.advantech.com
Chapter
1
1. Introduction
Thank you for buying the Advantech PCI-1712/1712L PCI card. The
PCI-1712/1712Lis a powerful high-speedmultifunctionDAS card for
PCI bus. It features a 1MHz 12-bit A/D converter, an on-board FIFO
buffer (storing up to 1K samples for A/D, and up to 32K samples for D/
A conversion). The PCI-1712/1712L provides a total of up to 16 single-
ended or 8 differential A/D input channels or a mixed combination, 2
12-bit D/A output channels, 16 digital input/output channels, and 3
10MHz 16-bit multifunction counter channels. PCI-1712/1712L
provides specific functions for different user requirments:
PCI-1712 1MS/sHigh-SpeedMultifunctionCard
PCI-1712L 1MS/sHigh-SpeedMultifunctionCard w/oanalogoutput
The following sections of this chapter will provide further information
about features of the DAS card, a Quick Start for installation, together
with some brief information on software and accessories for the PCI-
1712/1712Lcard.
1.1 Features
The Advantech PCI-1712/1712L provides users with the most re-
quested measurement and control functions as seen below:
qPCI-bus mastering for data transfer
q16 single-ended or 8 differential or combination analog inputs
q12-bit A/D converter, with up to 1 MHz sampling rate
qPre-, post-,about- and delay-trigger data acquisition modes for
analog input channels
qProgrammable gain for each analog input channel
qAutomatic channel/gain/SD/BU scanning
qOn-board FIFO buffer storing up to 1K samples for A/D and 32K
samples for D/A
qTwo 12-bit analog output channels with continuous waveform
output function
qAuto calibration for analog input and output channels
q16 digital Input and output channels
qThree16-bit programmable multifunctioncounters/timers on 10MHz
clock.
The Advantech PCI-1712 offers the following main features:
Get other manuals https://www.bkmanuals.com

– 2 –
Chapter 1
PCI-1712/1712L User’s Manual Advantech Co., Ltd.
www.advantech.com
PCI-Bus Mastering Data Transfer
The PCI-1712/1712L supports PCI-Bus mastering DMA for high-speed
data transfer and gap-free analog input and analog output. By setting
asidea block ofmemoryin the PC,thePCI-1712/1712L performs bus-
mastering data transfers without CPU intervention, setting the CPU
free to perform other more urgent tasks such as data analysis and
graphic manipulation. The function allows users to run all I/O func-
tions simultaneously at full speed without losing data.
Plug-and-Play Function
ThePCI-1712/1712L is a Plug-and-Play device,whichfullycomplies
with the PCI Specification Rev 2.2. During card installation, you have
no need to set any jumpers or DIP switches. Instead, all bus-related
configurations such as base I/O address and interrupt are automati-
cally done by the Plug-and-Play function.
On-board FIFO Memory
The PCI-1712/1712L provides an on-board FIFO (First In First Out)
memory buffer, storing up to 1K samples for A/D and 32K for D/A
conversion(PCI-1712 only).
Automatic Channel/Gain/SD*/BU* Scanning
PCI-1712/1712L features an automatic channel/Gain/SD/BU scanning
circuit. This circuit controls multiplexer switching during sampling in a
way that is much more efficient than software implementation. On-
board SRAM stores different gain, SD and BU values for each channel.
This combination lets user perform multi-channel high-speed sampling
with different gain, SD and BU values for each channel.
SD: Single-Ended/Differential Analog Input
BU:Bipolar/Unipolar
Flexible Triggering and Clocking Capabilities
ThePCI-1712/1712L provides flexibilityintriggering action, bothinthe
available trigger modes and trigger events for analog input. You can
acquire data using post-trigger, pre-trigger, delay-trigger and about-
trigger modes. The trigger source could be either analog or digital
signal. The analog trigger could originate from a dedicated input pin.
In fact, you can designate any of the analog input channels as the
analog trigger input. You can also set the analog trigger level within a
voltage range from zero to A/D FSR. When trigger signal being digital,
you can pace A/D and D/A conversion using software interrupt,
internalor external clock.
Get other manuals https://www.bkmanuals.com

– 3 –
Chapter 1
PCI-1712/1712L User’s Manual
Advantech Co., Ltd.
www.advantech.com
Continuous Analog Output
The PCI-1712 provides two analog output channels. Both of them can
perform continuous waveform output. The analog output can be up to
500kS/s for each analog output channel. Or you can load a cyclic
waveform into an on-board FIFO, which will continuously output the
cyclic waveform. The on-board FIFO of the PCI-1712 can store 2 to 32K
samples for the waveform output.
On-board Programmable Multifunction Counter/Timer
ThePCI-1712/1712L is equipped with threeprogrammablemultifunc-
tion counters/timers, which can serve as a pacer trigger for A/D
conversion. The counter chip is an 82C54 or equivalent, which
incorporates three 16-bit channels on a 10 MHz clock. And then we
enhance the gate and clock input function for more applications, of
event counting, pulse generation, duty cycle frequency generation,
one shot, frequency measurement and pulse width measurement.
Note:
✎Pace trigger determines how fast A/D conversion will be done in pacer
trigger mode.
✎For detailed specifications of the PCI-1712/1712L, please refer to
Appendix A, Specifications.
1.2 Installation Guide
Before you install your PCI-1712/1712L card, please make sure you
have the following necessary components:
qPCI-1712/1712LDAScard
qPCI-1712/1712L User’sManual
qDriversoftware Advantech DLL drivers
(included in the companion CD-ROM)
qWiringcable PCL-10168
qWiringboard PCLD-8712,ADAM-3968
qComputer Personal computer or workstation with a
PCI-bus slot
Some other optional components are also available for enhanced
operation:
Get other manuals https://www.bkmanuals.com

– 5 –
Chapter 1
PCI-1712/1712L User’s Manual
Advantech Co., Ltd.
www.advantech.com
qApplicationsoftware ActiveDAQ, GeniDAQ or other third-party
software packages
After you have got the necessary components and maybe some
accessories for enhanced operation of your DAS card, you can then
begin the Installation procedures. Figure 1-1 on the next page pro-
vides a concise flow chart to give users a broad picture of the software
and hardware installation procedures:
1.3 Accessories
Advantech offers a complete set of accessory products to support the
PCI-1712/1712L cards. These accessories include:
Wiring Cable
qPCL-10168 The PCL-10168 shielded cable is specially designed
for PCI-1712/1712L card to provide higher resistance to noise. To
achieve a better signal quality, the signal wires are twisted in such a
way as to form a twisted-pair cable, reducing crosstalk and noise
from other signal sources. Furthermore, its analog and digital lines
are separately sheathed and shielded to neutralize EMI/EMC
problems.
Wiring Boards
qADAM-3968 TheADAM-3968is a 68-pin SCSIwiringterminal
modulefor DIN-rail mounting. Thisterminal module can bereadily
connected to the Advantech PC-Lab cards and allow easy yet
reliable access to individual pin connections for the PCI-1712/1712L
card.
qPCLD-8712 ThePCLD-8712 is a DIN-railmountingscrew-
terminal board to be used with any of the PC-LabCards which have
68-pinSCSI connectors. The PCLD-8712features the following
functions:
lOne additional 20-pin flat-cable connectors for digital input and
output
lReserved space on the board to meet future needs for signal-
conditioning circuits (low-pass filter, voltage attenuator and
current shunt)
Get other manuals https://www.bkmanuals.com

– 7 –
Chapter 1
PCI-1712/1712L User’s Manual
Advantech Co., Ltd.
www.advantech.com
2. Installation
This chapter gives users a package item checklist, proper instructions
about unpacking and step-by-step procedures for both driver and card
installation.
2.1 Unpacking
After receiving your PCI-1712/1712L package, please inspect its
contents first. The package should contain the following items:
þPCI-1712/1712Lcard
þCompanionCD-ROM (DLLdriverincluded)
þUser’s Manual
þQuickStart
The PCI-1712/1712L card harbors certain electronic components
vulnerable to electrostatic discharge (ESD). ESD could easily damage
the integrated circuits and certain components if preventive measures
are not carefully paid attention to. Before removing the card from the
antistatic plastic bag, you should take following precautions to ward
off possible ESD damage:
lTouch the metal part of your computer chassis with your hand
to discharge static electricity accumulated on your body. Or one
can also use a grounding strap.
lTouch the antistatic bag to a metal part of your computer
chassis before opening the bag.
lTake hold of the card only by the metal bracket when removing it
out of the bag.
After taking out the card, first you should:
lInspect the card for any possible signs of external damage
(loose or damaged components, etc.). If the card is visibly
damaged, please notify our service department or our local sales
representative immediately. Avoid installing a damaged card into
your system.
Also pay extra caution to the following aspects to ensure proper
installation:
Avoid physical contact with materials that could hold static
electricity such as plastic, vinyl and Styrofoam.
Chapter
2
Get other manuals https://www.bkmanuals.com

– 8 –
Chapter 2
PCI-1712/1712L User’s Manual Advantech Co., Ltd.
www.advantech.com
Whenever you handle the card, grasp it only by its edges. DO
NOT TOUCH the exposed metal pins of the connector or the
electronic components.
Note:
✎Keep the antistatic bag for future use. You might need the original bag
to store the card if you have to remove the card from PC or transport it
elsewhere.
2.2 Driver Installation
We recommendyouto install the driver beforeyouinstallthePCI-
1712/1712Lcard intoyoursystem, sincethis will guaranteea
smoothinstallationprocess.
The 32-bit DLL driver Setup program for the card is included on the
companion CD-ROM that is shipped with your DAS card package.
Please follow the steps below to install the driver software:
Step1: Insert the companion CD-ROM into your CD-ROM drive.
Step2: The Setup program will be launched automatically if you have
the autoplay function enabled on your system. When the
Setup Program is launched, you’ll see the following Setup
Screen.
Note:
✎If the autoplay function is not enabled on your computer, use Windows
Explorer or Windows Run command to executeSETUP.EXE onthe
companionCD-ROM.
Figure 2-1: The Setup Screen of Advantech Automation Software
Get other manuals https://www.bkmanuals.com
This manual suits for next models
1
Table of contents