background image

 

 

3.8

 

External Interrupt ........................................................... 25

 

4

 

Programming ....................................................... 26

 

4.1

 

Single Operation Mode ..................................................... 28

 

4.1.1

 

Digital Input/Output ..................................................... 29

 

4.1.2

 

Frequency Input/Output ................................................ 29

 

4.1.2.1

 

Frequency Measurement .................................... 31

 

4.1.2.2

 

Pulse Generator ................................................ 31

 

4.1.3

 

Counters (8254) ......................................................... 32

 

4.1.3.1

 

Standard Operation Modes ................................. 32

 

4.1.3.2

 

Pulse Width Modulation ...................................... 33

 

4.2

 

Streaming Operation Mode............................................... 33

 

4.2.1

 

Digital Input/Output ..................................................... 33

 

4.2.1.1

 

Stream Timer .................................................... 33

 

4.2.1.2

 

Stream Trigger Sample ...................................... 33

 

4.2.1.3

 

Wraparound Mode ............................................. 33

 

4.2.1.4

 

External Trigger ................................................. 34

 

4.3

 

Interrupt Operation ......................................................... 35

 

4.3.1

 

Bit-Pattern Change ...................................................... 36

 

4.3.2

 

Bit-Pattern Compare ................................................... 37

 

5

 

Appendix ............................................................. 38

 

A

 

Specification .......................................................................... 38

 

B

 

Pinout ................................................................................... 46

 

B1

 

78-pin D-Sub (ST1) — ME-5810 .............................................. 47

 

C

 

Accessories ........................................................................... 48

 

D

 

Technical Questions ................................................................ 49

 

D1

 

Hotline ........................................................................... 49

 

E

 

Index ..................................................................................... 50

 

Summary of Contents for ME-5001

Page 1: ...Meilhaus Electronic Manual ME 5810 Series Opto Isolated Digital I O Board with Bit Pattern Detection 3 x 16 bit Counters 8254 alternatively Frequency Measurement and Pulse Generator ...

Page 2: ...The information contained in this manual has been reviewed with great care and is believed to be complete and accurate Meilhaus Electronic assumes no responsibility 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 assumes no responsibility for any problems or damage which may result from errors or ...

Page 3: ... Program 11 2 3 Fitting the Plug on Boards 11 2 4 Power Supply for PCI Express Models 13 3 Hardware 14 3 1 Block Picture 14 3 2 ME 5810 cPCI 15 3 3 ME 5810 PCIe 15 3 4 ME 5002 16 3 5 Digital Input Output 16 3 5 1 Opto Isolated Inputs 17 3 5 2 Opto Isolated Outputs 18 3 5 2 1 Sink Driver 18 3 5 2 2 Source Driver 20 3 5 3 External Trigger 21 3 5 3 1 External Trigger Inputs 21 3 5 3 2 Edge Detection ...

Page 4: ... Modes 32 4 1 3 2 Pulse Width Modulation 33 4 2 Streaming Operation Mode 33 4 2 1 Digital Input Output 33 4 2 1 1 Stream Timer 33 4 2 1 2 Stream Trigger Sample 33 4 2 1 3 Wraparound Mode 33 4 2 1 4 External Trigger 34 4 3 Interrupt Operation 35 4 3 1 Bit Pattern Change 36 4 3 2 Bit Pattern Compare 37 5 Appendix 38 A Specification 38 B Pinout 46 B1 78 pin D Sub ST1 ME 5810 47 C Accessories 48 D Tec...

Page 5: ... the ME series are designed for acquisition and output of analog and digital signals using a PC Depending on type install the models of the ME series into a free PCI Express slot PCIe versions or a free CompactPCI slot 3 HE cPCI versions For information on how to install a plug in board read the manual of your PC Please note the instructions and specifications as presented in this manual Appendix ...

Page 6: ...orized power adaptor may be used Make sure that no contact with voltage carrying parts can happen by the external wiring of the device As a basic principle all connec tions should only be made or removed in a powered down state 1 1 3 Unforeseeable Misapplications The device is not suitable to be used as a children s toy in the household or under unfavourable environmental conditions e g in the ope...

Page 7: ...nnels 3 x16 bit ME 5810B ME 5810A ME 5002 2 x16 bit DI 2 x16 bit DO 4 4FI channels 4 4FO channels 3 x16 bit ME 5810B S ME 5810A S with streaming operation ME 5002 2 x 16 bit DI 2 x 16 bit DO 4 4FI channels 4 4FO channels 3 x16 bit Alternative configuration can be selected with ME iDC ME 5810A S is always registered in the Windows device manager Opto isolated digital inputs The ME 5810 has 16 opto ...

Page 8: ...output pin depends on your external application Bit pattern detection If required the bit pattern at the digital input port can be monitored Depending on the mode an inter rupt can be generated if the bit pattern changes or is equal not equal to a given bit pattern In streaming mode bit pattern detection can be used to control the input output oper ation depending on the selected operating mode no...

Page 9: ...it DI 1 x 16 bit DO 1 x 16 bit DI 1 x 16 bit DO Streaming channels 1 x16 bit DI 1 x16 bit DO I O rate DI DO 30 MS s 30 MS s Frequency FI FO 300 kHz 3 kHz 5 5 MHz 5 5 MHz 300 kHz 3 kHz 300 kHz 3 kHz Ext trigger for streaming Software start stop for streaming Frequency measurement 4 channels 4 channels 4 channels 4 channels Pulse generator 4 channels 4 channels 4 channels 4 channels Counter 8254 3 x...

Page 10: ...essor with a free standard PCI PCI Express resp CompactPCI slot 32 bit 33 MHz 5 V The board is supported by the Meilhaus Electronic Intelligent Driver System ME iDS 1 5 Software Support The ME series is supported by the Meilhaus Electronic Intelligent Driver System ME iDS The ME iDS is a unique driver system cov ering different devices and operating systems It supports Win dows 2000 XP Vista and W...

Page 11: ... form included with the software package 2 2 Test Program For simple testing of the board use the corresponding test pro gram provided with the ME iDS ME PowerLab3 Run the program from the Windows Start menu This will allow you to text all the important functions of the hard ware You will find simple test programs in the SDK of the ME iDS in the Test Executables32 or Test Executables64 subfolders ...

Page 12: ... it in Follow the standard ESD safety precautions 3 Push the plug on board carefully and with only a little force on to the male connector provided for it see picture 1 items 1 2 and 3 Check that the board is fully plugged in 4 Choose two adjacent slots for the installation If necessary remove an additional blanking plate for the slot of the plug on board 5 Carefully plug the combination of the ba...

Page 13: ...rent for op erating the board an additional supply is required via the PC power supply For that purpose connect a free MOLEX connector of the PC as used for power supply of drives with the appropriate termi nal of the board see the following diagram Otherwise the board may be irreversibly damaged ...

Page 14: ...avail able on S versions Pinout picture of the 78 pin D sub female connector in the appen dix see Pinout page 46 In the following chapters you will learn more about the external wir ing of the functional sections Chapter 4 from page 26 describes the operation modes and the programming ...

Page 15: ...3 2 ME 5810 cPCI 3 3 ME 5810 PCIe ...

Page 16: ...nfigured as sink or source or high impedance via software The isolation voltage to PC ground is 1000 VACRMS The ME 5810 series base board has 16 opto isolated inputs port A and 16 opto isolated outputs port B In combination with the plug on board ME 5002 16 further opto isolated inputs port C and 16 opto isolated outputs port D can be added Due to the opto isolation the port direction is fixed In ...

Page 17: ...ed The inputs have been designed for an input high level Uin H 3 60 V A reference to the ground of the external circuitry via GND_EXT pins 9 11 59 has to be setup in any case The input lines show logic 0 if not connected The opto isolated digital inputs of the ME 5810 and ME 5002 are protected from over voltages with special Z diodes so called Tran sient Voltage Suppressor diodes TVS diodes These ...

Page 18: ...setting and high active out puts source driver via software Moreover the output ports can be set to high impedance A reference to the ground of the exter nal wiring via GND_EXT pins 9 11 59 has to be setup in any case 3 5 2 1 Sink Driver Each output is equipped with two sink driver chips of type ULN2803 detailed specifications see page 38 The maximum current per output IC ISink depends on the satu...

Page 19: ...nk output drivers an external power supply has to be connected to VCC_EXT Pin 10 20 with sufficient power de pending on the application At full load this means min 0 8 A for the ME 5810A and min 1 6 A for the ME 5810B ...

Page 20: ...junction temperature has fallen below the threshold of TR 135 ºC If a chip temperature of typ 130 ºC is still exceeded the overloaded channel remains disabled and is only reactivated if the temperature decreases below TCR 110 ºC Channels in standard no overload condition can be used at any time without re strictions In the case of an overload condition the output driver per port can send an interr...

Page 21: ...e operation on S versions can be configured in a very flexible way Also see picture 12 on page 21 as well as picture 19 on page 35 Note In single mode operation I O cannot be triggered externally See chapter 4 3 on page 35 3 5 3 2 Edge Detection Any digital input can be configured to start an operation on a ris ing a falling or any edge i e both rising falling edge 3 6 Frequency Input Output With ...

Page 22: ...nected to ground The specifications of the digital I O ports also apply to the FI FO lines A reference to the ground of the external circuitry via GND_EXT pins 9 11 59 has to be setup in any case The frequency counters and pulse generators are configured via software Chapter 4 1 on page 28 describes the programming of the frequency I Os 3 7 Counters A standard counter chip of type 82C54 is used on...

Page 23: ... conducting logic 1 the load RL is connected to ground GND_EXT Logic 0 means that the out put is in a high impedance state The polarity of the input signals CLK_x and GATE_x is inverted by the opto couplers All counter signals require a reference to external ground GND_EXT pins 9 11 59 The inputs CLK_x and GATE_x have been designed for a voltage level of 24 V Rv 3 kΩ Note for IF 7 5 mA IF 10 mA Th...

Page 24: ... 1 The prescaler has to be sourced with an external base clock of max 10 MHz This results in a max output signal frequency of 50 kHz Picture 14 shows the external wiring to be used with the functions see also ME iDS manual fOUT_2 Base clock with Prescaler 2 2 16 1 Prescaler 100 The following picture shows the external wiring of the counters for the ME 5810 For programming the PWM output please rea...

Page 25: ... one of the modes bit pattern change and bit pattern compare As soon as the specified event occurs an interrupt is issued and passed directly to the PC The digital inputs outputs are programmed in the single operating mode The interrupt handling is carried out with the func tions see also chapter 4 3 on page 35 ...

Page 26: ...and de vice specific arguments can be found in the help file help file format under Windows chm which can be accessed via the ME iDS Control Center in the info area of the task bar as a rule in the lower right corner of the screen or via the Windows start menu The ME 5810 series base boards are devices with five subdevices beginning with index 0 When using plug on boards e g ME 5002 these appear a...

Page 27: ...unters Type 8254 3 x Counter CTR single 3 x 16 bit 0 Plug on board ME 5002 included with ME 5810B S Subdevice of Type Subtype I Os ID of the Configuration Subdevice 0 DI FI Digital input DI single 16 bit port 0 Frequency input FI single 4 channels 1 Subdevice 1 DO FO Digital output DO single 16 bit port 0 Frequency output FO single 4 channels 1 Standard configuration at shipment The most recently ...

Page 28: ...raparound fInput signal to 300 kHz fOutput signal to 3 kHz Start stop per software or ext trigger Stream trigger sample fInput signal to 300 kHz fOutput signal to 3 kHz Start stop per software or ext trigger Interrupt Bit pattern detection fIRQmax 10 kHz Ext trigger signal at a digital I O port Detailed timing pictures can be found in the ME iDS manual 4 1 Single Operation Mode Individual values c...

Page 29: ...PE_ SINGLE If the plug on board ME 5002 is used its subdevice 0 is of type ME_TYPE_DI and subdevice 1 of type ME_TYPE_DO Please observe the ME iDS manual and the ME iDS help file chm for the procedure You can open both these documents through the ME iDS Control Center or through the Windows Start menu Please read chapter 3 5 on page 16 for the wiring of the digital ports 4 1 2 Frequency Input Outp...

Page 30: ...u ments through the ME iDS Control Center or through the Win dows Start menu Two variables are introduced to describe the rectangular signal and apply equally to input and output One value indicates the pe riod T while the other value provides the duration of the pulse of the first phase of the period t1P For frequency measurement the measurement starts with the first rising edge and finishes with...

Page 31: ...up to 300 kHz The resolution is 1 tick 15 15 ns The measurement always starts at a rising edge On the ME 5810 all 4 frequency measuring channels FI_A0 3 are addressed as subdevices of type ME_TYPE_FI subtype ME_SUB TYPE_SINGLE Each channel can be programmed independently In combination with the plug on board ME 5002 4 additional fre quency measurement channels FI_C0 3 are available which can be ad...

Page 32: ...it coun ters Each counter is accessed as a subdevice of type ME_TYPE_CTR subtype ME_SUBTYPE_CTR_8254 Note the order of operation as described in the ME iDS manual and in the ME iDS help file see ME iDS Control Center 4 1 3 1 Standard Operation Modes The counters can be configured independently of one another by the function for the following 6 operation modes a detailed description of the modes ca...

Page 33: ...ure You can open both of these documents through the ME iDS Control Center or through the Windows Start menu 4 2 1 1 Stream Timer In this operating mode the values are acquired or output under the control of a timer A continuous transfer bandwidth between the PC and the ME 5810 of up to 30 MHz is available shared among port A and B You can sample a rectangular signal up to 300 kHz with up to 100 t...

Page 34: ...le one or more trigger inputs individually with specification of the desired trigger edge rising falling or any All the enabled trigger inputs are logically ORed together This means that the first edge to arrive that meets the trigger condi tion starts or stops the input output operation according to the selected operation mode stream timer or stream trigger sample In other words any change of the...

Page 35: ...rn of the 16 bit wide input ports of subdevice 0 of the base board ME 5810 DI_A0 15 as well as subdevice 0 of the plug on board ME 5002 DI_C0 15 Depending on the application you can select one of the operating modes bit pattern compare and bit pattern change As soon as the first edge that meets the trigger condition arrives an interrupt is issued and passed directly to the PC ...

Page 36: ... be monito red for a change of state can be defined masked A 32 bit wide argument per subdevice contains the mask For each input pin both one bit for rising edge and one bit for falling edge is availa ble If the state of at least one bit masked with a 1 changes 0 1 or 1 0 an interrupt is issued see picture 21 on page 36 In what is known as the extended format of interrupt handling see the ME iDS m...

Page 37: ...e in state of a pin whose edge is set to 1 in the parameter iIrqArg can is sue an interrupt The interrupt event is evaluated with the function We recommend using what is known as the extended format to obtain detailed information about the triggering edge 4 3 2 Bit Pattern Compare In the bit pattern compare mode the bit pattern of digital inputs can be monitored for equality or inequality The comp...

Page 38: ...ce 0 Single Streaming 16 bit input port opto isolated subdevice 1 Single Streaming 16 bit output port opto isolated Ports ME 5002 plug on board subdevice 0 Single 16 bit input port opto isolated subdevice 1 single 16 bit output port opto isolated Operation modes single software triggered read write stream timer timer controlled read write of values via FIFO stream trigger sample timer controlled r...

Page 39: ...mer resolution programmable 15 15 ns 1 Tick Ext trigger inputs ME 5810 DI_Ax DO_Bx Ext trigger edges Rising falling any Input level see the following tables Isolation voltage UISO f 60 Hz t 60 s max 1000 VACrms Reference ground isolated from PC ground GND_EXT Opto Isolated Inputs Static values Conditions TA 25 C Measured Quantity Test Criterion MIN Type MAX Unit Uin H 3 60 V Uin L 0 2 2 V Rin Uin ...

Page 40: ...e 23 ICEX output leckage current UCE 50 V TA 25 C UCE 50 V TA 85 C 50 100 μA UCE SAT collector emitter saturation voltage IOUT 350 mA IOUT 200 mA IOUT 100 mA 1 3 1 1 0 9 1 6 1 3 1 1 V IR clamp diode reverse current UR 50 V TA 25 C UR 50 V TA 85 C 50 100 μA UF clamp diode forward voltage IF 350 mA 2 0 V ton switch on time RL 125 Ω UOUT 50 V CL 15 pFina 0 1 1 μs toff switch off time RL 125 Ω UOUT 50...

Page 41: ... Uext 24 V 1 channel with Iout 0 625 A 23 8 V IOUT channel 1 channel 625 mA 16 channel 370 mA 32 channel with ME 5002 180 mA UUSD undervoltage shutdown 7 10 5 V RON resistance if output active IOUT 0 5 A TI 25 C IOUT 0 5 A TJ 125 C 150 270 200 320 mΩ mΩ IS current consumption driver chip 8 channels active per chip without load 10 14 mA IL off output current in inactive state Uin UOUT 0 V 0 5 30 μA...

Page 42: ...terion MIN Type MAX Unit TCSD housing switch off temperature 125 130 135 C TCR housing reset temperature 110 C TTSD junction switch off temperature 150 175 200 C TR junction reset temperature 135 1 C Ilim DC short circuit current Uext 24 V RL 10 mΩ 1 1 A Frequency Input Output Availability alternative subdevice configuration via ME iDC Signal form rectangular Frequency Measuring Channels Measured ...

Page 43: ...n Explanation Value Reference ground isolated from PC ground GND_EXT Number of channels ME 5810A FI_A0 3 4 outputs opto isolated ME 5002 FI_C0 3 4 outputs opto isolated Output level sink or source driver see digital I O Period T Tmin Tmin asym Tmin sym Tmax asym Tmax sym 0 3 ms 300 kHz 16 25 s 0 06 Hz 32 5 s 0 03 Hz Duty cycle variable depending on T to be set in steps of 1 tick Resolution 1 tick ...

Page 44: ...IL max 0 8 V UIH 24 30 V max Uext Interrupt Measured Quantity Criterion Condition Explanation Value Interrupt sources passed directly to the PC bit pattern change bit pattern compare General Data Measured Quantity Criterion Condition Explanation Value Power supply CompactPCI 5 V via PCI Bus PCI Express 3 3 V via PCIe Bus 5 V via Molex plug from PC power supply unit Current consumption CompactPCI 0...

Page 45: ...Connections ST1 78 pin D sub female socket I Os der ME 5002 via ST1 of base board Operating temperature 0 C 70 C Storage temperature 40 C 100 C Air humidity 20 55 non condensing Certification CE ...

Page 46: ...or outputs of ME 5810 subdevice 1 alternative configuration FI_C0 3 frequency measurement input of ME 5002 subdevice 0 alternative configuration FO_D0 3 pulse generator output of ME 5002 subdevice 1 alternative configuration VCC_EXT VCC input for ext power supply of isolated ports Uext typ 24 VDC GND_EXT reference ground for isolated ports isolated from PC ground Note In the configuration pulse ge...

Page 47: ... can only be used as frequency measurement inputs FI_x resp pulse generator outputs FO_x after appropriate con figuration of the corresponding subdevice with the ME iDC The re maining pins of the digital ports cannot be used for digital I O ...

Page 48: ...ommend to use high quality connector cables with single shielded lines per channel For further accessories please refer to the current Meilhaus Elec tronic catalog and the internet www meilhaus de en pc boards accessories ...

Page 49: ...Mail support meilhaus de Download Server and Driver Update To download current driver versions for Meilhaus Electronic devices as well as manuals in PDF format please go to www meilhaus org driver Service Department with RMA Process In case you need to return a board for repair purposes we strongly ask you attach a detailed description of the error as well as infor mation regarding your computer s...

Page 50: ...ant Notes 5 Index 52 Initial Operation 12 Interrupt 30 Interrupt Operation 37 Introduction 5 M ME 5002 18 ME 5810 cPCI 17 ME 5810 PCIe 17 Model overview 7 O Opto Isolated Inputs 19 P Package Contents 6 Pinout 48 Power Supply 14 Programming 28 S Single 30 Sink driver 20 Software Installation 12 Software Support 10 Specifications 40 Streaming 30 Streaming Operation Mode 35 System Requirements 10 T T...

Reviews: