《KEI 230 Quick Reference Guide 电路图.pdf》由会员分享,可在线阅读,更多相关《KEI 230 Quick Reference Guide 电路图.pdf(22页珍藏版)》请在收音机爱好者资料库上搜索。
1、Model 220/230 PROGRAMMABLE SOURCES QUICK REFERENCE GUIDE RadioFans.CN 收音机爱 好者资料库 lNTl?OOUCTlON The Keithley Model 220 Programmable Current Source and 230 Pro- grammable Voltage Source are easily interfaced to common con- trollers using the IEEE-488 bus. These programs will set the current and voltag
2、e values using the following controllers: HP 85; HP 9825A; HP 98458; APPLE II (APPLE Interface); PET/CBM 2001; TEK 40% IBM PC or XT Personal Computer, E-H 7000 Com- puter. The programs accept a numeric input from the controller keyboard, program the Model 220 for autoranging and continuous operation
3、, and set the instrument output to the values entered. All other parameters remain unchanged, but may be altered by including another input string variable. Programming for Model 230 f where o is the output from 0 to 15. KO = EQI transmitted on last byte out. Kl = EOI is not transmitted. Mnn: nn = 0
4、 to 31 base, 10 or 00000 to 11111 base 2. 0 = bit disabled 1 = bit enabled Bits: SRQ mask MSB7: N/A 6: NiA 5: N/A 4: Input Port Change 3: End of Dwell Time 2: End of Buffer 1: Over Voltage Limit 0: IDDC, IDDCo or - REN (nor Remote) BITS: DATA ERROR MSB7 NIA N/A 6 SRQ SRQ 5 Data = 0 Error = 1 4 N/A N
5、/A 3 Input Port Change N/A 2 End of Dwell Time -REN (No Remote) 1 End of Buffer IDDCO 0 Over Voltage Limit IDDC ROGRAM AODE: PO = Single Pl = Continuous P2 = step IANGES: RO = Auto Range (force most significant number) Rl = Full scale: 2 nA 2.OE-9 (preserve IS= 20 nA 2.OE-8 significance) R3 = 200 nA
6、 2.0 all numbers; (blank); + - / , . e UPUTS: Ifsign)n.nnnE(sign)nn Current source output value Lfmits: 0 to lOl.OOmA V(sign)n.nnnnEfsign)nn Voltage limit Limits: 1 to 105V W(sign)n.nnnEfsignJnn Dwell time Limits: 0 to 999.9sec (lmsec steps) B(sign)n.nnnnE(sign)nn 5 Buffer address (IEEE buffer) Limi
7、ts: 1 to 100 Ltsign)n.nnnnEk.ign)nn Memory location (display) Limits: 1 to 100 I/O PORT: On.nnnnEnn Set control bits on “X” n = 0 to 16 base 10 or 0000 to 1111 base 2 if 0 then bit low if 1 then bit high OUTPUT STATUS STRING ON TALK: UO = Output status word on next read. Formatz230DFGJKPRTM Y Defaul
8、t:230 00 00 02 0 6 0 0 : J is claarad to 0 after status word is read. Ul = Output l/O status on next read. Read input on X only. I/Oii,oo = I/O status where i is the input from 0 to 15. where o is the output from 0 to 15. DEBUGGING: JO = ROM and LED test Sets power up status byte, J to 1 in the stat
9、us string. 6 MODEL 230 PROGRAM CODES DISPLAY: Do = SourcfJ Dl = Current Limit D2 = Dwell Time D3 = Memory Location FUNCTION: FO = Standby Set output voltage to zero. Fl = Operate Set output to value in memory location. PREFIX: GO = Location with prefix is transmitted (NDCI, V, W, NDCV + n.nnnnE + n,
10、 I + n.nnOOE + n, B. L. I/O) W + n.nnnnE + n, L + n.nnOOE + n Gl = Location without prefix is transmitted. + n.nnnnE + n, + n.nnOOE + n, + n.nnnnE + n, t n.nnOOE t n G2 = Buffer address with prefix is transmitted. NDCV t n.nnnnE + n, I + n.nnOOE + n, W + n.nnnnE + n, B + n.nnOOE t n G3 = Buffer addr
11、ess without prefix is transmitted t n.nnnnE t n, + n.nnOOE t n, t n.nnnnE + n, t n.nnOOE + n G4 = Full buffer with prefix is transmitted. NDCV + n.nnnnE t n, I + n.nnOOE t n, W t n.nnnnE t n, B t l.OOOOE t 0, NDCV t n.nnnnE t n, 1 t n.nnOOE + n W t n.nnnnE + n, B t 2.00OOE + 0, NDCV t n.nnnnE t n, I
12、 t n.nnOOE t n, W + n.nnnnE t n, B t where o is the output from 0 to 15. KO = EOI transmitted on last byte out. Kl = EOI is not transmitted. Mnn: nn = 0 to 31 base 10, or 0000 to 1111 base 2. 0 = bit disabled 1 = bit enabled Bii SRQ mask MSB? N/A 6: NIA 5: N/A 4: Input Port Change 3: End of Dwell Ti
13、me 2: End of Buffer 1: Over Current Limit 0: IDDC, IDDCo or -REN (no Remote) BITS DATA MSB7 N/A 6 SRQ 5 Data = 0 4 N/A 3 Input Port Change 2 End of Dwell 1 End of Buffer 0 Over Current Limit ERROR NIA SRQ Error = 1 N/A NIA -REN (No Remote) IDDCO IDDC MODE: Pl = Continuous P2 = step RANGES: RO = Auto
14、 Range (force most significant number) Rl = Full scale: 200mV 2.OE-1 (preserve R2 = 2 V 2.OEtO significance) R3 = 20 V 2.OEtl R4 = 200 V 2.OEt2 TRIGGER MODES: TO = Start on Talk Tl = Stop on Talk T2 = Start on Get l3 = Stop on Get T4 = Start on x” T6 = Stop on x” TB = Start on External TJ = Stop on
15、External IEEE TERMINATOR CHARACTER Yc = The (ASCII) bve contains an ASCII charac- ter which will be used as the terminator for data until changed. The power up default is (CR) (LF). NOTE: ASCII (DEL) indicates no terminator, ASCII (LF) indicates (CR) (LF), and ASCII (CR) indicatae fLF) (CR).1 Termin
16、ators not allowed: Ail capital letters; all numbers; (blank); t - / , . a INPUTS: V(sign)n.nnnnEfsign)nn Voltage source output value Limits: 0 to f 101 .OOV I(sign)n.nnnnE(sign)nn Voltage limit Limits: 0 = 2mA 1= 2omA 2 = lOOmA W(Sign)n.nnnnE(sign)nn Dwell time Limits: 0 to 999.9sec (lmsec steps) B(
17、sign)n.nnnnE(sign)nn Buffer address (IEEE buffer) Limits: 1 to 100 L(sign)n.nnnnE(sign)nn 9 Memory location (display) Limits: 1 to 100 I/O PORT: Crn.nnnnEnn Set control bits on 3” n = 0 to 16 base 10 or ooootollll base2 if 0 then bit low if 1 then bit high OUTPUT STATUS STRING ON TALK: UO = Output s
18、tatus word on next mad. Format:220DFGJKPRTM Y Default:2200 0 00 02 0 6 0 0 : Ul = Output l/O status on next read. Read input on X only. I/Oii,oo = I/O status where i is the input from 0 to 15. where o is the output from 0 to 15. DEBUGGING JO = ROM and LED test Sets power up status byte, J to 1 in th
19、e status string. PROGRAMS The following programs are designed to be a simple aid to the user, and are not intended to suit specific needs. Detailed information can be found in the manual and on the programming card. HP 85 This program sets up the Model 220 output according to the values entered from
20、 the HP-85 keyboard, using the B2937A GPIB interface. DiRECTiONS 1. Set switches on the Model 220 to addressable mode, primary address 12. 2. Connect the Model 220 to the HP 65 and HP 62937A GPIB interface. 3. Enter the program below using the END LINE key after each line. 4. Type RUN and depress th
21、e END LINE key. 5. The display will read ENTER I = . 6. To program the Model 220 to lfi output, type lE-6 and depress the END LINE key. 7. The display will read ENTER V = . 8. To program the Model 220 to 20V compliance limit, type 20 and depress END LINE key. 9. The programmed change can be verified
22、 by selecting one of the front panel DISPLAY pushbuttons and reading the display value. PROGRAM 10 REMOTE 712 20 DISP “ENTER I =” 30 INPUT I$ 46 DISP “ENTER V = ” 50 lNPUTV$ 60 OUTPUT 712;“ROPlFlX”, 7” I$ II” vsx” 0 GO “ROPlFlX”; Output to IEEE bus, address 12. “,“.I$.“.Vs”x” 60GdTb3d Repeat 70 END
23、NOTE: While the program illustrates Model 220 programming over the bus, the same program may be used with the Model 230 by simply changing the bus address to 13 entering 0, 1 or 2 QmA, 2OmA or lOOmAl current compliance in response to ENTER I. 13 APPLE II (APPLE Interface1 This program sets up the Mo
24、del 220 output according to the values entered from the APPLE II keyboard. DIRECTIONS 1. Set switches on the Model 220 to addressabe mode, primary address 12. 2. Connect the Modal 220 to APPLE II and APPLE IEEE interface. 3. Enter the program below using the RETURN key after each line. 4. Type in RU
25、N. 5. The display will mad ENTER I. 6. To program the Model 220 to 14 output, type 1 E-6 and depress the RETURN key. 7. The display will read ENTER V. 8. To program the Model 220 to ZOV compliance limit, type 20 and depress the RETURN key. 9. The programmed change can be verified by selecting one of
26、 the front panel DISPLAY pushbuttons and reading the display value. PROGRAM 10 PRINT ENTER I 20 INPUT IS 30 PRINT ENTER V 40 INPUTVS 50 28 = CHRSf26) 60 PRW 70 IN#3 80 PRINT “RA” 90 PRINT “WT,“;Z$;“ROP1F1X”; “pl$“qp”$.“x” , , I 100 PRINT “LFl” 110 PRt 0 120 INRO 130 GO TO 10 140 END Sent remote enab
27、le all. Output to IEEE bus, address 12. Send line feed after carriage return. Set to I/O on the CRT Et keyboard. Repeat End of program. NOTE: While the program illustrates the Model 220 programming over the bus, the same program may be used with the Model 230 by simply changing the bus address to 13
28、. Line 90 should read: 90 ?NT-“.ZB.“ROP,F,X”.“I”. I r , t I$.q/“.“$.“x”. I ,I . Enter 0, 1 or 2 QmA, 20mA or lOOmA) current compliance is response to ENTER I. 74 COMMENTS Enter desired current. (Example: Ifi = 156) Enter desired voltage. (Example: 20V = 20). DefineZS = CTRL-2. Set to l/O on the IEEE
29、 bus. PETKBM 2001 This program sets up the Model 220 output according to the values entered from the PETKBM 2001 keyboard. DIRECTIONS 1. Sat switches on the Model 220 to addressable mode, primaly address 12. 2. Connect Model 220 to PETKBM 2001 IEEE interface. 3. Enter the program below using the RET
30、URN key after each line. 4. Type RUN and depress the RETURN key. 5. The display will read ENTER I. 6. To program the Model 220 to lfi output, type lE-6 and depress the RETURN key. 7. The display will read ENTER V. 8. To program the Model 220 to 20V compliance limit, type 20 and depress the RETURN ke
31、y. 9. The programmed change can be verified by selecting one of the front panel DISPLAY pushbuttons and reading the display value. PROGRAM 10 OPEN 6, 12 20 INPUT “ENTER I”; I$ 30 INPUT “ENTER V”;V$ 40 PRINT #6 “ROPlFlX” “I” l$,v,vs:vc 60 GOT0 20 80 END COMMENTS Open file 6, primary address 12. Enter
32、 desired current. Example: lfi = lE-6) Entar desired voltage. (Example: 2OV = 20) Output to IEEE-488 bus, address 12. Repeat End of program. NOTE: While the program illustrates Model 220 programming over the bus, the same program may be usad with the Model 230 by simply changing the bus address to 1
33、3 and entering 0, 1 or 2 C?mA, 20mA or lOOmA) current compliance in response to ENTER I. TEK 4052 This program sets up the Model 220 output according to the valuas entered from the TEK 4052 with an 4061 GPIB interface. DIRECTIONS 1. Set switches on the Model 220 to addressable mode, primary address
34、12. 2 Connect Model 220 to TEK 4051 IEEE interface. 3. Enter the program below using the RETURN key after each line. 4. Type in RUN. 5. The display will read “ENTER l”. 6. To program the Model 220 to Ifi output, type 1 E-6and depress the RETURN key. 7. The display will mad ENTER V. 8. To program the
35、 Model 220 to 2OV compliance limit, type 20 and depress the RETURN key. 9. The programmed change can be verified by selecting one of the front panel DISPLAY pushbuttons and reading the display value. PROGRAM COMMENTS 10 PRINT 37,0: 10, 255, 13 20 INPUT “ENTER 1” 30 INPUT IS Enter desired output. (Ex
36、ample: Ifi = lE-6) 40 PRINT “ENTER V” 50 INPUTVS Enter desired compliance. (Example: 20V = 20.1 60 PRINT l2:“ROP1FIX”,“I”, Output to IEEE bus, address 12. IS II” vsx” 70 Gb TCi 20 Repeat 80 END End of program. NOTE: While the program illustrates Model 220 programming over the bus, the same program m
37、ay be used with the Model 230 by simply changing the bus address to 13 and entering 0, 1 or 2 QmA, 20mA or lOOmA) current compliance in response to ENTER I. 16 IBM PC or XT Personal Computer (Capital Equipment Corp. 01000 IEEE488 Interface) The following program sends a command string to the Model 2
38、20/230 and displays the instrument data string on the IBM CRT. The equipment required for this program is the IBM PC or XT computer configured with DOS 2.0 and BASICA and the Capital Equipment Corp. (CEC) 01060 IEEE-488 interface. The interface board must be installed as per the CEC 01000 Instructio
39、n Manual (address = SCOOOO). DIRECTIONS 1. Using the rear panel switches, set the Model 220/230 to the address- able mode with primary address 12. 2. Connect the instrument to the interface with power off. 3. Enter the program below into the computer, pressing the return key after each line is enter
40、ed. 4. Press the R key to run the program. The CRT will display “COMMANDI”. 5. Enter the desired command string and press the return key. For exam- ple, to program the Model 220 for a current of lOmA, key in llOE3X. To program a voltage of 25V on the Model 230, type in V25X. 6. The entire reading st
41、ring from the instrument will then appear on the computer CRT. PROGRAM 10 REM PROGRAM FOR MODEL 220 WITH CEC 01000 INTERFACE 20 CLS:DEF SEG = BHCOOO INTERFACE IS AT ADDRESS scoooo 30 40 50 60 70 80 90 100 110 120 130 140 REM DEFINE INTERFACE PARAMETERS INIT = CS PROMPT FOR COMMAND CMD$=“MTA UNL LIST
42、EN 12 DATA “+Ct+“ 13 IO” SET UP LISTEN COMMAND CALL TRANSMIT (CMDS, STATUS%) TRANSMIT COMMAND TO 220 IF STATUS%00 THEN 190 CMD$=“MlA UNT TALK 12” SET UP TALK COMMAND STRING CALL TRANSMIT (CMDS,STATUS%IADDRESS 220 TO TALK 17 150 IF STATUS%70 THEN 190 160 CALL RECENE(R$,L%,STATUS%) INPUT DATA STRING F
43、ROM 220 170 PRINT LEFT$(R$,L%l PRINT DATA STRING ON CRT 180 GOT0 90 REPEAT 190 PRINT-IEEE ERROR #“;STATUS%:END PROCESS IEEE ERROR 18 IBM PC or XT Personal Computer ITecmar IEEE-488 Interface and Version 4.0 Software) The following program sends a command string to the Model 220/230 and displays the
44、instrument data string on the IBM CRT. The equipment required for this program is the IBM PC or XT computer configured with DOS 2.0 and BASICA and the Tecmar interface with version 4.0 soft- ware. The interface and associated software must be installed as per the Tecmar IEEE488 Instruction Manual (b
45、oard address = EtH310). DIRECTIONS 1. Using the rear panel switches, set the Model 220/230 for the address able mode with primary address 12. 2. While power is off, connect the instrument to the interface. 3. Insert the Tecmar software disk in the default drive and load the pro- gram called “IEEE488
46、”. 4. Add the lines below to the front of the program, pressing return after each line is entered. 5. Press the F2 key to run the program. The CRT will display “COMMAND?“. 6. Enter the desired command strfng and press return. For example, to program a current of 1OmA on the Model 220, enter IlOE-3X.
47、 To pro- gram a voltage of 25V on the Model 230, type in V25X. 7. The entire reading.string from the instrument will then appear on the CRT. PROGRAM 5 CLS PROGRAM FOR MODEL 220 AND TECMAR INTERFACE WITH 4.0 SOFTWARE 10 PARAMS =“INIT/1/8H310/P/“:GOSUB 10000 INITIALIZE INTERFACE 20 PARAM$=“ADTR/“:GOSU
48、B 10000 SET UP 220 FOR REMOTE 30 INPUT”COMMAND”;CMD$:IF CMD$=“” THEN 30 PROMPT FOR COMMAND 40 DATA.STRING$=CMD$ SET UP INTERFACE COMMAND STRING Xl PARAM$=WR.STR/12IIEOS/“:GOSUB 10000 SEND COMMAND STRING TO INSTRUMENT 60 ,PARAM$=“RD.STR/12/10/EOS/“:GOSUB 10000 READ DATA STRING FROM 220 70 PRINT DATA.
49、STRING$ PRINT DATA STRING ON CRT 90 GDTD 30 REPEAT E-H 7000 Computer The following program sends a data string from the E-H 7066 computer to the Modal 220/230 and then displays theinstruments reading on the computer CRT. The E-H 7000 must be configured with MS-DOS, IO-SYS and BASICA as outlined in its instruction manual. DIRECTIONS 1. Using the rear panel switches, set the Modal 220/230 for the addressable mode with priman/ address 12. 2. While the powe