EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: GPIB remote control
From: Maren Purves via Tech-talk <tech-talk at aps.anl.gov>
To: Mark Rivers <rivers at cars.uchicago.edu>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 5 Nov 2020 09:22:01 -1000
Does it work if you log directly into the Moxa port (e.g. telnet)?

Maren Purves
East Asian Observatory/JCMT

On Thu, Nov 5, 2020 at 9:11 AM Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:
I have an HP GPIB power supply I want to control remotely.  It was previously connected to an RS-232 to GPIB converter connected locally to a Windows PC, and that worked.  I want to use Ethernet instead of a local serial port, and to use Linux rather than Windows.  So I added a Moxa terminal server in place of the local PC serial port.  So the configuration is


Ethernet -> Moxa -> RS-232 -> RS-232/GPIB converter -> GPIB -> Power supply


This is not working.  I send commands and I don't get a response.  The notes on the RS-232/GPIB converter says it needs full flow control.  My startup script has these commands to talk to the Moxa:


drvAsynIPPortConfigure("serial2", "gsets11:4002 COM", 0, 0, 0)
asynSetOption(serial2,0,baud,19200)
asynSetOption(serial2,0,bits,8)
asynSetOption(serial2,0,stop,1)
asynSetOption(serial2,0,parity,none)
asynSetOption(serial2,0,crtscts,Y)


Any idea why this would not work, when it did work with a local serial port?


An inexpensive alternative would be an Ethernet to GPIB controller, such as this one from Prologix for $180.


http://prologix.biz/gpib-ethernet-controller.html


Does anyone have experience with these.


I have experience with the Agilent LAN/GPIB gateway, but those are expensive and appear to no longer be available.


Thanks,

Mark




Replies:
RE: GPIB remote control Mark Rivers via Tech-talk
References:
GPIB remote control Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: ADEiger Status Parameters Polling Bruno Martins via Tech-talk
Next: Re: GPIB remote control Eric Norum via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: GPIB remote control Mark Rivers via Tech-talk
Next: RE: GPIB remote control Mark Rivers via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 05 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·