3-39
HP 5517B Operation
Table 3-3. Program Modifications for Table 4-13 in the HP 5501A
______ Laser Transducer Operating and Service Manual ____
m.
w
°* gsb "warmup* Branch to warmup subroutine monitor laser status
66: "wannup
w
:wtb 2,0,0,0 System reset - 10746A 16-bit mode
67: wtb 2,1,130,3 1 _ simultaneous sample
130 = transfer X Comparator Counter contents to 10746A
3 = prepare for output to host computer
68: rdb (2)-*B;if Read first word
B<0;6S536+B-»B
69: if B<61440; ret |f 4 MSB's are clear, 5517A is READY
70: int (B/256) - 240-> Otherwise isolate REFERENCE ERROR BIT
B; 15-B-»B
71: if B>=8;B-8->B
72: if B>=4;B-4->B
73: if B>=2;dsp "LASER NOT READY"
74: IF b>=2; sto-8 |f REFERENCE ERROR BIT true, try again
75: wtb 2,1,130,3 Abort transfer and set up new transfer in order to read
first word again
76: rdb(2) -»B;if Use subroutine "er" to identify remaining error
B<0;65536+B-»B
77: gsb
w
er*
78: ret Return to program step 1 if only OVL ERROR BIT
79: end