HP Forums
HP 59309A HP-IB Digital Clock - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: HP 59309A HP-IB Digital Clock (/thread-13080.html)



HP 59309A HP-IB Digital Clock - hp41cx - 06-06-2019 11:16 AM

How do I configure it and how should I read the information on my HP85?
Thanks any help


RE: HP 59309A HP-IB Digital Clock - Paul Berger (Canada) - 06-06-2019 12:43 PM

There is a manual for the 59309A on the hpmuseum.net site that has some programming examples in HPL which should give you the general idea. I have programs to at least set the clock in BASIC for 9835 but currently not in a format I can post here. I also translated my program to set the clock to run on a 71 and I believe also a 75 but I do not believe that I ever wrote a version for the 85. I have mostly used my 9825 or 9835 with my 59309A.

Looking more closely the sample programs are for 9820 and 9830 and are not HPL

Paul.


RE: HP 59309A HP-IB Digital Clock - Paul Berger (Canada) - 06-06-2019 02:26 PM

Here is my clock set program for 9835 it is a direct translation of the 9830 program from page 3-16 of the manual I have also included an unfinished stub of a clock read program. When you read the clock it sends a string with the date and time the exact format of the string is subject to some of the switch settings inside the 59309A.
[attachment=7358][attachment=7359]

Paul.


HP 59309A HP-IB Digital Clock - hp41cx - 06-06-2019 03:29 PM

Thank you!
I have a question how do I set the address (HP-IB) of it?


RE: HP 59309A HP-IB Digital Clock - Paul Berger (Canada) - 06-06-2019 04:22 PM

(06-06-2019 03:29 PM)hp41cx Wrote:  Thank you!
I have a question how do I set the address (HP-IB) of it?

You use the switches on the back see page 3-6 in the manual. Switches 1-5 set the address and 6&7 set the operating mode. You will likely want to set it up for addressable mode 6&7 = 1, in talk only mode it send out the date and time string 40 times a second and can only be set from the front panel.

Switches 1-5 set the address in a straight binary progression with switch 1 being the least significant bit, for instance mine is set to address 18 so switches 2 & 5 are in the 1 position. The ASCII talk and listen addresses are not relevant for using it with a 85. Both of my 59309s have a label on the bottom showing how to set the address.

Paul.


HP 59309A HP-IB Digital Clock - hp41cx - 06-06-2019 05:32 PM

In the example CLKRD.TXT in line 50 as I set up the address (in example 818)?


RE: HP 59309A HP-IB Digital Clock - KeithB - 06-06-2019 06:02 PM

The "818" is HP Basic Speak.

It means device #18 for Port #8, (usually GPIB is port 7).

This means that the GPIB address of the instrument is 18, you can ignore the leading 8.


RE: HP 59309A HP-IB Digital Clock - Paul Berger (Canada) - 06-06-2019 08:03 PM

(06-06-2019 05:32 PM)hp41cx Wrote:  In the example CLKRD.TXT in line 50 as I set up the address (in example 818)?

The first 8 is the select code of the HPIB interface and the 18 is the address as set on the 59309A. According to the 85A IO programming manual, the equivalent statement would be almost the same 'ENTER 818;T$' since the 85A only supports single character variable names.

Paul.


HP 59309A HP-IB Digital Clock - hp41cx - 06-06-2019 08:41 PM

10000 x thanks