Opto-isolated digital-i/o board with bit-pattern detection, 3 x 16-bit counters (8254) (alternatively: frequency measurement and pulse generator) (50 pages)
Summary of Contents for Meilhaus Electronic ME-5004
Page 1
Meilhaus Electronic Manual ME-5004 3.0E Plug-on Board for ME-5000 Series with Opto-Isolated Digital I/Os (Alternative Configuration: Frequency Measurement and Pulse Generator)
Page 2
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 omissions.
Introduction Valued customer, Thank you for purchasing this device from Meilhaus Electronic. You have chosen an innovative high technology product that left our premises in a fully functional and new condition. Please take the time to carefully examine the contents of the pack- age for any loss or damage that may have occurred during shipping.
The opto-isolated inputs and outputs provide electrical isolation between device and application of up to 1000 V with respect to the PC ground. Note that the computer must be powered up, prior connecting signals by the external wiring of the board. ...
37-pin D-Sub mating connector. Features The plug-on board of type ME-5004 is an opto-isolated digital-I/O board with bit-pattern detection for the base boards of the ME- 5000 series. You can configure individual subdevices alternatively for frequency measurement resp. pulse generator on demand (see chapter 4 from page 21).
For data transmission between PC memory and the base board the ME-5004 must share the bandwidth with the base board. The ac- tual transmission rate depends on the operating mode and on the configuration of your PC.
PC. The board is supported by the Meilhaus Electronic Intelli- gent Driver System (ME-iDS). 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 Windows 7, 8.1, 10 and contains a uni-...
First choose a di- rectory on your computer (e.g. C:\Temp\Meilhaus\ME-iDS). Use the Meilhaus Electronic Intelligent Driver System (ME-iDS) for programming your new data acquisition hardware. For installation and operation of the driver system, please follow the documenta- tion in electronic form included with the software package.
Fitting the Plug-on Boards The boards should be handled with care in order to make sure that the device is not damaged by electrostatic discharge (ESD), me- chanical stress or unsuitable current surges. Precautions should also be taken to avoid an electric shock. Ensure that standard ESD safety precautions are taken.
Hardware Block Diagram Pinout diagram of the 37-pin D-sub female connector in the appen- dix (see “Pinout” on page 35). In the following chapters you will learn more about the external wir- ing of the individual subdevices. Chapter 4 from page 21 describes the operation modes and the programming.
The isolation voltage to PC ground is 1000 VAC The plug-on board of type ME-5004 has 16 opto-isolated inputs and 16 opto-isolated outputs. Due to the opto-isolation, the port direction is fixed.
3.3.1 Opto-Isolated Inputs The ME-5004 has 16 opto-isolated inputs which have been de- signed for an input high-level U typ. 24 V. A reference to the in,H ground of the external circuitry via GND_EXT (pins 15) has to be setup in any case. The input lines show logic “0” if not connected.
3.3.2.1 Sink Driver Each output port is equipped with two sink driver chips of type ULN2803; detailed specifications see page 29. The maximum current per output (I ) depend on the satura- Sink tion voltage U and is limited by the power loss of the sum of the channels on P = 1 W per chip (DO_0…7 = chip 1, DO_8…15 = chip 2), see Diagram 6 and Diagram 7.
Page 17
To supply the sink output drivers, an external power supply has to be connected to VCC_EXT (Pin 1, 2, 20) with sufficient power (de- pending on the application). At full load this means up to 0.5 A per channel for the ME-5004.
3.3.2.2 Source Driver Each input port is equipped with two source driver chips of type ISO2H811G; detailed specifications see page 29. The source output drivers are short-circuit-proof and are equipped with a current limiting per channel. The combination of current lim- iting, thermal shutdown, and automatic re-start protects the cir- cuitry against overload.
– (R out,H 3.3.3 External Trigger On the ME-5004 no external trigger inputs are available. However you can monitor the digital inputs on bit-pattern change and bit- pattern compare. As soon as the specified event occurs, an inter- rupt can be issued and passed directly to the PC. See chapter 4.2 on page 25.
The specifications of the digital-I/O ports also apply to the FI/FO lines. For all inputs and outputs a reference to the ground of exter- nal wiring has to be setup in any case. For the frequency measure- ment inputs this is the ground of the digital input section (GND_DI, pin 15) and for the pulse generator outputs this is the ground of the digital output section (GND_DO, pin 21).
Programming For programming the device please use the Meilhaus Electronic In- telligent Driver System (ME-iDS) included in your package. The ME- iDS is a unique driver system covering different devices and operat- ing systems. It supports Windows 2000 and higher and contains a...
Single Operation Mode Individual values can be read or written in this operating mode. Notes: The digital-I/O channels direction is determined by the ME-5004 series hardware (opto-couplers). In power-down state and after switching on the PC all outputs are in a high-impedance state.
“ME-iDS Control Center” or through the Windows Start menu. Please read chapter 3.3 on page 19 for wiring of the digital I/Os. 4.1.2 Frequency Input/Output ME-5004 ✔ Before you can use the “Frequency measurement” or “Pulse gener- ator” modes, it is necessary, before opening your application, to run the ME-iDC configuration tool in order to specify the configura- tion for the corresponding subdevice (see also table 3 on page 21).
Page 24
A distinction is drawn between rectangular signals with an asymmetrical duty cycle T . and a symmetrical duty cycle max. asym . The figures for the ME-5004 are: max. sym . = 16.25 s (0.06 Hz); T . = 32.5 s (0.03 Hz) max.
The first phase of the rectangular signal is “high” by default. By setting the ME_IO_SINGLE_TYPE_FO_START_LOW flag it is also possible to start the output with a “low” level. Note: An output channel can also be read back! Interrupt Operation ME-5004 ✔...
On the ME-5004 board you can monitor the bit-pattern of the 16 digital inputs. Depending on the application you can select one of the operating modes “bit-pattern compare” and “bit-pattern- change”. As soons as the first edge that meets the trigger condi- tion arrives, an interrupt is issued and passed directly to the PC.
Page 27
b31…16. Example (see diagram 13): By writing the value 00800004 Hex as a mask value (see parame- ter <iIrqArg> of the function bit 2 is monitored for a falling edge, and bit 7 for a rising edge. A rising edge now is to arrive at bit 7, so that an interrupt is issued and in the interrupt status value bit b23 returns “1”.
4.2.2 Bit-Pattern Compare In the “bit-pattern compare” mode, the bit-pattern of digital inputs can be monitored for equality or inequality. The compare bit-pat- tern of the corresponding subdevice is used as reference. If the state changes from inequal or from equal to inequal, an interrupt is generated (see diagram 14 on page 28).
Appendix Specification (Ambient temperature 25 ºC) PC Interface PCI-Express-bus 32 bit, 33 MHz, 3.3 V, PCI-Express x 1 specifi- cation version 2.0 CompactPCI-bus 32 bit, 33 MHz, 5 V, PICMG 2.0 R3.0 Plug&Play is fully supported Digital Input/Output (general) Measured Quantity Condition/ Value Explanation...
Page 30
Opto-Isolated Inputs Static values Conditions: T = 25 ºC Measured Quantity Test Criterion MIN Type MAX Unit in,H in,L =24 V kΩ =24 V Limiting Values Measured Quantity Condition/Explanation Value over-voltage max. 600 W pulse power 30 V protection for inputs at a pulse width of 1 ms Opto-Isolated Outputs Conditions: TA = 25 ºC...
Page 31
(switch-off time) =125 Ω, μs =50 V =15 pF The maximum current per output (I ) depends of the saturation voltage U and is limited by the power dissipation of the sum of the channels to = 1 W per chip: +…+P ≤...
Page 32
=0.5 A,T =125 º (current consump- 8 channels active tion driver ship) per chip; without load (output in inactive = 0 V μA L(off) state) Switching Times Measured Quantity Test Criterion MIN Type MAX Unit (switch-on time) = 47 Ω, up to μs 90 % U (switch-off time)
Page 33
Frequency Measuring Channels Measured Quantity/ Condition/Explanation Value Criterion Reference ground isolated from PC ground GND_DI Number of channels (FI_0…7) 8 inputs (opto-isolated) Input l see digital I/O Input current see digital I/O Period (T) . =T 3.3 μs (300 kHz) min.asym.= min.sym 16.25 s (0.06 Hz)
Page 34
Interrupt Measured Quantity/ Condition/Explanation Value criterion Interrupt sources passed directly to the bit-pattern change bit-pattern compare General Data Measured Quantity/ Condition/Explanation Value Criterion Power supply via base board 3.3 V/5 V Current consumption additional to base board 0.55…0.95 A (full load) Fuses F2 (SMD-Fuse) 5 AT, Type: Littelfuse...
Pinout Legend for pinouts: Pin-name Function DI_0…15 digital inputs (subdevice 0) DO_0...15 digital outputs (subdevice 1) FI_0..7 frequency measurement inputs (alternative configura- tion) FO_0...7 pulse generator outputs (alternative configuration) VCC_EXT VCC input for ext. power supply of isolated inputs and outputs, U typ.
37-pin D-Sub (ST1) These pins can only be used as frequency measurement inputs (FI_ ) resp. pulse generator outputs (FO_ ) after appropriate configuration of the corresponding subdevice with the ME-iDC. The remaining pins of the digital ports cannot be used for digital I/O.
Accessories We recommend 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/...
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/system and the software used.
Need help?
Do you have a question about the ME-5004 and is the answer not in the manual?
Questions and answers