Home

CIO-DI48 - Measurement Computing

image

Contents

1. 10 5 3 CIO DI96 REGISTERS The CIO DI96 has 16 registers Their function is listed on Table 5 2 Table 5 2 CIO DI96 Registers ADDRESS READ FUNCTION WRITE FUNCTION BASE 0 Read Port 1A Data None BASE 1 Read Port 1B Data None BASE 2 Read Port 1C Data None BASE 3 BASE 4 Read Port 2A Data None BASE 5 Read Port 2B Data None BASE 6 Read Port 2C Data None BASE 7 BASE 8 Read Port 3A Data None BASE 9 Read Port 3B Data None BASE 10 Read Port 3C Data None BASE 11 None None BASE 12 Read Port 4A Data None BASE 13 Read Port 4B Data None BASE 14 Read Port 4C Data None BASE 15 None None PORTS 1A 2A 3A and 4A DATA BASE ADDRESS 0 4 8 and 12 7 6 5 4 3 2 1 0 AT 5 4 2 1 0 PORTS 2B and 4B DATA BASE ADDRESS 1 5 9 and 13 7 6 5 4 3 2 1 0 B7 6 5 4 B3 B2 Bl BO PORTS IC 2C 3C and 4C DATA BASE ADDRESS 2 6 10 and 14 7 6 5 4 3 2 1 0 C7 C6 C5 C4 C3 C2 Cl CO 11 5 4 CIO DI192 REGISTERS The CIO DI192 has 32 registers Their function is listed on Table 5 3 Table 5 3 CIO DI192 Registers ADDRESS READ FUNCTION WRITE F
2. 9 SUL INTRODUCTION SY ACIE TER E EN Ren bs 9 5 2 CIO DI48 REGISTERS wach Ey RENE Y SS 10 5 3 CIO DI96 REGISTERS chs acti woth Sag hes DRE NS 11 5 4 CIO DII92 REGISTERS whee XA Sexe x 12 6 0 SPECIFICATIONS CER CEA Sala 14 7 0 INTERFACING TECHNIQUES 15 7 1 UNCONNECTED INPUTS FLOAT 15 7 2 TTL TO SOLID STATE RELAYS eds 16 7 3 VOLTAGE DIVIDERS 2 3 2655 RES 16 This page is intentionally blank 1 0 INTRODUCTION CIO DI48 96 and 192 designed to have best quality and lowest cost of any digital input board Throughout this manual the model number CIO DI is used when the information applies to the CIO DI48 CIO DI96 and CIO DI192 inclusive Exclusive information for a particular version will be identified CIO DI48 is a dedicated 48 line digital input board built up of six eight input logic chips There are no control registers The input pins present a single LSTTL load Similarly the 96 line and 192 line versions use 120r24ei ght input logic chips respectively The CIO DI also conforms to the connector pin specification of all the CIO DIO family of digital boards so m ay be used in place of one another without changing cabling or connectors these products are supported by Universal Library programming library A group of application notes at the end of this manual de
3. 48 96 CIO DI192 User s Manual Fa at UP MEASUREMENT COMPUTING Revision 3 October 2000 Your new Measurement Computing product comes with a fantastic extra Management committed to your satisfaction Thank you for choosing a Measurement Computing product and congratulations You own the finest and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support It s the embodiment of our mission provide data acquisition hardware and software that will save time and save money Simple installations minimize the time between setting up your system and actually making measurements We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system Limited Lifetime Warranty Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product to the original purchaser unless otherwise noted Any products found to be defective in material or workmanship will be repaired replaced with same or similar device or refunded at MCC s discretion For specific information please refer to the terms and conditions of sale Harsh Environment Program Any Measurement Computing product that is damaged due to misuse or any reason may be eligible for replacement with the same or similar device for 50 of the current list price I O boar
4. 4 2 CABLING TO THE CONNECTOR S The input connector s are accessible through the PC AT expansion bracket The connector is astan dard 50 pin header connector Cables with mating connectors 50 can be purchased from Measurement Computing Corporation Those familiar with the CIO DIO series boards will find the signal levels and pin assignments are identical with those on the CIO DI 4 3 DIGITAL SIGNAL CHARACTERISTICS Inputs are LSTTL Low power Schotky TTL a standard for digital signals which are either at OV or 5V nominal Low state Near High state Near 5V See the electrical sp ecification in this manual for details regarding logic levels and maximum voltages allowed at the inputs In addition to voltage and load matching digital signals need to be filtered de bounced to remove spurious false signals from relay or switch contacts description of this filtering method and other subjects on digital interfacing techniques is in the section on Interface Electronics in this manual 4 4 CONNECTOR PIN OUT DIAGRAMS The CIO DI series boards u se 50 pin header type connector s mounted on the board that are accessible from the rear of the PC through the expansion backplate The CIO DI48 has one connector Figure 4 2 The CIO DI96 has two connectors Figure 4 3 e CIO DI192 has four connectors Figure 4 4 5V C1 C3 C5 C7 B1 B3 5 B7 A1 A3 A5 AT C1 5 C7 B1 B3
5. B5 B7 A1 A3 5 BASE 0 1 and 2 BASE 4 5 and 6 PORT2 PORT 1 Figure 4 2 CIO DIA8 Connector Pin Out amp Register Assignments NOTE The input signals are direct connections to a digital buffer chip The connector accepts female 50 pin header type connectors such as those on the 50 2 2 foot cable with connectors If frequent changes to signal connections or signal conditioning is required please refer to the information on the CIO TERM100 CIO SPADESO0 and CIO MINISO screw terminal boards GND eo GND 5 E 5 tc ae Kd 9 55 79 T 2 m A TO 4 tr tr 28 ui 5 d Figure 4 3 CIO DI96 Pin outs amp Register Assignments 4 2 1 GND 50 CO 48 2 46 4 44 C6 42 BO 40 HB2 38 4 36 amp 34 AD 32 A2 30 A4 28 23 014 26 01 0 24 2 22 4 20 18 lt 16 E B2 14 12 10 AO 8 2 6 4 4 6 2 16 17 18 BASE 4 5 and 6 BASE 20 21 and 22 Figure 4 4 CIO DI192
6. Attenuation of 5 1 or less no resistor should be less than 10K For Attenuation of greater than 5 1 no resistor should be less than 7 4 LOW PASS FILTERS DE BOUNCE INPUTS A low pass filter can be placed on the signal wires between a signal and an A D board It attenuates frequencies higher than the cut off frequency preventing them from entering the A D board s digital inputs The key parameter in a lo w pass filter circuit is the cut off frequency The cut off frequency is that frequency above which no variation of voltage can enter the circuit For example if a low pass filter had a cut off frequency of 30 Hz the kind of 17 interference associated with line voltage 60 Hz would be filtered out but a signal of 25 Hz would be allowed to pass In digital input circuits low pass filters are sometimes used to de bounce inputs from relay or switch contacts A simple low pass filter may be constructed from one resistor R and one capacitor C The cut off frequency is determined by the formula Fe 1 2 R 1 2 C Fc Where 2 3 14 frequency in cycles per second R resistance in Ohms capacitance Farads 18 EC Declaration of Conformity We Measurement Computing Corporation declare under sole responsibility that the product 148 48 channel digital input board CIO DI96 96 channel digital input board CIO D1192 192 channel digital input board Par
7. 259 PIC 2 AT 320 32F HARD DISK XT 0A0 0AF NMI MASK XT 378 37F PARALLEL PRINTER 0CO ODF 8237 2 380 38F SDLC OFO OFF 80287 NUMERIC AT 3A0 3AF SDLC 1F0 1FF HARD DISK 3B0 3BB MDA 200 20F GAME CONTROL 3BC 3BF PARALLEL PRINTER 210 21F EXPANSION UNIT XT 3 0 3 EGA 238 23B BUS MOUSE 3D0 3DF CGA 23C 23F ALT BUS MOUSE 3E8 3EF SERIAL PORT 270 27F PARALLEL PRINTER 3F0 3F7 FLOPPY DISK 2B0 2BF EGA 3F8 3FF SERIAL PORT The BASE switch can be set for address in the range of 000 3F8 so it should not be hard to find a free address area for you CIO DI Once again if you are not using IBM prototyping cards some other board which occupies these addresses then 300 31F HEX are free to use Addresses not specifically listed such as 390 39F are not reserved and may be available Check your computer for other boards which may use I O addresses 4 0 HARDWARE INSTALLATION 4 1 INSTALLING THE BOARD 1 Turn the power off 2 Remove the cover of your computer Please be careful not to dislodge any of the cables installed on the boards in your computer as you slide the cover off 3 Locate an empty expansion slot in your computer 4 Push the board firmly down into the expansion bus connector If itis not seated fully it may fail to work and could short circuit the PC bus power onto a PC bus signal This could damage the motherboard in your PC as well as the CIO DI
8. Connector Pin outs amp Register Assignments 5 0 DATA REGISTERS 5 1 INTRODUCTION Each CIO DI is composed of parallel input chips Each input buffer senses eight input pins The ports are arranged in sets of three with an intervening register that is not used This scheme allows compatibility with software written to control 82C55 based boards when the 82 55 is used as all inputs On those boards every fourth register is a control register The first address or BASE ADDRESS 0 is determined by setting a bank of switches on the board To read data from an input register a byte is read representing the status of up to eight digital input lines 5 2 CIO DI48 REGISTERS The CIO DI48 uses eight registers Their function is listed on Table 5 1 Table 5 1 CIO DI48 Registers ADDRESS READ FUNCTION WRITE FUNCTION BASE 0 Read Port 1A Data None BASE 1 Read Port 1B Data None BASE 2 Read Port 1C Data None BASE 3 BASE 4 Read Port 2A Data None BASE 5 Read Port 2B Data None BASE 6 Read Port 2C Data None BASE 7 None None PORTS 1A and 2A DATA BASE ADDRESS 0 and 4 7 6 5 4 3 2 1 0 AT 5 4 2 1 0 PORTS 1B and 2B DATA BASE ADDRESS 1 and 5 7 6 5 4 3 2 1 0 B7 6 5 4 B3 B2 Bl BO PORTS and 2C DATA BASE ADDRESS 2 and 6 7 6 5 4 3 2 1 0 C7 C6 C5 C4 C3 C2 CO
9. FICATIONS Typical for 25 C unless otherwise specified POWER CONSUMPTION 5V quiescent CIO DI48 CIO DI96 CIO DI192 DIGITAL INPUT OUTPUT Digital Type Configuration CIO DI48 CIO DI96 CIO DI192 Number of channels CIO DI48 CIO DI96 CIO DI192 Input High Input Low Miscellaneous ENVIRONMENTAL Operating temperature range Storage temperature range Humidity 300 mA typical 390 mA max 475 mA typical 620 mA max 630 mA typical 820 mA max 741 5373 Input only 6 banks of 8 bits 12 banks of 8 bits 24 banks of 8 bits 48 inputs 96 inputs 192 inputs 2 0 volts min 7 volts absolute max 0 8 volts max 0 5 volts absolute min Locations provided for installation of pull up or pull down resistors 0 to 70 C 40 to 100 C 0 to 90 non condensing 7 0 INTERFACING TECHNIQUES This brief introduction to the electronics most often needed by digital I O board users covers a few basic concepts 7 1 UNCONNECTED INPUTS FLOAT Keep in mind that unconnected inputs float If you are using the CIO DI board with unconnected inputs ignore the data from those lines In other words if you connect bit AO and not bit Al do not be surprised if Al stays low stays high or tracks AO It is unconnected and so unspecified The input buffer is not malfunctioning In the absence of a pull up or pull down resistor any input to a CIO DI which is unconnected is unspecified You do not have to tie input lines and unconnected line
10. UNCTION BASE 0 Read Port 1A Data None BASE 1 Read Port 1B Data None BASE 2 Read Port 1C Data None BASE 3 BASE 4 Read Port 2A Data None BASE 5 Read Port 2B Data None BASE 6 Read Port 2C Data None BASE 7 BASE 8 Read Port 3A Data None BASE 9 Read Port 3B Data None BASE 10 Read Port 3C Data None BASE 11 None None BASE 12 Read Port 4A Data None BASE 13 Read Port 4B Data None BASE 14 Read Port 4C Data None BASE 15 None None BASE 16 Read Port 5A Data None BASE 17 Read Port 5B Data None BASE 18 Read Port 5C Data None BASE 19 None None BASE 20 Read Port 6A Data None BASE 21 Read Port 6B Data None BASE 22 Read Port 6C Data None BASE 23 None None BASE 24 Read Port 7A Data None BASE 25 Read Port 7B Data None BASE 26 Read Port 7C Data None BASE 27 None None BASE 28 Read Port 8A Data None BASE 29 Read Port 8B Data None BASE 30 Read Port 8C Data None BASE 31 None None 12 PORTS through 8A DATA BASE ADDRESS 0 4 8 12 16 20 24 28 7 6 5 4 3 2 7 6 5 4 2 PORTS 1B through 8B DATA BASE ADDRESS 1 5 9 13 17 21 25 and 29 7 6 5 4 3 2 B7 B6 5 4 B3 B2 PORTS 1C through 8C DATA BASE ADDRESS 2 6 10 14 18 22 26 and 30 7 6 5 4 3 2 C7 C6 C5 C4 C3 C2 13 6 0 SPECI
11. ds face some harsh environments some harsher than the boards are designed to withstand Contact MCC to determine your product s eligibility for this program 30 Day Money Back Guarantee Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned If you are not satisfied or chose the wrong product by mistake you do not have to keep it These warranties are in lieu of all other warranties expressed or implied including any implied warranty of merchantability or fitness for a particular application The remedies provided herein are the 5 sole and exclusive remedies Neither Measurement Computing Corporation nor its employees shall be liable for any direct or indirect special incidental or consequential damage arising from the use of its products even if Measurement Computing Corporation has been notified in advance of the possibility of such damages Trademark and Copyright Information Measurement Computing Corporation InstaCal Universal Library and the Measurement Computing logo are either trademarks or registered trademarks of Measurement computing Corporation Refer to the Copyrights amp Trademarks section on mecdag com legal for more information about Measurement Computing trademarks Other product and company names mentioned herein are trademarks or trade names of their respective companies 2000 Measurement Computing Corpora
12. h the proper proportions relative to the full scale of the digital input and the maximum signal voltage 16 process of dropping voltage proportionally is often called attenuation The formula for attenuation is The variable attenuation is the proportional Attenuation R1 R2 difference between the signal max and the R2 full scale of the analog input For example if the signal varies between 0 and 20 2 10K 10K volts and you wish to measure that with an analog 10K input with a full scale range of 0 to 10 volts the attenuation is 2 1 or just 2 A 1 R2 For a given attenuation pick a handy resistor and call it R2 the use this formula to calculate R1 For example if you wish to measure a digital signal that is at O volts when off and 24 volts when on you cannot connect that directly to the CIO DI digital inputs The voltage must be dropped t o 5 volts maximum when on The Attenuation is 24 5 or 4 8 Use the equation above to find an appropriate if R2 is 10K Remember that a TTL input is on when the input voltage is greater than 2 5 volts IMPORTANT NOTE The resistors and R2 are going to dissipate allth e power in the divider circuit according to th e equation Current Voltage Resistance and power is current squared times resistance Pwats x R The higher the value of the resistance R1 R2 the less power dissipated by the divider circuit Here is a simple rule For
13. s require digital monitoring of fairly high AC and DC input voltages These AC and high DC voltages cannot be read directly by the CIO DI Solid State Relays such as those available from Measurement Computing Corporation allow control and monitoring of AC and high DC voltages and provide 400V isolation Solid State Relays SSRs are the reco mmended method of interfacing to AC and high DC signals The most convenient way to use solid state relays and a CIO DI board is to purchase a Solid State Relay Rack SSR Racks are available from Measurement Computing Corporation 7 3 VOLTAGE DIVIDERS If you wish to measure a signal which varies over a range greater than the input range of a digital input a voltage divider can drop the voltage of the input signal to the level the digital input can measure A voltage divider takes advantage of Ohm s law which states Voltage Current Resistance and Kirkoff s voltage law which states The sum of the voltage drops around a circuit will be equal to the voltage drop for the entire circuit Implied in the above is that any variation in the voltage drop for the circuit as a whole will have a proportional variation in all the voltage drops in the circuit A voltage divider takes advantage of the fact that the voltage across on e of the resistors in a circuit is proportional to the voltage across the total resistance in the circuit The trick to using a voltage divider isto choose two resistors wit
14. s will not affect the performance of connected lines Just make sure that you mask out any unconnected bits in software An alternative to masking inputs is to define the state of unused inputs by using pull up or pull down resistors There are locations on the board for installation of these resistors marked RN1 through RN6 on the DI48 through RN12 on the DI96 and through RN24 of the DI192 The location associated with FIRST PORT A the port at Base 0 is RN1 The location for FIRST PORT B the port at Base 1 is RN2 FIRST PORT C Base 2 is RN3 SECOND PORT A Base 4 is RN4 SECOND PORT B Base 5 is RN5 SECOND PORT C Base 6 is RN6 and so on A 10Kohm eight resistor SIP has all its resistors connected on one end to a single common pin The common pin is marked with a dot and is at one end of the SIP The other ends connect to eight in line pins The SIP can be installed to pull up or pull down At each location there are 10 holes in line One end of the line is marked HI the other end LO The eight holes in the middle are connected to the eight lines of a port A B or C To pull up lines orient the SIP with the common pin dot in toward the HI end to pull down install the resistor with the common pin in the LO hole Carefully solder the SIP in place A resistor value of 10K is recommended Use other values only if you have determined the necessity for doing so 15 7 2 TTL TO SOLID STATE RELAYS Many application
15. scribes electrical interfacing subjects that may be useful for digital I O applications 2 0 SOFTWARE INSTALLATION In order to easily test your installation it is recommended that you install nstaCal the installation calibration and test utility that was supplied with your board Refer to the Extended Software Installation Manual for information on the initial setup loading and installation of InstaCal and optional Universal Library software InstaCal will guide you through hardware settings and allow you to easily test for conflicts If you decide not to use Instacal to assist board configuration details are provided in the following section 3 0 HARDWARE SETUP 3 1 BASE ADDRESS SELECTION The CIO DI employs the PC bus for power communications and data transfer As such it draws power from the PC monitors the address lines and control signals and responds to it s I O address and it receives and places data on the 8 data lines The BASE address is the most important user selectable feature of the CIO DI The base address and offsets from it are the locations that PC software reads input data from Base address dip switches are used for setting the base address Each switch position corresponds to one of the PC bus address lines Placing a switch down puts it in the active position A complete address is constructed by adding the HEX or decimal number which corresponds to all the address bits the CIO DI has been instructed
16. t Number Description to which this declaration relates meets the essential requirements is in conformity with and CE marking has been applied according to the relevant EC Directives listed below using the relevant section of the following EC standards and other normative documents EU EMC Directive 89 336 EEC Essential requirements relating to electromagnetic compatibility EU 55022 Class B Limits and methods of measurements of radio interference characteristics of information technology equipment EN 50082 1 EC generic immunity requirements IEC 801 2 Electrostatic discharge requirements for industrial process measurement and control equipment IEC 801 3 Radiated electromagnetic field requirements for industrial process measurements and control equipment IEC 801 4 Electrically fast transients for industrial process measurement and control equipment Carl Haapaoja Director of Quality Assurance Measurement Computing Corporation 10 Commerce Way Suite 1008 Norton Massachusetts 02766 508 946 5100 Fax 508 946 9500 E mail info mccdag com www mccdaqg com
17. tion rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form by any means electronic mechanical by photocopying recording or otherwise without the prior written permission of Measurement Computing Corporation Notice Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and or devices without prior written consent from Measurement Computing Corporation Life support devices systems are devices or systems that a are intended for surgical implantation into the body or b support or sustain life and whose failure to perform can be reasonably expected to result in injury Measurement Computing Corporation products are not designed with the components required and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people Table of Contents 1 0 INTRODUCTION REE On ONS 1 2 0 SOFTWARE INSTALLATION 1 30 HARDWARE SETUP SE 2 3 1 BASE ADDRESS SELECTION 2 4 09 HARDWARE INSTALLATION 9 4 1 INSTALLING THE BOARD 5 4 2 CABLING TO THE CONNECTOR S 5 4 3 DIGITAL SIGNAL CHARACTERISTICS 5 4 4 CONNECTOR PIN OUT DIAGRAMS 6 5 0 DATA REGISTERS
18. to respond to For example shown in Figure 3 1 switches 9 and 8 are DOWN al others UP Address 9 200h 5120 and address 8 100h 256D When added together they equal 300h 7680 NOTE Disregard the numbers printed on the switch refer only to the numbers printed in white on the board In Figure 3 1 note that the number of switches varies with the board version Certain addresses are used by the PC others are free and may be used by the CIO DI and other expansion boards We recommend trying the factory default address 300h 768D first 9 8 7 6 5 4 3 SW HEX AQ 200 8 100 80 6 40 5 20 LET E EL T g 08 CIO DI48 BASE ADDRESS SWITCH Address 300h shown 9 8 7 6 5 4 SW HEX A9 200 A8 100 AT 80 A6 40 A5 20 LL CIO DI96 BASE ADDRESS SWITCH Address 300h shown SW HEK 9 200 A8 100 7 80 40 lett A g CIO D 1192 BASE ADDRESS SWITCH Address 300h shown Figure 3 1 Base Address Switches Table 2 1 PC I O Addresses HEX FUNCTION HEX FUNCTION RANGE RANGE 000 00 8237 DMA 1 2 0 2 020 021 8259 PIC 1 2D0 2DF EGA 040 043 8253 TIMER 2E0 2E7 GPIB AT 060 063 8255 PPI XT 2E8 2EF SERIAL PORT 060 064 8742 CONTROLLER AT 2F8 2FF SERIAL PORT 070 071 CMOS NMI MASK 300 30F PROTOTYPE CARD 080 08 DMA PAGE REGISTERS 310 31F PROTOTYPE CARD 0 0 0 1 8

Download Pdf Manuals

image

Related Search

Related Contents

DamBASE - Basement  Livret à télécharger  + ー - ウィンカーリレー ブレーキランプリレー サムズ公式サイト  E R A I S  Energizer E95 User's Manual    User Manual - Neri Group    

Copyright © All rights reserved.
Failed to retrieve file