Home
ME-300 Rev. 4.2E - Meilhaus Electronic
Contents
1. AT I O interface Diagram 5 Functional Block Diagram General Notes Important note The external cable connector should only be connected or disconnected from the D sub connector on the board in a powered down condition no voltage on any pins This is true for all A D and all D A channels The ME 260 s ME 260D s and ME 300 s D Sub female connectors have the same pinout except that the unused pins e g digital I Os for the ME 260 and D A channels for the ME 260 and ME 260D are not connected For connection details see B1 Pinout 50pin D Sub Female on page 74 Meilhaus Electronic Page 21 Hardware Rev 4 2E 3 3 Hardware Manual ME 300 260 D A D Section The A D section of the ME 260 260D 300 is electrically isolated from the system bus and the rest of the board and is run by a 3 W DC DC converter The ME 260 260D 300 has 16 single ended or 8 differential input channels The input channels are individually multiplexed to the programmable gain amplifier The 12 bit A D converter on the board type MAX176 allows a total sampling ra te of up to 200 kHz All modes of operation block single con tinuous timer controlled external trigger or interrupt can be set by software The operation is controlled by an FPGA component type XILINX XC3030 70 The channel gain list of the ME 260 260D 300 can hold a maxi mum of 256 entries for hardware scan functions The parameters channel number gain uni bipolar
2. R W a a Input output data for port B R W Rev 4 2E 8 Bit Register DIGITALB DIGITALC Input output data for port C Table 5 Adress space of the ME 260 260D 300 8 bit registers Offset BA 10H BA 12H 16 Bit Register b15 b12 channel number b11 bO _ digits Table 6 Adress space of the ME 260 260D 300 16 bit registers Meilhaus Electronic Page 37 Hardware Rev 4 2E Manual ME 300 260 D Offset 16 Bit Register BA 14H R W DACONTROL Control word for D A converter b11 b8 X X GA GB GC GD b4 bO MC MD X X X X gain for D A converter A B C and D mode for D A converter A B C and D 0 unipolar 1 bipo lar X reserved results in the following D A output ranges GA MA Digits GD MD Ranges 0 0 10 V OV 10 V SV 5V 5V O O 10 V 10V 10V 0 1 0 1 not allowed BA 18H R W DADATAA Data for D A converter A BA 1AH R W DADATAB Data for D A converter B BA 1CH R W DADATAC Data for D A converter C BA 1EH R W DADATAD Data for D A converter D Table 6 Adress space of the ME 260 260D 300 16 bit registers Hardware Page 38 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 3 8 3 9 Test Program A test program is supplied with the boards The test program ME300 EXE is installed automatically into the directory Meilhaus ME 300 Test Default an can be started with a double mouse click on condition that system drive
3. write to channel list not ready reset A D state machine interrupt source RESETINT no interrupt source FIFO half full external Pin 3 of the 50pin D Sub female connector A D conversion ready interrupt enabled simultaneous D A mode active clear FIFO reset channellist write counter reset D A converter By reading a dummy value from the regi ster the interrupt control on the board is reset Table 5 Adress space of the ME 260 260D 300 8 bit registers Meilbaus Electronic Page 55 Hardware Rev 4 2E Manual ME 300 260 D Offset 8 Bit Register channellist entry follows last channellist entry bipolar Eo g gain PGA 203 PGA 202 gain 1 1 gain 2 10 gain 4 100 gain 8 1000 bO channel channel 0 15 BA 03H BA 04H W TIMERODATEN Enter low byte then high byte the register must always be accessed twice BA 05H R W TIMERIDATEN Enter low byte then high byte the register must always be accessed twice BA 06H R W TIMER2DATEN Enter low byte then high byte the register must always be accessed twice BA 07H R W TIMERCONTROL Important control words for the counter component select counter 0 Hex 34 select counter 1 Hex 74 select counter 2 Hex B4 BA 08H eis eis output data for port A Table 5 Adress space of the ME 260 260D 300 8 bit registers Hardware Page 36 Meilhaus Electronic Manual ME 300 260 D Offset BA 09H BA 0AH
4. lt PortNo gt Port name possible values lt Port gt Hex Wert PORTA 00hex PORTB Olhex PORTC 02hex Dir Port function possible values Dir Hex value MEINPUT 00hex MEOUTPUT Olhex lt Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300DOSetBit amp Description This function is for the ME 260D ME 300 Sets a single digital output line to 0 or 1 t Important note To properly set the port direction the function _me300DIOSetPortDirection has to be called first O Definitions C int _me300DOSetBit int iBoardNumber int iPortNo int iBitNo int iBitValue Delphi Function _me300DOSetBit iBoardNumber iPortNo iBitNo iBitValue integer integer Basic Declare Function me300DOSetBit Lib me300_32 Alias VBme300DOSetBitQ 16 ByVal iBoardNumber As Long ByVal iPortNo As Long ByVal iBitNo As Long ByVal iBitValue As Long As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards ME 260 260D or 300 possible values 0 3 Meilhaus Electronic Page 67 Function Reference Rev 4 2E lt PortNo gt lt BitNo gt lt BitValue gt lt Return Value Manual ME 300 260 D Port name possible values lt PortNo gt Hex Wert PORTA OOhex PORTB Olhex PORTC 02hex Output line number to be se
5. ME 260D ME 300 Starts processing of the channel list The sampled values are passed on after finishing the sampling process t Important note This function can only be called after having successfully executed the funktions _me300AlSetTrigger _me300AlSetTimer and _me300AlSetChannellist at least once Example in C if _me300AlSetTrigger amp amp _me300AISetTimer amp amp _me300AISetChannelList then _me300AlIScan O Definitions C int _me300AlScan int iBoardNumber int piNumberOfScans short psArray Delphi Function _me300AlScan iBoardNumber integer Var iNumberOfScans integer Var sArray smallint integer Basic Declare Function me300AIScan Lib me300 32 Alias VBme300AIScan912 ByVal iBoardNumber As Long iNumberOfScans As Long sArray as Integer As Long gt Parameters BoardNumber Board number for 1 2 3 or 4 installed boards ME 260 260D or 300 possible values 0 3 NumberOfScans This number defines how often the channellist is sampled through for example to sample the channelllist one times through means that all channels are sampled once according to their order in the list Function Reference Page 58 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E lt Array gt Pointer on Array with 16 bit values Only the lo wer 12 bit are significant and contain the measu red value in linearized form i e decimal 0 corresponds with the lowest and decimal 4
6. tus bits are accessible The status bits can be polled by software and a FIFO half full condition can be used to initiate an inter rupt The user can choose between interrupt 2 3 5 7 10 11 12 or 15 which is set by a jumper on the board The channel gain list of the 3 different versions can contain up to 256 entries for hardware scanning The parameters channel number gain uni bi polar and channel list end are entered into the channel list as 8 bit entries The D A section of the board without electrical isolation is run by a 1 W DC DC converter The D A converter is a quad 12 bit component AD664 and allows direct 16 bit access from the PC The reset function after power up or software reset sets all out puts to a logical 0 All registers 16 bit of the D A component are user accessible The digital I O section of the board without electrical isolation is a BCT543 component which has three 8 bit ports A B C which can be programmed as input or output The ports confi gured as output can also be read in if required The counter timer section of the board is available on all 3 ver sions The 8253 component is used which has three 16 bit coun ters Counter 1 is cascaded with counter 0 The clock input to counter 1 has an input frequency of 1 5 MHz The output of counter 0 starts a conversion based on the channel list for every pulse from counter 0 the channel list is processed which controls the processing of one cha
7. Function Reference Page 56 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 5 3 2 Analog Input _me300MakeChannelList amp Description This function is for the ME 260 ME 260D ME 300 Support function Starts creating a channellist The result is an array with the encoded channellist entries but the function will not load the channellist memory of the board The pointer of this array can be passed on to the function _meAlSetChannelList as parameter for the channellist Definitions C int me300MakeChannelList int piChannellist Delphi Function _me300MakeChannelList Var iChannellist integer integer Basic Declare Function me300MakeChannelList Lib me300 32 Alias VBme300ChannelList2 4 iChannellist As Long As Long Parameters ChannelList One dimensional array of integer with 256 ele ments for the channellist The bit assignment of each entry corresponds with the ME 300 s chan nellist register BA 03H Only the lower 8 bits of each entry are valid the upper bits have to be set to 0 The last valid entry of the channellist has 1 in bit 7 Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess Meilbaus Electronic Page 57 Function Reference Rev 4 2E Manual ME 300 260 D _me300AlScan amp Description This function is for the ME 260
8. Manual ME 300 260 D b11 b8 GA GD where GA GD are the gain settings for con verters A B C D b7 b4 MA MD where MA MD are the mode setting for converters A B C D 0 unipolar 1 bipo lar b3 b0 reserved Reset bit 3 in the CONTROL2 register Confirm the above mode settings by writing a dummy value to the DACONTROL register Setting the Analog Outputs Set bit 3 in the CONTROL2 register Write the data into the DADATA A D registers word access to load Reset bit 3 in the CONTROL2 register Confirm the settings by writing a dummy value word ac cess to the DADATA A D registers Digital I O ME 300 and ME 260D only Set the port direction by setting the appropriate bits in the CONTROLI register as shown below bit 5 0 PA input bit 5 1 PA output bit 6 0 PB input bit 6 1 PB output bit 7 0 PC input bit 7 1 PC output Page 50 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E e Read write to from the appropriate ports Port A DIGITALA Port B DIGITALB Port C DIGITALC Note If a port is set as output it can still be read in if needed 4 4 5 Board Identification e The board ID and the PROM version can be determined from the FID offset 0 register Meilhaus Electronic Page 51 Programming Rev 4 2E Manual ME 300 260 D Programming Page 52 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 5 5 1 5 2 Function Reference Functional
9. Overview of the 32 Bit Driver The 32 bit driver for the boards of the ME 300 series is written for the Windows95 98 and WindowsNT operating system It consists of the following files e VxD driver ME300_32 VXD for Windows95 98 which is dy namically loaded e Kernel driver ME300_32 SYS for WindowsNT which is auomatically loaded during system startup e API DLL ME300_32 DLL with the driver functions for the ME 300 series e Dialog DLL MEDLG32 DLL with dialog functions The installation program for the ME 300 automatically registers every new board of the ME 300 board family with the operating system The driver supports up to 4 boards of one board family iBoardNumber 0 3 and up to 12 boards as a whole Upon every start the driver searches for registered boards but does not check the physical existence the ME 300 is not Plug amp Play compatible After the driver is successfully loaded the board can be accessed via the API functions The API functions allow convenient access to the hardware Eve ry function that accesses the ME 300 requires an integer value for identification of the board This integer value will be indicated by lt iBoardNumber gt in the following API function descriptions Naming Conventions The API functions were written specially for the ME 300 board family Every API function for Visual C and Delphi Pascal starts with an underscore _ not so in Borland C and BASIC The function names we
10. Packard ME VEC is a trademark of Meilhaus Electronic GmbH Other company names and product names found in the text of this manual are also trademarks of the companies involved Deutscher Akkreditierungs Rat TGA ZQ 002 92 00 ISO 9001 Manual ME 300 260 D Rev 4 2E Table of Contents 1 Introduction A near 7 1 1 Package contents u a 7 1 2 Features 4 04 a EN a a 8 13 System Requirements oo u e en 10 1 4 Important Note 2 dad paltas eed Dac ga a 10 1 5 Available Software u uuu ee re e nee 11 2 Installation na as ale 13 2 1 Hardware Installation lt oo ooooooooo o o o 13 2 1 1 Locations of the Jumpers a ado aa 13 2 1 2 Jumper Settings 4 tad E AD Cere Bae 14 2 1 2 1 Setting the Base Address holis 14 2 1 2 2 Setting the Input Mode nen neh 14 2 1 2 3 Setting the Interrupt Line a A 15 2 1 2 4 Default Settings sn u Ix e RO dora 15 2 2 Driver Installation 4 2 2 4 23 is 15 2 2 1 Initial Installation under Windows 95 98 NT 15 2 2 2 Updating the Board Driiver usur wor ren 17 2 2 3 Changing Board Settings cs oaks Sig Ed bg oC S 17 2 53 Uninstall ss AAA ARAS ek 18 2 3 1 Uninstall a Single Board e 4420 4 42 o EC EUH Eds tt 18 2 3 2 Uninstall the DriverSystem a rad a 19 3 Hardware RAI AR a Meee RUN 21 3 1 Functional Block Diagram 21 3 2 General Not s cua de 21 3 3 A D SCCUON 0 ass ar ERAS EE S Na T E TEE E E 22 3 3 1 A D Channel W
11. Please take the time to examine the contents of the package for any loss or damage that may have occurred during shipping If there are any contents missing or if an item is damaged contact Meilhaus Electronic immediately Before you install the board in your computer read this manual carefully especially the chapter describing board installation Pay careful attention to the instructions on how to set the dip swit ches and jumpers on the board This will save you having to open your PC case again 1 1 Package contents We take great care to make sure that the package is complete in every way when it is shipped We do ask that you take the time to examine the contents of the box Your ME 260D ME 300 pak kage consists of e PC board ME 260 ME 260D or ME 300 e This manual e ME 300 driver system for Windows95 98 NT on CD ROM or disk e 50pin D sub male connector Meilhaus Electronic Page 7 Introduction Rev 4 2E 1 2 Introduction Manual ME 300 260 D Features Model Overview Digital D A section vo Model B us ME 260 ISA 16 bit A D section 12 bit 200 kHz 16 s e 8 diff channels 12 bit 200 kHz 16 s e 8 diff channels ME 260D ISA 16 bit ME 300 ISA 16 bit Table 1 Model overview ME 300 series 12 bit 200 kHz 16 s e 8 diff channels 12 bit 100 kHz 4 indepen dant channels The ME 300 with its variations of ME 260 and ME 260D are high technology PC boards for
12. Trigger 20 uy 3E PERI S 49 4 4 3 D A Conversion 3 85 1 NR 1 la 2 49 4 4 3 1 Setting the D A mode rn nass es 49 4 4 3 2 Setting the Analog Outputs 50 BAAS Digital TO A ar sr ol oes RR OU RAE 50 4 4 5 Board Identification s x 23208 caia 51 5 Function Reference vios vvv ee EYE X xus 53 5 1 Functional Overview of the 32 Bit Driver 53 5 2 Naming Conventions 2 ccc cc cere reece n 53 5 3 Description of the API Functions 2 55 5 3 1 General Functions 225 5 wx ad aeg acetic tua Ee sve d 55 3 32 An2l02 TAPIA ed ae 57 5 3 3 Analog Output re ee De PR aie ae ep ee 63 pof Distal ee ET AED EA 64 5 3 5 Error Handling A tt Rs 69 Table of Contents Page 4 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E APPEAR aa 71 A Specifications a ad A e dd aera da 71 B POQUER AAA ASS ER 74 B1 Pinout 50pin D Sub Female x eae rre RA 74 C INCCESSOLICS a 2 02 vu PEE Roni e x edu eret EE S 75 D Technical Questions eee 76 Di Hotline au aan cre 76 D2 Service address ee ee ee a teren 76 D3 Driver Update cs AA en 76 E Index A RO 77 Meilbaus Electronic Page 5 Rev 4 2E Manual ME 300 260 D Page 6 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 1 Introduction Valued customer Thank you for purchasing the ME 300 data acquisition board You have chosen an innovative high technology board that left our premises in a fully functional and new condition
13. Wait for the conversion to be completed check bit 1 in the STATUS register until it is set to 1 The conversion result is available in the FIFO register a word access is required Bits 12 15 contain the converted value from the channel Note There is a 1ms delay every time the FIFO register is ac cessed Counter Controlled A D Conversion with Interrupt Conversion start controlled by the counter Initialise the board 4 4 1 Initialisation on page 44 Write the channel list into the CHANNELLIST register even if only one entry is required The channel list has a maximum size of 256 entries Make sure that bit 7 in the last channel list entry is set to a logic 1 Bit definitions in a channel list entry 3 0 Channel 0 15 Page 46 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E 54 Gain 6 polarity O bipolar or 1 unipolar 7 setto 1 in the last channel list entry It is possible to have a channel list with only one entry e Wait for the channel list to be loaded into the board bit 0 in the STATUS register must return to 0 must be repeated after each channel list entry e Install the interrupt service routine the ISR must read the FIFO memory e Reset the interrupt control on the board by reading a dum my value from the RESETINT register e Write the control word for timer 2 B4hex in the TIMERCON TROL register e Write the values for counter 2 313 in the TIMER2DATA regi ster First
14. and channel list end are 8 bit entries in the channel list There are 2 types of pin compatible components available for the ME 260 260D 300 programmable amplifier Type 1 PGA 203 standard Type 2 PGA 202 Note After installing a new amplifier on a board balancing must be done The board can reach its full total sampling rate when the gains in the channel list are static all the same The maximum total sampling rate will lower when dynamic gain the gain changes during the processing of the channel list is used This results from the time required for the amplifier to settle Page 22 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E 3 3 1 3 3 1 1 PGA 203 PGA 202 0 10V van i 0 10V 10V O EEE E 0 2 5V 25v 100 0 0 1V 0 1V EX 0 1 25V 1 25 1000 0 0 01V 0 01V Table 3 Programmable gain A D Channel Wiring Important note The external cable connector should only be connected or disconnected from the D sub connector on the board in a powered down condition no voltage on any pins This is true for all A D and all D A channels Asa rule all unused input lines should be connected to ground to avoid cross talk between channels When handling the board and connecting the cables or connec tor block make sure that no static electrical charge is present The input multiplexers are protected to a maximum of 60 V Any sta tic charge or voltage peaks larger than 60 V
15. could cause damage on the board Wiring the analog inputs with your application is dependant on whether they are configured as single ended or differential Single ended Operation In single ended operation all analog inputs are referenced to ana log ground All negative lines on the sources must also be con nected to analog ground AGND pin 2 The positive lines are connected to the individual input channel lines When wiring it is important to make sure that all negative lines are at the same voltage level to avoid short circuits between the sources Meilbaus Electronic Page 23 Hardware Rev 4 2E Manual ME 300 260 D Note Shielded cable should be used Pin 41 channel 0 Pin 40 channell 1 i C Sauce Unused lines E C Source 2 Pin 02 AGND Diagram 6 Wiring for single ended operation 3 3 1 2 Differential Operation In differential mode there are 8 analog inputs available For every channel a positive and a negative input line are required Make sure that there is a reference to analog ground in differen tial operation as well This is achieved by placing a resistor ap prox 10 kQ between the negative terminal of the source and analog ground The positive inputs are from channels 0 to 7 and the negative in puts are from channels 8 to 15 See the table below Hardware Page 24 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E Positive Input Pin No Negative Input Pin N
16. executed a 1 is returned If an error Occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess Function Reference Page 62 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 5 3 3 Analog Output _me300AOResetAll amp Description This function is for the ME 300 only All analog outputs are set to ground 0 V O Definitions G int me300AOResetAIl int iBoardNumber Delphi Function _me300AOResetAll BoardNumber integer integer Basic Declare Function meAO300ResetAll Lib me300_32 Alias _VBme300AOResetAll04 ByVal iBoardNumber As Long As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards ME 260 260D or 300 possible values 0 3 lt Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300AOSingle amp Description This function is for the ME 300 only This function outputs a value from the D A converter O Definitions C int _me300AOSingle int iBoardNumber int iChannelNo int iRange short sValue Delphi Function _me300AOSingle GBoardNumber iChannelNo iRange integer sValue smallint integer Basic Declare Function me300AOSingle Lib me300 32 Alias Meilbaus Electronic VBmeAOSingle 16 ByVal iBoardNumber As Long ByVal iChannelNo As Lo
17. from its D Sub female connec tor to robust front end panels The front end panels are mounted in a rack ME PA RACK The board is connected to the panel ad aptor via shielded 50way cable max 1 m D Sub Rack and Interface Board ME PA RACK Desktop Rack for ME PA Panel Adaptor ME 300 IF Interface Board lt gt ME PA Modules Rack Modules Excerpt ME PA D LED1616 channel LED array ME PA D REL88 channel relay output board ME PA D MOSTS88 channel opto isolated MOS transistor output board ME PA D MOSR88 channel MOS relay output board ME PA D TAST88 channel industrial pushbutton input board ME PA D SCHA88 channel miniswitch input board ME PA D I24DC88 channel opto isolated input board 24 V DC ME PA D I24DH88 channel opto isolated input board 24 V DC 200 kHz ME PA D I24AC88 channel opto isolated input board 24 V AC ME PA D 123OA88 channel opto isolated input board 230 V AC ME PA D BU4M88 channel 4 mm female connectors GND VCC ME PA A BNC88 channel BNC connectors ME PA A BNC44 channel BNC connectors Meilbaus Electronic Page 75 Accessories Rev 4 2E D D1 D2 D3 Manual ME 300 260 D Technical Questions Hotline If you should have any technical questions or problems with the board hardware or the driver software please send us a fax to the following number Fax hotline 49 0 89 89 01 66 28 eMail support meilhaus de Please give a full description of the problems and as much infor mation as possible
18. including operating system information Service address We hope that your board will never need to be repaired If this should become necessary please contact us at the following address Meilhaus Electronic GmbH Service Department Fischerstra e 2 D 82178 Puchheim Germany If you would like to send a board to Meilhaus Electronic for re pair please do not forget to add a full description of the pro blems and as much information as possible including operating system information Driver Update The current driver versions are available around the clock on our ftp site Access to the ftp site is password protected To obtain access to the Meilhaus ftp site we ask that you register your com pany This can be done on our homepage http www meilhaus com We will fax or e mail you the correct password to access the ftp site For urgent requests please give us a call directly at 49 0 89 89 01 66 0 Technical Questions Page 76 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E E Index Function Reference Basic Programming 41 _me300AlScan 58 C _me300AISetChannelList 59 C Programming 41 _me300AISetTimer 60 Cable 75 _me300AlSetTrigger 61 Changing board settings 17 _me300AISingle 61 Counter Timer 31 _me300AOResetAll 63 D _me300AOSingle 63 D A Channel Wiring 29 _me300DIGetBit 64 D A Section 28 _me300DIGetByte 65 Delphi Programming 41 _me300DIOSetPortDirection 66 Description of the API Functions _me300DOSetBit 67 Analog In
19. max 2 mA per channel max 500 pF typ 3 LSB max 2 LSB max 3 LSB typ 2 LSB max 4 LSB max 12 ppm C of full scale max 3 ppm C of full scale max 12 ppm C of full scale max 10 us C10 V gt 10 V 15 V 1 W for D A section Digital I O ME 300 and ME 260D Lines Output current Input voltage Counter Timer Number Resolution Counter Functions Page 72 24 three 8 bit ports BCT 543 low max 64 mA high max 15 mA high min 2 V low max 0 8 V 3 counter 1 and 0 cascaded 16 bit 71054 INTEL8253 compatible counter 0 starts channel list sequence counter 2 time between conversion of two successive channel list entries Meilbaus Electronic Meilhaus Electronic Manual ME 300 260 D Clock frequency General Information Power consumption Size Connector Operating temperature Storage temperature Relative humidity CE Certification EMC Directive Emission Noise immunity Page 73 Rev 4 2E clock input counter 1 1 5 MHz clock input counter 2 3 MHz typ 1 5 A 5 V without load load of the digital I O and D A section 160 mm x 100 mm without bracket and ISA bus connector 50pin D Sub female 0 70 C 0 50 C 20 55 not condensing 89 336 EMC EN 55022 EN 50082 2 Specifications Rev 4 2E Manual ME 300 260 D B Pinout Bl Pinout 50pin D Sub Female opto isolated from rest of b
20. once the time between the processing of one channel list to the next is the SCAN time e counter 2 has a frequency of 3 MHz on the clock input and controls the processing time between 2 consecutive channel list entries the CHAN time Meilbaus Electronic Page 51 Hardware Rev 4 2E Hardware Manual ME 300 260 D in Chip out AA scan CounterO 1 5 MHz Clock Counter 1 _ N chan 3 0 MHz Clock Counter 2 Diagram 15 Wiring of the ME 260 260D 500 s counters channel e ch2 e ch2 e chi ch1 b chO b Cho scan UC chan Diagram 16 Conversion witb channel list If bit b2 of the CONTROLI register bit period is set to 1 then counters 0 and 1 are ignored The sampling rate is then only de pendant on counter 2 The time between the last channel list ent ry to the first entry in the next channel list is still the CHAN time The sampling rate fa is calculated as follows _ 3 MHz en counter 2 value 2 3 MHz 7 fa counter 2 value 2 Note The SCAN time has to be at least CHAN time x number of channellist entries Page 32 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 3 7 Registers The ME 260 260D 300 board requires 32 consecutive address lo cations in the PC The base address BA is selected by a DIP switch The D A registers for the ME 260 and ME 260D and the digital I O registers for the ME 260 are reserved There are 8 bit and 16 bit r
21. the low byte and then the high byte are written two writes are always required If a dynamic gain is used different gains for different channel list entries the amplifier will require a short time to settle In this case timer 2 should be loaded with value of approx 20 30 Note If the period bit in the CONTROLI register is set to 0 then conversion start is controlled by counter 0 and counter 1 which must then be loaded control word for counter 0 34hex control word for counter 1 74hex see 3 6 Coun ter Timer on page 31 e Activate the interrupt set bit 4 in the CONTROL2 register e The interrupt source must be selected Set bits 5 and 6 in the CONTROL2 register to 1 In our example the interrupt will occur when the A D conversion ends e Reset the FIFO by setting bit 2 in the CONTROL2 register and then resetting it Meilbaus Electronic Page 47 Programming Rev 4 2E Programming Manual ME 300 260 D Programming the mode in register CONTROLI bits 0 and 1 Mode pe Stops A D conversion Fe Start via counter Start via ext trigger Table 8 Register CONTROL1 In our example bit 1 it set to 1 and bit 0 is set to 0 For every interrupt which occurs the FIFO must be read out once for every channel list entry The conversion result is available in the FIFO register a word access is required Bits 12 15 contain the converted value from the channel Note There is a 1 ms delay eve
22. 047 4095 digits 7FFHex FFFHex Diagram 13 Output voltage over digits unipolar Control word for the CONTROLI register Olhex gain 1 bipolar U in V 10 5 0 2047 4095 digits 7FFHex FFFHex Diagram 14 Output voltage over digits bipolar Hardware Page 30 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E 3 5 3 6 Digital I O Section The digital I O section on the ME 260D and ME 300 is realised through the BCT543 component and is not electrically isolated from the rest of the board Each component has 3 digital I O ports which are individually programmable as input or output Ports programmed as output can also be read back The maxi mum sink current Io 5 Voc lon gt GND is 50 mA per bit When setting the digital I O lines and external trigger signal on the ME 260D and ME 300 it is very important to maintain the TTL voltage level standards and that the voltages are referenced to di gital ground pin 50 Counter Timer The 8253 counter timer chip serves to synchronise the sampling of the analog inputs at a fixed frequency There are three inde pendent 16 bit counters The three counters have the following functions e counter 1 is cascaded with counter 0 on the ME 260 260D 300 A frequency of 1 5 MHz is on the clock input of counter 1 The output of counter starts a conversion of the A D chan nel list therefore for every pulse from counter 0 the channel list is processed
23. 095 with the highest value of the measurement range Array n is a pointer on the array for the channel list entry n with the size NumberOfScans So the whole array has the size NumberOfScans x number of channellist ent ries lt Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300AISetChannelList amp Description This function is for the ME 260 ME 260D ME 300 Writes a channellist into the channellist memory of the board You can use the array created with _me300MakeChannelList for parame ter lt ChannelList gt O Definitions C int _me300SetChannelList int iBoardNumber int piChannelList Delphi Function _me300SetChannelList iBoardNumber integer Var iChannelList integer integer Basic Declare Function me300SetChannelList Lib me300_32 Alias _VBme300SetChannelList 8 ByVal iBoardNumber As Long iChannelList As Long As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 installed boards ME 260 260D or 300 possible values 0 3 lt ChannelList gt Pointer on an array of integer size 256 with the channellist entries according to the channellist re gister BA 03hex Only the lower 8 bits of each entry are significant the upper bits have to be set to 0 The array can be created with _me300MakeChannelList Meil
24. 300GetDLLVersion 0 As Long Parameters none Return Value Version number This 32 bit value has the main version in the upper 16 bits and the sub version in the lower 16 bits For example a return value 0x00010003 for the version 1 03 Meilhaus Electronic Page 55 Function Reference Rev 4 2E Manual ME 300 260 D _me300PROM Version amp Description This function is for the ME 260 ME 260D ME 300 Returns the PROM ID of the board Definitions C int _me300PROMVersion int iBoardNumber int piVersion Delphi Function _me300PROMVersion iBoardNumber integer Var iVersion integer integer Basic Declare Function me300PROMVersion Lib me300_32 Alias _VBme300PROMVersionas ByVal iBoardNumber As Long ByRef iVersion As Long As Long Parameters BoardNumber Board number for 1 2 3 or 4 installed boards ME 260 260D or 300 possible values 0 3 lt Version gt Pointer on integer value with the coded PROM version The value is hexadecimal Only the lower 8 bits are significant Description of the bits see page 33 FID register BA 00Hex If an error occurs i e if the board has not been installed properly the function will be executed but an invalid version number FFhex will be returned Return Value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function _me300GetDrvErrMess
25. 60D 8 ME 300 8 ME300_32 DLL 53 ME300_32 SYS 53 ME300_32 VXD 53 ME AB D50M 75 Index Manual ME 300 260 D ME AK D50 75 MEDLG32 DLL 53 ME PA Series 75 Model Overview 8 N Naming Conventions 53 Number of Boards 53 P Package contents 7 Pinout 74 Pinout 50pin D Sub Female 74 Programming High Level Languages 41 on register level 44 under HP VEE 41 under LabVIEW 43 Programming the Registers A D Conversion 45 Board Identification 51 D A Conversion 49 Digital I O 50 Prototype Area 26 R Registers 33 S Service address 76 Settings Base Address 14 D A Mode 49 Input Mode 14 Interrupt Line 15 Simple A D Conversion 45 Single ended Operation 23 Specifications 71 System Requirements 10 T Technical Questions 76 Terminal Block 75 Test Program 39 Page 78 Meilhaus Electronic Manual ME 300 260 D U Uninstall 18 of a Single Board 18 the Driver System 19 Updating the Board Driver 17 User Objects 43 V Virtual Instruments 44 Voltage Shape of the A D Section 27 of the D A Section 30 VxD driver 53 Meilbaus Electronic Page 79 Rev 4 2E Index
26. Meilhaus Electronic Manual ME 260 D ME 300 4 2 Multi I O Board for ISA Bus Imprint Manual for ME 260 D ME 300 Revision 4 2E Revised 10 January 2000 Meilhaus Electronic GmbH Fischerstra e 2 D 82178 Puchheim Munich Germany http www meilhaus com Copyright 2000 Meilhaus Electronic GmbH All rights reserved No part of this publication may be reproduced or distributed in any form whether photocopied printed put on microfilm or be stored in any electronic media without the expressed written consent of Meilhaus Electronic GmbH Important note The information contained in this manual has been reviewed with great care and is believed to be complete and accurate Meilhaus Electronic assumes no respon sibility for its use any infringements of patents or other rights of third parties which may result from use of this manual or the product Meilhaus Electronic as sumes no responsibility for any problems or damage which may result from errors or omissions Specifications and instructions are subject to change without no tice IBM and IBM PC AT XT are trademarks of the International Business Machines IBM Corporation Borland Delphi is a trademark of Borland International Inc Turbo Borland C is a trademark of Borland International Inc Visual C and VisualBasic are trademarks of the Microsoft Corporation HP VEE is a trademark of Hewlett
27. a 1 is returned If an error Occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess Function Reference Page 60 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E _me300AlSetTrigger amp Description Used with boards ME 260 ME 260D ME 300 Sets trigger source and polarity O Definitions C int _me300AISetTrigger Gnt iBoardNumber int iModePolarity Delphi Function _me300AISetTrigger GBoardNumber iModePolarity integer integer Basic Declare Function me300AISetTrigger Lib me300_32 Alias _VBme300AlSetTrigger 8 ByVal iBoardNumber As Long ByVal iModePolarity As Long As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 installed boards ME 260 260D or 300 possible values 0 3 lt ModePolarity gt Mode and polarity of the trigger lt ModePolarity gt Hex value AI300_TRIGGER_TIMER 02hex AI300_TRIGGER_EXT_LOW 03hex AI300_TRIGGER_EXT_HIGH 13hex lt Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300AlSingle amp Description This function is for the ME 260 ME 260D ME 300 Performes a single A D conversion and returns the sampled value Conversion starts with the call of this function External trigger and interrupts are not supported by this function No configura
28. are given in the next section Meilhaus Electronic Page 13 Installation Rev 4 2E Manual ME 300 260 D 2 1 2 Jumper settings 2 1 2 1 Setting the Base Address The base address BA on the board is set by jumper W1 By placing or removing the jumpers the base address is set in binary code The ME 260 260D 300 requires 32 consecutive bytes of I O address space which starts with the base address Make sure that the jumper settings are not in conflict with other devices in the computer A jumper that is on sets a logic 0 on the address line and a jumper that is off sets a logic 1 on the address line The base address is determined by summing the jumpers which are off The following example shows the default setting on the board 700hex The address lines on the ME 260 260D 300 are fully decoded 700Hex A12 lo LH Diagram 2 Setting the base address e g standard setting 700Hex E e 2 1 2 2 Setting the Input Mode The input mode can be set to either single ended or differential mode This is set by jumper W3 e differential differential single ended single ended e Diagram 3 Setting tbe input mode Installation Page 14 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 2 1 2 3 2 1 2 4 2 2 2 2 1 Setting the Interrupt Line The desired interrupt line is selected by jumper W2 The IRQ li nes 2 3 5 7 10 11 12 and 15 can be chosen Make sure that the interru
29. baus Electronic Page 59 Function Reference Rev 4 2E Manual ME 300 260 D lt Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300AlSetTimer amp Description This function is for the ME 260 ME 260D ME 300 Downloads timer values for 8253 compatible timer counters to the board Note that the CHAN time times number of channels always has to be SCAN time Definitions C int _me300AlSetTimer int iBoardNumber int iScanO int iScanl int iChan Delphi Function _me300AlSetTimer iBoardNumber iScanO iScanl iChan integer integer Basic Declare Function me300AISetTimer Lib me300_32 Alias VBme300AlSetTimer 16 ByVal iBoardNumber As Long ByVal iScanO As Long ByVal iScan1 As Long ByVal iChan As Long As Long Parameter lt BoardNumber gt Board number for 1 2 3 or 4 installed boards ME 260 260D or 300 possible values 0 3 lt Scand 1 gt Values for scan timer ScanO Timer0 Scanl Timerl of the timer on board Value has to be in between 2 and 65535 2 FFFFhex If one of the counters TimerO and or Timerl is set to 0 only the Chan time i e Timer2 is used lt Chan gt Value for chan timer Timer2 of the timer on board Value has to be gt 15 which is min chan time Return Value If the Function is successfully executed
30. d to ground or the nega tive input channels 8 15 in differential mode can be easily con nected to ground by a 10 kQ resistor n 8 E Prototype space for input circuitries Diagram 8 Prototype area location Page 26 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E ISG SGND ISQ SGND AlD channel8 A D channel 0 AlDchannel9 A D channel 1 A D channel 10 A D channel 2 A D channel 12 A D channel 11 A D channel 3 A D channel 4 el 1 E a A D channel 13 A D channel 5 A D channel 14 A D channel 6 A D chamnel 15 A D channel 7 ISO SGND Diagram 9 Prototype area wiring 3 3 4 Voltage Shape of the A D Section Control word for the CONTROLI register Olhex gain 1 unipolar digits 4 FFEH 4095 095 ex FFFHex 20471 2047 7FFHex 2048 800Hex 7FFHex 0 0 10 0 5 10 Uin V Diagram 10 Digits over input voltage unipolar Meilhaus Electronic Page 27 Hardware Rev 4 2E 3 4 Hardware Manual ME 300 260 D Control word for the CONTROLI register Olhex gain 1 bipolar digits 4095 FFFHex 4095 FFFHex 2047 2048 800Hex 7FFHex 0 0 10 0 10 Uin V Diagram 11 Digits over input voltage bipolar The A D converters output inverse non linearized 12 bit values In this case the values must be linearized before the values are processed Lineari
31. e channel list has a maximum size of 256 entries Make sure that bit 7 in the last channel list entry is set to a logic 1 Bit definitions in a channel list entry 3 0 channel 0 15 5 4 gain 6 polarity O bipolar or 1 unipolar 7 setto 1 in the last channel list entry It is possible to have a channel list with only one entry e Wait for the channel list to be loaded into the board bit 0 in the STATUS register must return to 0 must be repeated after each channel list entry e Write the control word for counter 2 B4hex in the TIMER CONTROL register e Write the values for counter 2 313 in the TIMER2DATA regi ster First the low byte and then the high byte are written two writes are always required Counter 2 is also active when the conversion is started by software CHAN time If a dynamic gain is used different gains for different channel list entries the amplifier will require a short time to settle In this case timer 2 should be loaded with value of approx 20 30 Meilbaus Electronic Page 45 Programming Rev 4 2E 4 4 2 2 Programming Manual ME 300 260 D Mode programming setting bits 1 and 2 in the CONTROLI re gister Mode NC a Stops A D conversion 1 Start via software Start via counter Start via ext trigger Table 7 Register CONTROL1 Reset the FIFO set bit 2 in the CONTROL2 register and then reset To start conversion write a value into register ADSTART
32. egisters available The following table can be used to distinguish between R read W write Offset 8 Bit Register BA 00H FID contains identification information for the board b7 _b6_ reserved b5 function group AI A D section tion unction group DIO Digital VO b2 b0 PROM version the PROM version identifies the board as follows ME 300 00111001 39Hex ME 260 00100001 21Hex ME 260D 00101001 29Hex ADSTART Software conversion is started by writing a dummy value in this register Table 5 Adress space of the ME 260 260D 300 8 bit registers Meilhaus Electronic Page 33 Hardware Rev 4 2E Offset Manual ME 300 260 D 8 Bit Register BA 01H W CONTROL1 0 0 b1 bO 0 0 1 1 falling edge rising edge counter 0 and 1 are active 3 6 Counter Timer on page 31 counter 0 and 1 ignored If the channel list has only 1 entry the sampling frequency is cal culated as follows is 3 MHz counter 2 value 2 counter 2 value 2 sau 2 At the maximum sampling rate counter 2 should be loaded with 13 mode stop A D start per Software start per counter ext trigger Table 5 Adress space of the ME 260 260D 300 8 bit registers Hardware Page 34 Meilhaus Electronic Manual ME 300 260 D Offset BA 01H BA 02H STATUS b7 b4 reserved Rev 4 2E 8 Bit Register FIFO full ifo_hal FIFO over half fulll FIFO empty bO write_busy
33. for the SETUP EXE file of the ME 260 300 installation Confirm the selection and follow the instructions of the setup program The installation program will start In the windows Install Options choose Update driver and language libraries and click OK System drivers API DLL as well as libraries for program ming languages demo programs and test programs will all be updated Reboot your computer 2 2 3 Changing Board Settings Use the following procedure to change the settings of base address and interrupt in the Windows registry Note that the jum per settings on your board have to match thesettings in the regi stry The same procedure can be followed for Windows95 98 and WindowsNT 4 0 Insert the medium with the installation software From the Windows start menu choose Run and click Browse Enter the path and file name for the SETUP EXE file of the ME 260 300 installation Confirm the selection and follow the instructions of the setup program The installation program will start Meilbaus Electronic Page 17 Installation Rev 4 2E 2 3 2 3 1 Installation Manual ME 300 260 D Inthe window Install Options choose Update settings of an installed board and click OK Note the dialogs and keep the settings of base address and in terrupt channel 2 1 2 Jumper settings on page 14 ready for input Pay attention to the fact that the input values have to match the j
34. g As Long Function Reference Page 64 Meilbaus Electronic Manual ME 300 260 D gt Parameter Rev 4 2E lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards lt PortNo gt lt BitNo gt lt BitValue gt lt Return Value ME 260 260D or 300 possible values 0 3 Port name possible values lt PortNo gt Hex Wert PORTA OOhex PORTB Olhex PORTC 02hex Input line number possible values 0 7 Pointer on an integer value which corresponds with the line status Possible return values 0 Line is set to 0 1 Line is set to 1 If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300DIGetByte amp Description This function is for the ME 260D ME 300 This function reads a byte 8 bits from a port defined as input t Important note Before calling this function the direction must be set by calling _me300DIOSetPortDirection O Definitions G int _me300DIGetByte int iBoardNumber int iPortNo int piValue Delphi Function _me300DIGetByte BoardNumber iPortNo integer Var iValue integer integer Basic Declare Function me300DIGetByte Lib me300_32 Alias VBme300DIGetByteQ12 ByVal iBoardNumber As Long ByVal iPortNo As Long ByRef iValue As Long As Long Meilbaus Electronic Page 65 Function Reference Rev 4 2E Ma
35. he item Description if you move the cursor over the UO and push the right mouse button The UOs can be changed any time for user requirements and can be saved as a user specific object HP VEE Example Programs For demonstration purposes and for easier understanding demo programs using the important UOs have been written They can be called by the menu item ME Board Demos The HP VEE demo programs contain partial additions to the nor mal UOs and for differentiation from the normal UOs the prefix x in their file name is used The ME Board Menu The installation program automatically expands the HP VEE menu by the ME Board entry It enables a convenient use of all driver functions available in HP VEE By the ME Board menu Page 42 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 4 3 4 3 1 you can call the driver and demo User Objects sorted by board families Note The User Objects UOs installed depend on the selected board family at the beginning of your HP VEE driver installation If you call UOs under the ME Board menu which are not installed an error message occures File filename was not found Error number 700 If necessary you can install the additional HP VEE components any time see installation medium LabVIEW Programming LabVIEW components for the ME 300 are delivered optional on a seperate disk s from Meilhaus Electronic The ME 300 ME 260D and ME 260 are su
36. ilbaus Electronic 16 single endend 8 differential jumper 1 2 4 8 PGA 203 optional with PGA 202 1 10 100 1000 unipolar bipolar programmable Gain with PGA 203 gain unipolar bipolar 1 0 10 V 10 V 2 0 5 V 5 V 4 0 2 5 V 2 5 V 8 0 1 25 V 1 25 V Gain with PGA 202 gain unipolar bipolar 1 0 10 V 10 V 10 0 1 V 1 V 100 0 0 1 V 0 1 V 1000 0 0 01 V 0 01 V gt 100 MQ 30 pF MAX 379 ADC MAX 176 12 bit 200 kHz under HP VEE max 100 kHz 3 LSB Gain 1 and max sampling rate adjustable up to 15 V analogue section from PC 15 V 3 W for A D section timer internal TTL level Page 71 Specifications Rev 4 2E Specifications FIFO Hardware channel list Operating modes Manual ME 300 260 D 512 x 16 bit FIFO for A D data FIFO status bit can be polled by software or interrupt on FIFO half full up to 256 entries channel number gain unipolar bipolar end of list for hardware scan function block single continuous mode timer controlled trigger interrupt mode pro grammable Analog Outputs ME 300 only Number of channels D A converter Resolution Output ranges Output current Load capacity Gain error Offset error unipolar Zero error bipolar Linearity error Gain drift Offset drift Cunipolar Zero drift bipolar Settling time DC DC converter 4 independent Quad DAC AD664JP software programma ble 12 bit 0 10 V 5 V 10 V
37. iring sd PX d qa ip 23 3 3 1 1 Single ended Operation z ues Sete eee eee 23 3 3 1 2 Differential Operation ca a el 24 32 External Trigger dela Bote d 26 3 3 3 Prototype Area for Input Circuitries o 26 3 3 4 Voltage Shape of the A D Section o o o o o 27 3 4 D A Section Siena name ee 28 3 4 1 D A Channel Wiring Sos drove mox dH Re de Ou Re rit ds 29 3 4 2 Voltage Shape of the D A Section 30 3 5 Digital I O Sectoriales 31 3 6 COME TUDELA E NO EU RUE EAE DE 31 3 7 ARCBISICES a A O MUS RENE 33 Meilbaus Electronic Page 3 Table of Contents Rev 4 2E Manual ME 300 260 D 3 8 Test Program u naher ee 39 3 9 Balancing a 39 4 Programming era NER re ie mars T PE 41 4 1 High Level Language Programming 41 41 1 Example Progr ms werke Seen eode es 41 4 2 HP VEE Programming e ee eee 41 42 1 User Objects sva se eo Se eset tabe ob Aa a 42 4 2 HP VEE Example Programs ooo oooo 42 4 2 3 The ME Board Medline und du dos 42 4 3 LabVIEW Programming eee 43 4 3 1 Virtual Instruments ar nos recs eO EBD ES 43 4 3 2 LabVIEW Example Programs octal ba a 44 4 4 Programming the Registers oo ooooooooo ooo 44 4 4 1 Tnitialisation 9 ha ot dcr ee IN 44 442 A D Conversion a da NIE ren des re 45 4 4 2 1 Simple A D Conversion 45 4 4 2 2 Counter Controlled A D Conversion with Interrupt 46 4 4 2 3 External
38. ject These demo programs are installed automati cally to appropriate subdirectories of C MeilhausN Default If required parts of these programs can be easily copied into your project by clipboard Please read the notes in the respective README files 4 2 HP VEE Programming The easiest way to install the HP VEE components for the ME 260 300 is using the start file of your installation medium Meilbaus Electronic Page 41 Programming Rev 4 2E 4 2 1 4 2 2 4 2 3 Programming Manual ME 300 260 D The ME 300 ME 260 and ME 260D are supported by HP VEE full versions 3 2 or higher under Windows 95 98 NT For installation of HP VEE components and for further infos please note the PDF file on the installation medium For basics of HP VEE pro gramming please use your HP VEE documentation and the HP VEE online help index User Objects For convenient use of the driver predefined User Objects UOs have been developed which internally call APT functions They can be called by the additional menu item ME Board and be included in the HP VEE development environment They can be placed and wired in your application the same as standard HP VEE objects The UOs are self descriptive and based on the API functions do cumented in chapter 5 Function Reference on page 53 Additio nally there are some Expanded User Objects for making programming as easy as possible for you A short description of every UO you find under t
39. lot as far away from the video board as possible Page 10 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E 1 5 Available Software Windows95 98 NT 4 0 ME 260 300 system driver under Windows95 98 NT Windows 3 x on request MS DOS on request High level languages 32 Bit included Visual C V 4 0 or higher Delphi V 2 0 or higher Visual Basic V 4 0 or higher Graphical programming tools optional ME 300 Driver System for HP VEE V 3 2 or higher ME 300 Driver System for LabVIEW V 4 0 or higher optional Test and demo software For the newest versions and latest software releases please con sult the README file on the driver disk s supplied Meilhaus Electronic Page 11 Introduction Rev 4 2E Manual ME 300 260 D Introduction Page 12 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 2 Installation 2 1 Hardware Installation 2 1 1 Locations of the Jumpers W3 Differential or single ended W2 Interrupt W1 Base address 50pin D Sub female Diagram 1 Simplified illustration of the board The address interrupt line and single ended differential modes or operation are selected by setting jumpers on the ME 260 D and ME 300 board The positions of these jumpers can be seen in Diagram 1 Simplified illustration of the board on page 13 the ME 260D layout is the same but several components are missing Detailed descriptions of the jumper settings
40. ng ByVal Range As Long ByVal sValue As Integer As Long Page 63 Function Reference Rev 4 2E Manual ME 300 260 D gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards ME 260 260D or 300 possible values 0 3 lt ChannelNo gt Channel number possible values 0 3 lt Range gt Output voltage range possible values lt Range gt Voltage range AO PLUS 10 00hex 0 10V AO MINUS 5 Olhex 5V AO MINUS 10 03hex 10V Value Output voltage value possible values Ohex lo wer limit of the range FFFhex upper limit of the range lt Return Value If the Function is successfully executed a 1 is returned If an error Occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess 5 3 4 Digital I O _me300DIGetBit Description This function is for the ME 260D ME 300 This function determines the status of a single input line t Important note Before calling this function the direction must be set by calling _me300DIOSetPortDirection O Definitions C int me300DIGetBit int iBoardNumber int iPortNo int iBitNo int piBitValue Delphi Function _me300DIGetBit iBoardNumber iPortNo iBitNo integer Var iBitValue integer integer Basic Declare Function me300DIGetBit Lib me300 32 Alias VBme300DIGetBit2 16 ByVal iBoardNumber As Long ByVal iPortNo As Long ByVal iBitNo As Long ByRef iBitValue As Lon
41. nnel list to the next Counter 2 is sup plied with an input frequency of 3 MHz and controls the proces sing time between 2 channel list entries Meilbaus Electronic Page 9 Introduction Rev 4 2E 1 3 1 4 Introduction Manual ME 300 260 D The software included with the boards allows fast integration of the boards into user applications under Windows95 98 NT Drivers are available for HP VEE Hewlett Packard and LabVIEW National Instruments both under Windows 95 98 NT Drivers for DOS and Windows 3 1 are available on request System Requirements The ME 260 ME 260D and ME 300 boards can be installed into any IBM AT 386 486 Pentium or compatible computer One free ISA 16 bit bus slot is required Important Note If you use a PC with PCI bus and a BIOS with plug amp play functio nality you will have to reserve the interrupt channel of this board for the ISA bus in the BIOS of your computer for all plug in boards with interrupt function Else the interrupt function is not available The BIOS menu can vary depending on the manufac turer please consult the user manual of your motherboard Please note On some newer computers the ISA bus frequency may be more than the standard 8 MHz In this case we can not guarantee that the board will function properly Consult the con figuration in the setup of your PC to see if this is the case To avoid excess electrical noise the board should be installed in an ISA s
42. nt Virtual Instruments VIs have be en written They can be called by the menu item File Open Programming the Registers Note The boards can be programmed with high level pro gramming languages using inport and outport commands e g in case you have already written software and would like to addapt it You can find information about port I O command syntax in the user manuals provided with the programming languages of your choice We recommend to use the driver software under Windows95 98 or NT supplied with the ME boards The software delivered with the board contains examples of re gister programming The constants used in the sample programs are also shown in the appendix Initialisation e All actions on the board are stopped the CONTROL1 and CONTROL2 resisters are set to 0Ohex e The interrupt handling on the board is reset by reading from the RESETINT register e The D A converter is reset set bit O in the CONTROL2 register and then reset e The state machine is reset set bit 7 in the CONTROL2 register and then reset e The channel list is reset set bit 1 in the CONTROL2 register and then reset Page 44 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 4 4 2 A D Conversion 4 4 2 1 Simple A D Conversion Conversion start by software polling e Initialise the board 4 4 1 Initialisation on page 44 e Write the channel list into the CHANNELLIST register even if only one entry is required Th
43. nual ME 300 260 D gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards ME 260 260D or 300 possible values 0 3 lt PortNo gt Port name possible values lt PortNo gt Hex value PORTA 00hex PORTB Olhex PORTC 02hex lt Value gt Pointer on an integer value which contains the in put byte only the lower 8 bits are significant Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300DIOSetPortDirection amp Description This function is for the ME 260D ME 300 This function sets the direction of a digital port as input or output Important note This function must be called before any bit byte read write operati on can be done It must be called separately for each port Definitions C int _me300DIOSetPortDirection int iBoardNumber int iPortNo int iDir Delphi Function _me300DIOSetPortDirection iBoardNumber iPortNo iDir integer integer Basic Declare Function meDIOSetPortDirection Lib me300_32 Alias VBmeDIOSetPortDirection9 12 ByVal iBoardNumber As Long ByVal iPortNo As Long ByVal iDir As Long As Long Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards ME 260 260D or 300 possible values 0 3 Function Reference Page 66 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E
44. o Channel 0 Channel 1 Channel 8 Channel 9 Table 4 Positive and negative channels in differential mode Channel 14 Channel 15 Pin 41 channel 0 SOON C Pin 40 channel 1 Pin 25 channel 84 LN Pin 24 channel 9 R e Pin 2 AGND i Unused channels Source 2 C ADA R 10 kQ Diagram 7 Wiring for differential operation Meilhaus Electronic Page 25 Hardware Rev 4 2E 3 3 2 3 3 3 Hardware Manual ME 300 260 D External Trigger The processing of the channel list can also be started by an ex ternal trigger The external trigger is an output and belongs to the electrically isolated analog input section of the board To create an external trigger pins 1 DGND and 3 ext trig are connected through a switch which has not been isolated from the computer ground Software controls whether a rising or falling edge causes the triggering the opening or closing of the switch Warning Connecting an external TTL trigger signal on pin 3 and pin 1 is possible but it removes the electrical isolation of the ana log input section of the board This can be corrected by using an electrically isolated TTL signal if required Prototype Area for Input Circuitries For convenient setting of input circuitries a prototype area is pro vided on the board Using this area the unused input channels in single ended mode can be connecte
45. oard andfromPC DGND ext trg r A D channel 7 j A D channel 15 AGND 1 A D channel 6 A D channel 14 A ee EX x 1 A D channel 5 A D channel 13 AGND DAC 1 A D channel 4 A D channel 12 D A channel D 1 A D channel 3 i A D channel 11 D A channel C 1 A D channel 2 A D channel 10 D A channel B 1 A D channel 1 A D channel 9 D A channel A 1 A D channel 0 i rea A D channel 8 DIO_AO DIO BO A DIO_A1 m DIO B1 BIRERE DIO A2 I DIO B2 DIE DIO A3 DIO B3 DIO_C2 DIO A4 lt DIO B4 pines DIO A5 gt DIO B5 DM DIO A6 gt DIO B6 plo DIO A7 A DIO B7 eel DIO_C7 Voo digital DGND Diagram 17 50pin D Sub female Note The gray background indicates opto isolated lines D A lines not connected on ME 260 and ME 260D digital I O lines not connected on ME 260 Pinout Page 74 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E C Accessories The following accessories are optionally available for the ME 260 D and ME 300 further information on accessories can be found in the German Meilhaus Electronic main catalog ME AB D50M 50pin D Sub terminal block male connector for ME 260 ME 260D and ME 300 ME AK D50 50pin D Sub cable male female connector 1 m for ME 260 ME 260D and ME 300 ME PA Series Panel adaptor series for ME 260 D and ME 300 for reliable wi ring The board s signals are wired
46. pported by LabVIEW full versions 4 x or higher under Windows 95 98 NT For installation of Lab VIEW driver components and for further infos please note the corresponding README file on disk s delivered with the LabVIEW driver For basics of LabVIEW programming please use your LabVIEW documentation and the LabVIEW online help index Virtual Instruments For convenient use of the driver predefined Virtual Instruments VIs have been developed which internally call APT functions They can be called by the additional menu item File Open and be included in the LabVIEW development environment They can be placed and wired in your appli cation the same as stan dard LabVIEW objects The VIs are self descriptive and based on the API functions do cumented in chapter 5 Function Reference on page 53 Additio nally there are some Expanded Virtual Instruments for making programming as easy as possible for you Meilbaus Electronic Page 43 Programming Rev 4 2E 4 3 2 4 4 4 4 1 Programming Manual ME 300 260 D A short description of every VI you find in the VI ME 300 Function Tree which can be opened by the menu File Open Under Description you find a short description of every VI The VIs can be changed any time for user requirements and can be saved as a user specific VI LabVIEW Example Programs For demonstration purposes and for easier understanding demo programs using the importa
47. pt line is not being used by any other devices The following picture shows how the jumper has to be set to e g choose IRQ line 12 15 12 11 10 7 5 3 2 W2 Interrupt Diagram 4 Setting tbe interrupt line e g standard setting IRQ 12 Default Settings Function Jumper Switches Setting Base address Jumper W1 700Hex IRQ Jumper W2 12 A D operation Jumper W3 single ended mode Table 2 Default settings of the ME 260 260D 300 Driver Installation Initial Installation under Windows 95 98 NT To install the driver under Windows 95 98 and Windows NT for the first time follow this procedure Insert the medium with the installation software From the Windows start menu choose Run and click Browse Enter the path and file name for the SETUP EXE Meilhaus Electronic Page 15 Installation Rev 4 2E Installation ag Manual ME 300 260 D file of the ME 260 300 installation Confirm the selection and follow the instructions of the setup program The installation programm will start In the window Install Options choose Install a new board and click OK Note the dialogs and keep the settings of base address and in terrupt channel 2 1 2 Jumper settings on page 14 ready for input Pay attention to the fact that the input values have to match the jumper settings on the board The following files will be installed A Windows95 98 only Kernel driver ME300 32 VXD in
48. put 57 _me300DOSetByte 68 Analog Output 63 _me300GetDLL Version 55 Error Handling 69 _me300GetDrvErrMess 69 General Functions 55 _me300MakeChannelList 57 Differential Operation 24 _me300PROM Version 56 Digital I O Section 31 A Digital I O A D Channels Wiring 23 _me300DIGetBit 64 A D Section 22 _me300DIGetByte 65 Accessories 75 _me300DIOSetPortDirection 66 Analog Input _me300DOSetBit 67 _me300AlScan 58 _me300DOSetByte 68 _me300AISetChannelList 59 Driver Update 76 _me300AISetTimer 60 D Sub female connector 21 _me300AlSetTrigger 61 E _me300AISingle 61 Error Handling _me300MakeChannelList 57 _me300GetDrvErrMess 69 Analog Output Example Programs 41 _me300AOResetAll 63 External Trigger 26 49 _me300AOSingle 63 F API Functions 55 Features 8 API DLL 53 Function Reference 53 Appendix 71 Functional Block Diagram 21 B Functional Overview of the 32 Bit Balancing 39 Driver 53 Base Address 14 Meilhaus Electronic Page 77 Index Rev 4 2E G General Functions _me300GetDLLVersion 55 _me300PROM Version 56 H Hardware 21 Hotline 76 HP VEE Example Programs 42 ME Board Menu 42 Programming 41 User Objects 42 Input Circuitries 26 Input Mode 14 Installation of the Hardware 13 Installation of Software under Windows95 98 NT 15 Interrupt Channel 15 Interrupt Processing 46 Introduction 7 J Jumper settings 14 K Kernel driver 53 L LabVIEW Example Programs 44 Programming 43 Virtual Instruments 43 Locations of the Jumpers 13 M ME 260 8 ME 2
49. r was proper ly installed Balancing The board is delivered in a fully functional and balanced condi tion If it should become necessary to balance the board for ex ample after use in a very noisy environment please send the board to the Meilhaus Electronic Service Department see page 76 Meilhaus Electronic Page 39 Hardware Rev 4 2E Manual ME 300 260 D Hardware Page 40 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 4 Programming 4 1 High Level Language Programming The following high level languages are supported e Visual C version 4 0 or higher Please read the notes in the respective README files e Delphi version 2 0 or higher Please read the notes in the re spective README files e Visual Basic version 4 0 or later Please read the notes in the respective README files e for further high level languages see the respective README files on your driver disk s Note The compilers and linkers require the correct paths to be set to the corresponding files in the high level languages By linking the high level language specific MEDEFS files into your project you can pass many macros and parameters in the form of predefined constants e g REGISTER SET A As an al ternative you can pass the matching Hex value at any time 4 1 1 Example Programs We have provided simple demo programs with source code to help understanding of the functions and how to incorporate them into your pro
50. re selected to be as descriptive as possi ble Each function name consists of a board type specific prefix Meilhaus Electronic Page 53 Function Reference Rev 4 2E Manual ME 300 260 D and several elements which stand for the corresponding sections e g AT for Analog In i e the A D section _me300 Functions for the boards ME 260 ME 260D ME 300 as far as the board s hardware supports these functions e g analog output functions only for ME 300 To identify data types the following letters will be used i or dw 32 bit integer value S OF W 16 bit short value c or b 8 bit character value Des pointer of data type i s or c Function Reference Page 54 Meilbaus Electronic Manual ME 300 260 D Rev 4 2E 5 3 5 3 1 Description of the API Functions The functions will be described by functional group as listed be low Within each functional group the individual functions will be described in alphabetical order 5 3 1 General Functions on page 55 5 3 2 Analog Input on page 57 5 3 3 Analog Output on page 63 5 3 4 Digital I O on page 64 5 3 5 Error Handling on page 69 General Functions _me300GetDLLVersion amp Description Returns the version number of the board DLL for the board series ME 260 260D 300 Definitions C int me300GetDLLVersionO Delphi Function _me300GetDLL Version integer Basic Declare Function me300GetDLLVersion Lib me300_32 Alias _VBme
51. rror Handling _me300GetDrvErrMess amp Description This function is for the ME 260 ME 260D ME 300 If an error occurs during the processing of one of the API functions of the ME 300 driver this routine returns the matching error code and text Important note This function can only be called if the previously called API function of the ME300 DLL returned an error code i e error code 0 Definitions C int _me300GetDrvErrMess char pcErrortext Delphi Function _me300GetDrvErrMess Var errortext errorstring integer Basic Declare Function me300GetDrvErrMess Lib me300_32 Alias _VBme300GetDrvErrMessQ4 ByVal errortext As String As Long Parameter lt Errortext gt Pointer on a string the return value is the error code Return Value O if there was no error or error code Meilhaus Electronic Page 69 Function Reference Rev 4 2E Manual ME 300 260 D Function Reference Page 70 Meilhaus Electronic Manual ME 300 260 D Appendix A Specifications PC Interface Bus system Baseaddress Address space Interrupt Rev 4 2E ISA 16 bit selectable 0 1FEOHex in steps of 20Hex Gumper 32 byte 2 3 5 7 10 12 15 Gumper Analog Inputs isolated Input channels Programmable gain Programmable ranges Input impendance Multiplexer A D converter A D resolution Sampling rate Diff non linearity Offset error Inputs protected Isolation DC DC converter lrigger Me
52. ry time the FIFO register is ac cessed After the conversion process is complete the interrupt routine must be reset by reading a dummy value from the RESETINT register Page 48 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 4 4 2 3 External Trigger An external TTL signal pin 3 on the external connector can also be used to start the conversion process along with software and counter Bits O and 1 in the CONTROL1 register must be set to 1 Bit 4 in the CONTROLI register determines whether a rising or falling edge initiates the conversion A O is set for a falling edge and 1 is set for a rising edge Bit 1 Bit 0 Mode po E Stops A D conversion Table 9 Register CONTROLI Note A trigger pulse along with a counter pulse or a software start pulse starts a complete processing of the channel list Any more programming steps can be found in the Simple A D Conversion or Counter Controlled A D Conversion with Inter rupt Processing sections 4 4 3 D A Conversion ME 300 only 4 4 3 1 Setting the D A mode e Reset the D A converter Set bit 0 in the CONTROL2 register and then reset it e Set bit 3 in the CONTROL2 register e Set the mode set the bits in the DACONTROL register word access as described below Table 6 Adress space of the ME 260 260D 300 16 bit registers on page 37 b15 b12 reserved Meilbaus Electronic Page 49 Programming Rev 4 2E 4 4 3 2 4 4 4 Programming
53. t possible values 0 7 Possible values 0 Bit set to 0 gt 0 Bit set to 1 If the Function is successfully executed a 1 is returned If an error Occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess _me300DOSetByte amp Description This function is for the ME 260D ME 300 Writes a byte to a digital output t Important note To properly set the port direction the function _me300DIOSetPortDirection has to be called first O Definitions C int me300DOSetByte int iBoardNumber int iPortNo int iValue Delphi function _me300DOSetByte iBoardNumber iPortNo iValue integer integer Basic Declare Function me300DOSetByte Lib me300 32 Alias _VBme300DOSetByteQ12 ByVal iBoardNumber As Long ByVal iPortNo As Long ByVal iValue As Long As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 Installed boards Function Reference ME 260 260D or 300 possible values 0 3 Page 68 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 5 3 5 lt PortNo gt Port name possible values lt PortNo gt Hex value PORTA 00hex PORTB Olhex PORTC 02hex lt Value gt Output value possible values 00 FFHex 0 255 Return Value If the Function is successfully executed a 1 is returned If an error occurs a 0 Is returned The cause of the error can be determined with the function _me300GetDrvErrMess E
54. the libraries for programming languages the demo pro grams and the test programs which are installed in the ME 300 subdirectory of C NMEILHAUS if the default install options we re used The same procedure can be followed for Windows 95 98 and WindowsNT 4 0 From the Windows start menu under the path Settings gt System Control gt Software in the property page Install Uninstall choose the ME 300 Driver Uninstall option and click OK The entire ME 300 driver system will be removed from your computer Meilhaus Electronic Page 19 Installation Rev 4 2E Manual ME 300 260 D Installation Page 20 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 3 3 1 3 2 Hardware Functional Block Diagram Functional block diagram for the ME 300 the ME 260 does not have the D A section or digital I O and the ME 260 does not have the D A section ADC Progr gain A MAX 176 MUX Opto isolation FUN OES o oO DAC 4 8 bit 16 bit AD664 m L zy D State i machine Q Ext trig gt S o E T66it gt FIFO W6bit Digital I O 24 Lo EXP ECTS INT2 3 5 7 Data 10 12 15 Timer j 71054 FIFO half full y Control Bus interface logic address lines
55. tion nec cessary before using this function Meilbaus Electronic Page 61 Function Reference Rev 4 2E O Definitions Manual ME 300 260 D C int _me300AlSingle int iBoardNumber int iChannelNo int iRange short psValue Delphi Function _me300AlSingle iBoardNumber iChannelNo iRange integer Var sValue smallint integer Basic Declare Function me300AlSingle Lib me300_32 Alias VBme300AISingle 16 ByVal iBoardNumber As Long ByVal iChannelNo As Long ByVal iRange As Long ByRef sValue As Integer As Long gt Parameter lt BoardNumber gt Board number for 1 2 3 or 4 installed boards lt ChannelNo gt lt Range gt lt Value gt lt Return Value ME 260 260D or 300 possible values 0 3 Channel to be sampled possible values 0 15 Input range composed of polarity and gain the input ranges in brackets are available on boards with a PGA 202 possible values lt Range gt input ranges AI MINUS 10 00hex 10V AI MINUS 5 10hex 5V bzw 1V AI_MINUS_2 20hex 2 5V 0 1V AI_MINUS_1 Ohex 1 25V 0 01V AI_PLUS_10 40hex 0 10V AI_PLUS_5 50hex 0 5V 0 1V AI_PLUS_2 60hex 0 2 5V 0 0 1V AI_PLUS_1 70hex 0 1 25V 0 0 01V Pointer on a 16 bit value Only the lower 12 bits are significant and contain the linearised measu red value i e decimal 0 corresponds with the lo west decimal 4095 with the highest value of the input range If the Function is successfully
56. to path lt Windows Verzeichnis gt SYSTEM 1 WindowsNT only Kernel driver ME300_32 SYS into path lt Windows Verzeichnis gt SYSTEM32 DRIVERS UA API DLL ME300_32 DLL under Windows95 98 into path lt Windows Verzeichnis gt SYSTEM under Win dowsNT into path lt Windows Verzeich nis gt SYSTEM32 A Dialog DLL MEDLG32 DLL under Windows95 98 into path lt Windows Verzeichnis gt SYSTEM under Win dowsNT into path lt Windows Verzeich nis gt SYSTEM32 Several files for high level language programming as well as example and test programs into the directory lt Meilhaus working directory gt ME 300 see also READ ME file on driver disk Registry entries will be made Reboot your computer The system driver will be loaded automatically gt All the boards which were properly installed can be found in the WindowsNT diagnostics under Resources The im portant entries for the ME boards can be found under IRQ and I O port Page 16 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E Note The boards of the ME 300 series do not have plug amp play functio nality Therefore they can not be found in the Windows95 98 de vice manager 2 22 Updating the Board Driver To update the board driver the same procedure can be followed for Windows95 98 and WindowsNT 4 0 Insert the medium with the installation software From the Windows start menu choose Run and click Browse Enter the path and file name
57. umper settings on the board Reboot your computer Under WindowsNT alternativly choose Settings gt System Control gt Devices from Start menu to unload and reload the driver Uninstall Uninstall a Single Board The install and uninstall programs on your ME 300 Driver System disk can be used to remove individual boards of the ME 300 series from the Windows registry The individual soft ware components e g system driver API DLL and the libraries for programming languages will not be removed in this case The same procedure can be followed for Windows95 98 and WindowsNT 4 0 Insert the medium with the installation software From the Windows start menu choose Run and click Browse Enter the path and file name for the SETUP EXE file of the ME 260 300 installation Confirm the selection and follow the instructions of the setup program The installation program will start In the window Install Options choose Uninstall a single board and click OK Choose the board you would like to remove from the Win dows registry Reboot your computer The board will be removed from the registry Page 18 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 23 2 Uninstall the DriverSystem Please note that this procedure removes the entire ME 300 driver system from your computer All files will be removed including the system driver the API DLL for all ME 300 series boards in stalled
58. use in ISA bus systems The boards can be run in PCs with ISA 16 bit slots The 3 versions of the board differ in which components are placed on the board The circuit board itself is the same for all versions The ME 300 is the fully equipped version with A D D A conver sion and 24 TTL digital input output lines The ME 260D does not have the D A converter while the ME 260 does not have the D A converter or the digital input output lines The connector inter face is compatible for all versions The pins which would have the D A or digital signals on the ME 300 are not connected on the ME 260 ME 260D connectors Only CMOS components are used on the boards so the boards use less current A compact de sign with FPGA control and a 4 layer circuit design allow the boards format to be smaller and easier to handle Page 8 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E The A D section of the ME 260 260D 300 is electrically isolated from the rest of the board and from the AT system bus A 3 W DC DC converter is used to run the A D section The board has 16 single ended or 8 differential analog inputs which can be set by jumpers The 12 bit A D converter on the board MAX176 can reach a total sampling rate of up to 200 kHz All modes of ope ration for the A D conversions block single continuous timer controlled triggered or interrupt mode are selected by the soft ware All 3 board version have a 512 X 16 bit FIFO memory whose sta
59. zation syntax in Delphi Digits Digits XOR 7FF Linearization syntax in C Digits A OX7FF D A Section The ME 300 has a quad 12 bit D A converter of the type AD664 The D A section is not electrically isolated and is run by a 1 W DC DC converter The 16 bit values can be directly accessed from the PC The reset function on power up or through a software reset sets all the outputs to 0 V All registers 16 bit of the D A converter are accessible from the PC An analog voltage is first read in then loaded and then sent to the output The D A outputs have a limited bandwidth due to the operational amplifier This means that the maximum frequency range of the converter is available Depending on the application the user should anticipate a limited bandwidth to avoid HF noise from in terfering with the digital I O lines Page 28 Meilhaus Electronic Manual ME 300 260 D Rev 4 2E 3 4 1 D A Channel Wiring The easiest way to do this is to use an R C low pass filter with a 3 dB frequency that should be about 10 times larger than the ma ximum signal frequency Wiring example ME 300 only D A channel A Pin 8 R C Load AGND DAW Pin 4 Diagram 12 Wiring the D A outputs Meilhaus Electronic Page 29 Hardware Rev 4 2E Manual ME 300 260 D 3 4 2 Voltage Shape of the D A Section Control word for the CONTROLI register Olhex gain 1 unipolar Uin V 101 0 2
Download Pdf Manuals
Related Search
Related Contents
Maintenance-SPX4_page de garde - Fra.ai Acer NoteBook for Business 取扱説明書 取扱説明書 - 日立工機 Copyright © All rights reserved.
Failed to retrieve file