background image

30

32-bit input pattern (double-word)

For remote programming, there is a single command to read a 32-bit pattern (double-word) formed by four input ports. 
Thirty-two bits of data (two words) is called a double-word. The following command reads a double-word bit pattern:

SENS:DIG[:DATA]:WORD? <clist>

The only valid channels for the double-word <clist> parameter is 13. 

This command is used to read channel 11. Channel 11 is combined with channels 12, 13, and 14 to form a 32-bit pattern. When 
channel 11 is read as a double-word, Bit 0 (B0) of channel 11 will be the LSB, and Bit 7 (B31) of channel 14 will be the MSB. 

The bit pattern can be returned as a decimal, binary, hexadecimal, or octal value. 

Figure 18

 provides decimal weighting for 

each bit. The binary equivalent of the returned bit pattern value directly identifies the state of each line (bit). For example, 
assume the following binary equivalent of a returned 32-bit pattern:

00001111  11111111  11111111  11110000

The above bit pattern indicates that lines (bits) B4 through B27 are TTL high (logic ‘1’). The other bits are TTL low 
(logic ‘0’). 

The :FORMat command sets the retuned reading format for the bit pattern. For details on commands to read bit patterns, see 

Reading digital inputs

 — 

Remote programming,” page 32

.

Reading digital inputs

Before reading a digital input pattern, an I/O channel must first be set as an input port. This can be done from the front panel or 
remote programming. 

From the front panel, each 8-bit port is read individually. For remote programming, commands are provided to read 8-bit 
patterns (bytes), 16-bit patterns (words), and a 32-bit pattern (double-word).

Front panel basic operation

From the front panel, the decimal, hexadecimal, or octal equivalent of the 8-bit pattern can be read for each input port. The 
digital data format and port type (input or output) are set from the CONFIG option of the CARD menu. For details on using the 
CARD menu, see “CARD menu”. 

There are two ways to read digital input ports from the front panel. You can use the CLOSE key to select a channel to read or 
scroll through channels using the VIEW option of the CARD menu. 

Setting digital data format

The CONFIG option of the CARD menu is used to set the digital data format. The menu is accessed by pressing SHIFT and 
then CARD. After selecting the CONFIG option and the slot that has the Model 7707, select one of the formats. 

FORMAT: ASC 

Decimal format

FORMAT: HEX

Hexadecimal format

FORMAT: OCT

Octal format

FORMAT: BIN

Binary format. Note that there is not enough room on the display for a binary reading. 
Therefore, the hexadecimal format will instead be used to display digital input readings.

Summary of Contents for 7707

Page 1: ...Guide PA 770 Rev B 8 03 The Model 7707 can be used with Keithley Models 2700 2701 and 2750 All references to the Model 27xx apply to the Models 2700 2701 and 2750 A G R E A T E R M E A S U R E O F C...

Page 2: ...that a shock hazard exists when voltage levels greater than 30V RMS 42 4V peak or 60VDC are present A good safety practice is to expect that hazardous voltage is present in any unknown circuit before...

Page 3: ...electric shock and fire replacement components in mains circuits including the power transformer test leads and input jacks must be purchased from Keithley Instru ments Standard fuses with applicable...

Page 4: ...I O on page 15 Digital outputs on page 15 Sink or source on page 16 Digital I O protection on page 18 Output bit patterns on page 19 Setting digital outputs on page 22 Digital inputs on page 28 Input...

Page 5: ...relays hold their state even after power has been removed all relay states are set to open a few seconds after either a power cycle or an RST command is issued Connections to DMM functions are provid...

Page 6: ...kplane Isolation Channel 16 See Note Backplane Isolation Bit 1 16 Channel 11 DIO Digital I O 0 1 2 3 4 5 6 7 Channel 1 HI LO Channel 5 HI LO Channels 2 4 Channel 6 HI LO Channel 10 HI LO Channels 7 9...

Page 7: ...eaking connections to the switching module make sure power is removed from all external circuitry Do not connect signals that may exceed the maximum specifications of the Model 7707 Specifications are...

Page 8: ...16 Ch 14 Bit 5 26 Gnd 36 Ch 11 Bit 6 46 Gnd 7 Ch 12 Bit 4 17 Protection K4 27 Ch 13 Bit 2 37 Gnd 47 Ch 14 Bit 0 8 Ch 12 Bit 7 18 Ch 11 Bit 1 28 Ch 13 Bit 5 38 Gnd 48 Ch 14 Bit 3 9 Gnd 19 Ch 11 Bit 4 2...

Page 9: ...07 Model 7790 ribbon cable adapter kit Contains one female DB 50 one male DB 50 and one male DB 25 IDC ribbon cable connectors The female DB 50 and the male DB 25 mate to the D shell connectors on the...

Page 10: ...20 34 Yellow Ch 13 Bit 6 12 10 Black Protection K1 4 35 Green Ch 13 Bit 7 45 11 Brown Gnd 37 36 Blue Protection K3 29 12 Red Gnd 21 37 Violet Gnd 13 13 Orange Gnd 5 38 Grey Gnd 46 14 Yellow Gnd 38 39...

Page 11: ...r 50 pin D shell Female IDC Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Ground Channel 11 Bit 0 Channel 11 Bit 1 Channel 11 Bit 2 Channel 11 Bit 3 Channe...

Page 12: ...Lo 23 8 Grey Ch 4 Lo 17 21 Brown Sense Hi 11 9 White Ch 5 Hi 5 22 Red Sense Lo 24 10 Black Ch 5 Lo 18 23 Orange Input Hi 12 11 Brown Ch 6 Hi 6 24 Yellow Input Lo 25 12 Red Ch 6 Lo 19 25 Green 13 Orang...

Page 13: ...al terminal up to 40V A connector cover must be installed on an unused 50 pin D shell connector If the connector is left open an electrical shock hazard may be present Figure 6 Connecting solder cup c...

Page 14: ...cover of the Model 7707 Use this to record connection information and channel descriptions as needed Table 4 Connection log Model 7707 Channel Color Description INPUT H L SENSE H L CH1 H L CH2 H L CH3...

Page 15: ...s and it does not have a cold junction for thermocouple temperature measurements Operation information for the Model 7700 switching module is provided in the Model 27xx User s Manual Section 2 covers...

Page 16: ...defaults ROUT CLOS 101 Closes system channel 101 SENS FUNC CURR DC Attempts to select DCI function Generates error 221 Making amps measurements In order to perform amps measurements you must use the...

Page 17: ...esistance and RTD connections Figure 8 Voltage connections AC or DC Figure 9 Figure 7 2 wire resistance and thermistor connections Figure 8 4 wire resistance and RTD connections Channel 1 HI LO Channe...

Page 18: ...I O channels Digital outputs Digital outputs are used to control logic devices indicators fixtures switches solenoids loads relays etc With one I O channel set as an output port eight output lines bi...

Page 19: ...0V and or high current up to 100mA devices such as relays solenoids and other loads Figure 11 Figure 12 and Figure 13 show how to use an output line as a sink CAUTION Do not apply more than 40V to the...

Page 20: ...Diode Zener Clamp K1 Protection Circuit 40V External Source Vmax 40v Imax 100mA Channel 11 set as output port Note Setting output line low logic 0 closes transistor switch to energize relay coil Mode...

Page 21: ...ection for a digital output is shown in Figure 15 In Figure 15 a short circuit condition exists when the transistor switch for the digital output is closed logic 0 When the current reaches 1A the driv...

Page 22: ...how to connect the diode across the coil Even when using K1 K2 K3 or K4 protection additional devices such as fuses and current limiting resistors may be required to adequately protect the switching...

Page 23: ...Decimal weighting for 8 bit output pattern byte For remote programming the following command is used to set the 8 bit output pattern for each output port OUTP BYTE NRf NDN clist Valid channels for the...

Page 24: ...2 bit output pattern double word For remote operation there is a single command to set the four output ports to form a 32 bit output pattern double word OUTP DWOR NRf NDN clist The only valid channel...

Page 25: ...bit pattern 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Decimal weight 128 27 64 26 32 25 16 24 8 23 4 22 2 21 1 20 Channel 12 B8 B15 Digital I O line Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Bit position...

Page 26: ...From these menu items a channel can be set as an output OUT port CHAN 111 OUT CHAN 112 OUT CHAN 113 OUT CHAN 114 OUT After a digital I O channel is set as an output OUT port you will then be prompted...

Page 27: ...of listed channels 1 output port 0 input port Setting bytes basic operation OUTPut DIGital Path to set digital output bytes BYTE NDN or NRf clist Set a byte output pattern2 valid channels are 11 12 13...

Page 28: ...or reading outputs OUTPut DIGital Path to select reading format FORMat name NRf Select data format for reading digital outputs6 name ASCii Decimal format BINary Binary format HEXadecimal Hexadecimal f...

Page 29: ...RMat command is used to select the format for returned values WORD NDN or NRf clist Set digital output word patterns WORD clist Query output word patterns Use to set or query a 16 bit digital output w...

Page 30: ...B15 channel 13 is used for bits B16 through B23 and channel 14 is used for bits B24 through B31 NOTE When setting a double word bit pattern all I O channels 11 12 13 and 14 must be configured as outp...

Page 31: ...one of these commands can be used to set the format for returned digital I O bit patterns Digital inputs Digital TTL inputs can be read by the Model 27xx With one I O channel set as an input port eigh...

Page 32: ...for the bit pattern For details on commands to read bit patterns see Reading digital inputs Remote programming page 32 Advanced operation reading words 16 bits or double words 32 bits 16 bit input pa...

Page 33: ...inputs Remote programming page 32 Reading digital inputs Before reading a digital input pattern an I O channel must first be set as an input port This can be done from the front panel or remote progra...

Page 34: ...Reading digital inputs using the CARD menu The VIEW option of the CARD menu can be used to read digital inputs The menu is accessed by pressing SHIFT and then CARD After selecting the VIEW option and...

Page 35: ...scan list For details see Table 6 and the command descriptions that follow the table NOTE For details on all other aspects of scanning see Section 7 of the Model 27xx User s Manual Digital limit test...

Page 36: ...indicate that limits is enabled for the channel 5 The digital input reading and the result of the limits test will be displayed for the selected channel If both limit 1 and 2 passes the letter I will...

Page 37: ...T and then CH OFF to enable the channel If for example you enable channel 112 the following will be displayed SETUP D 112 NOTE If the channel was configured as an output channel SETUP message dimmed i...

Page 38: ...he buffer will also change Remote programming Use the ROUTe SCAN clist command to add digital channels to a scan list The clist parameter is then used with digital limit commands to set limits for sca...

Page 39: ...pattern match occurs Table 6 Commands for digital inputs Command Description Default Set port s as input or output OUTput DIGital Path to set channels of digital I O port STATe b clist Set listed chan...

Page 40: ...NDN or NRf clist Set 8 bit pattern for comparison NDN Bxx x Binary format each x 1 or 0 Hx Hexadecimal format x 0 to FF Qx Octal format x 0 to 377 NRf 0 to 255 Decimal format 0 PATTern clist Query pat...

Page 41: ...he input pattern The binary format BINary allows you to directly identify which bits are set For example for a returned binary value of B100101 bits B5 MSB B2 and B0 LSB are set When using one of the...

Page 42: ...other channel number s with the command generates error 221 settings conflict When reading a word bit pattern both channels 11 and 12 or 13 and 14 must be configured as input ports Otherwise error 221...

Page 43: ...input pattern using the binary format OUTP DIG STAT 0 111 114 Set channels 11 12 13 and 14 as input ports SENS DIG FORM BIN 0 Select binary format no leading zeroes SENS DIG WORD 111 Read word bit pa...

Page 44: ...LIM1 DIG MODE Query limit 1 global mode PATTern NDN or NRf clist Set digital limit pattern PATTern clist Query digital limit pattern For non scan channels the PATTern command is global to all digital...

Page 45: ...ble or disable auto clear for limit 1 CALCulate3 LIMit1 CLEar AUTO Query state of auto clear for limit 1 CALCulate3 LIMit2 CLEar Clear fail indication for limit 2 CALCulate3 LIMit2 CLEar AUTO b Enable...

Page 46: ...alue for I O Channel 12 000 to 255 ASCII View Digital Input or Output Value for I O Channel 13 000 to 255 ASCII View Digital Input or Output Value for I O Channel 14 000 to 255 ASCII Set Digital Outpu...

Page 47: ...CII decimal data format is the factory and RST default The scrolling channel string is truncated by four dots to indicate the end The string of channels will scroll continuously until it is stopped by...

Page 48: ...d output pattern valid channels are 11 and 13 WORD clist Query digital word output pattern for channels 11 and or 13 DWORd NDN or NRf clist Set a double word output pattern valid channel is 11 DWORd c...

Page 49: ...parison NDN Bxx x Binary format each x 1 or 0 Hx Hexadecimal format x 0 to FF Qx Octal format x 0 to 377 NRf 0 to 255 Decimal format PATTern clist Query pattern for comparison CALCulate3 LIMit2 Path t...

Page 50: ...Ordering information To place an order or to obtain information concerning replacement parts contact your Keithley representative or the factory see inside front cover for addresses When ordering part...

Page 51: ...E DUAL ROW RECEPT CS 1065 1 J2 CONN FEMALE 25 PIN CS 484 K11 K12 NON LATCHING RELAY RL 242 K1 K10 K13 SINGLE COIL LATCH RELAY RL 225 L1 L2 L3 L4 L5 L6 L100 FERRITE CHIP 600 OHM BLM32A07 1206 CH 62 L7...

Page 52: ...U25 IC OCTAL D FLIP FLOP POS 3 ST IC 1448 U8 U9 IC 3 TO 8 LINE DECODE 74ACT138 SOIC IC 654 Y1 CRYSTAL CERAMIC RESONATOR 8M CR 59 2 I O MODUL 0 R ANALOG FINAL INSPECTION 7707 FIN 51 50 5 SHELL FEMALE...

Page 53: ...Q2 U7 U26 U28 U4 U18 U20 U47 U48 U38 U37 U23 U25 U6 U15 U17 U22 U24 U2 U14 U16 U5 U8 U9 U1 R209 R205 R203 R201 R210 R204 R202 U40 U41 U30 U31 U35 U36 U46 U43 L28 L7 L9 L8 L10 L11 L13 L12 L14 L26 L27 L...

Page 54: ...R23 R24 R25 R22 R32 R35 R34 R33 C19 R152 R149 R150 R93 R95 R94 R98 R153 R154 R156 R155 R92 R104 C48 R96 R97 R99 R55 R54 R133 R134 R136 R135 R56 R57 R59 R58 R61 R101 C301 C45 C44 R71 R70 R137 R138 R139...

Page 55: ...52 Specifications 7707 Multiplexer Digital I O Module...

Page 56: ...System The Model 2750 can provide power up to a total of 1 3A for the five module slots This is sufficient power for up to four Model 7707s and one other switching module The capacity limits when usin...

Page 57: ...0 C 0 to 1372 C 0 5 0 2 1 6 N 200 to 0 C 000 to 1300 C 0 8 0 2 0 3 3 0 0 5 T 200 to 0 C 0 to 400 C 0 5 0 1 0 1 1 5 E 200 to 0 C 000 to 1000 C 0 2 0 6 R 0 to 400 C 400 to 1768 C 1 2 0 4 0 3 2 2 5 9 S 0...

Page 58: ......

Page 59: ...60 11 77 26 GERMANY Landsberger Strasse 65 82110 Germering 089 84 93 07 40 Fax 089 84 93 07 34 GREAT BRITAIN Unit 2 Commerce Park Brunel Road Theale Berkshire RG7 4AB 0118 929 75 00 Fax 0118 929 75 1...

Reviews: