HP-71B/HP-IL with HP82169A, need progr. help



#7

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


#8

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


#9

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 :-((


#10

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


#11

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


#12

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


Possibly Related Threads...
Thread Author Replies Views Last Post
  [HP-41][HP-71B][HP-75C/D][HP-IL] Found a mother-lode of programs on ftp.stak.tk rdj 2 616 11-26-2013, 05:31 PM
Last Post: rdj
  How to move lexfiles from PC to 71 w/o HP-IL? Joe Horn 9 1,107 10-18-2013, 03:50 PM
Last Post: Christoph Giesselink
  HP-71B Cursor Chirp aj04062 4 654 09-29-2013, 08:30 PM
Last Post: Geoff Quickfall
  Best way to test HP-71B RAM modules (the 32K/96K ones etc.)? Philippe Lasnier 4 860 09-25-2013, 09:54 AM
Last Post: Philippe Lasnier
  Hand Held Products RS232 to HP-IL aj04062 11 1,167 08-31-2013, 07:12 PM
Last Post: Paul Berger (Canada)
  HP IL over wifi ... (ILPer & go71b) Olivier De Smet 12 1,386 08-20-2013, 05:44 AM
Last Post: Olivier De Smet
  How do you print a 'data' file on the HP 71B to the HP 2225B thinkjet? Geoff Quickfall 3 598 08-18-2013, 04:32 PM
Last Post: Geoff Quickfall
  Virtual HP-IL Video Interface ILVideo the 2nd! Christoph Giesselink 3 581 08-15-2013, 06:49 PM
Last Post: Sylvain Cote
  HP-71b questions jerome ibanes 6 733 07-01-2013, 05:03 PM
Last Post: Namir
  C71 Rom for HP 71b ? Michael Fehlhammer 1 332 05-07-2013, 10:24 PM
Last Post: Allen

Forum Jump: