background image

Manual ME-1000

Rev. 1.4E 

Meilhaus Electronic

Page 43

Pinout

B

Pinout     

B1

ME-1000 and ME-1001

The pin configuration of the ME-1000 is identical to the pin con-
figuration of the ME-1001 extension board. On the diagram
shown below, ports A and B on the ME-1000 correspond to ports
C and D on the ME-1001:

Diagram 5: Pinout of the 78pin female D-Sub connector 

on the ME-1000 and ME-1001

P

o

rt

 A (C)

P

o

rt

 B (D)

P

o

rt

 B (D)

59

58

57

56

55

54

53

52

51

50

49

48

47

46

45

44

43

42

41

40

39

38

37

36

35

34

33

32

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

+5 V

+5 V

PB(D)30

PB(D)26

PB(D)22

PB(D)18

PB(D)14

PB(D)10

PB(D)6

PB(D)2

PA(C)30

PA(C)26

PA(C)22

PA(C)18

PA(C)14

PA(C)10

PA(C)6

PA(C)2

Masse

Masse

+5 V

+5 V

PB(D)31

PB(D)27

PB(D)23

PB(D)19

PB(D)15

PB(D)11

PB(D)7

PB(D)3

PA(C)31

PA(C)27

PA(C)23

PA(C)19

PA(C)15

PA(C)11

PA(C)7

PA(C)3

Masse

Masse

78

77

76

75

74

73

72

71

70

69

68

67

66

65

64

63

62

61

60

+5 V

+5 V

PB(D)29

PB(D)25

PB(D)21

PB(D)17

PB(D)13

PB(D)9

PB(D)5

PB(D)1

PA(C)29

PA(C)25

PA(C)21

PA(C)17

PA(C)13

PA(C)9

PA(C)5

PA(C)1

Masse

+5 V

+5 V

PB(D)28

PB(D)24

PB(D)20

PB(D)16

PB(D)12

PB(D)8

PB(D)4

PB(D)0

PA(C)28

PA(C)24

PA(C)20

PA(C)16

PA(C)12

PA(C)8

PA(C)4

PA(C)0

Masse

P

o

rt

 A (C)

Содержание ME-1000 Series

Страница 1: ...Meilhaus Electronic Manual ME 1000 1 4E PCI and CompactPCI Versions 64 128 Channel TTL Digital I O Board Fischerstraße 2 82178 Puchheim http www meilhaus de ME 1000 ME 1000 ...

Страница 2: ... 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 as sumes no responsibility for any problems or damage which may result from errors or omissions Specifications and instructions are subject to change without no tice IBM and IBM PC AT XT are trademarks of the International Business Machines IBM Corp...

Страница 3: ...sistors 13 4 Programming 17 4 1 High Level Language Programming 17 4 1 1 Order of Operation 17 4 1 2 Example Programs 18 4 2 Agilent VEE Programming 18 4 2 1 User Objects 18 4 2 2 Example Programs 19 4 2 3 The ME Board Menu 19 4 3 LabVIEW Programming 20 4 3 1 Virtual Instruments 20 4 3 2 Example Programs 20 5 Function Reference 21 5 1 General 21 5 2 Naming Conventions 21 5 3 Description of the API...

Страница 4: ...Rev 1 4E Manual ME 1000 Table of Contents Page 4 Meilhaus Electronic D Technical Questions 45 D1 Hotline 45 D2 Service address 45 D3 Driver Update 45 E Index 47 ...

Страница 5: ...all the board in your computer read this manual carefully especially the chapter describing board installation The PCI and CompactPCI boards are fully Plug Play compatible There are no jumpers or switches to be set 1 1 Package contents We take great care to make sure that the package is complete in every way We do ask that you take the time to examine the con tents of the box Your box should consi...

Страница 6: ...ich can be indepen dently configured as input or output and whose states can also be read in The ME 1000 64 can be expanded to be a 128 channel version at any time by using the ME 1001 extender board 1 3 System Requirements The ME 1000 can be installed into any computer with an Intel Pentium or compatible computer with a free standard PCI resp CompactPCI slot Model Bus TTL Digital I Os ME 1000 64 ...

Страница 7: ...e README files System Drivers For all common operating systems see README files ME Software Developer Kit ME SDK Support for all common pro gramming languages demos tools und test programs Graphical programming tools Meilhaus VEE Driver System for HP VEE V 4 0 or higher HP VEE Lab Agilent VEE Pro and Agilent VEE OneLab Driver System for LabVIEW 4 0 or higher ...

Страница 8: ...Rev 1 4E Manual ME 1000 Introduction Page 8 Meilhaus Electronic ...

Страница 9: ... board Choose an directory on your computer e g C temp Now insert the board into your computer and then install the driver software This order of operation is important to guarantee the Plug Play operation under Windows 95 98 Me 2000 XP Windows 95 and NT 4 0 need an analogous order of operation however the installation procedure differs slightly If the Windows version is supported by the appropria...

Страница 10: ...Rev 1 4E Manual ME 1000 Installation Page 10 Meilhaus Electronic ...

Страница 11: ...ub D jack completly and must be fixed with the both screws Other wise a perfect running of the board can not be guaranteed All unused input channels should be grounded to avoid crosstalk Important Note The external connections to the board should only be made or removed in a powered down state For the pin configuration of the 78pin female D Sub see Pinout on page 43 Bus Interface Logic PCI or cPCI...

Страница 12: ...age 13 3 4 Switching of Input Output Lines The ports are divided as follows Port A PA0 PA31 and Port B PB0 PB31 are available on the base board s D Sub 78pin connector Additionally for the ME 1000 128 Port C PC0 PC31 and Port D PD0 PD31 are available on the ME 1001 extender board s D Sub 78pin connector Make sure that all signals connected to the board are within the TTL signal level specification...

Страница 13: ...n power up all ports are set as input and are in a high impe dance state without an external switching Depending on the application it may be necessary to set the I O lines in a defined state on power up by using pull up or pull down resistors The design of the ME 1000 allows these to be placed directly on the base board for all 64 resp 128 lines as required Resistor arrays of 4 7 kΩ recommended c...

Страница 14: ...ll down the common pin is put in the hole marked with a symbol see Diagram 3 and Diagram 4 Warning Take care to protect the board against static discharges by ma king sure you are grounded before handling the board Diagram 3 Position of the resistor arrays ME 1000 PCI Port Array No Port A RN9 11 12 15 Port B RN2 13 14 16 Port C RN1 3 4 6 Port D RN5 7 8 10 Table 2 Assignment of resistor arrays ME 1...

Страница 15: ...E Meilhaus Electronic Page 15 Hardware Diagram 4 Position of the resistor arrays ME 1000 cPCI Fischerstraße 2 82178 Puchheim http www meilhaus de ME 1000 RN1 RN6 RN3 RN4 RN8 RN7 RN10 RN5 RN14 RN16 RN13 RN2 RN15 RN12 RN9 RN11 ...

Страница 16: ...Rev 1 4E Manual ME 1000 Hardware Page 16 Meilhaus Electronic ...

Страница 17: ...rm of predefined constants As an alternative you can pass the matching Hex value at any time 4 1 1 Order of Operation After successful configuration all input and output operations can be used in any order It is important to note that the configuration for input and output operations must be done before any I O operation can begin Basically after every function call an error check by the function ...

Страница 18: ...tware Developer Kit ME SDK which is installed to directory C Meilhaus me sdk by default Please read the notes in the appropriate README files 4 2 Agilent VEE Programming The Agilent VEE components for your board are included with the ME Power CD or for download under www meilhaus com The Meilhaus VEE Driver System supports the HP VEE full versi ons 4 x and 5 x HP VEE Lab Agilent VEE Pro and Agilen...

Страница 19: ...ses and for easier understanding demo programs using the important UOs have been written They can be called by the menu item ME Board Demos The VEE demo programs contain partial additions to the normal UOs and for differentiation from the normal UOs the prefix x in their file name is used 4 2 3 The ME Board Menu The installation program automatically expands the VEE menu by the ME Board entry It e...

Страница 20: ...ed in the LabVIEW development environment They can be placed and wired in your appli cati on the same as standard LabVIEW objects The source VIs are self descriptive and based on the API functions documented in the chapter Function Reference Ad ditionally there are some Expanded Virtual Instruments for ma king programming as easy as possible for you A short description of every VI is also availabl...

Страница 21: ... accesses a ME 1000 board requires an integer value for identification of the board In the following description of the functions this para meter is referred to as iBoardNumber Specifing the proper board keep the following in mind Value range 0 31 Value for the 1st board 0 Value for the 2nd board 1 Value for nth board n 1 5 2 Naming Conventions These functions were written specifically for the ME ...

Страница 22: ...n and in font Courier variables will indicate a predefined constant and will be written in italic text and in brackets as shown square brackets will indicate optional variables FILE NAMES or PATHS will be capitalized in font Courier me1000 parts of programs will be in Courier type To identify data types the following letters will be used i or dw 32 bit integer value s or w 16 bit short value c or ...

Страница 23: ...led infos of the board 24 me1000GetDLLVersion Determine DLL version number 26 me1000GetDriverVersion Determine driver version 27 me1000GetSerialNumber Determine serial number 27 Digital Input Output me1000DIOSetPortDirection Port Richtung definieren 28 me1000DIGetBit Read bit 29 me1000DIGetByte Read byte 8 bit 30 me1000DIGetWord Read word 16 bit 31 me1000DIGetLong Read longword 32 bit 33 me1000DIO...

Страница 24: ...etBoardVersion 8 ByVal iBoardNumber As Long iVersion As Long As Long Parameters BoardNumber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 Version Pointer to an integer value where the device ID is returned Possible values 100AHex ME 1000 64 100BHex ME 1000 128 Return value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The...

Страница 25: ... nth n 1 see also page 21 pDevInfo Structure which returns detailed information of the board dwBoardNumber board number of selected board dwVendorID PCI vendor ID 1402Hex for ME boards dwDeviceID PCI device ID dwSystemSlotNumber PCI slot number the selected board is plugged into dwPortBase Base address of ME register set dwPortCount Number of address locations occupied by ME re gister set dwPortBa...

Страница 26: ... function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function me1000GetDrvErrMess Description Function is used for ME 1000 64 and ME 1000 128 Determines the version number of the driver DLL Definitions C int me1000GetDLLVersion void Delphi Function me1000GetDLLVersion integer Basic Declare Function me1000GetDLLVersi...

Страница 27: ...ion Pointer to a integer value containing the driver version Return value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function me1000GetDrvErrMess Description Function is used for ME 1000 64 and ME 1000 128 Determines the serial number of the chosen ME 1000 Definitions C int me1000GetSerialNumber int ...

Страница 28: ...ME 1000 64 and ME 1000 128 Port C and D only for ME 1000 128 Configures a digital port as input or output Important Note This function must be called for each port before any digital I O operation can take place Definitions C int me1000DIOSetPortDirection int iBoardNumber int iPortNo int iDir Delphi Function me1000DIOSetPortDirection iBoardNumber iPortNo iDir integer integer Basic Declare Function...

Страница 29: ... the function me1000GetDrvErrMess Description Function is used for ME 1000 64 and ME 1000 128 Port C and D only for ME 1000 128 Returns the state of the selected input line Important Note To properly configure the port the function me1000DIOSetPortDirection must first be called for the selected port Definitions C int me1000DIGetBit int iBoardNumber int iPortNo int iBitNo int piBitValue Delphi Func...

Страница 30: ...e state of the selected input line possible values are 0 line set to low level 1 line set to high level Return value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function me1000GetDrvErrMess Description Function is used for ME 1000 64 and ME 1000 128 Port C and D only for ME 1000 128 Read in a byte fro...

Страница 31: ...it port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit port D ByteNo Selection of the byte within a 32 bit word possible are ByteNo 8 bit word BYTE_0 00Hex Px0 Px7 BYTE_1 01Hex Px8 Px15 BYTE_2 02Hex Px16 Px23 BYTE_3 03Hex Px24 Px31 ByteValue Pointer to an integer value where the byte is read into Only the lower 8 bits are significant Return value If the function is succes...

Страница 32: ...al lWordNo As Long ByRef lWordValue As Long As Long Parameters BoardNumber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 PortNo Selection of port Port Port PORTA 00Hex 32 bit port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit port D WordNo Selection of the 16 bit word within the 32 bit word possible are WordNo 16 bit word WORD_0 00Hex Px0 P...

Страница 33: ...piValue integer integer Basic Declare Function me1000DIGetLong Lib me1000 Alias _VBme1000DIGetLong 12 ByVal lBoardNumber As Long ByVal lPortNo As Long ByRef lValue As Long As Long Parameters BoardNumber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 PortNo Selection of port Port Port PORTA 00Hex 32 bit port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 0...

Страница 34: ...mber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 Return value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with the function me1000GetDrvErrMess Description Function is used for ME 1000 64 and ME 1000 128 Port C and D only for ME 1000 128 Sets the state of a selected output line...

Страница 35: ...it port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit port D BitNo Number of the selected output line to be set Pos sible are BitNo Bit number BIT_0 31 00 1FHex 0 31 BitValue Possible values are 0 bit is set to low level 0 bit is set to high level Return value If the function is successfully executed a 1 is returned If an error occurs a 0 is returned The cause of the error can be determined with ...

Страница 36: ...lso page 21 PortNo Selection of port Port Port PORTA 00Hex 32 bit port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit port D ByteNo Select the byte within the 32 bit word possible are ByteNo 8 bit word BYTE_0 00Hex Px0 Px7 BYTE_1 01Hex Px8 Px15 BYTE_2 02Hex Px16 Px23 BYTE_3 03Hex Px24 Px31 ByteValue Output value possible values are 00Hex FFHex 0 256 Return value If the fu...

Страница 37: ...o As Long ByVal lWordNo As Long ByVal lWordValue As Long As Long Parameters BoardNumber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 PortNo Selection of port Port Port PORTA 00Hex 32 bit port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit port D WordNo Select between lower and upper word within a 32 bit word possible are WordNo 16 bit word ...

Страница 38: ...er integer Basic Declare Function me1000DOSetLong Lib me1000 Alias _VBme1000DOSetLong 12 ByVal lBoardNumber As Long ByVal lPortNo As Long ByVal lValue As Long As Long Parameters BoardNumber Board number for ME 1000 to be accessed 1st 0 2nd 1 nth n 1 see also page 21 PortNo Selection of port Port Port PORTA 00Hex 32 bit port A PORTB 01Hex 32 bit port B PORTC 02Hex 32 bit port C PORTD 03Hex 32 bit p...

Страница 39: ... error error code 0 Definitions C int me1000GetDrvErrMess char pcErrortext int iBufferSize Delphi Function me1000GetDrvErrMess Var errortext errorstring iBufferSize integer integer Basic Declare Function me1000GetDrvErrMess Lib me1000_32 Alias _VBme1000GetDrvErrMess 4 ByVal errortext As String ByVal iBufferSize As Long As Long Parameters Errortext Pointer to a string the return value is the error ...

Страница 40: ...Rev 1 4E Manual ME 1000 Function Reference Page 40 Meilhaus Electronic ...

Страница 41: ... 2 4 V IOH 4 mA Output current per channel IOLmax 20 mA IOHmax 4 mA Attention Total power consumption must not be exceeded see Switching of Input Output Lines on page 12 General Information Max load of the 5 V pins 19 20 38 39 58 59 77 78 max 500 mA 5 V Power consumption at 5 V typ 1 2 A without ext load Physical size ME 1000 PCI 136 x 107 mm without mounting bracket ME 1000 cPCI and connector Com...

Страница 42: ...Rev 1 4E Manual ME 1000 Specifications Page 42 Meilhaus Electronic CE Certification EMC Directive 89 336 EMC Emission EN 55022 Noise immunity EN 50082 2 ...

Страница 43: ...8 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 5 V 5 V PB D 30 PB D 26 PB D 22 PB D 18 PB D 14 PB D 10 PB D 6 PB D 2 PA C 30 PA C 26 PA C 22 PA C 18 PA C 14 PA C 10 PA C 6 PA C 2 Masse Masse 5 V 5 V PB D 31 PB D 27 PB D 23 PB D 19 PB D 15 PB D 11 PB D 7 PB D 3 PA C 31 PA C 27 PA C 23 PA C 19 PA C 15 PA C 11 PA C 7 PA C 3 Masse Masse 78 77 76 75 74 73 72 71 70 69 68 67 66...

Страница 44: ...ssories Page 44 Meilhaus Electronic C Accessories Optionally the following products are available ME AB D78M 78pin D Sub connector block male for ME 1000 and ME 1001 ME AK D78 78pin D Sub cable male female 2 m for ME 1000 ME 1001 ...

Страница 45: ...ating system information D2 Service address We hope that your board will never need to be repaired If this should become necessary please contact us at the following address Meilhaus Electronic GmbH Service Department Fischerstraße 2 D 82178 Puchheim Germany If you would like to send a board to Meilhaus Electronic for re pair please do not forget to add a full description of the pro blems and as m...

Страница 46: ...Rev 1 4E Manual ME 1000 Technical Questions Page 46 Meilhaus Electronic ...

Страница 47: ...etDriverVersion 27 me1000GetDrvErrMess 39 me1000GetSerialNumber 27 A Accessories 44 Appendix 41 B Block Diagram 11 C Connector block 44 Connector cable 44 Connectors 43 D Description of the API Functions 23 Digital I O me1000DIGetBit 29 me1000DIGetByte 30 me1000DIGetLong 33 me1000DIGetWord 31 me1000DIOReset 34 me1000DIOSetPortDirection 28 me1000DOSetBit 34 me1000DOSetByte 35 me1000DOSetLong 38 me1...

Страница 48: ...ming 20 Virtual Instruments 20 M ME Board Menu 19 Model Overview 6 O Operation Modes 12 P Package contents 5 Pinout 43 Programming order of operation 17 under High Level Languages 17 under LabVIEW 20 under VEE 18 S Service and Support 45 Software available 7 Specifications 41 Switching of input output lines 12 System Requirements 6 T Technical Questions 45 Test Program 9 V VEE Example Programs 19 ...

Отзывы: