background image

 

 

 
  

 

Meilhaus Electronic Manual 

ME-90/9000/9100/9300 Series

 

3.0E

 

(PCI-, PCI-Express-, PC/104-Plus- and  

CompactPCI-Versions) 

 

RS-232 or RS-422/485 Interface Boards with up 

to 16 Ports (optional: Opto-Isolation) 

 

Summary of Contents for ME-90 Series

Page 1: ...Meilhaus Electronic Manual ME 90 9000 9100 9300 Series 3 0E PCI PCI Express PC 104 Plus and CompactPCI Versions RS 232 or RS 422 485 Interface Boards with up to 16 Ports optional Opto Isolation...

Page 2: ...he 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 pat...

Page 3: ...e 2000 XP 15 2 2 3 Checking Installation under Windows 16 2 2 4 Installation under Windows NT 4 0 18 2 2 5 Checking the Installation under Windows NT 4 0 18 2 2 6 Installation of the ME Software Devel...

Page 4: ...5 2 Assignment of the PCI Slots 43 3 5 5 3 Configuration of RS 422 485 Ports 43 3 5 5 4 Echo ON OFF 45 3 6 Connection Options 46 3 6 1 Dual Quad Octopus Cables 46 3 6 2 Flat Ribbon Cable to 9 pin D Su...

Page 5: ...Naming Conventions 69 5 3 Description of the API Functions 70 5 3 1 Error Handling 72 5 3 2 General Functions 76 5 3 3 Digital Input Output 80 5 3 4 Counter Functions 91 Appendix 100 A Specification 1...

Page 6: ...B10 Null Modem Cable 113 C Accessories 114 D Technical Questions 116 D1 Hotline 116 E Constant Definitions 117 F Index 119...

Page 7: ...press and CompactPCI versions of the ME 9000 series if not otherwise noted 1 1 Important Notes 1 1 1 Use in Accordance with the Requirements The PC boards of the ME series are designed for acquisition...

Page 8: ...ed with both screws otherwise proper operation of the board cannot be guaranteed 1 1 2 Improper Application PC plug in boards for the PCI PCI Express or CompactPCI bus may not be taken into operation...

Page 9: ...CIe cPCI Additional mounting bracket for DIO port with flat ribbon cable to 25 pin D Sub female connector for PCI PCIe ME AK D25F S resp CompactPCI slot ME 90 PC 104 Plus Flat ribbon cable for DIO por...

Page 10: ...perature range The UARTs are register compatible with the 16550 and provide an integrated 64 byte transmit and receive FIFO for each port The board allows transfer rates up to 921 6 kBd There are vers...

Page 11: ...mit and receive FIFO The ports are opto isolated by default i versions ME 9300 Models Serial Ports ME 9300 16 RS232 PCI 16 RS 232 ports up to 921 6 kBd The ME 9300 is a multi port RS 232 interface boa...

Page 12: ...bus signals CLK IDSEL and INT0 is done by jumpers The ME 90 PC 104 Plus adapts itself automatically to the level at the PCI bus of 3 3 V or 5 V Universal PCI With its extended temperature range from...

Page 13: ...programming language that supports access to Win32Com API e g Visual C Delphi Graphical programming languages i e HP VEE HP VEE Lab Agilent VEE Pro Agilent VEE OneLab LabView no extra driver necessary...

Page 14: ...re Installation The following chapter also applies to the installation of PC 104 Plus boards Please read your computer s manual instructions on how to install new hardware components Basically use the...

Page 15: ...ters Navigate to the appropriate archive file e g Drive InstallWindows Serial me 9x00 win9x me9x00vxd exe and unpack the driver software by double clicking the archive file Enable the option Overwrite...

Page 16: ...the installation by OK o The driver will be installed o The currently installed board will be added to the device manager under Multi function Adapter Windows 95 98 Me resp Multi port Serial Adapter W...

Page 17: ...Your new board was assigned to the device class Other Components This could happen when installing Windows when a new board is plugged in the computer or if the installation was cancelled depending o...

Page 18: ...indows NT 4 0 The proper entries for the memory range and interrupt can be checked in Windows NT Diagnostics under Resources 2 2 6 Installation of the ME Software Developer Kit The ME Software Develop...

Page 19: ...operty page Driver in the device manager and click on the button Update Driver The Device Driver Wizard will be started Choose the option Specify a location and click on Browse Choose the source for t...

Page 20: ...ts and to change the settings Choose START Menu Settings System Control System Device Manager The ports of the ME 9100 9300 will be added under Ports COM LPT and the COM ports automatically assigned I...

Page 21: ...t Exception board specific parameters like the operation mode see 2 3 1 2 Settings Advanced Therefore check the transfer parameters in your application program e g Hyper Terminal The following setting...

Page 22: ...tem there is the possibility to set the trigger level for reading resp writing the FIFO When the trigger level is matched an interrupt occurs For most applications the default setting is useful 2 3 2...

Page 23: ...rk the appropriate port in the device manager under Ports see picture 4 and click the button Properties to display the settings 2 3 2 1 Port Settings For most of the application programs the Port Sett...

Page 24: ...picture 5 offers you the ability to set the operation mode of RS422 485 ports see chap 3 7 Operation Modes and the FIFO trigger level Every port provides separate transmit and receive FIFOs Each of t...

Page 25: ...ports by the pull down menu COM Port Number 2 3 3 under Windows NT 4 0 The assignment of COM ports is done automatically by the operation system Under Control Panel double click the icon ME SIO Ports...

Page 26: ...econd one with 4 RS 485 ports You get the following information Beginning from the left side the name is displayed which refers to the port followed by the assignment of the port number to the board t...

Page 27: ...64 bytes ME 9000 and ME 90 PC 104 Plus resp 128 bytes ME 9100 9300 For adaption to your system there is the possibility to set the trigger level for reading resp writing the FIFO When the trigger leve...

Page 28: ...Terminal The following settings are possible Bits per Second depending on board version all settings selectable in Windows up to 921 6 kbps see also appendix A Specifications page 101 Data bits 4 5 6...

Page 29: ...am ME 9000 2 4 or 8 RS 232 and or RS 422 485 ports depending on version Optional i models with a common electrical insulation from PC ground p models with electrical insulation from PC ground and betw...

Page 30: ...3 2 Block Diagram ME 9100 2 4 or 8 RS 232 and or RS 422 485 ports depending on version...

Page 31: ...3 3 Block Diagram ME 9300 8 or 16 RS 232 ports depending on version...

Page 32: ...3 4 Block Diagram ME 90 PC 104 Plus 8 RS 232 ports or 8 RS 422 485 ports or mixed 4 RS 232 and 4 RS 422 485 ports depending on version...

Page 33: ...EXAR XR17D158 chip can be used for customer specific extensions The 26 pin IDC connector ST2 provides VCC depending on model 5 V or 3 3 V PC ground GND_PC 8 multi I O pins MIO_x and the clock input T...

Page 34: ...signal The reception becomes disabled during transmission The position of the soldering bridges can be found with picture 17 PCI picture 19 PCIe resp picture 21 cPCI Alternatively you can send your bo...

Page 35: ......

Page 36: ......

Page 37: ......

Page 38: ......

Page 39: ...3 5 2 ME 9100 PCI...

Page 40: ...3 5 3 ME 9100 CompactPCI...

Page 41: ...of ports you need one terminal panel for the ME 9300 8 resp two for the ME 9300 16 They are provided with either 9 pin D Sub male connectors or 8 pin RJ 45 female connectors RS 232 Rocket Port pinout...

Page 42: ...lus the multi I O port of the EXAR XR17D158 chip can be used for customer specific extensions The 20 pin IDC connector ST3 provides VCC 5 V PC ground GND_PC 8 multi I O pins MIO_x and the clock input...

Page 43: ...of the ME 90 PC 104 Plus series the port configuration is done individually by the jumpers shown in picture 31 The assignment to the single ports is shown in picture 28 You have the following configur...

Page 44: ...COM5 8 is rotated by 180 compared to COM1 4 On demand these jumpers can be plugged in the operation mode RS 485 half duplex They enable a comfortable connection of RxD and TxD signal without external...

Page 45: ...up Echo ON Set the soldering bridge ON and the receiver listens permanently default setting Echo OFF Set the soldering bridge OFF to control the receiver by the RTS resp DTR signal The reception becom...

Page 46: ...as a standard see B Pinout in Appendix B 3 6 2 Flat Ribbon Cable to 9 pin D Sub Connectors Two flat ribbon cables each with 4 x 9 pin D Sub male connectors ME AK 4D9M are included with the ME 90 PC 10...

Page 47: ...ME AB D9 8 78 ME AK D78 1 Octo terminal panel in a closed box from 78 pin D Sub male connector to 8 x 9 pin D Sub male connectors Suitable connection cable ME AK D78 1 1 m from 78 pin D Sub male conne...

Page 48: ...ME AK D78 1 1 m from 78 pin D Sub male connector to 78 pin D Sub female connector ME AB RJ45 8x8 V ME AK D78 VHDCI Octo terminal panel in a closed box from 78 pin D Sub male connector to 8 x 8 pin RJ...

Page 49: ...able connection cable ME AK D78 VHDCI 1 m from 78 pin D Sub male connector to 68 pin VHDCI female connector Note Not suitable for ME 9000p 3 6 4 Terminal Panel for ME 9300 2 x ME AB D9 8 V 2 x VHDCI c...

Page 50: ...D Sub male connectors Connection via 1 1 VHDCI cable 1 m Terminal panel and cable are required twice 2 x ME AB RJ45 8x8 V 2 x VHDC cable Octo terminal panel in a closed box from 68 pin VHDCI connecto...

Page 51: ...68 pin VHDCI connector to 8 x 8 pin RJ 45 female connectors Connection via 1 1 VHDCI cable 1 m Terminal panel and cable are required twice ME AB D9 16 V 2 x VHDCI cable 16 port terminal panel for 19...

Page 52: ...serial standard interface e g for data transfer between computers and terminals A distinction is drawn between DTE Data Terminal Equipment and DCE Data Communication Equipment Terminals printers and c...

Page 53: ...d by the modem when it receives a remote carrier and remains asserted for the duration of the link DTR Data Terminal Ready This line enables but does not cause the modem to switch onto the line In ori...

Page 54: ...t the transfer rate decreases with increasing cable length See the following Picture to calculate the max transfer rate max 921 6 kBd depending on board version in dependency of cable length max 1200...

Page 55: ...the driver Under Linux the transmitter must be controlled by the user with the RTS resp DTR signal as wanted logical 0 sets the transmitter driving 3 7 2 1 1 ME 9000 Controlling the receiver echo ON...

Page 56: ...one twisted pair wire This feature is provided by the ability of the line drivers to be set in high impedance state besides low and high Note that only one transmitter can be active at any given time...

Page 57: ...ring bridge to the requirements of your application if necessary see also page 33 Factory setting echo ON 3 7 2 2 2 ME 9100 Depending on your needs you have the possibility to remove the echo of the t...

Page 58: ...umpers see picture 31 on page 45 no external bridging required 3 7 2 3 RS 485 full duplex In RS 485 full duplex operation mode data can be sent and received over two twisted pair wires at the same tim...

Page 59: ...7 2 3 1 ME 9000 Controlling the receiver echo ON OFF can be adapted by a soldering bridge to the requirements of your application if necessary see also page 33 Factory setting echo ON 3 7 2 3 2 ME 910...

Page 60: ...l by jumper see picture 31 on page 44 Controlling the receiver echo ON OFF can be adapted by a soldering bridge to the requirements or your application if necessary see picture 32 on page 45 Factory s...

Page 61: ...function reference can be found in chapter 5 on page 69 The system driver consists of the following components WDM driver me9000mio sys for Windows 98 Me 2000 XP Kernel driver me9000mio sys for Windo...

Page 62: ...nd the datatype of single parameters Please note the file me9000mio bas included with the ME SDK Instead of the standard API me9000mio dll you have to use the specific API me9000mioEx dll Missing para...

Page 63: ...104 Plus can be accessed as serial standard interfaces The digital I O and counter functions are not supported in VEE For basics of Lab VIEWTM programming please use your LabVIEWTM documentation and...

Page 64: ...Bit becomes an edge triggered interrupt input Condition is that the bit will be configured as input The interrupt is directly forwarded to the system All enabled interrupt bits initiate one common in...

Page 65: ...pin MIO_0 provides a special function If wanted you can use it to output a counter event In that case the bit may not be switched as an input because of it becomes an output automatically If the board...

Page 66: ...n single shot and retrigger mode In single shot mode counting will be ended on reaching 0 in the retrigger mode the start value will be reloaded into the counter In that case the counting operation wi...

Page 67: ...damaged no guarantee can be given ClockSource Choose between internal clock 14 7456MHz or external clock by pin TMRCK Interrupt On zero axis crossing the counter interrupt IRQ CNT will be triggered Th...

Page 68: ......

Page 69: ...numbers after installation of the boards Tip Verify the assignment of Board Number and serial number at the beginning of your program see function 5 2 Naming Conventions The API functions of the ME90...

Page 70: ...72 5 3 2 General Functions on page 76 5 3 3 Digital Input Output on page 80 5 3 4 Counter Functions on page 91 Function Short Description Page Error Handling me9000mioErrorGetMessage Assign error str...

Page 71: ...unction Short Description Page me9000mioDIOOutput Set output in a high impedance state 86 me9000mioDIOReset Reset the digital I O section 87 me9000mioDIOSetBit Setting one bit 88 me9000mioDIOSetByte S...

Page 72: ...unsigned int uiBufferSize VB me9000mioVB_ see me9000mio bas Parameter ErrorCode The error number caused by the API function Buffer Pointer to the error description text BufferSize Buffer size in bytes...

Page 73: ...rSize VB me9000mioVB_ see me9000mio bas Parameter Buffer Pointer to the error description text BufferSize Buffer size in bytes for the error description text max 256 characters Return value If the fun...

Page 74: ...ErrorSetUserProc Definitions VC me9000mioErrorSetDefaultProc int iDefaultProcStatus VB me9000mioVB_ see me9000mio bas Parameter DefaultProcStatus ME9000MIO_ERROR_DEFAULT_PROC_ENABLE Installing the pre...

Page 75: ...ROR_PROC char pcFunctionName int iErrorCode VC me9000mioErrorSetUserProc ME9000MIO_P_ERRORP ROC pErrorProc VB me9000mioVB_ see me9000mio bas Parameter ErrorProc Pointer to an error routine The name of...

Page 76: ...00mioVB_ see me9000mio bas Parameter none Return value If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause o...

Page 77: ...If an error occurs an error code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioGetDLLVersion Description ME 9000 ME 9100 ME 9300 ME 9...

Page 78: ...100 ME 9300 ME 90 PC 104 Plus Determines the version number of the driver Definitions VC me9000mioGetDriverVersion unsigned long pulVersion VB me9000mioVB_ see me9000mio bas Parameters Version Pointer...

Page 79: ...pulSerialNumber VB me9000mioVB_ see me9000mio bas Parameters Version Number of the board to be accessed of type ME 9000 Serial Number Pointer to a value containing the serial number Return value If t...

Page 80: ...ardNumber Number of the board to be accessed of type ME 9000 Return value If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is r...

Page 81: ...ber Number of the board to be accessed of type ME 9000 BitNumber Choose multi I O bit o ME9000MIO_DIO_LINE_0 MIO_0 o ME9000MIO_DIO_LINE_1 MIO_1 o ME9000MIO_DIO_LINE_2 MIO_2 o ME9000MIO_DIO_LINE_3 MIO_...

Page 82: ...can be determined with the functions for error handling me9000mioDIOGetBit Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus This function returns the state of the specified bit Outputs can be re...

Page 83: ...e is low 1 input line is high Return value If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause of the error...

Page 84: ...ecuted a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioDIOGetIrqCou...

Page 85: ...ue If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause of the error can be determined with the functions for...

Page 86: ...the high impedance state which was configured as output by the function Definitions VC me9000mioDIOOutput unsigned int uiBoardNumber unsigned int uiBitNumber int iOutputMode VB me9000mioVB_ see me9000...

Page 87: ...error code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioDIOReset Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus All the mult...

Page 88: ...This function sets the state of the specified output bit Note The ports must be configured with the function first Definitions VC me9000mioDIOSetBit unsigned int uiBoardNumber unsigned int uiBitNumbe...

Page 89: ...s an error code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioDIOSetByte Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus Writes...

Page 90: ...or code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioDIOSetCallback Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus Function t...

Page 91: ...d The cause of the error can be determined with the functions for error handling 5 3 4 Counter Functions me9000mioDIOCntClose Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus This function closes...

Page 92: ...ng either an interrupt can be triggered and or the multi I O bit MIO_0 can output a counter event You can choose between Single Shot and Retrigger mode In Single Shot mode the counter stops at 0 in Re...

Page 93: ...clock by pin TMRCK o ME9000MIO_CNT_CLOCK_INTERNAL internal clock o ME9000MIO_CNT_CLOCK_EXTERNAL external clock Interrupt On zero axis crossing an interrupt IRQ CNT can be triggered The interrupt is d...

Page 94: ...ossible to determine relative to a previous call up whether an interrupt occurred or not Definitions VC me9000mioCntGetIrqCount unsigned int uiBoardNumber unsigned long pulCount VB me9000mioVB_ see me...

Page 95: ...accessed of type ME 9000 Return value If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause of the error can b...

Page 96: ...n error occurs an error code unequal to 0 is returned The cause of the error can be determined with the functions for error handling me9000mioCntReset Description ME 9000 ME 9100 ME 9300 ME 90 PC 104...

Page 97: ...t Description ME 9000 ME 9100 ME 9300 ME 90 PC 104 Plus Starts counting down in the chosen mode see Definitions VC me9000mioCntStart unsigned int uiBoardNumber VB me9000mioVB_ see me9000mio bas Parame...

Page 98: ...f the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code unequal to 0 is returned The cause of the error can be determined with the functions for err...

Page 99: ...9000 Value 16 bit start value for counter value range 0 65535 0000Hex FFFFHex Return value If the function is successfully executed a 0 ME9000MIO_NO_ERROR is returned If an error occurs an error code...

Page 100: ...us Number of ports RS 232 RS 422 485 ME 9000 2 4 or 8 RS 232 RS 422 485 ME 9100 4 or 8 RS 232 RS 422 485 ME 9300 16 RS 232 ME 90 PC 104 Plus 8 RS 232 RS 422 485 Type ME 9000 and ME 90 PC 104 Plus Octo...

Page 101: ...2 V logical 1 typ 5 4 V 13 2 V U 5 V Voltage level for input signals RxD logical 0 3 V U 25 V logical 1 25 V U 3 V ESD protection up 15 kV IEC 1000 Electrical isolation for i versions up to 500 V for...

Page 102: ...trigger Clock source internal external Internal Oscillator crystal oscillator 14 7456 MHz 100 ppm Ext clock input TMRCK Interrupt IRQ CNT must be enabled Reference to GND PC ground GND_PC General Info...

Page 103: ...emale connectors Connection ME 90 PC 104 Plus Bus connectors for PCI and ISA bus ISA bus looped through only 2 x 40 pin IDC connectors with 90 angle incl 2 flat ribbon cables with each 4 x 9 pin D Sub...

Page 104: ...fferent pinout of the RS 232 and RS 422 485 ports The MIX versions provide RS 232 as well as RS 422 485 ports The RS 232 ports occupy always the lower significant ports followed by the RS 485 ports B1...

Page 105: ...B2 ME 9000 9100 RS 422 485 see note on page 111...

Page 106: ...B3 ME 9300 RS 232 Pinout is valid for both VHDC connectors connector A lower connector B upper The numbers in brackets describe the port numbers of connector B...

Page 107: ...1 or 5 RTS Output reserved 5 1 or 5 TxD Output TxD Output 6 1 or 5 CTS Input reserved 7 1 or 5 DTR Output TxD Output 8 1 or 5 RI Input reserved 9 1 or 5 GND Mass GND Mass 10 1 or 5 5 V VCC n c 11 2 or...

Page 108: ...or 7 CTS Input reserved 27 3 or 7 DTR Output TxD Output 28 3 or 7 RI Input reserved 29 3 or 7 GND Mass GND Mass 30 3 or 7 5 V VCC n c 31 4 or 8 DCD Input RxD Input 32 4 or 8 DSR Input reserved 33 4 or...

Page 109: ...25F S Adapter cable from 20 pin IDC connector to mounting bracket with 25 pin D Sub female connector comes with the board Note Connect the mounting bracket pin 1 of the flat ribbon cable red marked li...

Page 110: ...D25F Adapter cable for multi I O port of the ME 90 PC 104 Plus from 20 pin IDC connector to 25 pin D Sub female connector comes with the board Note Connect pin 1 of the flat ribbon cable red marked li...

Page 111: ...ference at the GND pins of the connectors of the ME 9000 series TTL models without opto isolation PC ground GND_PC i models from application view one common ground GND_C isolated to PC ground p models...

Page 112: ...B8 9 pin male connector ME 90 PC 104 Plus B9 8 pin RJ 45 female connectors...

Page 113: ...B10 Null modem cable see note on page 111 not for ME 90 PC 104 Plus...

Page 114: ...connection cable ME AK D78 1 1 m from 78 pin D Sub male connector to 78 pin D Sub female connector ME AB D9 8 78 H ME AK D78 1 Octo terminal panel for DIN rail mounting from 78 pin D Sub male connect...

Page 115: ...rack mount from VHDCI connector 2 x 68 pin to 16 x 9 pin D Sub male connectors Connection via two 1 1 VHDCI cable 1 m 2 x ME AB RJ45 8x8 V 2 x VHDC cable Octo terminal panel in a closed box from 68 pi...

Page 116: ...ail support meilhaus de 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 Serv...

Page 117: ...D_0 0x0 ME9000MIO_BOARD_1 0x1 ME9000MIO_BOARD_2 0x2 ME9000MIO_BOARD_3 0x3 ME9000MIO_VALUE_NOT_USED 0 ME9000MIO_POINTER_NOT_USED NULL ME9000MIO_NO_ERROR 0x00000000 Error Handling ME9000MIO_ERROR_DEFAUL...

Page 118: ...BLE 0x1 ME9000MIO_DIO_INV_DISABLE 0x0 ME9000MIO_DIO_INV_ENABLE 0x1 Counter ME9000MIO_CNT_INT_DISABLE 0x0 ME9000MIO_CNT_INT_ENABLE 0x1 ME9000MIO_CNT_RETRIGGER_DISABLE 0x0 ME9000MIO_CNT_RETRIGGER_ENABLE...

Page 119: ...of the API Functions 72 description of the functions 72 Digital Input Output 82 Digital I O Section 65 Driver Installation 15 Dual Quad Octopus Cables 47 E Echo ON OFF 33 46 Error Handling 74 F Featu...

Page 120: ...Programming 63 R Requirements 7 S Settings ME SIO Ports 27 Specification 102 System Requirements 12 T Technical Questions 118 Terminal Panel for ME 9000 9100 48 Terminal Panel for ME 9300 50 V Visual...

Reviews: