12-10-2012
04:58 PM
- last edited on
03-25-2025
09:13 AM
by
Content Cleaner
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!
12-11-2012 07:36 AM - edited 12-11-2012 07:36 AM
Since you were "building" your own new instrument, why didn't you just build it with a GPIB port?
12-11-2012 08:27 AM
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.
12-11-2012 09:27 AM - edited 12-11-2012 09:28 AM
@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.
12-11-2012 12:20 PM
Your new instrument needs to act like an GPIB instrument. ... It is that simple.
That is what I want to realise.