Author Topic: Keithley 2231A-30-3 Communication  (Read 986 times)

0 Members and 1 Guest are viewing this topic.

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Keithley 2231A-30-3 Communication
« on: October 18, 2021, 03:49:49 pm »
Hi there,

I am working with a large number of the Keithley 2231A-30-3.

I would like to communicate with it VIA PC but Tek, states you must use the Keithley USB adapter ($$$)

I have found the pin-out of the propriety connector (2=rx,3=tX).

Has any one been able to get this power supply to communicate to their pc? ( may only respond to read only commands)

Thanks.
 

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Re: Keithley 2231A-30-3 Communication
« Reply #1 on: January 11, 2022, 02:30:35 pm »
So I connected a FTDI TTL adapter tx/rx and tried with EEZ studio to get a response for a *IDN? command.

I cant get a response in the software but i can see that both Tx/Rx lights illuminate. (there is a response of some kind.)

Any ideas where the issue could be?

I will try with "Test controller" software.
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2881
  • Country: 00
Re: Keithley 2231A-30-3 Communication
« Reply #2 on: January 11, 2022, 02:35:30 pm »
Did you try different baud rates / flow control / parity / stop bit configurations? If it outputs anything on power on, you could capture that with a scope or logic analyzer and check the repetition rate and count the number of bits.

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Re: Keithley 2231A-30-3 Communication
« Reply #3 on: January 11, 2022, 02:48:50 pm »
Did you try different baud rates / flow control / parity / stop bit configurations? If it outputs anything on power on, you could capture that with a scope or logic analyzer and check the repetition rate and count the number of bits.

So the Manual Lists the Baud rate and flow settings 9600,8,N,1 ( this is what the program is set for)

If i use a incorrect baud rate 57600 or other, the RX light dose not illuminate.

I will try and scope the RX Line.
 

Offline BennoG

  • Regular Contributor
  • *
  • Posts: 65
  • Country: nl
Re: Keithley 2231A-30-3 Communication
« Reply #4 on: February 19, 2024, 06:24:58 am »
was you been able to communicate with the device ?
It uses 3.3V level RS232 signals at 9600 baud.

I found it to be very slow for the measurements of the output Voltage and Current (300+ ms per query)
Have you come around this problem ?

Benno
 

Offline simba15Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: ca
Re: Keithley 2231A-30-3 Communication
« Reply #5 on: Yesterday at 03:24:17 pm »
interesting!

I probably fried it with standard RS232 levels as it stopped responding at some point. ( duh... it says (TTL) lol)

I have 10 or so of them so I may try again with 3.3v levels.

Thanks.
 

Offline BennoG

  • Regular Contributor
  • *
  • Posts: 65
  • Country: nl
Re: Keithley 2231A-30-3 Communication
« Reply #6 on: Yesterday at 03:48:35 pm »
Be also aware that the RS232 output uses the same ground level as CH3 output.
So I put also a isolator in the USB-RS232 converter (there is 5V on the 9 pin sub-D to supply the psu part of the logic)

P.S. I figured a way around the slow communication, see my other post in  on the 2231A, including C# source code and a nice HMI you can use to click on.

Benno
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf