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 1.2E Plug-on Board for ME-5000 Series with opto-isolated Digital I/Os (alternative configuration: 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.
Rev. 1.2E Introduction Valued customer, Thank you for purchasing this device from Meilhaus Electronic. You ha- ve chosen an innovative high technology product that left our premises in a fully functional and new condition. Take the time to carefully examine the contents of the package for any loss or damage that may have occurred during shipping.
Rev. 1.2E Manual ME-5004 • When using the configuration „pulse generator“ (FO) unused output pins should not be connected.When using the sink driver the outputs are in a high-impedance state, when using the source driver they are connected to ground.
Manual ME-5004 Rev. 1.2E Scope of Supply We do, of course, endeavour to supply you a complete product package. Nevertheless, to make entirely sure that your supply is complete, you can check the contents of your package with the help of the following list.
Rev. 1.2E Manual ME-5004 Features The plug-on board of type ME-5004 is a opto-isolated digital-I/O boards with bit-pattern detection for the base boards of the ME-5000 series. You can configure individual subdevices alternatively for frequency measu- rement resp. pulse generator on demand (see chapter 4 from page 23).
Page 9
• The isolation voltage between the opto-isolated inputs/outputs and PC-ground is 1 kVAC • The opto-isolated digital inputs of the ME-5004 are equipped with an overvoltage protection diode that can discharge voltage pulses to ground for a short period of time.
Rev. 1.2E Manual ME-5004 System Requirements The plug-on board requires a base board of the ME-5000 series and occu- pies a free PCI Express or CompactPCI slot however without using the PCI slot connector. This saves the resources of your PC. The board is supported by the Meilhaus Intelligent Driver System (ME-iDS) from Windows 2000 upwards (Linux under development).
Manual ME-5004 Rev. 1.2E Initial Operation Please read your computer manual instructions on how to install new hardware components before installing the board. Software Installation • Installation under Windows The following basic procedure should be used: If you have received the driver software as an archive file please un-pack the software before installing the board.
Rev. 1.2E Manual ME-5004 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), mechanical stress or unsuitable current surges. Precautions should also be taken to avoid an electric shock.
Page 13
Manual ME-5004 Rev. 1.2E Diagram 1: Fitting the plug-on boards Meilhaus Electronic Seite 13 Initial Operation...
Interrupt logic Local address/data bus to base board Basis board Diagram 2: Block diagram of the ME-5004 Pinout diagram of the 37-pin D-sub female connector in the appendix (see „Pinout” on page 39). In the following chapters you will learn more about the external wiring of the individual subdevices.
The isola- tion 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.
(max. 600 W pulse power at a pulse width of 1 ms). 3.3.2 Opto-isolated Outputs The ME-5004 has 16 opto-isolated outputs. The output port is equipped with special driver chips that allow a selection of sink and source via soft- ware. Depending on the application, the user can switch between low- active outputs (sink driver = standard setting) and high-active outputs (source driver) via software.
Page 19
Manual ME-5004 Rev. 1.2E ≤ 1W (per chip at 70°C) + … + P with P · U Diagram 6: Collector current against saturation voltage Number of simultaneously driving channels: 8 7 6 5 Recommended max. current Duty cycle [%]...
Housing- temperature Interrupt GND_DO Source driver GND_PC Diagram 8: ME-5004 outputs with source drivers The following table shows the maximum output current I dependency of the number of channels in use: Number of channels used 0.625 A 0.5 A Table 2: Max. current of the source drivers...
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 interrupt can be issued and passed directly to the PC. See chapter 4.2 on page 29.
Rev. 1.2E Manual ME-5004 has to be setup in any case. For the frequency measurement 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) The frequency counters and pulse generators are configured via software.
(usually at the bottom right of the screen), or through the Windows Start menu. The plug-on board of type ME-5004 is a discrete device with two "sub- devices", beginning with the index "0". The functionality of the subde- vices can be specified by the user through selecting a pre-defined configuration.
Page 24
16 outputs Frequency output (FO) Single 8 channels Table 3: Subdevice configuration ME-5004 *Standard configuration at shipment. The most recently selected configuration in the ME-iDC is stored in a non-volatile memory on the board, and is automatically loaded after a restart.
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.
Rev. 1.2E Manual ME-5004 4.1.2 Frequency Input/Output ME-5004 Before you can use the "Frequency measurement" or "Pulse generator" modes, it is necessary, before opening your application, to run the ME-iDC configuration tool in order to specify the configuration for the corresponding subdevice (see also Table 4 on page 24).
A distinction is drawn between rectangular signals with an asym- metrical duty cycle T and a symmetrical duty cycle T max. asym. max. sym. The figures for the ME-5004 are: = 16.25s (0.06Hz); T = 32.5s (0.03Hz) max. asym. max. sym.
Rev. 1.2E Manual ME-5004 Note: If the frequency and duty cycle are the magnitudes you want, these can easily be calculated from the values returned for <pdTime>. The formula is: Frequency [Hz] = 1/period [s] Duty cycle [%] = ("duration of the first phase of the period" [s] / ×...
Rev. 1.2E 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 soon as the first edge that meets the trigger condition arrives, an interrupt is issued and passed directly to the PC.
Manual ME-5004 Rev. 1.2E 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-pattern of the corresponding subdevice is used as reference. If the state changes from inequal to equal or from equal to inequal, an interrupt is generated (see diagram 14 on page 31).
Manual ME-5004 Rev. 1.2E Appendix Specifications (Ambient temperature 25 °C) PC Interface via base board PCI Express bus 32 bit, 33 MHz, 3.3 V, PCI Express x1, specification version 2.0 CompactPCI bus 32 bit, 33 MHz, 5 V, specification PICMG 2.0 R3.0 Plug&Play...
Page 34
Rev. 1.2E Manual ME-5004 Limiting values Measured quantity Condition/explanation Value over-voltage pro- max. 600 W pulse power at a pulse width of 1 ms tection for inputs Opto-isolated Outputs Conditions: T =25°C Output drivers Sink 2 x ULN2803 Source 2 x ISO1H811G External supply 15…30V...
Page 35
Manual ME-5004 Rev. 1.2E Number of simultaneously driving channels 8 7 6 5 Recommended max. current Duty cycle [%] Collector emitter saturation voltage U Diagram 15: Characteristic curves UDN2803 Source Driver (ISO1H811G) (short-circuit proof with current limiting and temperature monitoring)
Page 36
Rev. 1.2E Manual ME-5004 Switching times Measured quantity Test criterion Unit (switch-on time) =47Ω, bis 90% U μs (switch-off time) =47Ω, bis 10% U μs (slope on =47Ω, von 10..30% V/μs (on) switch-on) = 15V (slope on =47Ω, von 70..40% V/μs...
Page 37
Manual ME-5004 Rev. 1.2E Measured quantity/criteri- Condition/explanation Value Resolution 1 tick 15.15 ns Accuracy ±15.15 ns Operating modes Single Pulse generator channels Measured quantity/criteri- Condition/explanation Value Reference ground isolated from PC ground GND_DO Number of channels FO_0…7 8 outputs (opto-isolated)
Page 38
Rev. 1.2E Manual ME-5004 Measured quantity/criteri- Condition/explanation Value Operating temperature 0…70 °C Storage temperature -40…100 °C Air humidity 20…55% (non-condensing) CE Certification EU directive 89/336/EMC Emission EN 55022 Immunity EN 50082-2 Specifications Seite 38 Meilhaus Electronic...
Manual ME-5004 Rev. 1.2E Pinout Legend for pinouts: DI_0..15 Digital inputs (subdevice 0) DO_0..15 Digital outputs (subdevice 1) FI_0..7 Frequency measurement inputs (alternative configuration) FO_0..7 Pulse generator outputs (alternative configuration) VCC_EXT VCC input for ext. power supply of isolated inputs and out- puts, U typ.
VCC_EXT VCC_EXT VCC_EXT Diagram 16: 37-pin D-Sub female connector of the ME-5004 (ST1) * These pins can only be used as frequency measurement inputs (FI_x) resp. pulse generator outputs (FO_x) 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.
Terminal block with 37-pin D-sub male connector ME-AK-D37 Connecting cable (1:1) from 37-pin D-Sub male connector to 37-pin D-Sub female connector Further accessories can be found in the current Meilhaus Electronic catalogue, or on the Internet under www.meilhaus.de Meilhaus Electronic Seite 41...
Rev. 1.2E Manual ME-5004 Technical Questions Hotline If you should have any technical questions or problems that can be put down to your Meilhaus device, please send a fax to our hotline: Fax hotline: + 49 (0) 89/89 01 66 28 eMail: support@meilhaus.de...
Need help?
Do you have a question about the ME-5004 and is the answer not in the manual?
Questions and answers