manualshive.com logo in svg
background image

Operation

3-5

Either of the following statements turns off channels 1!1, 1!4

through 1!6, and the channels of M1: 

PRINT #1, "output 07; open (@ 1!1, 1!4:1!6, M1)"
PRINT #1, "output 07; open all"

3.11 Scanning output channels 

There are many commands associated with scanning. How-

ever, it is possible to configure a scan using as little as four

commands. These commands are listed as follows:

*RST
:TRIGger:COUNt:AUTo ON
:ROUTe:SCAN <list>
:INIT

The first command resets the mainframe to a default scan

configuration. The second command automatically sets the

channel count to the number of channels in the Scan List, the

third  command  defines the  Scan  List  and  the  fourth  com-

mand takes the Model 7001/7002 out of the idle state.

The following program fragment will perform a single scan

of output channels 1 through 4 of slot 1, and the channels that

make up channel pattern M1:

PRINT #1, "output 07; *rst"
PRINT #1, "output 07; trig:coun:auto on"
PRINT #1, "output 07; scan (@ 1!1:1!4, M1)"
PRINT #1, "output 07; init"

The first statement selects the *RST default configuration for

the  scan.  The  second  statement  sets  channel  count  to  the

scan-list-length (5). The third statement defines the scan list,

and the last statement takes the mainframe out of the idle

state. The scan is configured to start as soon as the :INIT

command is executed.

When the above program fragment is run, the scan will be

completed in approximately 30 milliseconds (3msec delay

for channel closures and 3msec delay for each open), which

is too fast to view from the front panel. An additional relay

delay can be added to the program to slow down the scan for

viewing. The program is modified by adding a statement to

slow down the scan. Also, a statement is added to the begin-

ning of the program to ensure that all channels are open be-

fore the scan is started. The two additional statements are

indicated in bold typeface.

PRINT #1, "output 07; open all"

PRINT #1, "output 07; *rst"
PRINT #1, "output 07; trig:coun:auto on"

PRINT #1, "output 07; trig:del 0.5"

PRINT #1, "output 07; scan (@ 1!1:1!4, M1)"
PRINT #1, "output 07; init"

The first statement opens all channels, and the fourth state-

ment sets a 1/2 second delay after each channel closes. 

3.12 Reading input channels 

The following SCPI commands are used to read the status of

input channels: 

:SENSe2:DATA? <list>

Read input channels; Slot 1

:SENSe3:DATA? <list>

Read input channels; Slot 2

:SENSe4:DATA? <list>

Read input channels; Slot 3

:SENSe5:DATA? <list>

Read input channels; Slot 4

:SENSe6:DATA? <list>

Read input channels; Slot 5

:SENSe7:DATA? <list>

Read input channels; Slot 6

:SENSe8:DATA? <list>

Read input channels; Slot 7

:SENSe9:DATA? <list>

Read input channels; Slot 8

:SENSe10:DATA? <list>

Read input channels; Slot 9

:SENSe11:DATA? <list>

Read input channels; Slot 10

The conventional form for the <list> parameter includes the

slot  and  input  channel  number.  However,  for  these  com-

mands you do not need to include the slot number. For exam-

ple, you can send either of the following two commands to

read input channel 23 in slot 6: 

:SENSe7:DATA? (@6!23)

 or 

:SENSe7:DATA? (@23)

After the mainframe is addressed to talk, the response mes-

sage will indicate the state of each listed input channel. A re-

turned  “0”  indicates  that  the  channel  is  off  (open),  and  a

returned “1” indicates that the channel is on (closed). 

The following program fragment reads channel 3 of a digital

I/O card installed in slot 1: 

PRINT #1, "output 07; sens2:data? (@3)"
PRINT #1, "enter 07"
LINE INPUT #2, A$
PRINT A$

The first statement reads input channel 3 (slot 1). The second

statement addresses the mainframe to talk (sends response

message  to  computer).  The  third  statement  reads  the  re-

sponse message and the last statement displays the message

(0 or 1) on the computer CRT. 

The above program fragment is modified to read all 40 input

channels  in  slot  1  as  follows.  The  modified statement  is

shown in bold typeface. 

Содержание 7020-D

Страница 1: ...del 7020Digital I O Interface Card Instruction Manual A G R E A T E R M E A S U R E O F C O N F I D E N C E Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot c...

Страница 2: ...Y OF ITS EMPLOYEES SHALL BE LIABLE FOR ANY DIRECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF ITS INSTRUMENTS AND SOFTWARE EVEN IF KEITHLEY INSTRUMENTS INC HAS BEEN...

Страница 3: ...Model 7020 Digital I O Interface Card Instruction Manual 1995 Keithley Instruments Inc All rights reserved Cleveland Ohio U S A Second Printing March 2001 Document Number 7020 901 01 Rev B...

Страница 4: ...mbered sequentially When a new Revision is created all Addenda associated with the previous Revision of the manual are incorporated into the new Revision of the manual Each new Revision includes a rev...

Страница 5: ...I O connections are for connection to Category I sources un less otherwise marked or described in the Manual Exercise extreme caution when a shock hazard is present Lethal voltage may be present on ca...

Страница 6: ...lly before performing the indicated procedure The CAUTION heading in a manual explains hazards that could damage the instrument Such damage may invalidate the warranty Instrumentation and accessories...

Страница 7: ...resistance 18 Collector Emitter SaturationVoltage 0 75V 1mA 1V 65mA Logic Negative True INPUT SPECIFICATIONS Configuration 40 inputs with internal 10k pull up resistors pro vided Characteristics Input...

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

Страница 9: ...ut connections 2 4 2 8 Typical connection techniques 2 6 2 9 Typical output connection schemes 2 7 2 10 Typical input connection scheme 2 9 2 11 Models 7020 D and 7020 DT 2 9 3 Operation 3 1 Introduct...

Страница 10: ...ck diagram 4 2 4 7 ID data circuits 4 2 4 8 Output channel control 4 3 4 9 Input channel control 4 4 4 10 Power on safeguard 4 4 4 11 Troubleshooting 4 4 4 12 Troubleshooting access 4 4 4 13 Troublesh...

Страница 11: ...nnector pinout 2 7 Figure 2 9 Digital output solenoid control 2 8 Figure 2 10 Digital output relay control 2 8 Figure 2 11 Digital output motor control 2 8 Figure 2 12 Digital output logic device cont...

Страница 12: ...iv...

Страница 13: ...5 Table 2 4 Miscellaneous terminal identification 2 6 Table 2 5 I O connection accessories 2 6 Table 2 6 Terminal identification 2 10 4 Service Information Table 4 1 Recommended troubleshooting equipm...

Страница 14: ...vi...

Страница 15: ...that interrupts the damaging high current The fuse will automatically reset to the low resistance state when the fault condition is re moved Each output channel uses a fly back diode for protection wh...

Страница 16: ...L 7020 B Using External Voltage Source 25V maximum Figure 1 1 Output configu ations for pull up devices DRIVER F 18 JUMPER 5 3V OUTPUT VINT LOGIC DEVICE 7020 Note Pull up resistor RP installed RP 10k...

Страница 17: ...th the majority of components is called the scanner board 2 3 Voltage source jumpers Digital output high can be supplied by the internal 5 3V volt age source or by a user supplied voltage At the facto...

Страница 18: ...NK A W103 5 3V 9 16 BANK B W102 5 3V 17 24 BANK C W101 5 3V 25 32 BANK D W100 5 3V 33 40 BANK E VEXT2 W105 Figure 2 1 Voltage source jumpers for output channels Figure 2 2 Component locations scanner...

Страница 19: ...frame WARNING Turn off power from all instrumentation including the Model 7001 or 7002 mainframe and disconnect their line cords Make sure all power is removed and any stored energy in external cir cu...

Страница 20: ...tallation in Model 7001 2 7 Input output connections Connections to external circuitry are made at the 96 pin male DIN bulkhead connector The pinout for this connector is shown in Figure 2 5 This conn...

Страница 21: ...18b 20b 22b 24b 26b 28b 30b 32b 2c 4c 6c 8c 10c 12c 14c 16c 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 a b c View from pin side of connector Figure 2 5 96 p...

Страница 22: ...blies Figure 2 6 shows a typical round cable connection technique using accessories avail able from Keithley Connections are accomplished using a custom built cable as sembly that consists of a Model...

Страница 23: ...e removed for this application Figure 2 7 Model 7011 KIT R with cable assembly Figure 2 8 Model 7011 MTR connector pinout 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5...

Страница 24: ...and 27 R183 are installed OUT 1 VEXT1 SOLENOIDS 7020 OUT 2 OUT 3 GND 24V INTERNAL CONNECTIONS EXTERNAL VOLTAGE SOURCE VEXT1 SELECTED PULL UP RESISTORS R180 REMOVED Figure 2 9 Digital output solenoid...

Страница 25: ...ulled high by the internal pull up resistor As a result the input channel is on closed When a switch is closed the corresponding input channel is pulled low to ground As a result the input channel is...

Страница 26: ...gnal Pin IN14 IN13 IN12 IN11 IN10 IN9 IN8 IN7 IN6 IN5 IN4 IN3 IN2 IN1 N C N C N C DIG GND N C IN15 IN16 IN17 IN18 IN19 IN20 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 33 32 31 30 29 28 27 26 IN21 IN22...

Страница 27: ...are not familiar with the operation of the mainframe refer to the Model 7001 or 7002 Instruction Manual after reading the following information 3 2 Power limits To ensure proper operation and prevent...

Страница 28: ...versely a channel is off open when the input is pulled low to ground 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 7001 DISPLAY OPEN CHANNEL CLOSED CHANNEL CARD 1 CARD 2 Figure 3 1 Model 7001 channel stat...

Страница 29: ...31 2 32 2 33 2 34 2 35 2 36 2 37 2 38 2 39 2 40 1 2 3 4 5 6 7 8 9 10 B SLOT 2 CARD 2 1 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 9 1 10 1 11 1 12 1 13 1 14 1 15 1 16 21 17 1 18 1 19 1 20 1 21 1 22 1 23 1 24 1 2...

Страница 30: ...y mode the mainframe displays the real time state of each input channel Input channels use positive true logic A channel is on closed when the input is high Keep in mind that an open input is pulled h...

Страница 31: ...he two additional statements are indicated in bold typeface PRINT 1 output 07 open all PRINT 1 output 07 rst PRINT 1 output 07 trig coun auto on PRINT 1 output 07 trig del 0 5 PRINT 1 output 07 scan 1...

Страница 32: ...Operation 3 6 PRINT 1 output 07 sens2 data 1 40 PRINT 1 enter 07 LINE INPUT 2 A PRINT A The response message will include a 0 off or 1 on for each of the 40 input channels i e 0 0 0 1 0 0 1...

Страница 33: ...should be taken when servicing the card Handle the card only by the edges and shields Do not touch any board surfaces or components not associated with the re pair Do not touch areas adjacent to elect...

Страница 34: ...it board into which the device is to be inserted must first be grounded to the bench or table 5 Use only anti static type de soldering tools and grounded tip soldering irons 4 5 Principles of operatio...

Страница 35: ...f the ID DATA line with the ID CLK line held high see Figure 4 3 ID CLK ID DATA START BIT STOP BIT Figure 4 3 Start and stop sequences ID CLK START ACKNOWLEDGE 1 8 9 ID DATA DATA OUTPUT FROM MAINFRAME...

Страница 36: ...bling all output channels output channel IC enable pins are high After the reset condition elapses 200msec PRESET goes high while Q out stays high When the first valid STROBE pulse occurs a low logic...

Страница 37: ...04 pin 2 U113 pin 3 and U104 pin 9 U109 U113 pins 11 18 5 3VDC ID CLK pulses ID DATA pulses STROBE pulse CLK pulses DATA pulses Low with output channel on high with output channel off All voltages ref...

Страница 38: ...Service Information 4 6...

Страница 39: ...n 4 Circuit designation if applicable 5 Keithley part number 5 4 Factory service If the card is to returned to Keithley Instruments for repair perform the following Call the Repair Department at 1 800...

Страница 40: ...79 R180 184 R185 U100 104 U105 U106 U107 U108 U109 113 VR100 104 W100 104 W105 16 PIN SOCKET FOR TF 117 CONNECTOR JUMPER FOR CS 339 SHIELD CAP 1UF 20 50V CERAMIC CAP 10UF 20 100 25V ALUM ELEC DIODE SI...

Страница 41: ...R438 R437 R436 R435 R434 R433 R432 R431 R430 R429 R428 R427 R426 R425 R424 R423 R422 R421 R420 R419 R418 R417 R416 R415 R414 R413 R412 R411 R410 R409 R408 R407 R406 R405 R404 R403 R402 R401 C401 C 4...

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

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

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

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

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

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

Страница 48: ...3 4 Input channel control 4 4 Input output connections 2 4 Internal connections 2 1 O Operation 3 1 Ordering information 5 1 Output channel control 4 3 M Models 7020 D and 7020 DT 2 9 P Parts lists 5...

Страница 49: ...i 2...

Страница 50: ...nstable Will not read applied input Overload Calibration only Certi cate of calibration required Data required attach any additional sheets as necessary Show a block diagram of your measurement system...

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

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

Страница 53: ...Landsberger Strasse 65 D 82110 Germering 089 84 93 07 40 Fax 089 84 93 07 34 GREAT BRITAIN Keithley Instruments Ltd The Minster 58 Portman Road Reading Berkshire RG30 1EA 0118 9 57 56 66 Fax 0118 9 5...

Отзывы: