48-Bit, High Current, Logic Level Digital I/O Board for PCI
Total Page:16
File Type:pdf, Size:1020Kb
User's Guide http://www.omega.com e-mail: [email protected] CIO-DIO48 CIO-DIO48H CIO-DIO96 CIO-DIO192 INTRODUCTION ................................... 1 Cable from DIO board QUICK START ..................................... 2 plugs into connector TM labeled IN Cable to second ERB or INSTALL THE INSTACAL SOFTWARE .................... 2 TM SSR board plugs into RUN INSTACAL ..................................... 2 connector labeled OUT OPERATION ....................................... 4 INSTALLATION ...................................... 4 BASE ADDRESS ...................................... 4 WAIT STATE JUMPER .................................. 6 INSTALLING THE CIO-DIO IN THE COMPUTER ............... 6 CABLING TO THE DIO CONNECTOR ....................... 7 SIGNAL CONNECTION - CIO-DIO48 ........................ 7 UNCONNECTED INPUTS FLOAT .......................... 8 CONNECTOR DIAGRAM ................................ 8 Cable from DIO board Cable to second ERB or ARCHITECTURE ................................... 9 plugs into connector SSR board plugs into labeled IN connector labeled OUT 82C55 CONTROL & DATA REGISTERS ...................... 9 82C55 DIGITAL I/O REGISTERS .......................... 11 SPECIFICATIONS ................................. 14 POWER CONSUMPTION ............................... 14 DIGITAL I/O ........................................ 15 ELECTRONICS AND INTERFACING ................. 16 PULL UP & PULL DOWN RESISTORS ...................... 16 UNCONNECTED INPUTS FLOAT ......................... 18 CIO-ERB-24 and SSR-RACK24 provide connectors TTL TO SOLID STATE RELAYS .......................... 18 allowing a single CIO-DIO-48 style board to control or VOLTAGE DIVIDERS ................................. 19 monitor two 24-bit relay/SSR boards. LOW PASS FILTERS DE-BOUNCE INPUTS .................. 21 CIO-ERB24 & SSR-RACK24 CONNECTIONS .......... 22 INTRODUCTION CIO-ERB24 & SSR-RACK24 CONNECTIONS This manual provides complete information on CIO-DIO48, CIO-DIO48H, CIO- CIO-DIO48 family boards each provide digital I/O in groups of 48 bits. However, the DIO96 and CIO-DIO192 digital I/O boards and accessories. The manual is organized most popular relay and SSR boards provide only 24-bits of I/O. The CIO-ERB24 and into separate sections for those aspects of a product which are unique. Some issues, SSR-RACK24 each implement a connector scheme where all 48 bits of the CIO-DIO such as BASIC programming and electronic interfacing are applicable to all of the board may be used to monitor and control relays and/or SSRs. This configuration is digital boards. shown in the block diagram below. The 24-bits of digital I/O on CIO-DIO connector pins 1-50 (base address +0 through +3) control the first relay board. The 24-bits of The CIO-DIO48 has two 82C55 parallel interface chips and a 50 pin connector. Each CIO-DIO on pins 51-100 will control the second relay/SSR board on the daisy chain. 82C55 controls 24 CMOS/TTLcompatible digital I/O pins. Within each 82C55, the digital I/O lines may be programmed as groups of 8,8 & 8 or 8,8 & 4,4. Each group may be input or output. The CIO-DIO96 provides two CIO-DIO48 circuits on a single board while he CIO- DIO192 provides 4 CIO-DIO48 circuits on a single board. The CIO-DIO48H is a high drive, 48 line digital I/O board built up of logic chips. The control registers &,2',2 which set the direction of the I/O ports are identical to 82C55 mode 0 control registers (like those on the CIO-DIO48 in mode 0). The I/O lines are high drive, capable of sourcing 15mA and sinking 64mA. Each of the boards have the same connector pin-out and respond to the same software ,1 instructions. This manual includes information on programming the 82C55 in mode 0. Those wishing to use the 82C55 in modes 1 or 2 must procure a data book from Intel CIO-ERB24 287 Corporation Literature Department. or SSR-RACK24 The boards may either be programmed with direct I/O register reads and writes, or all mode 0 functionality is provided by the optional UniversalLibrary driver software. The goal of this manual is to assist you in your application of a CIO board to your sensing or control problem. We are interested in your corrections and suggestions and ,1 will implement them. CIO-ERB24 287 or SSR-RACK24 1 22 QUICK START LOW PASS FILTERS DE-BOUNCE INPUTS A low pass filter is placed on the signal wires between a signal and an A/D board. It stops frequencies greater than the cut off frequency from entering the A/D board's analog or digital inputs. The installation and operation of all three of the CIO-DIO series boards is very similar. Throughout this manual we use CIO-DIO as a generic designation for the The key term in a low pass filter circuit is cut off frequency. The cut of frequency is CIO-DIO48, CIO-DIO48H, CIO-DIO96 and CIO-DIO192. When required due to the that frequency above which no variation of voltage with respect to time may enter the differences in the boards, the specific board name is used. circuit. For example, if a low pass filter had a cut off frequency of 30 Hz, the kind of interference associated with line voltage (60Hz) would be filtered out but a signal of The CIO-DIO boards are easy to use. This quick start procedure will help you quickly 25Hz would be allowed to pass. and easily setup, install and test your board. We assume you already know how to open the PC and install expansion boards. If you are unfamiliar or uncomfortable with Also, in a digital circuit, a low pass filter might be used to de-bounce an input from a board installation, please refer to your computer’s documentation. momentary contact button pushed by a person. We recommend you perform the software installation described in sections 1.1 and 1.2 below prior to installing the board in your computer. The InstaCalTM operations below will show you how to properly set the switches and jumpers on the board prior to physi- Signal cally installing the board in your computer. High R C Signal To I/O board Volts INSTALL THE INSTACALTM SOFTWARE Signal Low Windows 95, 98 or NT users install the program by running the setup.exe program supplied with your DIO software. (DOS and Windows 3.x users need to run LOW PASS FILTER - F = 1 c 2*Pi*R*C INTSTALL.EXE) It will create all required folders/directories and unpack the various pieces of compressed software. Simply run install and follow the on-screen instruc- tions. Remember where the installed files are placed, as you will need to access them in the next step (the default location is on your main hard drive in a directory or folder A low pass filter may be constructed from one resistor (R) and one capacitor (C). The named C:\CB\). cut off frequency is determined according to the formula: RUN INSTACALTM Fc = 1 2 * Pi * R * C To run InstaCalTM in the various forms of Windows, find the file named InstaCal.exe using your file management system and double click your mouse on it. In DOS simply R = 1 type instacal and press the Enter key. 2 * Pi * C * Fc Once running, InstaCalTM provides four sub-menus (plus exit). Where Pi = 3.14 1. Select Install (either highlight it and hit enter of double click your mouse on it). 21 2 2. Select Board #0 (select another number if Board #0 is already installed) The variable Attenuation is the proportional differ- 3. Select Board Type Attenuation = R1 + R2 ence between the signal voltage max and the full R2 scale of the analog input. 4. Move through the selections and highlight the particular board you are installing (e.g. CIO-DIO48H or CIO-DIO192). For example, if the signal varies between 0 and 20 Either double click on the board or hit enter. 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 5. The board’s default settings are then displayed. The board’s defaults are: Attenuation is 2:1 or just 2. BASE ADDRESS: 300H (768 Decimal) Same as data sheet. R1 = (A - 1) * R2 For a given attenuation, pick a handy resistor and WAIT STATE: OFF. call it R2, then use this formula to calculate R1. 6. You are now ready to install the board in your computer. Open your PC (after Digital inputs also make use of voltage dividers, for example, if you wish to measure a turning off the power) and install the board. After the board is installed and the digital signal that is at 0 volts when off and 24 volts when on, you cannot connect that computer is closed up, turn the power back on. directly to the CIO-DIO digital inputs. The voltage must be dropped to 5 volts max when on. The Attenuation is 24:5 or 4.8. Use the equation above to find an appropri- ate R1 if R2 is 1K. Remember that a TTL input is 'on' when the input voltage is 7. Run InstaCalTM again, and at the main menu select Test. greater than 2.5 volts. a. Select the board you just installed IMPORTANT NOTE: The resistors, R1 and R2, are going to dis- b. Select Internal Test sipate all the power in the divider circuit according to the equation c. The internal control registers of the board will then be tested. If this test Current = Voltage / Resistance. The higher the value of the resis- is successful, your board is installed correctly. If not, you likely have tance (R1 + R2) the less power dissipated by the divider circuit. a base address conflict, or have the base address switch set incorrectly. Here is a simple rule: Please refer to the next chapter for more information regarding selecting and setting the base address. For Attenuation of 5:1 or less, no resistor should be less than 10K.