Summary of Contents for PCM-3718H

Page 1: ...ss underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos...

Page 2: ...PCM 3718 Series PC 104 12 bit DAS Module with Programmable Gain User Manual Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 3: ...ird parties which may result from its use Acknowledgments PC LabCard and ADAQView are registered trademarks of Advantech Co Ltd All other brands trademarks or products listed are tradenames or tradema...

Page 4: ...ease consult your dealer for more details If you think you have a defective product follow these steps 1 Collect all the information about the problem encountered For example CPU speed Advantech produ...

Page 5: ...e system check that the items listed below are included and in good condition If any item does not accord with the table please contact your dealer immediately 1x PCM 3718 series card 1x Companion CD...

Page 6: ...able 2 2 PC bus Address Control 13 2 2 2 DMA Channel and Timer Clock Selection JP1 14 2 2 3 Channel Configuration S E or diff JP2 14 2 2 4 External Input or D I O Selection JP3 15 2 2 5 Set P1 pin 19...

Page 7: ...t BASE 04 05H PCM 3718HO only 36 Table 4 2 Register for D A Output Data 36 4 7 FIFO Interrupt Control BASE 06H PCM 3718HO only 37 Table 4 3 Register for FIFO Interrupt Control 37 4 8 A D Status Regist...

Page 8: ...Modes 56 7 4 Counter Operations 58 7 5 Counter Applications 59 Chapter 8 Direct Memory Access DMA Operation 62 8 1 Introduction to the 8237 DMA Controller 62 8 2 Using DMA Transfer with PCM 3718 Cards...

Page 9: ...PCM 3718H 3718HG User Manual viii Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 10: ...HAPTER 1 General Information This chapter introduces the PCM 3718 Series and provides detailed specifica tions Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg c...

Page 11: ...g boards at your disposal The PCM 3718 Series is excellent for data acquisition process control automatic testing and factory automation 1 2 Features 16 single ended or 8 differential analog inputs ju...

Page 12: ...3718H and PCM 3718HO 100 kHz PCM 3718HG variable depending on PGIA settling time Gain Speed 0 5 1 100 kHz 5 10 35 kHz 50 100 7 kHz 500 1000 770 Hz Accuracy depending on gain values PCM 3718H and PCM 3...

Page 13: ...ic Settling Time 26 s to 1 2 LSB of FSR Gain Error Adjustable to zero Slew Rate 10 V s Drift 40 ppm C Driving Capability 3 mA Max Update Rate 100 k samples s Output Impedance 810 m min 1 3 3 Digital I...

Page 14: ...per selectable 1 3 5 General Power Consumption 5VDC 180mA Typical 5VDC 400mA Max Digital I O Connector 20 pin post headers for I O connection Analog Input Connector 20 pin post headers for I O connect...

Page 15: ...ingle ended inputs JP3 DIO0 or external input JP4 Set P1 pin 19 20 to AGND or D A pin use PCM 3718HO only JP6 FIFO enable disable selection PCM 3718HO only JP9 FIFO IRQ address selection PCM 3718HO on...

Page 16: ...ase address VR1 A D full scale VR2 A D bipolar offset VR3 A D unipolar offset VR4 PGA offset PCM 3718HG only VR5 D A full scale adjustment PCM 3718HO only VR6 D A offset PCM 3718HO only Artisan Techno...

Page 17: ...16 differential inputs to one analog output channel It offers isolated break before make high voltage switching and a CJC circuit for thermocouple measurement PCLD 786 SSR I O Module Carrier Board Thi...

Page 18: ...evelopment software package In addition to typical Human Machine Interface HMI functions ADAQView features a Visual Basic programming environment and it provides numerous graph ical control and displa...

Page 19: ...PCM 3718 Series User Manual 10 1 7 Block Diagram Note CNT0 OUT is only for PCM 3718HO Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 20: ...2 Installation This chapter explains how to install PCM 3718 cards and how to configure its switch and jumper settings Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www art...

Page 21: ...will then make arrangement to repair or replace the unit for you Discharge any static electricity on your body before touching the board by touching the back of the system unit grounded metal Also ke...

Page 22: ...e beginning address Valid base addresses range from Hex 000 to Hex 3F0 Other devices in your system can use some of these addresses PCM 3718 s base address was set to Hex 300 at the factory If you nee...

Page 23: ...k Div1 Div2 Fclk 1 MHz or 10 MHz is set by JP1 as illustrated below Div1 and Div2 are dividers set in counter 1 and counter 2 in the Intel 8254 counter See page 51 for more information on the counter...

Page 24: ...ital I O line 2 DIO 2 This is the default setting of JP3 Pin 1 can also be set to external A D trigger source EXT and pin 2 can be connected to counter gate 0 G0 External trigger input EXT DIO 0 Digit...

Page 25: ...tage reference 2 4 6 2 2 6 Enable Disable FIFO Selection JP6 PCM 3718HO only You can use JP6 to enable or disable the FIFO function Set jumper on pin 1 2 to enable FIFO As shown below Set jumper on pi...

Page 26: ...he D A range 0 10 V Set the jumper on pin 3 and 5 to make the D A range 0 5 V 2 2 9 Internal or External D A Reference Voltage JP11 PCM 3718HO only JP11 lets users select the D A reference voltage as...

Page 27: ...erential A GND Analog ground DIO Digital input output D GND Digital and power supply ground PCR_TRIG Pacer Clock Output This pin pulses once for each pacer clock when turned on If A D conver sion is i...

Page 28: ...ND A GND A D S9 A D S8 A D S11 A D S15 A D S13 A D S14 A D S10 A D H0 A D H1 A D H3 A D H2 A D H4 A D H6 A D H5 A D H7 A GND A GND 1 2 3 4 5 6 7 10 9 12 8 11 20 15 16 17 18 19 13 14 A D L4 A GND A GND...

Page 29: ...ns written in com mon programming languages to operate the PCM 3718 card You do not need to perform complex register programming The driver supports the following languages Microsoft Visual Basic Visu...

Page 30: ...de all the way into the connector do not force the pins into place or the mod ule may be damaged 6 Fasten the module to the CPU card by using the included brass screw Screw the brass spacer into the t...

Page 31: ...PCM 3718 Series User Manual 22 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 32: ...data accurately Good signal connec tions can also avoid unnecessary dam age to the PC and other hardware This chapter provides information on signal connections for different types of data acquisition...

Page 33: ...V D A output Use an external reference for other D A output ranges The maxi mum reference input voltage is 10 V and maximum output scaling is 10 V The loading current for D A outputs should not exceed...

Page 34: ...ce It is fairly simple to connect a signal ended channel to a floating signal source A standard wiring diagram looks like this 3 2 2 Differential Channel Connection The differential input configuratio...

Page 35: ...d by common mode voltages connect the signal ground to the LOW input Do not connect the LOW input to the PCM 3718 s ground directly In some cases you may also need a wire connection between the PCM 37...

Page 36: ...the PCM 3718H 3718HG for a total of 128 channels The PCLD 8115 Screw terminal Board makes wiring connections easy It provides 20 pin flat cable connectors and a CJC Cold Junction Com pensation circuit...

Page 37: ...llowing figure shows con nections of digital signals with other TTL devices To receive an OPEN SHORT signal from a switch or relay add a pull up resistor to ensure that the input is held at a high lev...

Page 38: ...ster Structure and Format This chapter gives detailed information on the layout and function of each of the card s registers Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE w...

Page 39: ...to the base address of the module Table 4 1 I O Port Address Assignments Address Read Write BASE 0 A D low byte channel Software A D trigger BASE 1 A D high byte A D range control BASE 2 MUX scan MUX...

Page 40: ...ived C3 is the MSB and C0 is the LSB 4 2 Software A D Trigger BASE 0 You can trigger an A D conversion from software the module s onboard pacer or from an external pulse Bits 1 and 0 of register BASE...

Page 41: ...ode to bits 0 to 3 of BASE 1 PCM 3718H and PCM 3718HO range code BASE 1 write only A D range control code Bit D7 D6 D5 D4 D3 D2 D1 D0 Value N A N A N A N A G3 G2 G1 G0 Input Range V Unipolar Bipolar R...

Page 42: ...0 0 0 1 0 05 B 0 0 1 0 0 005 B 0 0 1 1 0 to 10 U 0 1 0 0 0 to 1 U 0 1 0 1 0 to 0 1 U 0 1 1 0 0 to 0 01 U 0 1 1 1 10 B 1 0 0 0 1 B 1 0 0 1 0 1 B 1 0 1 0 0 01 B 1 0 1 1 N A 1 1 0 0 N A 1 1 0 1 N A 1 1 1...

Page 43: ...channel number CL3 to CL0 Start scan channel number The MUX scan register low nibble CL3 to CL0 also acts as a pointer when you program the A D input range see previous section When you set the MUX s...

Page 44: ...O7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 DIO0 BASE 3 write port DIO low byte Bit D7 D6 D5 D4 D3 D2 D1 D0 Value DIO7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 DIO0 BASE 11 read port DIO high byte Bit D7 D6 D5 D4 D3 D2 D1...

Page 45: ...A converter This double buffering process protects the D A data integrity through a single step update PCM 3718HO provides a precise fixed internal 5 V or 10 V reference selectable by means of jumper...

Page 46: ...converter is idle ready for the next conversion Data from the previous conversion is available in the A D data registers 1 The A D converter is busy implying that the A D con version is in progress M...

Page 47: ...writing to it with any value clears the INT bit CN3 to CN0 When EOC 0 these status bits contain the channel number of the next channel to be converted Remarks If you trigger the A D conversion by the...

Page 48: ...l generate an inter rupt when it receives a T C terminal count signal from the PC s DMA controller indicating that a DMA transfer has been completed Use this setting for DMA data transfer The DMA tran...

Page 49: ...s pacer TC0 Disable enable pacer 0 Pacer enabled 1 Pacer disabled 4 11 Programmable Pacer Reg BASE 12 13 14 15 These four registers located at addresses BASE 12 BASE 13 BASE 14 and BASE 15 are used f...

Page 50: ...0 Analog to digital data AD0 the least significant bit LSB of the A D data AD11 the most significant bit MSB C3 C0 A D channel number from which the data is derived C0 the least significant bit LSB of...

Page 51: ...IFO is not empty HF FIFO half full flag 1 FIFO is half full or more than half full 0 FIFO is less than half full FF FIFO full flag 1 FIFO is full 0 FIFO is not full 4 14 FIFO Clear BASE 19H Writing an...

Page 52: ...rst five sections describe A D data format input range selection sta tus register settings MUX scan setting trigger modes and data transfer This section gives step by step imple mentation guidelines f...

Page 53: ...bits D0 to D3 C0 to C3 of BASE 0 A D data register format is The A D status register at BASE 8 read only gives information on A D configuration and operation A D status register format is Bits in thi...

Page 54: ...low If you require only one A D input channel you should set the high and low scan limits to the same value If you specify a range of input chan nels PCM 3718 automatically performs an A D conversion...

Page 55: ...ou can select pacer output between 2 5 MHz and 71 minutes per pulse Chapter 7 cover the details of the Intel 8254 timer counter Pacer triggering is ideal for interrupts and DMA data transfers nor mall...

Page 56: ...data from the module s A D data registers to a previously defined memory segment in the PC At the end of each conversion the EOC signal generates an interrupt and the interrupt handler routine perform...

Page 57: ...Do the following to perform software trigger and program controlled data transfer without the PCM 3718 driver 1 Set the input range for each A D channel 2 Set the input channel by specifying the MUX s...

Page 58: ...2 CHAPTER 6 Digital Input Output Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 59: ...or digital signal connections BASE 3 read port DIO low byte Bit D7 D6 D5 D4 D3 D2 D1 D0 Value DIO7 DIO6 DIO5 DIO4 DIO3 DIO2 DIO1 DIO0 BASE 3 write port DIO low byte Bit D7 D6 D5 D4 D3 D2 D1 D0 Value D...

Page 60: ...2 CHAPTER 7 Programmable Pacer Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 61: ...Jumper JP1 controls the input frequency See page 12 for more information Counters 1 and 2 on the 8254 are cascaded and operated in a fixed divider configuration Counter 1 input is connected to the 1 M...

Page 62: ...errors it is important that you make read write opera tions in pairs and keep track of the byte order The data format for the control register appears below SC1 SC0 Select counter Register Function BA...

Page 63: ...e control register data format becomes Operation RW1 RW0 Counter latch 0 0 Read write LSB 0 1 Read write MSB 1 0 Read write LSB first then MSB 1 1 M2 M1 M0 Mode Description 0 0 0 0 Programmable one sh...

Page 64: ...status of counter output NC Null count is 1 when the last count written to the counter register has been loaded into the counting element The pacer enable register located at address BASE 10 has a cl...

Page 65: ...while the output is low the new value will not affect the duration of the one shot pulse until the succeed ing trigger You can read the current count at any time without affecting the one shot pulse T...

Page 66: ...following the reload decrements the counter by 3 Subsequent clock pulses decrement the count by two until timeout then the whole process is repeated In this way if the count is odd the output will be...

Page 67: ...mand to the control word register Format is as shown at the beginning of the chapter The read back command can latch multiple counter output latches Sim ply set the CNT bit to 0 and select the desired...

Page 68: ...steps tell you how to set the counter modes and constants 1 Set Counter 1 to Mode 3 by writing 76h to address BASE 15 2 Set Counter 1 s divisor constant C1 by writing to BASE 13 Con stant C1 can be a...

Page 69: ...n 25 kHz 10 MHz 40 10 OUTPORTB BASE 3 0x76 SET COUNTER 1 TO MODE 3 OUTPORTB BASE 1 40 WRITE LOW BYTE OF C1 OUTPORTB BASE 1 0 WRITE HIGH BYTE OF C1 OUTPORTB BASE 3 0xB6 SET COUNTER 2 TO MODE 3 OUTPORTB...

Page 70: ...2 CHAPTER 8 Direct Memory Access DMA Operation Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 71: ...ns Channel 3 is generally used for hard disk operations Channel 1 is not for any internal operations and is reserved for your applications Each channel has two associated control signals The DMA Reque...

Page 72: ...18 driver for your DMA transfer programming see the Software Drivers User Manual for more infor mation 3 If you choose to conduct your own DMA operation you will need to have a solid understanding of...

Page 73: ...PCM 3718 Series User Manual 64 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 74: ...2 CHAPTER 9 Calibration Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 75: ...conjunction with the calibration program To perform a satisfactory calibration you need a 4 digit digital multim eter and a voltage calibrator or a stable noise free D C voltage source 9 1 VR Assignm...

Page 76: ...VR6 until the D A volt age is exactly 0 V and 5 V 4 Connect P1 pin19 as the external DC voltage source to P1 pin1 if the A D channel is going to be calibrated 9 2 2 A D Calibration Procedures Connect...

Page 77: ...PCM 3718 Series User Manual 68 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 78: ...2 APPENDIX A Software Driver User Note Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...

Page 79: ...Func 6 s operational status Func 8 Stop Func 6 Func 9 Perform A D conversion with interrupt data transfer Func 10 Get Func 9 s operational status Func 11 Stop Func 9 Func 12 D A Initialization PCM 37...

Page 80: ...37 Timer initialization Func 38 Timer interrupt enable Func 39 Timer interrupt disable Func 40 Frequency measurement start Func 41 Get Func 40 s operational status Func 42 Stop Func 40 Func 43 Event c...

Page 81: ...Func 101 Perform Block channel scan with software data transfer Func 105 Perform Block channel scan with interrupt data transfer Func 106 Get Func 105 s status Func 107 Stop Func 105 Artisan Technolog...

Page 82: ...uipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentat...

Reviews: