ME-94, ME-95, ME E

Meilhaus Electronic Manual ME-94, ME-95, ME-96 5.1E PCI- and CompactPCI versions Fischerstraße 2 • 82178 Puchheim • http://www.meilhaus.de ME-96 cP...
Author: Kerrie Lang
9 downloads 0 Views 618KB Size
Meilhaus Electronic Manual

ME-94, ME-95, ME-96 5.1E PCI- and CompactPCI versions

Fischerstraße 2 • 82178 Puchheim • http://www.meilhaus.de

ME-96 cPCI

Opto-isolated Digital I/O-Boards

Imprint Manual ME-94, ME-95, ME-96 Revision 5.1E Revised: 13. Oktober 2011 Meilhaus Electronic GmbH Fischerstraße 2 D-82178 Puchheim/Munich Germany http://www.meilhaus.com © Copyright 2011 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 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. Specifications and instructions are subject to change without notice. Borland Delphi is a trademark of Borland International Inc. Turbo/Borland C is a trademark of Borland International Inc. Visual C++ and Visual Basic are trademarks of the Microsoft Corporation. VEE Pro and VEE OneLab are trademarks of Agilent Technologies. ME-VEC and ME-FoXX are trademarks of Meilhaus Electronic. Other company names and product names found in the text of this manual are also trademarks of the companies involved.

Manual ME-94, ME-95, ME-96

Rev. 5.1E

Table of Contents 1

2

3

4

Introduction...................................................................................................... 5 1.1

Important Notes ..................................................................................... 5 1.1.1 Usage in accordance with the requirements................................... 5 1.1.2 Specialadverse Usage ..................................................................... 6 1.1.3 Unforeseeable Misapplication ....................................................... 6 1.1.4 Warning........................................................................................ 6

1.2

Package Contents.................................................................................... 7

1.3

Features................................................................................................... 8

1.4

System Requirements.............................................................................. 9

1.5

Software Support .................................................................................... 9

Installation...................................................................................................... 11 2.1

Software Installation ............................................................................. 11

2.2

Test Program ........................................................................................ 11

Hardware ........................................................................................................ 13 3.1

Block Diagrams..................................................................................... 13

3.2

Digital-I/O .......................................................................................... 14 3.2.1 External Power Supply ................................................................ 14 3.2.2 Opto-isolated Inputs ............................................................ 15 3.2.3 Opto-isolated Outputs .......................................................... 15

Programming .................................................................................................. 17 4.1

Digital-I/O-Section ............................................................................ 18 4.1.1 Simple Input/Output ................................................................. 18

Appendix ............................................................................................................... 19 A

Specifications ........................................................................................ 19

B

Pinout ................................................................................................... 21 B1 ME-94 ......................................................................................... 21 B2 ME-95 ......................................................................................... 22 B3 ME-96 ......................................................................................... 23 B4 External Power Connector ........................................................... 24

C

Accessories ............................................................................................ 25

D

Technical Questions.............................................................................. 26 D1 Hotline ........................................................................................ 26

Meilhaus Electronic

Page 3

Table of Contents

Rev. 5.1E

Manual ME-94, ME-95, ME-96

D2 D3 E

Service address..............................................................................26 Driver Update ..............................................................................26

Index.....................................................................................................27

Table of Contents

Page 4

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

1

Rev. 5.1E

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. Take the time to carefully examine the contents of the package for any loss or damage that may have occurred during shipping. If there are any items missing or if an item is damaged, contact us immediately. Before you install the board in your computer, we recommend to read this manual carefully, especially the chapter describing board installation.

1.1

Important Notes

1.1.1

Usage in accordance with the requirements The PC boards of the ME-9x series are designed for input (ME-94, ME-96) and output (ME-95, ME-96) of digital signals with a PC. Depending on type the models of the ME-9x series: … have to be installed into a free PCI slot (ME-94/95/96 PCI) or … have to be installed into a free CompactPCI slot (ME-94/95/96 cPCI) For installing a plug-in board please read the manual of your PC. Please follow the notes and the specifications from page 19 on: •

Ensure a sufficient heat conductance from the board in the PC housing.



All unused inputs should be connected to the ground reference of the appropriate functional group. This avoids cross talk between the input lines. We recommend using shielded cables.



The opto-isolated inputs and outputs achieve an electrical isolation of the application relative to PC ground.



Note, that the computer must be powered up, prior connecting signals to the board by the external switching.

Meilhaus Electronic

Page 5

Introduction

Rev. 5.1E

1.1.2

Manual ME-94, ME-95, ME-96



The external connections to the board should only be made or removed in a powered down state of all components.



Ensure that no static discharge occurs when handling the board or when connecting/disconnecting the external cable.



Ensure that the connection cable is properly connected. It must be seated firmly on the D-Sub connector and must be tightened with the both screws, otherwise proper operation of the board can not be guaranteed!

Specialadverse Usage PC plug-in boards for PCI resp. CompactPCI bus may not taken into operation outside of a PC system. Never connect the devices with live parts, especially not with supply. Make sure, that no contact with live parts can happen by the external switching. All connections to the board should only be made or removed in a powered down state.

1.1.3

Unforeseeable Misapplication The device may not be used as children´s toy, in the household or with adverse environment conditions (e.g. outside). Appropriate precautions to avoid unforseeable misapplication have to be taken by the user.

1.1.4

Warning The device was developed and produced in accordance to the EMC low voltage directive 73/23/EWG. When putting the device into operation especially with voltages greater than 42 V please follow the appropriate standards, installation instructions and national safty standards. Meilhaus Electronic GmbH assumes no responsibility for damage in case of faulty installation, operation or handling.

Introduction

Page 6

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

1.2

Rev. 5.1E

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. The package will contain the following items: •

Opto-isolated digital I/O board (depending on the package an PCI or cPCI board of ME-94, ME-95 or ME-96)



Manual in PDF format on CD-ROM (optional as printed version)



Driver software on CD-ROM



For the PCI versions only: DIN connector sourcing the optocoupler´s power.



ME-94 and ME-95: one DB25 female connector ME-96: two DB15 female connectors

Meilhaus Electronic

Page 7

Introduction

Rev. 5.1E

1.3

Manual ME-94, ME-95, ME-96

Features Model Overview Model

IRQ

Inputs

Outputs

ME-94 PCI ME-94 cPCI

*

16 opto-isolated** (24 V)



ME-95 PCI ME-95 cPCI

*



16 opto-isolated (24 V)

ME-96 PCI ME-96 cPCI

*

8 opto-isolated** (24 V)

8 opto-isolated (24 V)

* The interrupt function is not supported by the ME-iDS. ** Input port PC is not supported by ME-iDS.

Table 1: Model overview ME-9x series The ME-9x board family includes opto-isolated digital I/O boards for the PCI and cPCI bus. The same boards on different buses are functionally equivalent, pin compatible, and software compatible. The electrical isolation on the boards prevents interference and high voltages (e. g. voltage peaks on the ground lines) from reaching the PC electronics. The inputs have been designed for a voltage of typical 24 V used in control engineering. Using the ME-iDS you can program the ME-9x series for simple input/output operations.

Introduction



ME-94: 2 x 8 bit input ports



ME-95: 2 x 8 bit output ports



ME-96: 1 x 8 bit input ports, 1 x 8 bit output port

Page 8

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

1.4

Rev. 5.1E

System Requirements The ME-9x can be installed into any PC with Intel® Pentium® processor or compatible computers with a free standard PCI resp. CompactPCI slot (32 bit, 33MHz, 5V). The board is supported by the Meilhaus Intelligent Driver System (ME-iDS) under Windows 2000 or higher and Linux kernel 2.6 or higher.

1.5

Software Support The ME-9x is supported by the Meilhaus Intelligent Driver System (MEiDS). The ME-iDS is a unique driver system covering different devices and operating systems. It supports Windows 2000/XP/Vista and Windows 7 as well as Linux systems with kernel 2.6 and contains an universal function library (API) for all common programming languages. A detailed description of the functions can be found in the ME-iDS manual on the CD/DVD enclosed. Please read also the notes in the appropriate read-me files.

Meilhaus Electronic

Page 9

Introduction

Rev. 5.1E

Introduction

Manual ME-94, ME-95, ME-96

Page 10

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

2

Rev. 5.1E

Installation Please read your computer manual instructions on how to install new hardware components before installing the board.

2.1

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. First choose a directory on your computer (e. g. C:\Temp\Meilhaus\ME-iDS). Use the Meilhaus 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. • Installation under Linux Note the installation instructions included with archive file of the appropriate driver.

2.2

Test Program For simple testing of the board use the appropriate test program provided with the ME-iDS.

Meilhaus Electronic

Page 11

Installation

Rev. 5.1E

Installation

Manual ME-94, ME-95, ME-96

Page 12

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

Rev. 5.1E

3

Hardware

3.1

Block Diagrams

25pin sub D male

V+, GND Optocouplers

8

8

PCI-, cPCIor

PA PIO 8255A

V+, GND Optocouplers

8

8

Businterfacelogic

interface

PB

ME-94

Diagram 1: Block diagram of ME-94

V+, GND Optocouplers

25pin sub D male

8

8

PA

Databuffer and latch

PCI-, cPCIor Businterfacelogic

interface

V+, GND Optocouplers

8

8

PB

ME-95

15pin sub D male

V+, GND

15pin sub D male

Diagram 2: Block diagram of ME-95

GND

8

8

Optocoupler

8

PA

PCI-, cPCIor PIO 8255A

Optocoupler

8

Businterfacelogic

PB

interface

ME-96

Diagram 3: Block diagram of ME-96

Meilhaus Electronic

Page 13

Hardware

Rev. 5.1E

3.2

Manual ME-94, ME-95, ME-96

Digital-I/O The inputs and outputs of the ME-9x series are electrically isolated by optocouplers. There is no electrical connection between the hardware connected to the board and the PC. The inputs and outputs are designed for 24 V level used in control engineering. For programming please read chapter 4.1 "Digital-I/O-Section" on page 18. For pin out diagrams of the connectors, see page 21.

3.2.1

External Power Supply In order to run the ME-9x boards properly, an external power supply is required for the optocouplers. The power supply must be connected to the D-sub connector of the boards (pins „ext. GND“ and „ext. V+“, see chapter "B Pinout" on page 21 ff). Alternativly the external power can be supplied via a low voltage connector (DIN 45323) on the standard PCI versions. The power supply is connected to the „V+“ pins at the D-sub connector(s) on the board. The external supply voltage can be within 20V and 28V, so that small alterations in the voltage will have no effect on the board´s function.

Hardware

Page 14

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

3.2.2

Rev. 5.1E

Opto-isolated Inputs The opto-isolated inputs of the ME-94 and ME-95 are connected to the opto-couplers through resistors Rv. These resistors are sized for a input high level of typical 24 V. For over-voltage protection of the opto-couplers a protection diode is provided. The digital lines must be referenced to the external ground (ext. GND). ext. V+ Opto-isolation

Pxy Rv

+

line diode

typ. 24 V – ext. GND

Diagram 4: Input wiring of ME-94, ME-96

3.2.3

Opto-isolated Outputs The opto-isolated output channels of the ME-95 and ME-96 provide special output drivers. After power-up the outputs are set to a defined, high-impedance state. A reference to external ground (ext. GND) must be done. The output current may not exceed IOut = 100 mA per channel. Opto-isolation

typ. 24 V ext. V+

Signal

+ line diode

– Pxy IOut

RL ext. GND

Diagram 5: Output wiring of ME-95, ME-96

Meilhaus Electronic

Page 15

Hardware

Rev. 5.1E

Manual ME-94, ME-95, ME-96

On all ME-96 versions the input port is always the lower one and the output port the upper one.

Hardware

Page 16

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

4

Rev. 5.1E

Programming For programming the device you find the Meilhaus Intelligent Driver System (ME-iDS) included with your package. The ME-iDS is a unique driver system covering different devices and operating systems. It supports Windows 2000 and higher as well as Linux systems with kernel 2.6 and higher and contains an universal function library (API) for all common programming languages (the extent of the current software support can be found in the readme files of the ME-iDS). A detailed description of the functions can be found in the ME-iDS manual (see CD/DVD enclosed or online under: www.meilhaus.com/download). Further details regarding to the assignment of the subdevices and device specific arguments can be found in the help file (help file format under Windows, *.chm) which can be called 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 menue. If you don´t want to program your board with the ME-iDS you find the last revision of the old function reference in the ME-94/95/96 manual Rev. 4.7 (see: www.meilhaus.com). Please note, that we cannot support this driver anymore.

Meilhaus Electronic

Page 17

Programming

Rev. 5.1E

4.1

Manual ME-94, ME-95, ME-96

Digital-I/O-Section The ME-94 and ME-96 use an 8255 compatible PIO device. Both boards can be exclusively programmed in the operation mode „without interrupt“ (mode 0) of this component. The digital I/O ports on the ME-95 are designed with a simple data buffer (latch). Each digital port of the ME-9x boards is considered to be an independent functional group (subdevice) in the Meilhaus Intelligent Driver System (ME-iDS). The following table shows the assignment of subdevices: Port

Port width

ME-94

ME-95

ME-96

PA0…7

8 bit

Subdevice 0 (ME_TYPE_DI )

Subdevice 0 (ME_TYPE_DO)

Subdevice 0 (ME_TYPE_DI)

PB0…7

8 bit

Subdevice 1 (ME_TYPE_DI )

Subdevice 1 (ME_TYPE_DO)

Subdevice 1 (ME_TYPE_DO )

Table 2: Assignment port to subdevice For switching the digital ports please read chapter 3.2 on page 14.

4.1.1

Simple Input/Output The input/output of single digital values is done in operation mode „Single“. Each digital port is accessed as a unique subdevice of type ME_TYPE_DI resp. ME_TYPE_DO, subtype ME_SUBTYPE_SINGLE. Note the order of operation as described in the ME-iDS manual. The following parameters can be configured by the functions meIOSingleConfig and meIOSingle:

Programming



Subdevice: see table 2.



Port direction: fixed by the hardware.



Port width: bit or byte operation.

Page 18

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

Rev. 5.1E

Appendix A

Specifications PC Interface Bus system (depends on model) Plug & Play

Standard PCI (32 bit, 33 MHz, 5V); CompactPCI (32 bit, 33 MHz, 5V) Automatic assignment of ressources

Digital opto-isolated Inputs (ME-94 and ME-96) Number PIO device Input voltage Input current Electrical isolation Transfer rate

ME-94: 16; ME-96: 8 8255 compatible Low: 0…12 V (PCI, cPCI) High: 13…24 V (PCI, cPCI) at 24 V input voltage PCI, cPCI: 10 mA 500 V DC (referenced to PC-GND) Max. 1 kHz

Digital opto-isolated Outputs (ME-95 and ME-96) Number PIO device Power-up Ext. power supply Output current Electrical isolation Transfer rate

ME-95: 16; ME-96: 8 ME-95: discrete components ME-96: 8255 compatible output transistors disabled, output pins are tristate after power-up 24 V nominal max. 100 mA per line 500 VDC max. 1 kHz symmetrically

General Information Power consumption at +5 V Fuse for external power Physical size (in mm)

Meilhaus Electronic

ME-94 PCI/cPCI: typ. 250 mA ME-95 PCI/cPCI: typ. 400 mA ME-96 PCI/cPCI: typ. 380 mA F1: 1,6 AT/250 V (only ME-95, ME-96) 174 x 98 (PCI models), 100 x 160 (cPCI models)

Page 19

Specifications

Rev. 5.1E

Manual ME-94, ME-95, ME-96 Connectors

Operating temperature Storage temperature Relative humidity

25pin D-Sub male connector (ME-94 and ME-95); 2 x 15pin D-Sub connector (ME-96); 2pin low voltage female connector DIN 45323 (not for cPCI, supply over cPCI slot connector there) 0…70°C -40…100 °C 20…55% (non condensing)

CE Certification EMC Directive Emission Noise immunity

Specifications

89/336/EMC EN 55022 EN 50082-2

Page 20

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

B

Pinout

B1

ME-94

P PB7 O R PB5 T

PB3 PB1 P PA7 O R PA5 T PA3 A PA1 (PC2*) ext. V+ ext. V+ ext. GND ext. GND B

Rev. 5.1E

13 12 25 11 24 10 23 9 22 8 21 7 20 6 19 5 18 4 17 3 16 2 15 1 14

PB6 P O PB4 R PB2 T PB0 B PA6 P O PA4 R PA2 T PA0 A (PC4*) ext. V+ ext. GND ext. GND

Diagram 6: Pinout of 25pin D-Sub male connector for the ME-94 (input port) *Pin not supported by ME-iDS.

Meilhaus Electronic

Page 21

Pinout

Rev. 5.1E

B2

Manual ME-94, ME-95, ME-96

ME-95

P PB7 O R PB5 T

13 12 25 11 24

PB3 PB1 P PA7 O R PA5 T PA3 A PA1 n.c. ext. V+ ext. V+ ext. GND ext. GND

10 23 9 22

B

8 21 7 20 6 19 5 18 4 17 3 16 2 15 1 14

PB6 P O PB4 R PB2 T PB0 B PA6 P O PA4 R PA2 T PA0 A n.c. ext. V+ ext. GND ext. GND

Diagram 7: Pinout of 25pin D-Sub male connector for the ME-95 (output port)

Pinout

Page 22

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

B3

Rev. 5.1E

ME-96 Output Port of the ME-96 (top)

PA7 PA6 P PA5 O R PA4 T PA3 A PA2 PA1 PA0

8 7 6 5 4 3 2

ext. GND ext. GND n.c. n.c. n.c. ext. V+ ext. V+

15 14 13 12 11 10 9

1

Diagram 8: Pinout of 15pin D-Sub male connector for the output port of the ME-96 Input Port of the ME-96 (bottom)

P O R T B

PB7 PB6 PB5 PB4 PB3 PB2 PB1 PB0

8 7 6 5 4 3 2 1

15 14 13 12 11 10 9

ext. GND ext. GND (PC2*) (PC4*) n.c. n.c. n.c.

Diagram 9: Pinout for 15pin D-Sub male connector for the input port of the ME-96 *Pin not supported by ME-iDS.

Meilhaus Electronic

Page 23

Pinout

Rev. 5.1E

B4

Manual ME-94, ME-95, ME-96

External Power Connector … for the optodcouplers (only standard PCI models)

ext. V+ (outside)

ext. GND (inside)

Diagram 10: Low voltage power connector

Pinout

Page 24

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

C

Rev. 5.1E

Accessories Optionally the following products are available: ME-AB-D25F 25pin D-Sub connector block (female) for ME-94 and ME-95 (all versions) ME-AB-D15F 15pin D-Sub connector block (female) for ME-96 (all versions) ME-AK-D25 25pin D-Sub connector cable (male - female), 2 m, for ME-94 and ME95 (all versions) ME-AK-D15 15pin D-Sub connector cable (male - female), 2 m, fõr ME-96 (all versions)

Meilhaus Electronic

Page 25

Accessories

Rev. 5.1E

Manual ME-94, ME-95, ME-96

D

Technical Questions

D1

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: eMail:

+ 49 (0) 89/89 01 66 28 [email protected]

Please give a full description of the problems and as much information as possible, including operating system information.

D2

Service address If a technical error should occur with your device please contact us at the following address: Meilhaus Electronic GmbH Service Department Fischerstraße 2 D-82178 Puchheim/Germany If you want to send back a device to be repaired it is strictly necessary to request for a RMA number and to follow the notes to deal with the RMA process. Please attach a detailed error description of the problem, including information about operating system and application software!

D3

Driver Update The current driver versions for Meilhaus devices and our manuals in PDF format are available under www.meilhaus.com.

Technical Questions

Page 26

Meilhaus Electronic

Manual ME-94, ME-95, ME-96

E

Rev. 5.1E

Index

A

S Accessories 25 Appendix 19 Available Software 11

B Block diagrams 13 C Cable 25 Connector block 25 Connector cable 25

Service and Support 26 Software Support 9 Specifications 19 System Requirements 9 W Warnings 5 Wiring of the opto-isolated outputs 15 the opto-isolated inputs 15

D Digital-I/O Hardware 14 Programming 18 Driver Update 26 E External power 24 External Power Supply 14 F Features 8 H Hardware 13 I Introduction 5 M Model overview 8 O Operation Modes Simple Input/Output 18 Opto-isolated Inputs 15 Opto-isolated Outputs 15 P Package contents 7 Pinout 21 Power supply for optocouplers 14 Programming 17 Digital-I/O 18

Meilhaus Electronic

Page 27

Index