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-5100 Series
Page 1
Meilhaus Electronic Manual ME-5100 Series 3.0E 32-Channel High-Speed Digital-I/O Board (alternatively: 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.
Content Introduction ............5 Important Notes ............... 5 1.1.1 Use in Accordance with the Requirements ....... 5 1.1.2 Improper Application ............6 1.1.3 Unforeseeable Misapplications ........6 Package Contents ............. 7 Features ................7 System Requirements ............. 10 Software Support ............10 Starting up ............
Page 4
Programming ............22 Single Operation Mode ............. 24 4.1.1 Digital Input/Output ............. 24 4.1.2 Frequency Input/Output ..........25 4.1.2.1 Frequency Measurement ........26 4.1.2.2 Pulse Generator ..........27 Streaming Operation Mode..........27 4.2.1 Digital Input/Output ............. 27 4.2.1.1 Stream Timer ............ 28 4.2.1.2 Stream Trigger Sample ........
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.
Note that the computer must be powered up prior to connect- ing signals by the external wiring of the board. As a basic principle, all connections to the board should only be made or removed in a powered-down state of all components. ...
Package Contents We take great care to ensure your delivery is complete. Nonethe- less, please check the list enclosed to verify the contents of your delivery. You should find included: Digital-I/O board in one of the versions: ME-5100 PCIe or cPCI. ...
Page 8
High-speed digital-I/O ports: The ME-5100 has two 16-bit digi- tal-I/O ports and a number of control lines. When operating in single mode, the two ports can be configured, independently of one another, as input or output. The direction of the ports is defined in software.
Page 9
Single: In this operating mode, a single value can be read or written under software control (see chapter 4.1.1 on page 24). Streaming: Data is read in/output in this operating mode via a FIFO. It is possible to choose between a timer and/or external trigger signals for timing control.
Meilhaus Electronic Intelligent Driver System (ME-iDS). Software Support The ME-5000 series is supported by the Meilhaus Electronic Intel- ligent Driver System (ME-iDS). The ME-iDS is a unique driver sys- tem covering different devices and operating systems. It supports Windows 2000, XP, Vista, 7, 8.1, 10 and contains a universal...
First choose a direc- tory 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 documentation 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.
Power Supply for PCI-Express Models Because of the PCI-Express slot drive’s insufficient current 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).
Hardware Block Diagram Subdevice 0 (port A) Single mode operation: bidirectional, specified as an input port for operation in streaming mode. Subdevice 1 (port B) Single mode operation: bidirectional, specified as an output port for operation in streaming mode. *SPI:”Serial Programming Interface”...
Digital Input/Output The ME-5100 has two 16-bit digital-I/O ports and a number of con- trol lines. When operating in single mode, the two ports can be configured, independently of one another, as input or output. The direction of the ports is defined in software. When operating in streaming mode, the direction of the ports is specified by hard- ware: port A is the input port, while port B is the output port.
3.4.2 Digital Outputs When wiring the outputs, note that the voltage level must be ob- served (see the specifications on page 35) and that a reference to the PC ground (GND_PC) must be established (see Diagram 6). = 24 mA per pin. 3.4.3 External Trigger 3.4.3.1 External Trigger Inputs In addition to the trigger inputs TRIG_A and TRIG_B, any of the digi-...
Frequency Input/Output The concept of the „configurable subdevices“ of the ME-5000 se- ries gives you the option of using individual subdevices with an al- ternative functionality. The associated configuration is carried out with the ME-iDC configuration tool before your application is called. The following channels are available: ...
External Interrupt If required, you can also monitor the bit-pattern of a digital input port. The “bit-pattern change” mode is available on the ME-5100. 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.
3.7.3 Logic Level Matching The signal level of all the digital inputs/outputs and of the control lines can be switched together between 3.3 V and 5 V, depending on the external circuitry. The changeover is made for all the ports of the base board at once using software.
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...
Page 23
Subdevice of Type …Subtype I/Os ID of the Configuration Subdevice 0 (DIO, DI, FO) Digital output (DO) streaming 16-bit port Digital input/output (DIO) single 16-bit port Frequency output (FO) single 4 channels *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: In the single operating mode, the ports of the ME-5100 can be used bi-directionally. Immediately after powering up, the bidirectional ports are con- figured as inputs.
4.1.2 Frequency Input/Output ME-5100 ME-5001 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 22).
The time reference is provided by a 66 MHz counter. It is config- ured using the function. A period of 15.15 ns fol- lows from this, and is defined as the smallest unit of time. It is re- ferred to below as “1 tick”. The resolution for T and t is therefore 1 tick (see also the specifications on page 32).
Duty cycle [%] = („duration of the first phase of the period“ [s]/pe- riod [s] x 100. 4.1.2.2 Pulse Generator In the pulse generator operating mode (FO = “Frequency Output”) you can output rectangular signals with a variable duty cycle at fre- quencies of up to 5.5 MHz and with a resolution of 1 tick.
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-5100 of up to 30 MHz is available. This must be di- vided between all the subdevices (measured with a dual core com- puter running under Windows 7 –...
Page 29
Trigger signals from TRIG_A or the inputs DIO_A0…15 can be used for subdevice 0, while for subdevice 1 the trigger signals from TRIG_B and any of the inputs DIO_B0..15 can be used (see Diagram 12 on page 29).
Interrupt Operation ME-5100 ME-5001 ME-5004 ✔ ✔ On the ME-5100 you can monitor the bit-pattern of a digital-I/O port configured as an input for changes in one or more masked bits. As soon as the first edge that meets the trigger condition arrives, an interrupt is generated and passed directly to the PC.
4.3.1 Bit-pattern Change In the bit-pattern change mode, one or more bits that are to be monitored 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 available.
Appendix Specification PC Interface PCI-Express bus 32 bit, 33 MHz, 3.3 V, PCI-Express x 1 specification version 2.0 CompactPCI bus 32 bit, 33 MHz, 5 V, PICMG 2.0 R3.0 Plug&Play is fully supported Digital Input/Output Measured Condition/ Value Quantity/criterion Explanation Ports subdevice 0 single mode 16-bit-bidirectional...
Page 33
Input/output rate continuous (total for max. 25 MS/s (cPCI) resp. in streaming mode both ports) 30 MS/s (PCIe) (system- dependent) „burst“-option max. 33 MS/s per chan- (input/output of up to nel, transfer: see transfer 8192 values) rate „wraparound”-option max. 25 MS/s (cPCI) resp. (total for both ports)…...
Page 34
Frequency Input/Output Availability alternative subdevice configuration via ME-iDC Signal form rectangular Frequency Measuring Channels Measured Condition/ Value Quantity/Criterion Explanation Reference ground PC ground (GND_PC) Number of channels (FI_A0…3) 4 inputs (TTL) Input level see digital I/O Input current see digital I/O Period (T) .
Page 35
Interrupt Measured Condition/Explanation Value Quantity/Criterion Interrupt sources passed directly to the PC bit-pattern change General Data Measured Condition/Explanation Value Quantity/Criterion 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.8...1.2 A (full load)
Pinout Legend for pinouts: Pin-name Function DI_A0..15 digital input/output (subdevice 0) DO_B0..15 digital input/output (subdevice 1) TRIG_A digital trigger input for subdevice 0 TRIG_B digital trigger input for subdevice 1 DATA_VALID output indicating the validity of the data at outputs DIO_B0…15 in streaming mode L_CLK local clock output (66 MHz).
78-pin D-Sub (ST1) – ME-5100 *Use as a frequency measuring input or pulse generator. Output is only possible after appropriate configuration using ME-iDC. The other pins of the relevant digital port (DIO_A4…15 or DIO_B4…15) can then no longer be used for digital input/output. Note that the unused pins DIO_B4…15 are connected to ground for frequency output (FO)!
Adapter Board – ME AB-D78/IDC The optional ME AB-D78/IDC adapter board (78-pin D-Sub con- nector to male connector) carries a ground line between every sig- nal line. Used together with ribbon cables, you can thus minimize the crosstalk. The pin assignment of the 78-pin D-Sub connector ST1 corre- sponds to ST1 on the ME-5100 (see Diagram 15).
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-5100 Series and is the answer not in the manual?
Questions and answers