Home
PCM-3712 Manual 2_B3
Contents
1. CLS PORT amp H220 REM Set base address 30 OUT PORT 5 amp H80 REM Enable output 40 FOR I 0 TO 359 REM cycle X 2 180 REM Convert to radian Y SIN X 4095 REM Get sin value 70 YH Y 256 REM Get high byte YL Y MOD 256 REM Get low byte OUT PORT YL REM Output low byte 100 OUT PORT 1 YH REM Output high byte 110 Y COS X 4095 REM Get cos value 120 YH Y 256 REM Get high byte 130 YL Y MOD 256 REM Get low byte 140 OUT PORT 2 YL REM Output low byte 150 OUT PORT 3 YH REM Output high byte 160 OUT PORT 4 0 REM Synchronous latch and output 888 170 NEXT I 80 OUT PORT 5 amp HO REM Disable output 190 EEE 41 42 D 1 Calibration The PCM 3712 D A calibration can be separated into three parts m Reference voltage adjustment m Analog output channel offset adjustment m 4mA current adjustment The above three calibrations are dependent on each other To do the calibration for AX10415 module you need a 4 or better DMM a current meter and a 250 resistor Refer to the Location Diagram section for help locating the trim resistors used during calibration Reference Voltage Adjustment There are 2 5V 5V and 10V reference voltages Three trim resistors VRs are dedicated for the reference voltages calibration A t factory these reference voltages have been precisely adjusted unless you can make sure th
2. JP2 JP4 ma CN E 1m aa 7 1m m JP5 JP10 1 Fig 3 1 Card connector jumper and switch locations 20 Base I O Port Address The PCM 3712 module occupies 8 consecutive locations in I O address space If more than module is to be installed to the embedded system each module must be given its own distinct I O address or base address No more than one module may use the same base address The I O port base address is selected via a 8 position DIP switch SW1 In factory the PCM 3712 base address is set for 220 Hex To set to appropriate base address switch the individual switches into the ON or OFF position The following figure shows DIP SWITCH default setting 220 hex where switches 1 and 5 are moved to the OFF position while leaving all other switches in the ON position A table for DIP SWITCH setting is given in the following page Base Address Switch Setting SW1 9 8 7 6 5 4 3 X weighting X Not used Base Address 512 32 544 Decimal 220 Hexadecimal 21 Cable I O addresses FIFO disabled SW1 Range Hex Switch position Q 00 200 207 208 20F 210 217 218 21F 220 227 e x 00 o 0100 00 0 0 lt e e Joc 3F0 3F7 3F8 3FF O Off On default x don tcare O OJO OJO OJO OJO O x x O O Note Switches 1 8 control the P
3. DO NOT TOUCH the exposed metal pins of the connector or the electronic components Note Keep the anti static bag for future use You might need the original bag to store the module if you have to remove the module from PC or transport it elsewhere 2 2 Driver Installation We recommend you to install the driver before you install the PCM 3712 module into your system since this will guarantee a smooth installation process The Advantech Device Drivers Setup program for the PCM 3712 module is included in the companion CD ROM that is shipped with your DA amp C module package Please follow the steps below to install the driver software Step 1 Insert the companion CD ROM into your CD ROM drive Step 2 The Setup program will be launched automatically if you have the autoplay function enabled on your system When the Setup Program is launched you will see the following Setup Screen Note If the autoplay function is not enabled on your computer use Windows Explorer or Windows Run command to execute AUTORUN EXE on the companion CD ROM Arc Device Driver Ins Device Manager individual Drivers Appications Examples amp Utilities Fig 2 1 Setup Screen of Advantech Automation Software Step 3 Select the Individual Drivers option Step 4 Select the specific device then just follow the installation instructions step by step to complete your device driver installation and setup AD ANTECH DA amp C Device Dri
4. data to this register Low byte of D A channel 1 ar aca BASE 7 oe os oa os 62 99 Table C 4 Register for low byte of D A channel 0 07 00 A D range control DO the least significant bit LSB of the A D range D7 the most significant bit MSB C 6 High byte of D A channel 1 Base 03H This is the D A channel 1 s high byte register After writing the low byte to base 2 write the high byte of the split digital input data to this register When the module is configured for asynchronous mode the output value changed as soon as the high byte data is written to this high byte register High byte of D A channel 1 HighbyteofD Achanne i RSE eee AAA A PASOS CON A Table C 5 Register for high byte of D A channel 1 D11 D8 A D channel number from which the data is derived D8 the least significant bit LSB of the channels 011 the most significant bit MSB 38 C 7 Synchronous transfer control Base 04H When the PCM 3712 module is configured for asynchronous mode any writing to this register Base O4H means the module is commanded to update both D A s output value Synchronous Transfer Control write Synchronous Transfer Control se Table 6 Register for synchronous transfer control C 8 Output Control Base 05H At power on all voltage output at the D As are zero and if the module is configured for current output the output
5. to PC embedded application in industrial environment It contains two analog output channels which can be independently configured for voltage or current output Each channel is individually user selectable to any of the following ranges 0 to 10 V 0 to 5 V 2 5 V to 2 5 V 5 V to 5 V 10 V to 10 V or 4 to 20 mA current loop and is protected from shorts to grounds At power on channels configured for voltage output are set to 0 V and channels configured for current output are set to 4 mA There is a 12 bit D A converter for each channel with maximum 33 KHz throughputs Typical applications of PCM 3712 include frequency generation control direct control value positioning wave form generation and utilizing a variable voltage output The module can also be used for analog control in process or laboratory applications where material transfer rate fluid flow power consumption motor speed temperature levels etc are to be controlled A 10 pin male connector or 9 pin D type connector is provided for easy interfacing to PCM 3712 output 1 2 Features channel analog output B 0t05V 0t0 10 V 32 5 V 5 V 10 V and 4 to 20 mA output range 12 bit resolution B High speed Single power 5 V operation Output cut off at power on Note For detailed specifications of the PCM 3712 please refer to Appendix A Specifications 1 3 Applications Frequency generation Positioning control Wave form generation Speed con
6. ActiveDAQ Advantech GeniDAQ Programming choices for DA amp C modules You may use Advantech application software such as Advantech Device Drivers On the other hand advanced users are allowed another option for register level programming although not recommended due to its laborious and time consuming nature Device Drivers The Advantech Device Drivers software is included on the companion CD ROM at no extra charge It also comes with all the Advantech DA amp C modules Advantech s Device Drivers features a complete I O function library to help boost your application performance The Advantech Device Drivers for Windows 2000 95 98 ME NT XP works seamlessly with development tools such as Visual C Visual Basic Inprise C Builder and Inprise Delphi Register level Programming Register level programming is available for experienced programmers who find it necessary to write code directly at the level of the device register Since register level programming requires much effort and time we recommend that you use the Advantech Device Drivers instead However if register level programming is indispensable 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 1 6 Device Driver Programming Roadmap This section will provide you a roadmap to demonstrate how to build an application from scratch using Advantech Device Drivers with your favo
7. C bus address lines as follows Switch 1 2 3 4 5 6 7 8 Line A9 A8 A7 A6 A5 4 A3 x 22 Asynchronous Synchronous Selection The PCM 3712 module can be configured for asynchronous or synchronous mode by means of jumper JP11 The following table gives the configuration for jumper JP11 In factory the PCM 3712 module is set to asynchronous mode Names of Switches Function description JP11 Table 3 1 Summary of switch JP11 settings Analog Output Setting Each channel of the PCM 3712 module can be independently configured for bipolar 10 V 5 V 2 5 V Vggr unipolar 0 10V 0 5V 0 Vrer or 4 20 mA current output The Vggr is a external reference voltage which is input to the module through connector JP4 Jumpers JP1 and 5 are used for channel 1 s analog output setting While jumpers JP2 JP4 and JP10 are used for channel 2 s analog output setting The jumper configurations are given in the following table 23 Configuration Tumper Channel n Bipolar g 2 5V JP1 J P3 J P5 1 JP3 4 JP5H0 p4 P10 JP1 J J P2 J P4 J P10 mms wm UC n EXE J P2 J P4 J P10 VREF1 m JP5 10 N JP1 2 Factory default setting J P2 J P4 J P10 JRSM 2 4 P10 mm J P2 JP4 JP10 JP1 JP3 JP5 JP3 4 JP5 10 JP2 J P4 J P10 E Table 3 2 Summary of switch JP1 2 3 4 5 10 settings 24 3 3 Connector Pin Assignm
8. Copyright Advantech Co Ltd copyrights this documentation and the software included with this product in 2003 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 or for any infringements of the rights of third parties that 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 Corporation CE notification The PCM 3712 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 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 N
9. e reference voltages are drifted or else never change the VRs 2 5V Reference Voltage Adjustment Procedure User a 4 DMM Connect its positive probe to jumper JP1 pin 5 and negative probe to pin 2 at connector J4 Adjust VR3 until the DMM reads 2 5000V 5V Reference Voltage Adjustment Procedure Use a4 DMM Connect its positive probe to jumper JP1 pin 3 and negative probe to pin 2 at connector J4 Adjust VR2 until the DMM reads 5 0000V 10V Reference Voltage Adjustment Procedure Use a4 DMM Connect its positive probe to jumper JP1 pin 1 and negative probe to pin 2 at connector J4 Adjust VR1 until the DMM reads 10 000V 44 Analog output Channel Offset Adjustment This section gives null offset adjustment of the onboard OP amplifier The procedure is as follows 1 2 3 4 Make sure all the reference voltages have been precisely adjusted Configure both D As for 35V voltage output range Connect a 4 DMM to DA and AGNDI pins at connector 14 Turn power on and set D A channel 1 s code to 800 Hex by writing to the AX10415 s data registers base address 0 and base address 1 refer to Appendix C section Adjust VR4 until DMM reads zero voltage Repeat steps 3 through 5 for D A channel 2 offset adjustment where the trim resistor used in VRS the 4 DMM is connected to DA V2 and AGND2 pins at connector J4 and the code is written to base address 2 and base address 3 Current Sink Adjustment The curr
10. ent output adjustment procedure is as follows 1 Configure both analog output channels for 4 20 mA current output range Connect a 250 O resistor in series with a current meter to DA I1 and AGND pins at connector J4 Set analog output channel 1 s code to 0 by writing to PCM 3712 s data registers base address 0 and base address 1 4 Trim VR7 until the current meter reads 4 0000 mA 5 Repeat step 2 through 4 for analog output channel 2 current sink adjustment where the trim resistor used is VR6 the pins are DA I2 and AGND2 pins at connector J4 and the code is written to base address 2 and base address 3 45
11. ents Pin Assignment All PCM 3712 input and output signals are built in a 10 pin male connector labeled J4 whose pin assignments and description are shown below A cable connector that converts the 10 pin male connector to 9 pin D type connector is also given to user along with the PCM 3712 module 10 PIN MALE 9 PIN D TYPE CONNECTOR CONNECTOR Fig 3 2 Pin header connector wiring diagram 1 0 Connector Signal Description Table 3 3 I O Connector Signal Descriptions 25 There are four kinds of reference voltage inputs can be set to input to the D A converter The reference voltages are 10V 5V 2 5V and external reference voltage where the jumpers used are JP1 through JP4 and JP6 through JP9 refer to the Jumper Setting section Whatever reference voltage is selected the D A output channel is from 0V to the reference voltage Vrer for unipolar mode and from Vrer to V REF for bipolar mode The Vggr can be DC or AC voltage In this way the D A output becomes a programmable attenuator The equation for calculating the D A output is as follows 1 Voltage output for unipolar DA V1 or DA V2 2x VREF X code 4096 2 Voltage output for bipolar DA_V1 or DA_V2 code 2048 VBip V REF X 2048 4 20mA constant current output DA 11 or DA 12 16mA x Ode ama where code is the data written to the D A low high byte register its range is 0 4095 26 Analog output connectio
12. hannels the low byte should be written first then the high byte The 12 but buffer will keep the result not to be sent to the output until the high byte is written Asynchronous Synchronous Mode The PCM 3712 supports asynchronous and synchronous modes where the modes enable user to update the D A channels individually or simultaneously The 12 bit input data is split into low and high byte Sequentially write the low byte then the high byte to the data registers refer to Appendix C Register Format and Description Further descriptions for these modes are given later in this section Programming examples in asynchronous and synchronous modes are provided in Appendix C 9 Programming Asynchronous mode For each channel the D A converter latch and output the new data as soon as all 12 bits of the new data are written to the D A e Synchronous mode In synchronous mode the outputs at the two D A channels can be simultaneously updated due to a control command written to the synchronous transfer control register That is the data written to the D As has no effect on the output value until the module is commanded to change it 28 3 4 Field Wiring Considerations When you use the PCM 3712 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 sig
13. is 4mA So before starting to program the module user is recommended to enable an output control bit by setting bit ZD at base 05H Output Control Write OuspuConrl O Bis 2 1 Table C 7 Register output control ZD 0 output is disabled ZD 1 output is enabled 39 C 9 Programming The PCM 3712 module consists of two 12 bit D A channels The D A data registers can only be written to are in standard low high byte sequence The double buffered D A s are not updated until the second high byte is written This mechanism ensures a single step transition on the analog output of the A D Example 1 The following BASIC program shows how to generate a sine wave output in asynchronous mode Properly configure the D A output channel 1 for bipolar mode 10V range and asynchronous mode Ho OL PORT amp h220 REM Set base address OUT PORT 5 amp H80 REM Enable output FOR 0 TO 359 REMA cycle X 1 2 180 REM Convert to radian 20 30 40 60 Y SIN X 4095 REM Get sin value 30 YH 256 REM Get high byte YL Y MOD 256 REM Get low byte OUT PORT YL REM Output low byte NEXT I 1120 OUT PORT 5 amp HO REM Disable output 40 Example 2 The following BASIC program shows how to generate sine and cosine wave outputs at both D As simultaneously Both D A channels must be set to bipolar mode 10V range and synchronous mode
14. latform Partner IRR se Device Manager r Installed Devices My Computer Supported Devices Advantech PCL 730 Advantech PCL 733 734 735 2 Advantech PCL 752 Advantech PCL 812 812PG About 28 Advantech PCL 813B 813 28 Advantech PCL 816 El Advantech PCL 818L H HD HG Advantech PCL 833 3 Advantech PCL 836 B DC 090 Fig 2 3 The Device Manager dialog box Step 3 Scroll down the List of Devices box to find the device that you wish to install and then click the Add button You will see a Device Setting dialog box such as the one in Fig 2 4 Further information about device configuration of PCM 3712 please refer to the Device Driver s Manual Start Program Files Advantech Automation Device Manger Device Drivers Manual 3 1 Overview Maintaining signal connections is one of the most important factors in ensuring that your application system is sending and receiving data correctly A good signal connection can avoid unnecessary and costly damage to your PC and other hardware devices This chapter provides useful information about how to connect input and output signals to the PCM 3712 via the I O connector 3 2 Switch and Jumper Settings In setting the module configuration a base address switch and some jumpers are used Refer to the following figure to help locating these components A VR1 VR2 VR3 VR4 VR5 VRe VH7 JP
15. n DA 11 or DA 12 POWER SUPPLY 6V 36V 20mA min Fig 3 4 Current loop output connection Analog output System Analog outputs are usually used to generate a programmable level signal for yielding a loop control system The analog output ranges are 0 5 0 10 2 5 V 5 V 10 V 4 20 mA They can be employed to control DC power supply frequency converter or to drive chart recorders Normally analog output merely provides little power voltage output is typical no more than 5mA additional power amplifier or current boosters are required when large load is used D A Converter with Double Buffer A digitabto analog D A converter affords an analog output proportional to the digital data on the input Most converters are 8 12 or even 16 bit with correspondingly higher resolution Cost rises rapidly with resolution Since the analog output change might need to be programmed twice resolution more than 8 bit needs two byte for one data SPIKES or GLITCHES are usually engendered to result in control application instability The PCM 3712 module uses 12 bit D A 27 converter consider the change from Hex to 200 Hex where a 1 LSB step raises When the high byte is programmed prior to the low byte a spike occurs Similarly when the low byte is programmed prior to the high byte a glitch occurs Double buffer technique is used at PCM 3712 module to diminish glitches and spikes When programming the D A c
16. nal sources and the PCM 3712 The signal cables must be kept away from strong electromagnetic sources such as power lines large electric motors circuit breakers or welding machines since they may cause strong electromagnetic interference Keep the analog signal cables away from any video monitor since it can significantly affect a data acquisition system If the cable travels through an area with significant electromagnetic interference you should adopt individually shielded twisted pair wires as the analog input cable This type of cable has its signal wires twisted together and shielded with a metal mesh The metal mesh should only be connected to one point at the signal source ground Avoid running the signal cables through any conduit that might have power lines in it If you have to place your signal cable parallel to a power line that has a high voltage or high current running through it try to keep a safe distance between them Alternatively you can place the signal cable at a right angle to the power line to minimize the undesirable effect The signals transmitted on the cable will be directly affected by the quality of the cable 29 30 A 1 Analog Input NOCERE TZ bis 1158 Differential 0 025 FSR Voltage Out Accuracy 30 0596 FSR Current Out Thermal mm 700Ma max Requirements Setting Time to 10V step 33p s LSB 5V step 16u Dynamic 0 3V u typ Voltage Pe
17. ote Concerning environmental protection we would like to reduce the paper used for this user s manual Starting the page of Appendix C please find the PDF file of the CD ROM 1st Edition Printed in Taiwan March 2003 Contents GENERAL INFORMATION sssensesessnsessnsesssenensenensnsensneensnenessenersenenensenensenensnesssnesnsnenensenensenensenensenense 1 INTRODUCTION e a dd 2 172 PEATURES ee me ena re pese ata eter dee dee pet 2 1 3 APPEICATIONS fi eee eene ea REP Pee e T de qo crm epe pret ie iEn 3 1 4 INSTALEATION GUIDE oet ertet eere pe Sere Fe et aree bu Or erbe re ae 3 1 5 SOFTWARE OVERVIEW sts eiecit tt ire 5 1 6 DEVICE DRIVER PROGRAMMING ROADMADP cscsssssseseseseseeeeeseseseseseseeeceseneseseeeeeseseeeetetenees 6 1 7 ACCESSORIES nassen P 7 INSTALLATION 22u00020cn0esenenseneneneeneneenensneensnessenenensenensenensnesnsnessssenessenenensenensensnensensnesnsnenensenensenensnnenen 9 ZN ncaeisass 10 2 2 DRIVER INSTALLATION ccoo ies ERE AER E DOOR A ER e ER 12 2 3 HARDWARE INSTAELATION eene ERE HOHER 14 2 4 DEVICE SETUP amp CONFIGURATION cccccssssssssssesesesesesescesesesesesesescesesesesesescseeaeseaeeeseseneeeeeaeaes 16 SIGNAL CONNECTIONS sssuscsnsenensenenenseneneensnensenenessenenensenensenensnesnsnesnssenensenensenenensenenensensnenensne
18. ps bs ps D2 Dr vo High byte of D A channel 1 Xe Xe XO aio 097 5081 Synchronous transfer control Output control Table C 1 PCM 3712 register format Part 1 36 C 3 Low byte of D A channel 0 Base 00H This is the D A channel 0 s low byte data register Write the low byte of the split digital input data to this register Low byte of D A channel 0 ws pes 57 b bs oa os vo Table C 2 Register for Low byte of D A channel 0 D7 D0 A D channel number from which the data is derived DO the least significant bit LSB of the channels D7 the most significant bit MSB C 4 High byte of D A channel 0 Base 01H This is the D A channel 0 s high byte register After writing the low byte to base 0 write the high byte of the split digital input data to this register When the module is configured for asynchronous mode the output value changed as soon as the high byte data is written to this high byte register High byte of D A channel 0 HighbyeofD Achanelo ee SA ELE ae ae ae REC SICHER CAES Table C 3 Register for High byte of D A channel 0 D11 D8 A D channel number from which the data is derived D8 the least significant bit LSB of the channels 011 the most significant bit MSB 37 C 5 Low byte of D A channel 1 Base 02H This is the D A channel 1 s low byte data register Write the low byte of the split digital input
19. r receiving your PCM 3712 package please inspect its contents first The package should contain the following items Vl PCM 3712 module Companion CD ROM Device Drivers included The PCM 3712 module harbors certain electronic components vulnerable to electrostatic discharge ESD ESD caneasily damage the integrated circuits and certain components if preventive measures are ignored Before removing the module from the antistatic plastic bag you should take the following precautions to ward off possible ESD damage Touch the metal part of your computer chassis with your hand to discharge the static electricity accumulated on your body Alternatively one can also use a grounding strap Touch the antistatic bag to a metal part of your computer chassis before opening the bag Take hold of the module only by the metal bracket when removing it out of the bag After taking out the module you should first Inspect the module for any possible signs of external damage loose or damaged components etc If the module is visibly damaged please notify our service department or our local sales representative immediately Do not install a damaged module 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 Whenever you handle the module grasp it only by its edges
20. rformance lew Rate 1 2mA u s Current for Single channel General 1 0 Connector Type 10 pin male connector or 9 pin D type connector 95 mm x90 mm 2009 0 C to 60 C 32 F 140 F 25 C to 85 13 F 185 F 32 B 1 Block Diagram n AD7837 DECODE CIRCUIT 34 C 1 Overview The PCM 3712 is delivered with an easy to use 32 bit DLL driver for user programming under the Windows 2000 95 98 NT ME XP operating system We advise users to program the PCM 3712 using the 32 bit DLL driver provided by Advantech to avoid the complexity of low level programming by register The most important consideration in programming the PCM 3712 the register level is to understand the function of the module s registers The information in the following sections is provided only for users who would like to do their own low level programming C 2 O Port Address Ma The PCM 3712 requires 8 consecutive addresses in the PC s I O space The address of each register is specified as an offset from the module s base address For example BASE 0 is the module s base address and BASE 6 is the base address plus six bytes The table 1 shows the function of each register of the PCM 3712 or driver and its address relative to the module s base address ap e Seg pw pesce qoe HEX Low byte of D A channel 0 w 05 Loa 02 DT Oo PX x x x on Do 59 68 Low byte of D A channel 1 D 1
21. rite development tools such as Visual C Visual Basic Delphi and C Builder The step by step instructions on how to build your own applications using each development tool will be given in the Device Drivers Manual Moreover a rich set of example source code is also given for your reference Programming Tools Programmers can develop application programs with their favorite development tools e Visual C e Visual Basic Delphi e C Builder For instructions on how to begin programming works in each development tool Advantech offers a Tutorial Chapter in the Device Drivers Manual for your reference Please refer to the corresponding sections in this chapter on the Device Drivers Manual to begin your programming efforts You can also look at the example source code provided for each programming tool since they can get you very well oriented The Device Drivers Manual can be found on the companion CD ROM Alternatively if you have already installed the Device Drivers on your system The Device Drivers Manual can be readily accessed through the Start button Start Program Files Advantech Automation Device Manger Device Driver s Manual The example source code could be found under the corresponding installation folder such as the default installation path Program Files Advantech ADSAPI Examples Programming with Device Drivers Function Library Advantech Device Drivers offer a rich function library that can be u
22. snenen 19 OVERVIEW ertet abe EP EO de mpm 20 3 2 SWITCH AND JUMPER SETTINGS I RE HERI ERE IRURE Pen Re tere then 20 3 3 CONNECTOR PIN ASSIGNMENTS cssssescssssesesesessesessecenesescesesesesseseseseesesneceseseeeeseaeeeseseneeeeaeaes 25 3 4 HELD WIRING CONSIDERATIONS esee tette tenente entere tenente entren tnn 29 SPECIFICATIONS 31 BLOCK DIAGRAM 33 REGISTER FORMAT AND DESCRIPTION suscesensenensenenenersenensesenensenensesensneensnenensenenensenenee 35 EM COVER VIEW 36 C 2 PORT ADDRESS MAP nennen eR 36 C 3 LOW BYTE OF D A CHANNEL 0 BASE essere 37 C 4 HIGH BYTE OF D A CHANNEL 01H eese tenente 37 C 5 LOW BYTE OF D A CHANNEL 1 BASE 02H eese nennen 38 C 6 HIGH BYTE OF D A CHANNEL 38 7 SYNCHRONOUS TRANSFER CONTROL BASE 4 seen 39 C 8 OUTPUT CONTROL BASE OSH ir rerne nE R E E ES 39 0 PROGRAMMING sn O e ERE E EEG UA AROR OR RRR 40 CALIBRATION ussscnsnensenensenensneensneensnenessenersenenensenensenensnesssnesnsnenensenensnsenensensnesssssnesssnenensenensenenensensnene 43 1 1 Introduction The PCM 3712 is a PC 104 module which is primary intended
23. tilized in various application programs This function library consists of numerous APIs that support many development tools such as Visual C Visual Basic Delphi and C Builder According to their specific functions or services those APIs can be categorized into several function groups Device Functions Group Analog Output Function Group e Port I O Functions Group For the usage and parameters of each function please refer to the Function Overview chapter in the Device Drivers Manual Troubleshooting Device Drivers Error Driver functions will return a status code when they are called to perform a certain task for the application When a function returns a code that is not zero it means the function has failed to perform its designated function To troubleshoot the Device Drivers error you can pass the error code to DRV_GetErrorMessage function to return the error message Alternatively you can refer to the Device Drivers Error Codes Appendix in the Device Drivers Manual for a detailed listing of Error Codes Error IDs and the Error Messages 1 7 Accessories Advantech offers a complete set of accessory products to support the PCM 3712 module These accessories include Wiring Boards ADAM 3909 9 pin wiring terminal for DIN rail mounting This chapter gives users a package item checklist proper instructions for unpacking and step by step procedures for both driver and module installation 2 4 Unpacking Afte
24. trol Power consumption control Fluid flow control Programmable attenuator 1 4 Installation Guide Before you install your PCM 3712 module please make sure you have the following necessary components PCM 3712 module PCM 3712 User s Manual Driver software Advantech DLL drivers included in the companion CD ROM Wiring board ADAM 3909 option Computer Personal computer or workstation with a PC 104 bus slot running Windows 2000 95 98 ME NT XP Some other optional components are also available for enhanced operation Application software ActiveDAQ GeniDAQ or other third party software packages After you get the necessary components and maybe some of the accessories for enhanc ed operation of your Analog Output module you can then begin the Installation procedures Figure 1 1 on the next page provides a concise flow chart to give users a broad picture of the software and hardware installation procedures Install Driver from CD ROM then power off PC Install Hardware and power on PC Use driver utility to configure hardware Use test utility to test hardware Read examples amp driver manual Start to write your own application Fig 1 1 Installation Flow Chart 1 5 Software Overview Advantech offers a rich set of DLL drivers third party driver support and application software to help fully exploit the functions of your PCM 3712 module Device Drivers on the companion CD ROM LabVIEW driver Advantech
25. ver Insta pa Ww Pi PE LATER Po 1712 REM POIL F PO TRUE POA WHG F f er PO T T0HGL PLI 1731 BM Pon post 1712 C1128 Lie BELT Your el Fig 2 2 Different options for Driver Setup For further information on driver related issues an online version of the Device Driver s Manual is available by accessing the following path Start Program Files Advantech Automation Device Manger Device Driver s Manual 2 3 Hardware Installation Note Make sure you have installed the driver first before you install the module please refer to 2 2 Driver Installation After the Device Drivers installation is completed you can then install the PCM 3712 module into any PC 104 socket on your computer However it is suggested that you refer to the computer user s manual or related documentation if you have any doubt Please follow the steps below to install the module onto your system Step 1 Turn off your computer and unplug the power cord and cables Turn off your computer before installing or removing any components on the computer Step 2 Remove the cover of your computer Step 3 Touch the metal part on the surface of your computer to neutralize the static electricity that might be on your body Step 4 Insert the PCM 3712 module into the PC 104 socket Hold the module only by its edges and carefully align it with the slot Insert the module firmly into place Use of excessive force must be a
26. voided otherwise the module might be damaged Step 5 Connect appropriate accessories 9 pin cable wiring terminals etc if necessary to the PC 104 module Step 6 Replace the cover of your computer chassis Re connect the cables you removed in step 2 Step 7 Plug in the power cord and turn on the computer After your module is properly installed on your system you can now configure your device using the Advantech Device Manager Program that has itself already been installed on your system during driver setup A complete device installation procedure should include device setup configuration and testin g The following sections will guide you through the Setup Configuration and Testing of your device 2 4 Device Setup amp Configuration The Advantech Device Manager program is a utility that allows you to set up configure and test your device and later stores your settings on the system registry These settings will be used when you call the APIs of Advantech Device Drivers Setting Up the Device Step 1 To install the I O device for your module you must first run the Device Installation program by accessing Start Program Files Advantech Automation Advantech Device Manager Step 2 You can then view the device s already installed on your system if any on the nstalled Devices list box Since you have not installed any device yet you might see a blank list such as the one below Fig 2 3 Your eP
Download Pdf Manuals
Related Search
Related Contents
User manual Manuel d`utilisation Manual de uso CINESAMPLES MEDIUM SWING BRUSHES PyroMark_Q24_Control.. 取扱説明書 Samsung 932BF Εγχειρίδιο χρήσης Copyright © All rights reserved.
Failed to retrieve file