The Museum of HP Calculators

HP Forum Archive 15

[ Return to Index | Top of Index ]

HP-71B/HP-IL with HP82169A, need progr. help
Message #1 Posted by Arnold on 14 Mar 2006, 9:01 a.m.

Hello, I am reanimating my good HP71B with IL-I/F. Now I got a used 82169A HP-IL/HP-IB Interface and some IB equipment as the relay box HP59306A and the switch/control Unit HP3488A with the relay cards 44470A, 44471A and dig. I/O 44474A.

I would like to command these from the HP-71B, but I am perhaps too old already to understand, because I get nothing out. I have some feeling that perhaps the IL/IB I/F is not working, but perhaps i just do not send the right commands. Can the proper function and life be checked with some program lines on the 71B?

Could somebody give me some help giving some instructions or small program examples to command and read the IB items from my HP71B? I would be very happy about!

Many thanks in advance, greetings,

Arnold

      
Re: HP-71B/HP-IL with HP82169A, need progr. help
Message #2 Posted by J-F Garnier on 14 Mar 2006, 11:00 a.m.,
in response to message #1 by Arnold

Hello Arnold,

After connecting the HP82169 to the HP71, try RESTORE IO. If it passes, the HP82169 should be OK.

You have to make sure that the HP82169 is in translator mode (not mailbox), see the settings under the HP82169.

Then you have to know the HPIB address of your equipement. You could try common IEEE-488.2 commands such as *IDN? and get the answer:

OUTPUT :addr; "*IDN?"
ENTER :addr; A$ @ DISP A$
(addr= address of your device)

J-F

            
Re: HP-71B/HP-IL with HP82169A, need progr. help
Message #3 Posted by Arnold on 14 Mar 2006, 1:34 p.m.,
in response to message #2 by J-F Garnier

Quote:
Hello Arnold,

After connecting the HP82169 to the HP71, try RESTORE IO. If it passes, the HP82169 should be OK.

You have to make sure that the HP82169 is in translator mode (not mailbox), see the settings under the HP82169.

Then you have to know the HPIB address of your equipement. You could try common IEEE-488.2 commands such as *IDN? and get the answer:

OUTPUT :addr; "*IDN?"
ENTER :addr; A$ @ DISP A$
(addr= address of your device)

J-F


Hello J-F, many thanks! Something is working! But still not all is clear: 'Restore Io' with no reaction --> ok, OUTPUT :1; "*IDN?" --> no query, seem to be ok as well, ENTER :1; A$ @ DISP A$ gives '1,31,31,31,31,31,31,31,31,31,31,' , which I do not understand.

On the hp3488A I have put the address to 5 (l0l00), but I can put what I want, I do not get any answer back and I cannot see any reaction yet at the 3488, only with addr. 1 I get the numbers as above.

No, on the front panel of this device there is no indicator showing rem or remote.

Trying the same with the simple 59306A 'relay actuator' I experience the same but no reaction (Output 'An' should switch relay n on, 'Bn' then off). thanks again as well to the other respond! regards,

Arnold

PS: unfortunately I do not have (yet) the docu DVD, nor am I familiar with the IB syntax :-((

                  
Re: HP-71B/HP-IL with HP82169A, need progr. help
Message #4 Posted by Vassilis Prevelakis on 14 Mar 2006, 9:55 p.m.,
in response to message #3 by Arnold

Arnold wrote:

> Trying the same with the simple 59306A 'relay actuator' I > experience the same but no reaction (Output 'An' should switch > relay n on, 'Bn' then off). thanks again as well to > the other respond! regards,

Well if you have an 59306A try the following procedure:

Make sure the 82169A is in TRANSLATOR mode with address 3:

  +--+--+--+--+--+--+
1 |  |  |  |  |XX|XX|
0 |XX|XX|XX|XX|  |  |
  +--+--+--+--+--+--+
    M b5 b4 b3 b2 b1 

Connect ONLY the 59306A to the HP-IB side of the HP82169 and ONLY the HP-71 to the HP-IL side of the HP82169

Strap the HP 59306A for address 6 (dip switch on the back should look something like this:

                  A0  
  +--+--+--+--+--+--+
1 |  |  |  |XX|XX|  |
0 |XX|XX|XX|  |  |XX|
  +--+--+--+--+--+--+ 

Now enter the following program

10 INPUT M
20 REMOTE :M
30 OUTPUT :M ; "A124B356"
40 GOTO 10
50 END

Run it entering 6 at the prompt. If the 59306A does not go into remote and set the relays, you have the address wrong. Try another address at the prompt.

I have just tried this program on my system and I know it works.

With the HP 82169A set for address 3 you can have another HP-IL peripheral on the HP-IL side. You must, however, ensure that it is connected before the 82169A. I.e. cable from the OUT connector of the 71 to the IN connector of (say) the printer; cable from the OUT connector of the printer to the IN connector of the 82169A; cable from the OUT connector of the 82169A to the IN connector of the 71B.

**vp

                        
Re: HP-71B/HP-IL with HP82169A, need progr. help
Message #5 Posted by Arnold on 15 Mar 2006, 7:01 a.m.,
in response to message #4 by Vassilis Prevelakis

Hello Vassilis, that does work, Thank you very much! The way to explain with the direct example is easy to understand, gives quick positive results! Now I know at least that all devices are working and the appearing problems are on the programming side.

What I have to try is to get working now all that stuff with 'assign io' etc., where I started with.

Question: Using the same setup example, do i have to declare 2 or only one device and how do they know their addresses? It looks like that the 59306A does not give anything back, does not transmit, but the 3488A does. I will try now if I can talk with it getting the state of the relays or other values back. I have the feeling that I have to spend some hours more to understand the logic and to get readable results.

Personally I do learn better with example programs. I find it confusing that the syntax of the 'basic' program is not the same using the hp85, hp75, or hp71 etc.

Unfortunately I do not find anymore any application using the hp71.... Let's go on executing homework and trying, thanks again and regards,

Arnold

                              
Re: HP-71B/HP-IL with HP82169A, need progr. help
Message #6 Posted by Vassilis Prevelakis on 15 Mar 2006, 10:20 p.m.,
in response to message #5 by Arnold

Arnold  wrote:
> I find it confusing that the syntax of the 'basic' program is not
> the same using the hp85, hp75, or hp71 etc. 

Don't get me started :-)

I agree its really annoying. HP was forced to include multiple examples in their literature because of all these inconsistencies.

E.g. in Product Note 3421A-2 (file pr3421.pdf in the MoHPC CDROM) they have example programs for both the HP-71B and the HP-75D, while the manual of the 3421A includes code for both the HP-41 and "Basic" computers.

From the above manual, here is a program that instructs the HP 3421A to take 16 readings of DC voltages on channels 6-9 (4 readings per channel) and print the mean and standard deviation of those 16 readings:

I hope this example helps with reading values from a device. In your case, of course, line 40 will simply assign the address of the device to variable D (e.g. D=6). Line 80 reads data from the 3421A. As you can see its rather simple.

BTW you are very lucky to have an HP-71B. Other machines with HP-IL interfaces were far more difficult to program (e.g. HP-75C without the IOROM).

**vp


[ Return to Index | Top of Index ]

Go back to the main exhibit hall