The Museum of HP Calculators

HP Forum Archive 19

[ Return to Index | Top of Index ]

HP-IL 71B to 71B via HPIL
Message #1 Posted by Geoff Quickfall on 28 Nov 2010, 7:31 p.m.

Okay,

started to play with my 71B which has 25 programs loaded into main and backed up to the protected memory.

OOPS lost everything, and now a blank HP 71B. Installed new batteries and checked it out and it is fine. So, I have another HP 71B with the programs on board. What I would like to do is connect both via HP-IL (both contain the modules and I have the cables). Then transfer the programs from the backup 71B to the memory lost 71B.

I do not have the HP-IL manual for the 71B but do have the 41C HP-IL manual. Of course I cannot get those commands to work so without digging and digging:

How or what are the commands to transfer from one HP71B to another both connected to the HP-IL modules in each?

Cheers, Geoff

      
Re: HP-IL 71B to 71B via HPIL
Message #2 Posted by John Pierce on 28 Nov 2010, 7:51 p.m.,
in response to message #1 by Geoff Quickfall

HI Geoff, the following has worked well for me.

10 DIM F$[100] 20 RESTOREIO 30 RESET HPIL 40 CONTROL ON 50 REMOTE 60 OUTPUT :HP71 ;"RESTOREIO" 70 INPUT " FILE? ";F$ 80 IF F$="" THEN OUTPUT :HP71 ;"OFFIO" @ OFF IO @ STOP 90 OUTPUT :HP71 ;"COPY :LOOP" 100 COPY F$ TO :HP71 110 GOTO 70 120 END

Cheers John Pierce

            
Re: HP-IL 71B to 71B via HPIL (Thanks John)
Message #3 Posted by geoff quickfall on 28 Nov 2010, 8:34 p.m.,
in response to message #2 by John Pierce

PERFECT!

All done, now to back up on my 9114B and tape drive!

Many thanks, Geoff

                  
Re: HP-IL 71B to 71B via HPIL (Thanks John)
Message #4 Posted by Namir on 28 Nov 2010, 10:20 p.m.,
in response to message #3 by geoff quickfall

That's why I love the EMU71 software. I can create as many versions I want, allowing me to work on multiple projects AND spin-off projects, all while having access to the MATH rom and the versatile JPC-ROM in EVERY SINGLE project. That is so cool in my book. Thank you J-F for this piece of art!

So far, the limitations that I see in the HP-71N is the variable names' scheme. Any ROM or LEX files that can expand the names of variables to more meaningful names?

Namir

                        
Re: HP-IL 71B to 71B via HPIL (Thanks John)
Message #5 Posted by geoff quickfall on 29 Nov 2010, 2:13 p.m.,
in response to message #4 by Namir

Not being the math genius you are I find that my use for my handhelds is mostly for work.

I have a suite of programs in all HP languages and I use them as I rotate my machines in and out of the cockpit.

That and the definite lack of a computer at work (sterile cockpit and all) combined with my desire to hold the item in my hand relegates me to what I can use.

The 71B was sitting on the shelf with its mate for over a year and I thought it was time to take it with me and that is when I discovered the battery problem which led to a memory lost problem which led to my ineptitude when copy programs from the protected memory back to the main memory. A subsequent freeze up and obviously the wrong reset (init 1) should have resulted in a machine with all my programs still protected and only the loss of the main memory.

That and the fact that my card reader is definitly U/S; found and identified by the 71B but not reading anything caused me to try to transfer the programs in the back up 71B over. The trials and tribulations of the real versus the virtual world ;-)

Any one out there with a working card reader for sale ;-(

Cheers, Geoff

            
Re: HP-IL 71B to 71B via HPIL
Message #6 Posted by Marcus von Cube, Germany on 30 Nov 2010, 11:35 a.m.,
in response to message #2 by John Pierce

Your program looks better this way: ;)

10 DIM F$[100]
20 RESTOREIO
30 RESET HPIL
40 CONTROL ON
50 REMOTE
60 OUTPUT :HP71 ;"RESTOREIO"
70 INPUT " FILE? ";F$
80 IF F$="" THEN OUTPUT :HP71 ;"OFFIO" @ OFF IO @ STOP
90 OUTPUT :HP71 ;"COPY :LOOP"
100 COPY F$ TO :HP71
110 GOTO 70
120 END

Marcus

BTW, what are the steps on the second machine?

                  
Re: HP-IL 71B to 71B via HPIL
Message #7 Posted by John Pierce on 30 Nov 2010, 3:34 p.m.,
in response to message #6 by Marcus von Cube, Germany

I agree about the format. When it was typed in it looked like your format. I didn't preview it before posting and somehow the cr/lf were lost. It has happened to me before. How did you get your text in?

When it comes to running the program hook up both HP-71s using the HP-IL cables, turn both HP-71s on and RUN the program. It goes to the "remote" HP-71 and prepares and controls it.

Sorry about the form of the text.

John Pierce

                        
Re: HP-IL 71B to 71B via HPIL
Message #8 Posted by Marcus von Cube, Germany on 1 Dec 2010, 2:19 p.m.,
in response to message #7 by John Pierce

To get your listing in the right form, just use the button labeled <preformatted> at the bottom of the text entry window.

When I connect two 71bs, isn't it necessary to disable the controller function on one of them with CONTROL OFF ?

                              
Re: HP-IL 71B to 71B via HPIL
Message #9 Posted by geoff quickfall on 1 Dec 2010, 3:49 p.m.,
in response to message #8 by Marcus von Cube, Germany

Hello Marcus,

I didn't use 'control off' and the controller 71B perfectly downloaded the back up programs to the reciever 71B.

Cheers, Geoff

                              
Re: HP-IL 71B to 71B via HPIL
Message #10 Posted by John Pierce on 1 Dec 2010, 4:06 p.m.,
in response to message #8 by Marcus von Cube, Germany

Thanks for the tip on the "Preformatted" button. Only one device in the loop can be the Controller. I did not study the HP-IL IDS but assume when the initiating HP-71B issues the command "Control ON" the other loop devices are prevented from being the Controller. Maybe I just got lucky.

                  
Re: HP-IL 71B to 71B via HPIL
Message #11 Posted by Egan Ford on 30 Nov 2010, 3:56 p.m.,
in response to message #6 by Marcus von Cube, Germany

This can be automated a bit or made simpiler by using:

CAT$(I,":MAIN")
E.g.:
I=1
F$=CAT$(I,":MAIN")[1,8]
will store the first filename in F$. Increment 'I' to get the rest. If F$ = "", then you are at then end. With this minor change you can either just blindly copy or prompt with Y/N. E.g.:
12 I=0
70 REM INPUT " FILE? ";F$
72 I=I+1
74 F$=CAT$(I,":MAIN")[1,8]
Change :MAIN to :HP71 to restore.

Just my $0.02 US.

                        
Re: HP-IL 71B to 71B via HPIL
Message #12 Posted by Michael Meyer on 1 Dec 2010, 6:55 p.m.,
in response to message #11 by Egan Ford

That's how I do this, essentially. If I have a "blank" HP-71B, I can connect it to a disk drive, manually copy the "copy" program, then completely restore the rest by running the program. It's come in handy, and allows more than one machine to easily have the same configuration....


[ Return to Index | Top of Index ]

Go back to the main exhibit hall