Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial communication (RS 232) with a RS Pro IPS603 power supply

Solved!
Go to solution

Hi folks,

 

I’m struggling with Serial communication with a RS Pro IPS603 power supply.

I have attached a snip from the manual which states that pin 4 need to be a constant +12v.

Do I just wire a 12V plug top  power supply between pin 4 and 5 or is that too simplistic?

Also is the pin numbering is looking towards the port on the back of the instrument?

 

Any advice would be appreciated

 

P.S I'm using a BrainBox RS232 to USB converter if that is relervant 

IPS603 wiring.JPG

0 Kudos
Message 1 of 5
(2,271 Views)

Pin 4 is the DTR (Data Transmit Ready) in a standard RS-232 connection.  I think the power supply just needs that line to be set high.  You can force assert that line with VISA using a VISA Property Node (Serial Settings->Modem Line Settings->Line DTR State).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 5
(2,258 Views)

Hi Crossrulz,

 

Thanks for taking the time.

I have attached a simple VI incorporating your advice.

If you could double check that it should work I would be appreciative.

 

Many Thanks

VI snip.JPG

Baud rate etc.JPG

Commands.JPG

   

0 Kudos
Message 3 of 5
(2,232 Views)
Solution
Accepted by topic author Simon-lee

1. The power supply uses a Carriage Return (0xD, 13) for the termination character.  So set that with the VISA Configure Serial Port.

 

2. Because of the use of the termination character, you do not need the wait nor the Bytes At Port.  Just tell the VISA Read to read more bytes than you ever expect in a message and it will stop reading when the termination character is read.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Download All
Message 4 of 5
(2,205 Views)

Hi Crossrulz,

 

I'm pleased to report that your solution worked out of the box, most impressive.

I can now start exploring some of the other commands.

Thank you for you time and expertise

 

Regards 

 

0 Kudos
Message 5 of 5
(2,185 Views)