National Instruments SCXI-1163 User Manual Download Page 51

Chapter 4

Register Descriptions

© National Instruments Corporation

4-5

SCXI-1163 User Manual

Status Registers

The Status Registers are 1-bit read-only registers that indicate the primary (jumper-set) mode of
operation and the mode of operation currently driving the outputs.  The register at address 0002
holds the Primary Mode Status; the register at address 0003 holds the Output Mode Status.

Primary Mode Status Register

A 1 indicates that the primary mode of operation is set for parallel writes, while a 0 indicates that
the primary mode of operation is set for serial writes.

Output Mode Status Register

A 1 indicates that the outputs are being set by the data contents of the data register, while a 0
indicates that the outputs are being set in parallel by the levels seen at the rear connector.

Summary of Contents for SCXI-1163

Page 1: ...Copyright 1993 1994 National Instruments Corporation All Rights Reserved SCXI 1163 User Manual 32 Channel Isolated Digital Output Module September 1994 Edition Part Number 320576 01...

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

Page 3: ...rought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to causes beyond its reasonable control The warranty provided herein...

Page 4: ...2 6 Jumper W6 2 6 Hardware Installation 2 8 Signal Connections 2 8 Front Connector 2 9 Front Connector Signal Descriptions 2 10 Terminal Block 2 11 SCXI 1326 Terminal Block 2 11 Signal Connection 2 1...

Page 5: ...ng 5 1 Programming Considerations 5 1 Notation 5 1 Register Writes 5 1 Register Selection and Write Procedure 5 2 Initialization 5 3 Examples 5 4 Example 1 5 4 Example 2 5 4 Example 3 5 5 Appendix A S...

Page 6: ...F 5 Board Connection E 7 SCXI 1351 and NB5 Cable Installation E 9 SCXI 1348 DIO 32F Cable Assembly E 10 SCXI 1348 Installation E 12 SCXI 1180 Feedthrough Panel E 12 SCXI 1180 Installation E 12 SCXI 13...

Page 7: ...gnment B 2 Figure C 1 SCXIbus Connector Pin Assignment C 2 Figure D 1 SCXI 1163 Front Connector Pin Assignment D 2 Figure E 1 SCXI 1340 Installation E 3 Figure E 2 SCXI 1351 and NB5 Cable Installation...

Page 8: ...1163 into the SCXI chassis signal connections to the SCXI 1163 and cable wiring Chapter 3 Theory of Operation contains a functional overview of the SCXI 1163 module and explains the operation of each...

Page 9: ...rd MIO board refers to the National Instruments AT MIO 16 AT MIO 16D AT MIO 16F 5 AT MIO 16X AT MIO 64F 5 MC MIO 16 NB MIO 16 and NB MIO 16X multichannel I O data acquisition boards unless otherwise n...

Page 10: ...User Manual part number 320380 01 Lab NB User Manual part number 320174 01 Lab PC User Manual part number 320205 01 Lab PC User Manual part number 320502 01 MC DIO 24 User Manual part number 320129 0...

Page 11: ...omments on our products and manuals We are interested in the applications you develop with our products and we want to help if you have problems with them To make it easy for you to contact us this ma...

Page 12: ...digital outputs The SCXI 1163 module provides digital signals where common mode voltages may be present The SCXI 1163 operates with full functionality with National Instruments MIO boards Lab NB Lab...

Page 13: ...ion programming environment These functions include routines for analog input A D conversion buffered data acquisition high speed A D conversion analog output D A conversion waveform generation digita...

Page 14: ...2 Configuration and Installation and to Appendix E SCXI 1163 Cabling for additional information on cabling connectors and adapters Custom Cables The SCXI 1163 rear signal connector is a 50 pin male ri...

Page 15: ...l Instruments selected these connectors to meet UL 1244 for 450 Vrms working isolation Unpacking Your SCXI 1163 module is shipped in an antistatic package to prevent electrostatic damage to the module...

Page 16: ...er describes the SCXI 1163 jumper configurations installation of the SCXI 1163 into the SCXI chassis signal connections to the SCXI 1163 and cable wiring Module Configuration The SCXI 1163 module cons...

Page 17: ......

Page 18: ...ecognize the board either as a DIO type or an MIO type board DIO type boards are National Instruments boards that have only digital inputs and outputs These boards include the DIO 24 DIO 32F and DIO 9...

Page 19: ...off to prevent shock hazard Connections including power signals to ground and vice versa that exceed any of the maximum signal ratings on the SCXI 1163 can damage any or all of the boards connected to...

Page 20: ...type data acquisition board Both jumpers have labels indicating the DIO and MIO configurations If you want to use the SCXI 1163 with a DIO type board place the jumpers in the D position This position...

Page 21: ...er W5 to DIO or MIO In this setting the module drives MISO to SERDATOUT and connects the necessary pullup resistor to the SERDATOUT line When using multiple chassis set jumper W5 to position DIO or MI...

Page 22: ...ures rear connector Factory setting is for DIO type boards Connects MISO to SERDATOUT on a DIO type or MIO type board Factory setting is for DIO type boards Parking position Disconnects MISO from SERD...

Page 23: ...63 to the top and bottom threaded strips of your SCXI chassis 5 If this module is to be connected to an MIO 16 or to a DIO 24 data acquisition board attach the connector at the metal end of the SCXI 1...

Page 24: ...Name Column A B C Signal Name 30 29 26 25 22 21 18 17 14 13 10 9 6 5 2 1 Out 0 Out 1 Out 2 Out 3 Out 4 Out 5 Out 6 Out 7 Out 8 Out 9 Out 10 Out 11 Out 12 Out 13 Out 14 Out 15 Out 19 Out 18 Out 17 Out...

Page 25: ...outputs B25 A25 C26 Vcc Port 1 power C25 GND Port 1 ground B22 A22 Out 8 11 Port 2 outputs B21 A21 C22 Vcc Port 2 power C21 GND Port 2 ground B18 A18 Out 12 15 Port 3 outputs B17 A17 C18 Vcc Port 3 p...

Page 26: ...is no isolation barrier between signals of the same port The signal to ground and port to port breakdown voltage is 1 900 Vrms Terminal Block To connect the signals to the SCXI 1163 outputs you can us...

Page 27: ...shield by placing a screwdriver in the groove at the bottom of the terminal block 3 Slide the signal wires one at a time through the front panel strain relief You can add insulation or padding if nece...

Page 28: ......

Page 29: ...quisition board and cable assembly you do not need to read the remainder of this chapter If you will also be using the SCXI 1180 feedthrough panel or the SCXI 1343 rear screw terminal adapter with the...

Page 30: ...SERDATOUT MIO DIO SERCLK DIO SERDATOUT DIG GND DIO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 In 9 In...

Page 31: ...Line Taps into the SCXIbus D A line to indicate to the module whether the incoming serial stream is data or address information 29 SLOT0SEL Slot 0 Select Taps into the SCXIbus INTR line to indicate w...

Page 32: ...d W3 are in the MIO position Pin 50 is for DIO type boards when SCXI 1163 jumpers W2 and W3 are in the DIO position Pin 25 is SERDATIN and is equivalent to the SCXIbus MOSI serial data input line Pin...

Page 33: ...ation consult Appendix E SCXI 1163 Cabling Table 2 3 SCXIbus to SCXI 1163 Rear Signal Connector to Data Acquisition Board Pin Equivalences SCXIbus Line SCXI 1163 Rear Signal Connector MIO Board s Lab...

Page 34: ...001 chassis this write also determines to which chassis the data acquisition board will talk Use the following procedure for selecting a slot in a particular chassis Figure 2 5 shows the timing of thi...

Page 35: ...s whose address corresponds to the written chassis number is selected When no communication is taking place between the data acquisition board and any modules write zero to the Slot Select Register to...

Page 36: ...Address Handler This selects a register for writing to or reading from Figure 2 7 illustrates a write to the SCXI 1163 Address Handler of the binary pattern 00000000 00000001 This pattern is the addr...

Page 37: ...an write address FFFF hexadecimal to the Address Handler This selects the Parking Register and makes the module registers more immune to noise 4 Pull low to deassert the SS line and establish conditio...

Page 38: ...you can write address FFFF hexadecimal to the Address Handler This selects the Parking Register and makes the module registers more immune to noise 4 Pull low to deassert the SS line and establish con...

Page 39: ...s set for serial writes Output Mode Status Register a 1 indicates that the outputs are being set by the data contents of the data register and a 0 indicates that the outputs are being set by the level...

Page 40: ...ents of the SCXI 1163 Power Out 1 Out 2 Out 3 Out 0 Port 0 Port 7 SCXIbus Rear Signal Connector Module ID Register Address Handler Interfacing and Controls Front Connector Ground Data Register Power O...

Page 41: ...10 B10 A11 B11 A12 B12 A13 B13 A14 B14 A15 B15 A16 B16 A17 B17 A18 B18 A19 B19 A20 B20 A21 B21 A22 B22 A23 B23 A24 B24 D1 C1 D2 C2 D3 C3 D4 C4 D5 C5 D6 C6 D7 C7 D8 C8 D9 C9 D10 C10 D11 C11 D12 C12 D13...

Page 42: ...r supply B23 SPICLK Serial Peripheral Interface SPI Clock Clocks the serial data on the MOSI and MISO lines Open collector I O C23 MOSI Master Out Slave In Transmits data from the SCXIbus to the modul...

Page 43: ...r MOSI corresponding to the desired slot and chassis if you are using an SCXI 1001 chassis and release INTR high At this point the SS of the desired slot is asserted low and the data acquisition board...

Page 44: ...the output mode of operation from the Address Handler and registers When the output mode is set to serial the outputs get their signals routed from the Data Register When the output mode is set to par...

Page 45: ...er The address of the Module ID Register is hex 0000 The contents of the Module ID Register are written onto MISO during the first four bytes of transfer after selecting the Module ID Register in the...

Page 46: ...UT TTL Input from SCXI 1163 Data Register 4 7 k GND Figure 3 5 SCXI 1163 Digital Output Diagram Note It is important to notice that this module has no access to the analog backplane this protects the...

Page 47: ...it register and the LSB shown on the right bit 0 A rectangle is used to represent each bit Each bit is labeled with a name inside its rectangle An asterisk after the bit name indicates that the bit is...

Page 48: ...le 4 1 SCXI 1163 Register Addresses Address Hexadecimal Register 0000 Module ID Register 0001 Data Register A enables serial override 0002 Primary Mode Register 0003 Output Mode Register 0006 Data Reg...

Page 49: ...ficant byte first Within each byte data is sent out MSB first Additional data transfers result in all zeros being sent on the MISO line The Module ID register is reinitialized to its original value ea...

Page 50: ...et primary mode of operation either serial or parallel After a write to address 0006 the Data Register drives the outputs only if the primary mode of operation is set to serial if the primary mode is...

Page 51: ...002 holds the Primary Mode Status the register at address 0003 holds the Output Mode Status Primary Mode Status Register A 1 indicates that the primary mode of operation is set for parallel writes whi...

Page 52: ...that you should select after the end of a read or write operation Selecting the Parking Register places the module in a state insensitive to noise and to electrostatic discharge ESD which may corrupt...

Page 53: ...h the SCXI 1001 chassis the Slot Select Register also determines in which chassis the desired slot is Write to the Slot Select Register using the SLOT0SEL line Maintain software copies of the Slot Sel...

Page 54: ...ess of the chassis number written The Slot Select Register shifts in the data present on the MOSI line bit 15 first when SLOT0SEL is low Type Write only Word Size 16 bit Bit Map 15 14 13 12 11 10 9 8...

Page 55: ...describes how to write to the Data Register including the procedure for writing to the Slot Select Register to select the appropriate slot For timing specifics refer to the Timing Requirements and Co...

Page 56: ...2 Clear SLOT0SEL to 0 This deasserts all SS lines to all modules in all chassis 3 For each bit starting with the MSB bit 15 do the following a Set SERDATIN bit to be sent These bits are the data that...

Page 57: ...iting to the EXTSTROBE register pulses EXTSTROBE low and then high accomplishing steps 6b and 6c d After clocking the last data bit if you do not want to write to or read another register write hexade...

Page 58: ...the primary mode set to serial The SCXI 1163 in Slot 3 is not cabled to a data acquisition board and has the primary mode set to parallel You want to set the following channels to their logic low stat...

Page 59: ...23 leaving all other channels in their high states Leave all other channels unchanged Assuming that the modules are cabled correctly and jumpers W5 and W1 are set correctly do the following 1 Select C...

Page 60: ...utputs low 15 mA maximum Isolation Port to port and port to ground Breakdown 1 900 Vrms maximum Working 450 Vrms maximum Maximum speed Propagation delay parallel mode 100 nsec Rise time1 into 100 pF 1...

Page 61: ...A SCXI 1163 User Manual A 2 National Instruments Corporation Operating Environment Temperature 0 to 50 C Relative humidity 5 to 90 at 35 C Storage Environment Temperature 55 to 150 C Relative humidit...

Page 62: ...and signal names for the SCXI 1163 50 pin rear signal connector including a description of each connection Figure B 1A shows the pin assignments for the SCXI 1163 rear signal connector configured for...

Page 63: ...DATOUT MIO DIO SERCLK DIO SERDATOUT DIG GND DIO 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 In 9 In 5 I...

Page 64: ...the SCXIbus D A line to indicate to the module whether the incoming serial stream is data or address information 29 SLOT0SEL Slot 0 Select Taps into the SCXIbus INTR line to indicate whether the infor...

Page 65: ...I 1163 User Manual B 4 National Instruments Corporation All other pins are not connected See the Timing Requirements and Communication Protocol section in Chapter 2 Configuration and Installation for...

Page 66: ...3 User Manual Appendix C SCXIbus Connector This appendix describes the pinout and signal names for the SCXI 1163 SCXIbus connector including a description of each connection Figure C 1 shows the pin a...

Page 67: ...10 B10 A11 B11 A12 B12 A13 B13 A14 B14 A15 B15 A16 B16 A17 B17 A18 B18 A19 B19 A20 B20 A21 B21 A22 B22 A23 B23 A24 B24 D1 C1 D2 C2 D3 C3 D4 C4 D5 C5 D6 C6 D7 C7 D8 C8 D9 C9 D10 C10 D11 C11 D12 C12 D13...

Page 68: ...upt Active low Causes data that is on MOSI to be written to the Slot 0 Slot Select Register Open collector Output A21 B21 C21 CHSGND Chassis Ground Digital and analog ground reference D21 A22 B22 C22...

Page 69: ...User Manual Appendix D SCXI 1163 Front Connector This appendix describes the pinout and signal names for the SCXI 1163 front connector including a description of each connection Figure D 1 shows the p...

Page 70: ...21 18 17 14 13 10 9 6 5 2 1 Out 0 Out 1 Out 2 Out 3 Out 4 Out 5 Out 6 Out 7 Out 8 Out 9 Out 10 Out 11 Out 12 Out 13 Out 14 Out 15 Out 19 Out 18 Out 17 Out 16 Out 23 Out 22 Out 21 Out 20 Out 27 Out 26...

Page 71: ...tputs B25 A25 C26 Vcc Port 1 power C25 GND Port 1 ground B22 A22 Out 8 11 Port 2 outputs B21 A21 C22 Vcc Port 2 power C21 GND Port 2 ground B18 A18 Out 12 15 Port 3 outputs B17 A17 C18 Vcc Port 3 powe...

Page 72: ...1163 User Manual D 4 National Instruments Corporation Pin Signal Name Description continued A1 B1 A2 Out 28 31 Port 7 outputs B2 C2 GND Port 7 ground C1 Vcc Port 7 power Further information is given i...

Page 73: ...nector of the data acquisition board Attached to the mounting bracket is a 50 pin female mounting bracket connector that connects to the rear signal connector of the module A male breakout connector i...

Page 74: ...I 1163 Table E 1 SCXI 1163 and Board Pinout Equivalences Pin SCXI 1163 Rear Signal Connector MIO 16 Board Equivalent DIO 24 Board Equivalent Serial Parallel 1 In 23 PC7 3 In 22 PC6 5 In 21 PC5 7 In 20...

Page 75: ...n the rear of the chassis 5 Connect the loose end of the cable assembly to the MIO 16 or DIO 24 board rear signal connector Check the installation After step 1 the order of these steps is not critical...

Page 76: ...dified Lab board signals for use with an SCXI 1180 feedthrough panel or SCXI 1181 breadboard module The adapter board gives the Lab boards full access to the digital control lines The position of jump...

Page 77: ...Lab LC board according to the instructions given in the Installation section of Chapter 2 Configuration and Installation of the Lab LC User Manual Check the installation SCXI 1342 PC LPM 16 Cable Asse...

Page 78: ...DIN7 28 No Connect 34 DOUT4 25 SERDATIN 35 DOUT5 27 DAQD A 36 DOUT6 29 SLOT0SEL 37 DOUT7 37 SERCLK 46 OUT2 46 No Connect 49 5 V 34 35 No Connect All other pins of the PC LPM 16 pinout are not sent to...

Page 79: ...51 through 100 of the NB5 cable for serial communication however you can use those positions to provide parallel inputs to the module with the DIO 96 and AT MIO 16D boards The SCXI 1351 has the follo...

Page 80: ...APB7 19 In 14 APB6 21 In 13 APB5 23 In 12 APB4 24 DIG GND DIG GND 25 SERDATIN In 11 APB3 ADIO0 ADIO0 26 BDIO0 BDIO0 27 DAQD A In 10 APB2 ADIO1 ADIO1 29 SLOT0SEL In 9 APB1 ADIO2 ADIO2 31 SERCLK In 8 AP...

Page 81: ...3 In 2 CPA2 PA2 94 In 26 DPA2 95 In 1 CPA1 PA1 96 In 25 DPA1 97 In 0 CPA0 PA0 98 In 24 DPA0 100 DIG GND GND DIG GND GND All other pins are not connected on the SCXI 1163 SCXI 1351 and NB5 Cable Instal...

Page 82: ...through 5 Figure E 2 SCXI 1351 and NB5 Cable Installation SCXI 1348 DIO 32F Cable Assembly The SCXI 1348 DIO 32F cable assembly connects a DIO 32F board to an SCXI 1163 module The SCXI 1348 cable ass...

Page 83: ...DIOC4 7 In 20 17 19 DIG GND 2 4 No Connect 21 23 DIG GND 6 8 No Connect 25 26 DIG GND 10 12 No Connect 28 30 DIG GND 14 16 No Connect 32 34 DIG GND 50 DIG GND 18 ACK2 26 No Connect 20 IN2 28 No Connec...

Page 84: ...ector You can attach the rear connector to the male breakout connector of an SCXI 1340 SCXI 1341 SCXI 1342 SCXI 1344 or SCXI 1351 in the adjacent slot The breakout connector further extends the cablin...

Page 85: ...or Breakout Connector from SCXI 1340 Threaded Strip in Rear of Chassis Step 4 Rear Panel Figure E 3 SCXI 1180 Rear Connections Note If you are using the SCXI 1180 with an SCXI 1351 and an NB5 cable co...

Page 86: ...To wire the SCXI 1302 terminal block you must remove the cover connect all the wiring and replace the cover The procedure for this is as follows 1 Unscrew the rear grounding screw on the back of the t...

Page 87: ...humbscrews in the thumbscrew cutouts 4 Tighten the top and bottom captive screws on the back of the terminal block into the screw holes in the front panel to hold the SCXI 1302 securely in place Check...

Page 88: ...data acquisition board Notice that you cannot use the SCXI 1000 in a multiple chassis system For each chassis you need an SCXI 1350 multichassis adapter board and an NB1 ribbon cable Note When connec...

Page 89: ...e last chassis SCXI 1343 Rear Screw Terminal Adapter You use the SCXI 1343 universal adapter to adapt custom wiring to the SCXI 1163 The SCXI 1343 has screw terminals and solder pads for signal connec...

Page 90: ...No Connect In 30 Solder pad 37 SERCLK MIO In 5 Solder pad 38 No Connect In 29 Solder pad 39 No Connect In 4 Solder pad 40 No Connect In 28 Solder pad 41 No Connect In 3 Solder pad 42 No Connect In 27...

Page 91: ...le Monday through Friday from 8 00 a m to 6 00 p m central time In other countries contact the nearest branch office You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technic...

Page 92: ...ficiently If you are using any National Instruments hardware or software products related to this problem include the configuration forms from their user manuals Include additional pages if necessary...

Page 93: ...ation Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently SCXI 1163 Revision Chassis Sl...

Page 94: ...Part Number 320576 01 Please comment on the completeness clarity and organization of the manual If you find errors in the manual please record the page numbers and describe the errors Thank you for y...

Page 95: ...Celsius CHSGND Chassis Ground cps counts per second D A digital to analog D A Data Address DAQD A Data Acquisition Board Data Address Line dB decibels DC direct current DIG GND Digital Ground DIN Deu...

Page 96: ...ec seconds SERCLK Serial Clock SERDATIN Serial Data In SERDATOUT Serial Data Out SLOT0SEL Slot 0 Select SPI Serial Peripheral Interface SPICLK Serial Peripheral Interface Clock SS Slot Select UL Under...

Page 97: ...pin translations E 4 SCXI 1342 PC LPM 16 cable assembly E 5 installation E 6 pin translations E 6 SCXI 1343 rear screw terminal adapter cable assembly E 17 installation E 18 pin connections E 17 to E...

Page 98: ...ation E 9 to E 10 DIO type boards configuration 2 3 digital I O signal connections 2 17 jumper configuration 2 5 2 7 SCXI 1163 MIO 16 and DIO 24 board pinout equivalences E 2 documentation conventions...

Page 99: ...erview 2 3 parts locator diagram 2 2 procedure for changing configuration 2 3 serial and parallel communication 2 3 Module ID Register description 4 3 jumper connections 2 6 reading from Module ID Reg...

Page 100: ...1 to 5 3 SCXIbus to rear signal connector to data acquisition board pin equivalents 5 2 R rear signal connector 2 14 to 2 18 digital I O signal connections 2 17 to 2 18 overview 2 14 pin assignments...

Page 101: ...2 PC LPM 16 cable assembly E 5 installation E 6 pin translations E 6 SCXI 1343 rear screw terminal adapter cable assembly E 17 installation E 18 pin connections E 17 to E 18 SCXI 1344 Lab LC cable ass...

Page 102: ...egisters 4 7 Slot Select Register 4 8 slot selection selecting a slot 2 19 slot select timing diagram 2 19 writing the slot select number 2 20 SLOT0SEL signal digital I O signal connections 2 17 readi...

Page 103: ...nal connector 3 4 pin assignments 3 2 signal descriptions 3 3 to 3 4 timing requirements and communication protocol See communication signals U unpacking the SCXI 1163 module 1 4 V V signal 3 3 C 3 Vc...

Reviews: