Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicate over GPIB to RS232 converter

Hi All!

 

I have following problem with using GPIB to RS232 converter:

 

The measurement software from an old mass spectrometer communicates via GPIB with the instruments. When one of this instruments (vacuum control unit) was broken, we have made a new one. But without GPIB-interface. The new unit is based on EATON PLC. The PLC has an RS232 interface, the measurement software needs GPIB, so I bought a GPIB to RS232 converter. I use the convertor in G-mode. The problem is that the software only sends an ibrd command after it addresses the unit by its primary and secondary address. The software sends no write before read. Then it waits for the string with states and measured values. It works if I write the string, the software needs, within time-out to the buffer of the converter.

 

Is it possible to detect a ibread-command on the RS232 side? So I can write the string with actual values to the converter buffer when the software needs it.

 

Or can I overwrite the buffer or delete it and write a new string, so that if the software wants to read from the device it gets the actual string?

 

Thank you in advance!

0 Kudos
Message 1 of 5
(3,631 Views)

Since you were "building" your own new instrument, why didn't you just build it with a GPIB port?

 

 

0 Kudos
Message 2 of 5
(3,601 Views)

It was an easiest and cheapest way for us to build the new instrument with EATON PLC.

The communication through the converter would be not problematically if the software would send an ibwrt with a command string before it reads from the device.

0 Kudos
Message 3 of 5
(3,595 Views)

@BMax wrote:

It was an easiest and cheapest way for us to build the new instrument with EATON PLC.

The communication through the converter would be not problematically if the software would send an ibwrt with a command string before it reads from the device.


Your new instrument needs to act like an GPIB instrument. That is what the mass spectrometer is expecting. What you want does not matter. It is that simple.

 

0 Kudos
Message 4 of 5
(3,586 Views)


Your new instrument needs to act like an GPIB instrument. ... It is that simple.

 


That is what I want to realise.

0 Kudos
Message 5 of 5
(3,573 Views)