Download Print this page

Konica Minolta PCI-1712 Quick Start Manual

1 ms/s, 12-bit, 16-ch highspeed multifunction card

Advertisement

Quick Links

Get other manuals https://www.bkmanuals.com

Advertisement

loading

Summary of Contents for Konica Minolta PCI-1712

  • Page 1 Get other manuals https://www.bkmanuals.com...
  • Page 2: Driver Installation

    User’s Manual chassis to discharge static electricity on Quick Start your body Step 5: Insert the PCI-1712/1712L card into a Driver Installation PCI slot. Hold the card only by its edges and carefully align it with the slot, then Step 1: Insert the companion disc into your CD- insert the card firmly into place.
  • Page 3 Device Installation Step 1: Run the Device Installation program (by accessing Start/Programs/ Advantech Driver for 95 and 98 (or for NT)/Device Installation). Step 6: After your card is properly installed and Step 2: On the Device Installation program configured, you can click the Test button window, select the Device menu item on to test your hardware.
  • Page 4 Intel Corporation. Delphi and C++Builder are trademarks of Inprise Corpora- tion. The PCI-1712/1712L, developed by ADVANTECH CO., LTD., has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables.
  • Page 5: Table Of Contents

    Contents Features ..................1 Installation Guide ................3 Accessories ................... 5 Unpacking ..................7 Driver Installation ................8 Hardware Installation ..............9 Device Setup & Configuration ............. 12 Device Testing ................15 Overview ..................19 I/O Connector ................19 Analog Input Connections ............24 Analog Output Connections ............
  • Page 6 6.1 VR Assignment ................55 6.2 A/D Calibration ................56 6.3 D/A Calibration ................57 6.4 Calibration Utility ................58 C. 1 Introduction ................. 75 C. 2 Features ..................75 C. 3 Board Layout ................75 C.4 Pin Assignment ................76 C.5 Single-ended Connections ............
  • Page 7 D.14 Counter gate and clock control/status — Write/ Read BASE+20 to 26 ..................... 96 D.15 Digital I/O registers — Write/Read BASE+28 ......99 D.16 Digital I/O configuration registers — Write/Read BASE+2A ..100 D.17 Calibration command registers — Write BASE+2C ....100 D.18 D/A Channel Data for Continuous Output Operation Mode —...
  • Page 8 Figures Get other manuals https://www.bkmanuals.com...
  • Page 9 Get other manuals https://www.bkmanuals.com...
  • Page 10 Tables Get other manuals https://www.bkmanuals.com...
  • Page 11 Get other manuals https://www.bkmanuals.com...
  • Page 12 Get other manuals https://www.bkmanuals.com...
  • Page 13 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.
  • Page 14 The PCI-1712/1712L supports PCI-Bus mastering DMA for high-speed data transfer and gap-free analog input and analog output. By setting aside a block of memory in the PC, the PCI-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.
  • Page 15 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.
  • Page 16 Chapter 1 Figure 1-1: Installation Flow Chart Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 4 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 17 PCI-1712/1712L cards. These accessories include: PCL-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.
  • Page 18 Chapter 1 Industrial-grade screw-clamp terminal blocks for heavy-duty and reliable connections. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 6 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 19 This chapter gives users a package item checklist, proper instructions about unpacking and step-by-step procedures for both driver and card installation. After receiving your PCI-1712/1712L package, please inspect its contents first. The package should contain the following items: PCI-1712/1712L card Companion CD-ROM (DLL driver included) User’s Manual...
  • Page 20 If the autoplay function is not enabled on your computer, use Windows Explorer or Windows Run command to execute SETUP.EXE on the companion CD-ROM. Figure 2-1: The Setup Screen of Advantech Automation Software Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 8 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 21 (please refer to 2.2 Driver Installation) After the DLL driver installation is completed, you can now go on to install the PCI-1712/1712L card in any PCI slot on your computer. But it is suggested that you should refer to the computer user manual or related documentations if you have any doubt.
  • Page 22 Step 4: Touch the metal part on the surface of your computer to neutralize the static electricity that might be 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. Insert the card firmly into place.
  • Page 23 The following sections will guide you through the Setup, Configuration and Testing of your device. Advantech Co., Ltd. – 11 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 24 5). You can then view the device(s) already installed on your system (if any) on the Installed Devices list box. Figure 2-5: The I/O Device Installation dialog box Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 12 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 25 Figure 2-7: The Device Setting dialog box Note: Users can configure the source of D/A reference voltage either as Internal or External, and then select for the unipolar or the bipolar Advantech Co., Ltd. – 13 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 26: Device Testing

    Figure 2-8: The Device Name appearing on the list of devices box Note: As we have noted, the device name “000:PCI-1712 I/O=6600H” begins with a device number “000”, which is specifically assigned to each card cifically. The device number is passed to the driver to specify which device you wish to control.
  • Page 27 Figure 2-9: Analog Input tab on the Device Test dialog box On the Device Test dialog box, users are free to test various functions of PCI-1712/1712L on the Analog input, Analog output, Digital input, Digital output or Counter tabs. Note:...
  • Page 28 Through the color of the lamps, users can easily discern whether the status of each digital input channel is either high or low. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 16 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 29 CNT0_CLK, and the counter will start counting after the pin CNT0_GATE is triggered. If you select Pulse Out, the clock source will be output to pin CNT0_OUT. You can Advantech Co., Ltd. – 17 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 30 After the device installation procedure is completed, you can now safely proceed to the next chpater, Signal Connections. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 18 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 31 PCI-1712/1712L via the I/O connector. The I/O connector on the PCI-1712/1712L is a 68-pin connector that enables you to connect to accessories with the PCL-10168 shielded cable.
  • Page 32 Chapter 3 Figure 3-1: I/O connector pin assignments for the PCI-1712/1712L *: Pins 20, 22~25, 54, 56~59 are not defined on PCI-1712L Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 20 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 33 . y r i l p a t l i l p a t l a t l Table 3-1: I/O Connector Signal Description (Part 1) Advantech Co., Ltd. – 21 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 34 . l a i l p a t i l l e . y l Table 3-1: I/O Connector Signal Description (Part 2) Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 22 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 35 . y l . y l o i t Table 3-1: I/O Connector Signal Description (Part 3) Advantech Co., Ltd. – 23 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 36 A signal source without a local ground is also called a “floating source”. It is fairly simple to connect a single-ended channel to a floating signal source. In this mode, the PCI-1712/1712L provides a reference ground for external floating signal sources.
  • Page 37 AIGND. Figure 3-4 shows a differential channel connection between a floating signal source and an input channel on the PCI-1712/1712L. In this figure, each side of the floating signal source is connected through a resistor to the AIGND. This connection can reject the common-mode voltage between the signal source and the PCI-1712/1712L ground.
  • Page 38 100 kW, then the resistors load down the signal source with 200 kΩ (100 kΩ + 100 kΩ), resulting in a –0.5% gain error. The following gives a simplified representation of the circuit and calculating process. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 26 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 39: I/O Connector

    Chapter 3 The PCI-1712 provides two D/A output channels, AO0_OUT and AO1_OUT. Users may use the PCI-1712 internally-provided precision +5V (+10V) reference to generate 0 ~ +5 V and 0 ~ +10 V unipolar D/A output range; or to generate -5 ~ +5 V and -10 ~ +10 V for bipolar output range.
  • Page 40 Chapter 3 When you use the PCI-1712/1712L to acquire data from outside, noises in the environment might significantly affect the accuracy of your measurements if due cautions are not taken. The following measures will be helpful to reduce possible interference running signal wires between signal sources and the PCI-1712/1712L.
  • Page 41: Programming Choices

    However, if register-level programming is indispensible, you should refer to the relevant information in Appendix C, Register Structure and Format, or to the example codes included on the companion CD-ROM. Advantech Co., Ltd. – 29 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 42 For information about using other function groups or other develop- ment tools, please refer to the Creating Windows 95/NT Application with DLL Driver chapter and the Function Overview chapter on the DLL Drivers Manual. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 30 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 43 Or you can refer to the DLL Driver Error Codes Appendix in the DLL Drivers Manaul for a detailed listing of the Error Code, Error ID and the Error Message. Advantech Co., Ltd. – 31 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 44 Chapter 4 Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 32 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 45: Counter/Timer Features

    A unipolar signal can range between 0 to 10 V FSR, while a bipolar signal extends within ± 10 V FSR. The PCI-1712/1712L is able to set different input ranges for each channel. When the channels are set as unipolar or bipolar input in FSR,...
  • Page 46 Chapter 5 The PCI-1712/1712L can acquire data in single value, pacer, post- trigger, delay-trigger, about-trigger and pre-trigger acquisition modes. These analog input acquisition modes are described in more detail in the followings: Single Value Acquisition Mode The single value acquisition mode is the simplest way to acquire data.
  • Page 47 2 to 65535 as defined in DMA counter. Delay-trigger acquisition starts when the PCI-1712/1712L detects the trigger event and stops when the specified number of A/D samples has been acquired or when you stop the operation. This triggering mode...
  • Page 48 Once a trigger event happens, the on-going data acquisition will continue until the designated amount of samples have been reached. When the PCI-1712/1712L detects the selected about-trigger event, the card keeps acquiring the preset number of samples, and kept the total number of samples on the FIFO.
  • Page 49 2 Samples N+1 N+2 Figure 5-4: Pre-Trigger Acquisition Mode The PCI-1712/1712L can adopt both internal and external clock sources for pacer, post-trigger, delay-trigger, about-trigger acquisition modes: Internal A/D sample clock with 16-bit Counter External A/D sample clock that is connected to AI_CLK on the PCLD-8712 screw terminal board.
  • Page 50 External Digital (TTL) Trigger For analog input operations, an external digital trigger event occurs when the PCI-1712/1712L detects either a rising or falling edge on the External A/D TTL trigger input signal from screw terminal AI_TRG on Advantech Co., Ltd.
  • Page 51 ANA_TRG on the PCLD- 8712 screw terminal board. On the PCI-1712/1712L, the threshold level is set using a dedicated 8- bit DAC; the hysteresis is fixed at 50 mV. Using software, you can program the threshold level by writing a voltage value to this DAC;...
  • Page 52 (up to 1 MS/s with DMA data transferring) between conversions of individual analog output channels, and takes full advantage of the PCI-1712. In this mode you can specify a clock source and trigger source and either of the two analog output channels to work in continuous output operation mode.
  • Page 53 D/A channel running continuous output operation mode will output waveform pattern from FIFO in specific clock rate. The PCI-1712 can adopt both internal and external clock sources for pacing the analog output of each channel: Internal D/A output clock with 16-bit Counter...
  • Page 54 External Digital (TTL) Trigger For analog output operations, an external digital trigger event occurs when the PCI-1712 detects either a rising or falling edge on the External D/A TTL trigger input signal from screw terminal AO_TRG on the PCLD-8712 screw terminal board. The trigger signal is TTL-compatible.
  • Page 55 ± ± ± The PCI-1712/1712L supports 16 digital I/O channels. These I/O channels are divided into two bytes: specifically a low byte, DIO0 to DIO7; and a high byte, DIO8 to DIO15. You can use each byte as either an input port or an output port by configuration register; and all eight channels of the byte have the same configuration.
  • Page 56 The PCI-1712/1712L features multifunction counter/timer functions with one-shot, rate generation, frequency measurement and pulse width measurement. There are two 8254 counter chips in PCI-1712/ 1712L, and each chip has 3 multifunction counters. The first counter chip (chip 1) is specified for AI and AO functions, and can’t be used by user.
  • Page 57 The PCI-1712/1712L provides two gate input types, for which user can set easily through...
  • Page 58 If you are using one counter (not cascaded), you can output pulses with a maximum frequency of 5MHz. In rate generation mode, either the internal or external clock source is Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 46 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 59 For example, if the value of counter is 20 and the frequency of clock source is 1MHz, the period of the one-shot output source is 20 / 1 MHz = 20 ms. Advantech Co., Ltd. – 47 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 60 0.1 sec, then the value of the second counter we get back is 43930. Thus, the frequency of measured pulse could be calculated as (65535-43930)/0.1sec. = 216050 Hz. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 48 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 61 /*Setup CNT2 to count the event of external measured clock signal during one-shot //pulse from CNT1*/ outport(addr2_1712+0x1e,0xb0); //CNT2 82C54 mode 0 outport(addr2_1712+0x1c,0xff); //Set CNT2 low byte outport(addr2_1712+0x1c,0xff); //Set CNT2 high byte Advantech Co., Ltd. – 49 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 62 /*The CNT2 has finished the job, and then show the measured frequency on display*/ dl= inport(addr2_1712+0x1c); //Read low byte dh= inport(addr2_1712+0x1c)<<8; //Read high byte dh= dh + (dl & 0x00ff); old_count = 0xffff - dh ; Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 50 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 63 65,535, then we get a value of 40000 for the first counter, and 50000 for the second counter. Thus the negative pulse period is (65535-40000)/1K=25.535 sec, and the positive pulse period is Advantech Co., Ltd. – 51 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 64 //Set CNT2 low byte outport(addr2_1712+0x1c,0xff); //Set CNT2 high byte outport(addr2_1712+0x24,0x80); //Set CNT2’s gate input as high outport(addr2_1712+0x24,0x88); //Generate one clock to CNT2 outport(addr2_1712+0x24,0x31); /*Set CNT2’s clock source as Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 52 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 65 //machine //CNT2’s gate input receiving the measured signal, check if finished while(1) i = inport(addr2_1712+0x24) & 0x0800; if(i == 0x0000) break; //CNT2’s gate input is low Advantech Co., Ltd. – 53 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 66 = (pos_count/duty)*100; //Show the duty ratio of positive cycle printf(“P+ = %u P- = %u Duty %5.3f \n”,pos_count,neg_count, duty); neg_count = 0; pos_count = 0; Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 54 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 67 If you installed the program to another directory, you can find these programs in the corresponding subfolders in your destination directory. The PCI-1712/1712L has been calibrated at the factory for initial use. However, a calibration of the analog input and the analog output function every six months is recommended.
  • Page 68 1. Adjust VR1 until the reference voltage on TP5 has reached +5.0000 V. 2. Set PCI-1712 to calibration mode, which will configure AI2 to +5 V, and AI0 to 0 V. (Write “1” in AI0_CAL at the register address BASE+6 bif7).
  • Page 69 1. Calibrate the A/D channels first. 2. Set PCI-1712 in calibration mode. AI4 is connected to AO0 and AI6 is connected to AO1. (Write “1” to the bit, AIO_CAL, on register BASE+6 bit7) 3.
  • Page 70 If you want to calibrate the hardware in your own way, these two sections will guide you. The following steps will guide you through the PCI-1712/1712L software calibration. Step 1: Access the calibration utility program AutoCali.exe from the...
  • Page 71 Chapter 6 Step 3: After you start to calibrate the PCI-1712/1712L, please don’t forget to adjust VR1. Figure 6-3: Warning message before start calibration Step 4: Click the Auto A/D Calibration tab to show the A/D channel auto-calibration panel (Fig. 6-4). Press the start button to calibrate A/D channels automatically.
  • Page 72 Step 5: The first A/D calibration procedure is enabled (Fig. 6-5). Figure 6-5: A/D Calibration Procedure 1 Step 6: The second A/D calibration procedure is enabled (Fig. 6-6) Figure 6-6: A/D Calibration Procedure 2 Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 60 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 73 Step 7: The third A/D calibration procedure is enabled (Fig. 6-7) Figure 6-7: A/D Calibration Procedure 3 Step 8: Auto-calibration is finished. (See fig. 6-8) Figure 6-8: A/D Calibration is finished Advantech Co., Ltd. – 61 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 74 Please finish the A/D calibration procedure first before you start the D/A calibration procedure. There are two D/A channels in PCI-1712; select the output range for each channel and then press the start button to calibrate D/A channels (Fig. 6-9).
  • Page 75 Step 11: D/A channel 1 calibration is enabled (Fig. 6-11) Figure 6-11: Calibrating D/A Channel 1 Step 12: Auto-calibration is finished (Fig. 6-12) Figure 6-12: D/A Calibration is finished Advantech Co., Ltd. – 63 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 76 PCI-1712/ 1712L can read. For example, if the input range is 0 ~ 5V, then input voltage should be 2.9992V not 3V.
  • Page 77 Chapter 6 Step 2: According to the difference between reference voltage and receiving data in PCI-1712/1712L, adjust the gain, bipolar offset and unipolar offset registers (Figure 6-14) Figure 6-14: Adjusting registers Step 3: Adjust the registers until they fall between the input voltage from the standard voltage reference and the receiving voltage reflectected in the Manual A/D Calibration tab.
  • Page 78 (Fig. 6-15 and Fig. 6-16). Figure 6-15 & Figure 6-16: Selecting D/A Range and Choosing Output Voltage Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 66 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 79 (Fig. 6-17) Figure 6-17: Adjusting registers Step 4: Adjust registers until they fall between the output voltage from the D/A channel and the value in the multimeter. Advantech Co., Ltd. – 67 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 80 Chapter 6 Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 68 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 81 ± : ± < s t i . n i i t u t i b Ω . n i . n i Advantech Co., Ltd. – 69 – PCI-1712 User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 82 . n i e r i i t c ) l a s t r a t l . n i a t l . n i Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 70 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 83 The sampling rate depends on the computer hardware architecture and software environment. The rates may vary due to programming language, code efficiency, CPU utilization and so on. Advantech Co., Ltd. – 71 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 84 APPENDIX A Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 72 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 85 D I O [ 1 5 :8 ] A O [ 1 : 0 ] 1 2 b i t D / A A O _ C L K Advantech Co., Ltd. – 73 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 86 APPENDIX B Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 74 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 87 APPENDIX C The PCLD-8712 Screw-terminal Board provides convenient and reliable signal wiring for the PCI-1712/1712L of which has a 68-pin SCSI-II connector. Due to its special PCB layout you can install passive components to construct your own signal-conditioning circuits. The user can easily construct a low-pass filter, attenuator or current shunt converter by adding resistors and capacitors on board’s circuit pads.
  • Page 88 APPENDIX C CN1: 68-pin SCSI-II connector for connection with the PCI-1712 CN2: 20-pin connector for digital I/O DIO 0 DIO 1 DIO 3 DIO 2 DIO 4 DIO 5 DIO 6 DIO 7 DIO 8 DIO 9 DIO 10 DIO 11...
  • Page 89 4 ~ 20 mA to 1 ~ 5 V signal converter: RAn = 0 Ω (short) RBn = 250 Ω (0.1% precision resistor) Cn = none Advantech Co., Ltd. – 77 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 90 4 ~ 20 mA to 1 ~ 5 V signal converter: RAn = 0 Ω (short) RAn+1 = 0 Ω (short) RDn = 250 Ω (0.1% precision resistor) CDn = none 3. Calculations Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 78 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 91 APPENDIX D The PCI-1712/1712L is delivered with an easy-to-use 32-bit DLL driver for user programming under Windows 95/98/NT operating system. We dvise users to program the PCI-1712/1712L using 32-bit DLL driver provided by Advantech to avoid the complexity of low-level program- ming by register.
  • Page 92 APPENDIX D Table D-1: PCI-1712/1712L register format (Part 1) r e t i t i i t t t l u l p i i t t r e t r e t r e t t a t r e t r e t Advantech Co., Ltd.
  • Page 93 APPENDIX D Table D-1: PCI-1712/1712L register format (Part 2) r e t r e t r e t r e t r e t r e t r e t r e t r e t r e t r e t...
  • Page 94 APPENDIX D Table D-1: PCI-1712/1712L register format (Part 3) r e t r e t r e t t a t r e t r e t t a t r e t r e t t a t r e t...
  • Page 95 15 is used for other purposes instead for CH3, which is hence not available.. The trigger flag indicates whether a trigger event has happened during A/D conversion process. Advantech Co., Ltd. – 83 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 96 0 means the channel is single-ended input. 1 means the channel is differential input. 0 means the channel is bipolar. 1 means the channel is unipolar. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 84 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 97 APPENDIX D Table D-4: Gain Codes for the PCI-1712/1712L Table D-5: Register for multiplexer control t l u l p i i t t When you set the gain code of analog input channel n, you should set the MUX start & stop channel number to channel n to prevent any unexpected errors.
  • Page 98 AI2, then the scan sequence is AI13, AI14, AI15, AI0, AI1, AI2, AI13, AI14, AI15, AI0, AI1, AI2, AI13, AI14... The scan logic of PCI-1712/1712L card is pretty fancy and powerful, you can set gain code, B/U and S/D by each channel. The scan logic will be a little complex if you set the channel in differential mode.
  • Page 99 Table D-6: Register for A/D control/status r e t r e t These registers specify the analog input acquisi tion mode. The following table shows the acquisition mode. Advantech Co., Ltd. – 87 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 100 0 means rising edge. 1 means falling edge. This bit sets the Analog I/O calibration mode. 0 means the PCI-1712 is in normal mode. All analog input channels are connected to 68 pin SCSI-II connector respectively. 1 means the PCI-1712 is in AI/O calibration mode. The...
  • Page 101 Write any values to Write BASE+8 low byte clears the interrupt. Write 0 to this bit will clear the A/D FIFO. Write 0 to this bit will clear the D/A FIFO. Advantech Co., Ltd. – 89 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 102 This bit indicates the D/A FIFO half-full status 1 means D/A FIFO halt-full. This bit indicates the D/A FIFO full status 1 means D/A FIFO full. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 90 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 103 This bit specifies the reference voltage of AO1 as internal or external. 0 means the reference voltage comes from internal. 1 means the reference voltage comes from pin AO1_REF. Advantech Co., Ltd. – 91 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 104 If you write 1 to AO_TRGF, then it acts as if D/A trigger event has occurred. This is useful for testing and debug ging. This function is applicable only in continuously output operation mode. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 92 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 105 These two base addresses are used for single value operation mode only. For continuous output operation mode, data have to be written to BASE+30. n i t i t a Advantech Co., Ltd. – 93 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 106 0 to count number of data. For detailed information, Intel(r) 82C54 User’s Manual is available by accessing the following path on CD-ROM: \Document\Intel 82C54 manual.pdf Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 94 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 107 For example, as you will see in the subsequent sections, there are many registers with names like Cn0, CPn, CQn, etc. Note that the “n” in these register names represents the counter number that is concerned. Advantech Co., Ltd. – 95 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 108 [Cn1: Cn0] = [1, 0], External clock is on connector CNTn_CLK (n = 0, 1, 2). [Cn1: Cn0] = [1, 1], The clock source of every counter Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 96 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 109 1. The gate source of every counter comes from its previous counter’s output in a round-robin fashion. For example, the gate source of counter 0 comes from the Advantech Co., Ltd. – 97 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 110 “1” means the OUT of counter n is logic-high; “0” means logic low. This bit is read-only and shows the counter’s CLK status. “1” means the CLK of counter n is logic-high; “0” means logic low. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 98 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 111 The PCI-1712/1712L provides 16 digital I/O channels. Each group of 8 channels can be defined as both input or output channels. You can configure digital input/output by setting the digital I/O configuration register.
  • Page 112 — Table D-22: Register for calibration command i l a i t a Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 100 – www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 113 D7 is the most significant bit (MSB) of the calibration data. Table D-23: Calibration command r a l r a l r a l r a l r a l r a l a t l Advantech Co., Ltd. – 101 – PCI-1712/1712L User’s Manual www.advantech.com Get other manuals https://www.bkmanuals.com...
  • Page 114 FIFO will be sent in an interlaced manner, i.e. The “even” samples in the FIFO are sent to D/A channel 0, while the “odd” samples to D/A channel 1. Advantech Co., Ltd. PCI-1712/1712L User’s Manual – 102 – www.advantech.com Get other manuals https://www.bkmanuals.com...

This manual is also suitable for:

Pci-1712l