Post Reply 
HP 59309A HP-IB Digital Clock
06-06-2019, 11:16 AM
Post: #1
HP 59309A HP-IB Digital Clock
How do I configure it and how should I read the information on my HP85?
Thanks any help

Systems Analyst
48G+/58C/85B/PC1500A
TH-78A/DooGee S9
Focal & All Basic´s
Visit this user's website Find all posts by this user
Quote this message in a reply
06-06-2019, 12:43 PM (This post was last modified: 06-06-2019 12:47 PM by Paul Berger (Canada).)
Post: #2
RE: HP 59309A HP-IB Digital Clock
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.
Find all posts by this user
Quote this message in a reply
06-06-2019, 02:26 PM
Post: #3
RE: HP 59309A HP-IB Digital Clock
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.

.txt  CLKRD.TXT (Size: 196 bytes / Downloads: 23)
.txt  CLKSET.TXT (Size: 1.65 KB / Downloads: 18)

Paul.
Find all posts by this user
Quote this message in a reply
06-06-2019, 03:29 PM
Post: #4
HP 59309A HP-IB Digital Clock
Thank you!
I have a question how do I set the address (HP-IB) of it?

Systems Analyst
48G+/58C/85B/PC1500A
TH-78A/DooGee S9
Focal & All Basic´s
Visit this user's website Find all posts by this user
Quote this message in a reply
06-06-2019, 04:22 PM
Post: #5
RE: HP 59309A HP-IB Digital Clock
(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.
Find all posts by this user
Quote this message in a reply
06-06-2019, 05:32 PM
Post: #6
HP 59309A HP-IB Digital Clock
In the example CLKRD.TXT in line 50 as I set up the address (in example 818)?

Systems Analyst
48G+/58C/85B/PC1500A
TH-78A/DooGee S9
Focal & All Basic´s
Visit this user's website Find all posts by this user
Quote this message in a reply
06-06-2019, 06:02 PM
Post: #7
RE: HP 59309A HP-IB Digital Clock
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.
Find all posts by this user
Quote this message in a reply
06-06-2019, 08:03 PM
Post: #8
RE: HP 59309A HP-IB Digital Clock
(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.
Find all posts by this user
Quote this message in a reply
06-06-2019, 08:41 PM
Post: #9
HP 59309A HP-IB Digital Clock
10000 x thanks

Systems Analyst
48G+/58C/85B/PC1500A
TH-78A/DooGee S9
Focal & All Basic´s
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)