background image

26

:BYTE <NDN or NRf>, <clist> 

Set digital output byte patterns

:BYTE? <clist> 

Query output byte patterns

Use to set (or query) an 8-bit digital output byte pattern for the specified I/O channel(s). Channels 11, 12, 13, and 14 can be set 
as 8-bit output patterns. 

NOTE

Only channels 11, 12, 13, and 14 are valid with the :BYTE command. Using any other channel 
number(s) with the command generates error -221 (settings conflict). 

The value to set the 8-bit output pattern can be sent in the decimal, binary, hexadecimal, or octal format. 

Example:   Set output bit pattern “100101” for channel 13 (Bits B5, B2 and B0 set high):

OUTP:DIG:STAT 1,(112)

' Set channel 12 as output port.

OUTP:DIG:BYTE #B100101,(@121)

' Set pattern; binary format.

In order to use one of the other formats, convert the binary value to its hexadecimal, octal, or decimal equivalent and send the 
command as follows: 

OUTP:DIG:BYTE #H25,(@121)

' Set pattern; hexadecimal format.

OUTP:DIG:BYTE #Q45,(@121)

' Set pattern; octal format.

OUTP:DIG:BYTE 37,(@121)

' Set pattern; decimal format.

:BYTE? command — For non-decimal formats, one of the following headers will accompany the returned value to identify 
which format is selected: 

#B = Header for binary values
#H = Header for hexadecimal values
#Q = Header for octal values

The :FORMat 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 word pattern. Channels 11 and 12 are combined to form one 16-bit pattern, and 
channels 13 and 14 are combined to form a second 16-bit pattern. 

NOTE

Only channels 11 and 13 are valid with the :WORD command. Using any other channel number(s) 
with the command generates error -221 (settings conflict). 

When you write a word output pattern to channel 11, the bits for both channels 11 and 12 will set. As shown in 

Figure 17

channel 11 is used for bits B0 through B7, and channel 12 is used for bits B8 through B15. In a similar manner, when you write 
a word output pattern to channel 13, the bits of channels 13 and 14 will set. 

NOTE

When setting a word bit pattern, both channels (11 and 12, or 13 and 14) must be configured as 
output ports. Otherwise, error -221 (settings conflict) will occur when the :WORD command is 
sent.

The value to set the 16-bit output pattern can be sent in the decimal, binary, hexadecimal, or octal format.

Example:   Write 16-bit output bit pattern “00000001 00000111” to channel 11 (Bits B8, B2, B1 and B0 set high):

OUTP:DIG:STAT 1,(111,112)

' Set I/O channels 11 and 12 as outputs ports.

OUTP:DIG:WORD #B100000111,(@111)

' Set pattern; binary format.

Notice that leading zeroes for the binary word need not be included in the command.

Содержание 7707

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 55: ...52 Specifications 7707 Multiplexer Digital I O Module...

Страница 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...

Страница 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...

Страница 58: ......

Страница 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...

Отзывы: