Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 02/757.00.20, Canada (Ontario) (519) 622-9310, Canada (Québec) (514) 694-8521, Denmark 45 76 26 00, Finland (90) 527 2321, France (1) 48 14 24 24, Germany 089/741 31 30, Italy 02/48301892, Japan (03) 3788-1921, Netherlands 03480-33466, Norway 32-848400, Spain (91) 640 0085, Sweden 08-730 49 70, Switzerland 056/20 51 51, U.K.
Page 3
Limited Warranty The SCXI-1162 is warranted against defects in materials and workmanship for a period of one year from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Page 4
Warning Regarding Medical and Clinical Use of National Instruments Products National Instruments products are not designed with components and testing intended to ensure a level of reliability suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the user or application designer.
National Instruments Signal Conditioning eXtensions for Instrumentation (SCXI) Series modules for the National Instruments data acquisition plug-in boards. This module switches and controls low-level and power signals. The SCXI-1162 operates as 32 digital input channels, arranged as eight banks of four channels. Each bank is optically isolated.
This manual contains complete instructions for directly programming the SCXI-1162. You can order separate software packages for controlling the SCXI-1162 from National Instruments. When you combine the PC, AT, and MC data acquisition boards with the SCXI-1162, you can ®...
Chapter 1 Introduction You can also use the SCXI-1162, combined with the NB Series data acquisition boards, with NI-DAQ software for Macintosh. NI-DAQ software for Macintosh, which is shipped with all National Instruments Macintosh data acquisition boards, comes with language interfaces for MPW C, THINK C, Pascal, and Microsoft QuickBASIC.
• ERNI Components, Inc. (part number 033-273) The mating connector for the SCXI-1162 front connector is a special 48-pin reversed DIN C female connector. National Instruments uses a polarized and keyed connector to prevent inadvertent upside-down connection to the SCXI-1162. The manufacturer part number National Instruments uses for this mating connector is as follows: •...
SCXI chassis, signal connections to the SCXI-1162, and cable wiring. Module Configuration You can configure the SCXI-1162 rear connector to send data directly from the inputs in parallel, or to form a serial communication link with the SCXIbus. You can also configure the rear connector to connect to a DIO-type or an MIO-type data acquisition board.
All six user-configurable jumpers (W1-W6) on the SCXI-1162 are for digital communication through the rear connector between the data acquisition board and the SCXI-1162 module. If you are controlling the SCXI-1162 via the SCXIbus and are not using the rear connector, then the positions of these jumpers are irrelevant.
W2 is set to PAR. Jumper W2 does not affect serial communication; therefore all 32 channels are always available through serial data transfers. When you connect the SCXI-1162 to a DIO-32F or to a DIO-96, all 32 lines may be driven. However, when you SCXI-1162 User Manual...
SCXI-1162 with a DIO-type board, place the jumpers in the DIO position. This position is the factory setting. If you want to use the SCXI-1162 with an MIO-type board, place the jumpers in the MIO position. If you are controlling the SCXI-1162 via the SCXI backplane and are not using the rear connector, the position of these jumpers is irrelevant.
When you use a single chassis, set W5 in position A on the SCXI-1162 that is connected to the data acquisition board and set W6 to DIO or MIO. In this setting, the module drives MISO to SERDATOUT and connects the necessary pullup resistor to the SERDATOUT line.
1. Turn off the computer that contains the data acquisition board or disconnect it from your SCXI chassis. 2. Turn off the SCXI chassis. Do not insert the SCXI-1162 into a chassis that is turned on. 3. Insert the SCXI-1162 into the board guides. Gently guide the module into the back of the slot until the connectors make good contact.
Chapter 2 Configuration and Installation Front Connector Figure 2-2 shows the pin assignments for the SCXI-1162 front connector. Signal Column Signal Number Name Name In 0 In 1 In 2 In 3 In 4 In 5 In 6 In 7...
C14, C17, C21, C25, C29 The optically isolated inputs of the SCXI-1162 consist of a light-emitting diode and a 360 Ω series current limiting resistor. When current is pulled through an input, the diode emits light which is sensed by a photosensitive circuit. When this circuit senses the light, it outputs a logic low digital signal.
Watt Figure 2-4. Adding Series Resistance Terminal Block A terminal block with screw terminals is available for easy signal connection to the SCXI-1162 inputs. This kit is listed in the Optional Equipment section in Chapter 1, Introduction. SCXI-1326 Terminal Block The SCXI-1326 terminal block consists of a shielded board with supports to connect it to the SCXI-1162 input connector.
6. Snap the top cover back in place. 7. Replace the grounding screw to ensure proper shielding. 8. Connect the terminal block to the SCXI-1162 front connector as explained in the SCXI-1326 Installation section, the next section in this chapter.
1. Connect the SCXI-1162 front connector to its mating connector on the terminal block. 2. Make sure that the SCXI-1162 top and bottom thumbscrews do not obstruct the rear panel of the terminal block. 3. Tighten the top and bottom screws on the back of the terminal block to hold it securely in place.
Chapter 2 Configuration and Installation Figure 2-6 shows the pin assignments for the SCXI-1162 rear signal connector. Out 23 Out 22 Out 21 Out 20 Out 19 9 10 9 10 11 12 11 12 Out 18 13 14 13 14...
Configuration and Installation Chapter 2 When you configure the SCXI-1162 for an MIO-type board, the digital I/O signals of the SCXI- 1162 match the digital I/O lines of the MIO-16 board. When used with an SCXI-1341, SCXI- 1342, or SCXI-1344 cable assembly, the SCXI-1162 signals match the digital lines of the Lab-NB/Lab-PC/Lab-PC+/Lab-LC boards and the PC-LPM-16 board, respectively.
After the Address Handler has been written to, an address line of a register has been asserted. At that stage you can read from the SCXI-1162 Data Register or Module ID Register using the following protocol. The contents of the Module ID Register are reinitialized by deasserting Slot- Select or by releasing DAQ D*/A high.
4. Pull SLOT0SEL* low to deassert the SS* line and establish conditions for writing a new slot-select number to the Slot 0 Slot-Select Register. 5. If you are not selecting another slot, write zero to the Slot 0 Slot-Select Register. Figure 2-10 illustrates a read of the SCXI-1162 Module ID Register. SLOT0SEL* DAQD*/A...
Page 41
Chapter 2 Configuration and Installation Figure 2-11 illustrates a read of the SCXI-1162 Data Register. SLOT0SEL* DAQD*/A T clk wait SERCLK T delay SERDATOUT 1 1 0 0 0 0 0 0 0 0 0 0 0 In (31) In (0)
When the rear connector is jumper configured for serial communication with the SCXIbus, the SCXI-1162 module converts the data acquisition board signals to open-collector signals on the backplane of the SCXI chassis. For the data acquisition board to talk to a slot, the board must first assert the SS* for that slot.
5. SS* goes high and D*/A goes high, indicating an end of communication. Input Channels The SCXI-1162 consists of eight banks of four optically isolated digital inputs. Each bank of outputs has an isolated connection for the Vcc for that bank . The inputs of each bank are referenced from their particular Vccs;...
SCXI-1162 Registers The SCXI-1162 is a class II module. It has an address handler that chooses one of three registers. The Module ID Register is a 4-byte read-only register that contains the Module ID number of the SCXI-1162.
Page 51
Register Descriptions Module ID Register The Module ID register contains the four-byte module ID code for the SCXI-1162. This code number is read on the MISO line whenever the Module ID register is accessed. The bytes appear least significant byte first. Within each byte, data is sent out MSB first. Additional data transfers result in all zeros being sent on the MISO line.
Chapter 4 Data Register The Data Register contains 32 bits that control the state of each input of the SCXI-1162. Whenever the Address Handler selects the Data Register, it will latch in the data present on the inputs, then shift out one bit of the data onto the MISO line, bit 31 first, with each falling edge of SPICLK.
Requirements and Communication Protocol section in Chapter 2, Configuration and Installation. The rear signal connector pin equivalences to the different National Instruments data acquisition boards are given in Table 5-1. See also Appendix E, SCXI-1162 Cabling. The Data Register is a read-only register.
Programming Chapter 5 Table 5-1. SCXIbus to SCXI-1162 Rear Signal Connector to Data Acquisition Board Pin Equivalences MOSI SERDATIN ADIO0 DOUT4 APB3 DIOB3 D*/A DAQD*/A ADIO1 DOUT5 APB2 DIOB2 INTR* SLOT0SEL* ADIO2 DOUT6 APB1 DIOB1 SPICLK SERCLK EXTSTROBE* DOUT7 APB0...
Page 58
For a timing illustration of a Data Register read, see Figure 2-9, Data Register Read Timing Diagram. Note: You can always read data via the SCXIbus from an SCXI-1162 module regardless of its jumper settings. The jumper settings only affect the configuration of the rear connector.
Appendix A Specifications This appendix lists the specifications for the SCXI-1162. These are typical at 25° C and 50% humidity unless otherwise stated. The operating temperature range is 0° to 50° C. Digital Inputs Power requirements per bank Supply voltage (V cc )
Appendix B Rear Signal Connector This appendix describes the pinout and signal names for the SCXI-1162 50-pin rear signal connector, including a description of each connection. Figure B-1 shows the pin assignments for the SCXI-1162 rear signal connector. Out 23...
Appendix D SCXI-1162 Front Connector Front Connector Signal Descriptions Signal Name Description B30, A30, B29, In <0..3>, Vcc Bank 0 input channels and Vcc A29, C30 B26, A26, B25, In <4..7>, Vcc Bank 1 input channels and Vcc A25, C26, B22, A22, B21, In <8..11>, Vcc...
Appendix E SCXI-1162 Cabling This appendix describes how to use and install the hardware accessories for the SCXI-1162: • SCXI-1340 cable assembly • SCXI-1341 Lab-NB, Lab-PC, and Lab-PC+ cable assembly • SCXI-1342 PC-LPM-16 cable assembly • SCXI-1344 Lab-LC cable assembly •...
The SCXI-1340 rear panel gives the module and the chassis both mechanical and electrical shielding. Table E-1 lists the pin equivalences of the MIO-16 and DIO-24 boards and the SCXI-1162. Table E-1. SCXI-1162, MIO-16, and DIO-24 Pinout Equivalences SCXI-1162 Rear Signal Connector...
+5 V 34-35 No Connect All other pins of the PC-LPM-16 pinout are not sent to the SCXI-1162 rear signal connector. SCXI-1342 Installation Follow these steps to install the SCXI-1342: 1. Make sure that the computer and the SCXI chassis are turned off.
The other end of the cable is divided into two 50-pin connectors. Use positions 1 through 50 of the NB5 connector to control the SCXI-1162 and the SCXIbus via serial communication. Positions 51 through 100 of the NB5 cable are not used by the SCXI-1162 for serial communication.
DIO-32F board to the adapter board. The adapter board converts the signals from the DIO-32F I/O connector to a format compatible with the SCXI-1162 rear signal connector pinout. The adapter board also has an additional male breakout connector that provides the unmodified DIO-32F signals for use with an SCXI-1180 feedthrough panel or SCXI-1181 breadboard module.
Check the installation. Multiple-Chassis Connections for the SCXI-1162 The SCXI-1162 can operate in a multiple-chassis system with the DIO-24, DIO-96, MIO-16, and AT-MIO-64F-5 boards. A multiple-chassis system can consist of up to eight SCXI-1001 chassis controlled by the same data acquisition board. Notice that you cannot use the SCXI-1000 in a multiple-chassis system.
5. Plug the SCXI-1350 into the back of an SCXI module in the first chassis so that the module rear connector mates with the front connector on the SCXI-1350 adapter board. When you are connecting to an SCXI-1162, be sure to set the jumpers for either a DIO-type or an MIO-type board as needed.
Page 87
Technical Support Form ___________________________________________________ Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Page 88
SCXI-1162 Hardware Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Complete a new copy of this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration.
Page 89
Documentation Comment Form National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: SCXI-1162 User Manual Edition Date: March 1994 Part Number: 320572-01 Please comment on the completeness, clarity, and organization of the manual.
Index installation, E-2 SCXI-1162 and board pinout Numbers equivalences, E-2 SCXI-1341 Lab-NB, Lab-PC, or +5 V signal, 3-3, C-3 Lab-PC+ cable assembly, E-4 installation, E-5 pin translations, E-4 SCXI-1342 PC-LPM-16 cable assembly, E-5 Address Handler installation, E-6 purpose and use, 4-1 to 4-2...
Page 93
IN<24..27> signal, front connector, 2-10, settings, 2-7 jumper connections, 2-4, 2-5 IN<28..32> signal, front connector, 2-10, SCXI-1162, MIO-16, and DIO-24 board pinout equivalences, E-2 IN<31..0> bit, Data Register, 4-4 documentation input channels conventions used in manual, x...
Page 94
NI-DAQ software, 1-2, 1-3 procedure for changing configuration, reserved jumper, 2-4 user-configurable jumpers, 2-4 operating environment specifications, A-2 operation of SCXI-1162. See theory of operation OUT<23..0> signal, rear signal connector, Lab-LC. See SCXI-1344 cable assembly. 2-18 Lab-NB, Lab-PC, or Lab-PC+. See OUT<31..24>...
Page 95
3-5 AT-MIO-64F-5 board selecting Module ID Register or Data equivalences, E-7 to E-8 Register, 3-6 SCXI-1162, MIO-16, and DIO-24 board timing diagram, 2-23 pinout equivalences, E-2 writing before reading Data Register, SCXIbus connector to rear signal connector, 3-4...
Page 96
Index SCXIbus connector SCXI-1162 module. See also installation; pin assignments, 3-2, C-2 jumper configuration. SCXIbus to rear signal connector to data block diagram, 3-1 acquisition board pin equivalents, illustration, 1-1 kit contents, 1-2 signal descriptions, 3-3 to 3-4, C-3 optional equipment, 1-3 to 1-4...
Page 97
2-21 to 2-22 SLOT0SEL* signal digital I/O signal connections, 2-19 unpacking the SCXI-1162 module, 1-4 reading from Data Register, 5-2 to 5-3 reading from Module ID Register or Data Register, 2-24 to 2-25 rear signal connector, 2-16, B-2...