Fluke PM6669 Operator'S Manual Download Page 34

For IBM PC with PM 2201

Example 1

The following example runs on an IBM compatible PC
equipped with Fluke PM 2201 GPIB interface. The instal-
lation and starting up of the PC program is not de-
scribed, only the application program. Line 1 to 100
must contain the declaration described in the PM 2201
manual.

The program sets up the counter for 10 Period A meas-
urements and presents the average result on the screen.

100

’DEMO PROGRAM (NO 1)

110

’PM6669 AND IBM PC

120

’WITH PM2201 GPIB INTERFACE

130

’AS CONTROLLER

140

CLS ’CLEAR SCREEN

150

AD=7 ’ADAPTOR NUMBER

160

ADDR=710 ’COUNTER ADDRESS

170

SC=1 ’SYSTEM CONTROLLER

180

RES$ = SPACE$(25) ’RESULT

190

ACT = 0 ’# READ CHARACTERS IN RES$

200

MAX = 24 ’MAX CHARACTERS TO READ IN
RES$

210

CALL IOINIT(AD,SC) ’INIT INTERFACE

220

TIME=10 ’TIMEOUT AFTER 10 SECONDS

230

CALL IOTIMEOUT (AD,TIME) ’SET TIMEOUT

240

CALL IOCLEAR(ADDR) ’SEND SDC

250

’SELECT PERIOD A, TRIGGERED MODE

260

’AND 1 S MEASURING-TIME

270

SEND$ = "PER A,TRIG ON,MTIME 1"

280

LENGTH=LEN(SEND$)

290

CALL IOOUTPUTS(ADDR,SEND$,LENGTH)

300

Z=0

310

’INPUT 10 SAMPLES

320

FOR i = 1 TO 10

330

CALL IOTRIGGER(ADDR) ’TRIGGER COUNTER

340

CALL IOENTERS(ADDR,RES$,MAX,ACT) ’READ
RESULT

350

Z = Z + VAL(MID$(RES$,8,13))

360

NEXT I

370

PRINT "AVERAGE:";Z/10;"S"

380

CALL IOLOCAL(ADDR) ’GO TO LOCAL

390

END

Example of a result:

AVERAGE:

9.98004E-06 S

OK

Example 2

This program example illustrates the ‘program data out’
feature of PM 6669. By asking a set of queries, the
counter responds with its current setup. The output for-
mat of these answers to the queries is identical to the
programming command format. The answers can be
stored and used later for reprogramming (bus learn).

100

’DEMO PROGRAM

110

’PM6669 AND IBM PC WITH PM2201

120

GPIB INTERFACE AS CONTROLLER

130

AD=7 ’ADAPTOR NUMBER

140

ADDR=710 ’COUNTER ADDRESS

150

SC=1 ’SYSTEM CONTROLLER

160

CALL IOINIT(AD,SC) ÍNIT INTERFACE

170

TIME=10 ’TIMEOUT AFTER 10 SECONDS

180

CALL IOTIMEOUT(AD,TIME)

190

CLS ’CLEAR SCREEN

200

ÁSK FOR AND PRINT PROGRAM DATA

210

PRINT "COUNTING SETTING:"

220

S$ = "FNC?"

230

GOSUB 520

240

A=1

250

GOSUB 550

260

S$ = "MEAC?"

270

GOSUB 520

280

A=2

290

GOSUB 550

300

S$ = "BUS?"

310

GOSUB 520

320

A=2

330

GOSUB 550

340

S$ = "INPA?"

350

PRINT "INPA:"

360

GOSUB 520

370

A=1

380

GOSUB 550

390

S$ = "INPB?"

400

PRINT "INPB:"

410

GOSUB 520

420

A=1

430

GOSUB 550

440

S$ = "ID?"

450

PRINT

460

PRINT "COUNTER TYPE:"

470

GOSUB 520

480

A=1

490

GOSUB 550

500

CALL IOLOCAL (ADDR) ’GO TO LOCAL

510

END

520

L=LEN(S$) ’LENGTH OF STRING TO SEND

530

CALL IOOUTPUTS(ADDR,S$,L) ÓUTPUT STRING

540

RETURN

550

FOR I = 1 TO A

560

MAX=25

570

ACT=0

580

RES$=SPACE$(25)

590

CALL IOENTERS(ADDR,RES$,MAX,ACT)

600

B$ = LEFT$(RES$,ACT)

610

PRINT B$;

620

NEXT I

630

RETURN

Example of a result:

COUNTER SETTING:
TIME A;B
MTIME 1.00,FRUN ON
TOUT 00.0
MSR

000,OUTM 000

EIO OFF,SPR 010
INPA:
TRGSLP NEG
INPB:
TRGSLP POS

COUTER TYPE:
PM6669/016/22
Ok

GPIB-INTERFACE OPERATION

Page: 33

PM 6669 - OPERATORS MANUAL

Summary of Contents for PM6669

Page 1: ...Universal Frequency Counter PM6669 Operators Manual...

Page 2: ...on 22 Two Ways of Programming 23 Syntax 23 Selecting Output Separator 24 How to Select Function 24 Selecting Measuring Time 24 Selecting Triggering 25 Totalize Start Stop 25 Free Run Triggered 25 Serv...

Page 3: ...where necessary throughout the manual Do not carry out repairs or adjustments to the Frequency Counter without reading the Service Manual which contains the relevant warnings for such activities CAUTI...

Page 4: ...View A Rear feet B Screws for removing the cover C External reference input BNC connector D Voltage range selector E Power inlet socket F GPIB interface connector optional G GPIB address selector opt...

Page 5: ...the right to the left of the display No rounding off U Trigger level setting button V Tilting support The selected function is indicated on the display A short press on the button moves the cursor on...

Page 6: ...ction Set the Frequency Counter to the local line voltage before connecting it As delivered the Frequency Counter may be set to either 115 V or 230 V The setting is indicated on the voltage range sele...

Page 7: ...M 9691 oven enclosed oscillator used in Fluke counters version 5 meet this requirement if calibrated Preparations If you remove the cover when counter has been switched on the temperature of the MTCXO...

Page 8: ...display shows 10 0000000 MHz Now the oscillator is calibrated Switch OFF the counter and disconnect the 10 MHz ref erence Fit the cover CALIB button Figure 6 Location of the CALIB Button INSTALLATION...

Page 9: ...jumps back to the leftmost position and continues from there One code for each function see below Move function cursor to FREQ A FREQ A ON STAND BY TRIGGER LEVEL A HOLD DISPL MEASURING TIME 10s 1s 0...

Page 10: ...the secondary side of the transformer The power cable must be disconnected from the line outlet socket if it is necessary to completely isolate the Frequency Counter from the line Error 01 RAM memory...

Page 11: ...A TOT A PER A RPM A A0 FREQ A A0 FREQ B FREQ A FREQ FUNCTION AUTO 0 FUNCTION TRIGGER LEVEL A HOLD DISPL MEASURING TIME 10s 1s 0 2s SINGLE REF EXT A WIDTH A TOT A PER A RPM A A0 FREQ A A0 FREQ B FREQ...

Page 12: ...s function can e g be used in a radio to display the received frequency Set the intermediate frequency as the constant A0 Select FREQ A A0 and measure the frequency of the local oscillator and the dis...

Page 13: ...A0 FREQ A A0 FREQ B FREQ A FREQ FUNCTION AUTO ms 0 TIME MEAS TIME MEAS TRIGGER LEVEL A HOLD DISPL MEASURING TIME 10s 1s 0 2s SINGLE REF EXT A WIDTH A TOT A PER A RPM A A0 FREQ A A0 FREQ B FREQ A FREQ...

Page 14: ...ignal is longer than the set Measuring time the main gate does not close again until the period is completed If you wish to do one measurement instead of repetitive measurements see DISPL HOLD For PER...

Page 15: ...TIME 10s 1s 0 2s SINGLE REF EXT A WIDTH A TOT A PER A RPM A A0 FREQ A A0 FREQ B FREQ A FREQ FUNCTION AUTO kHz 0 LEVEL A TRIGGER TRIGGER LEVEL A HOLD DISPL MEASURING TIME 10s 1s 0 2s SINGLE REF EXT A W...

Page 16: ...t blinking again If it does leave the trigger level in that position otherwise return to trigger level e Turn the sensitivity down until the gate indicator stops blinking then up slightly until it sta...

Page 17: ...on or off DISPL HOLD when de pressed Not bus con trollable but Free run OFF will give a similar function See GPIB bus operation Connect the signal to INPUT A via a BNC cable Connect the signal to INPU...

Page 18: ...NCTIONS FREQ A A0 Use this input for all functions except FREQ B Range 10 Hz to 160 MHz Impedance 1 M 30 pF Min pulse duration 4 ns At higher frequencies use a 50 termination type PM 9585 to avoid int...

Page 19: ...us One two position switch Depress to switch on the FILTER and relase to switch it off Not bus controllable Connect an external 10 MHz frequency source to the BNC connector on the rear panel of the Fr...

Page 20: ...erference instead of by the signal The filter works on Input A where it suppresses sig nals with higher frequencies than 50 kHz Filter suppression 40 dB at 1 MHz The filter can also be used to suppres...

Page 21: ...bat tery will never reach the capacity of a new one If you must store your counter for some time without us ing it store it in a cool and dry place Leave the counter with the mains cable connected if...

Page 22: ...ta tion Systems Reference Manual Summary Description Code Source handshake SH1 Acceptor handshake AH1 Control function C Talker Function T5 Listener function L4 Service request SR1 Description Code Re...

Page 23: ...11100 9 01001 19 10011 29 11101 30 11110 Factory setting NOTE 31 is the bus command for Untalk and should not be used If 31 is selected the counter will work as if address 0 is selected Talk Only The...

Page 24: ...h speed dump OFF and MTCXO compensation ON All functions and commands in the checklist will be ex plained later NOTE You only have to program the changes from the previous set up Syntax What is a Prog...

Page 25: ...hes it off Default setting is EOI OFF The selected separator and EOI will not be altered by LOCAL from the front panel nor by LOCAL or Device clear from the bus How to Select Function Standard Functio...

Page 26: ...e measuring re sult can only be read once 2 Triggered where the counter waits for trigger com mand GET or X from the controller before it starts a measurement When the measurement is completed the cou...

Page 27: ...he counter There are two types of status bits A conditional bit indicates the current condition of what its monitoring all the time An event bit indicate that an event has occurred When the event occu...

Page 28: ...on t care Comment 0 00000000 Preparing a measurement or High speed dump or Volt measurements in progress 2 00000010 XX0XXX1X Preparations ready If Free run OFF Deci mal Binary 76543210 Important bits...

Page 29: ...lected all calcula tions are left to the controller instead and the counter can concentrate on measuring at a rate of over 100 measurements second High speed dump cannot be used for voltage measure me...

Page 30: ...s must be converted to a decimal number and entered in the formula 683Hex 6 162 8 16 3 1667decimall The result is 1667 10 7 which you must multiply by Mul tiplier P which is 1 to get the measuring res...

Page 31: ...s can easily be edited in the controller NOTE MEAC and BUS result in a response sent as two lines each terminated by the selected separator NOTE The counter will stop measuring until all lines of the...

Page 32: ...ps totalizing MTIME num Set Measuring time num 0 01 10 s 0 SINGLE FRUN ON Selects Free Run FRUN OFF Selects Triggered mode TRIG OFF Selects Free Run TRIG ON Selects Triggered mode TOUT num Sets Time O...

Page 33: ...10 F TIME 220 TIME 230 DISP READY ELAPSED TIME F E s 240 SHOW 5 RESULTS 250 DISP FIRST 5 RESULTS 260 FOR K 1 TO 5 270 ENTER Z B 280 GET FORMULA CHARACTER 290 F B 1 1 300 GET MULTIPLYER CHARACTER 310 M...

Page 34: ...program example illustrates the program data out feature of PM 6669 By asking a set of queries the counter responds with its current setup The output for mat of these answers to the queries is identic...

Page 35: ...with an IBM General Purpose Interface Bus Adapter instead of the Fluke PM 2201 interface The following set of device parameters is suitable for a PM 6669 with address 10 The device parameters are set...

Page 36: ...nd shown on the dis play as revolutions per minute RPM Range 6 RPM to 720 106 RPM Period A Range 8 ns to 2 108 s Mode Single period measurement SINGLE or period aver age measurement at 0 2 1 or 10 s M...

Page 37: ...specifications Input A Frequency Range 0 Hz to 160 MHz Sensitivity Sine 10 mVRMS 10 Hz to 120 MHz 30 mVRMS typically 120 MHz to 160 MHz Pulse 30 mVRMS 0 1 Hz to 120 MHz Coupling AC Impedance 1 M 30 pF...

Page 38: ...C to 50 C Storing 40 C to 70 C Altitude Operating 5000 m 53 3 kN m2 Storing 15000 m 15 2 kN m2 Humidity Operating 10 to 90 RH no condensation Storing 5 to 95 RH Vibration Test According to IEC 68Fc Bu...

Page 39: ...of 0 1 seconds is used Displ Hold Store A0 The DISPL HOLD STORE A0 button has two functions DISPL HOLD The result of the current measurement will be frozen on the display A new measurement starts when...

Page 40: ...0 and 6 10 7 to 1 6 108 Ratio B A 0 and 6 10 8 to 1 6 107 Ratio C A C B 8 to 4 109 Max Data Output Rate Normal mode gives 5 read ings s High speed dump gives 100 readings second The highest output rat...

Page 41: ...9 6 As above but including GPIB interface PM 9604 Example PM 6669 416 means a PM 6669 frequency counter including both an 160 MHz and an 1 3 GHz input channel an uncompensated oscillator and a GPIB in...

Page 42: ...ensitivity is measured Recommended Instruments Signal source with a 50 output impedance 350 MHz oscilloscope with a 50 input impedance BNC T piece Two BNC cables one short and one long High Impedance...

Page 43: ...it to the oscilloscope Read the amplitude on the oscilloscope Check that the reading is the same as or less than the sensitivity level in the counter specifications Method 2 Connect the signal source...

Page 44: ...37 EOI mode See Output separator Error codes 9 20 External reference input Connection 6 18 Description of function 19 Location of connector 3 Specification 37 F Filter Specification 36 Filter On Off S...

Page 45: ...ing 8 Power inlet socket Location of 3 PRODUCT PRESENTATION 3 4 Programming check list 23 Pwidth A See Width A Q Queries GPIB 30 R Rack mount kit Specification 39 Rear feet 3 Remote local 22 Removing...

Page 46: ...era 21 No 39A 21 Of 101 Ap Aereo 29583 Bogota Phone 57 1 287 5424 Fax 57 1 287 2248 Costa Rica Electronic Engineering S A Service Center Carretera De Circunvalacion Sabanilla Av Novena P O Box 4300 10...

Page 47: ...22 65 3407 Pakistan Philips Electrical Industries Of Pakistan Ltd Islamic Chamber of Commerce St 2 A Block 9 KDA Scheme 5 Clifton Karachi 75600 Phone 92 21 587 4641 Fax 92 21 577 035 Peru Importacione...

Page 48: ...ite 112 Carrollton TX 75006 Phone 1 214 406 1000 Fax 1 214 406 1072 E Mail oldman wz fluke com Fluke Corporation Service Center Orlando 550 S North Lake Blvd Altamonte Springs FL 32701 5227 Phone 1 40...

Reviews: