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: "Cobb, Tom \(DLSLtd,RAL,LSCI\) via Tech-talk" <tech-talk at aps.anl.gov>
To: EPICS Tech Talk <tech-talk at aps.anl.gov>, Ralph Lange <ralph.lange at gmx.de>
Date: Fri, 6 Nov 2020 10:21:17 +0000
Hi Ralph,

The Moxa can support RFC2217 mode by changing the settings on a port to allow you to set baud, bits, parity, etc. from the client side. It seems to work well, most of the time... I've had a few Moxas that stop responding to these commands semi-randomly, so I don't tend to use this mode on beamlines as much as I used to.

Thanks,
Tom

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Ralph Lange via Tech-talk <tech-talk at aps.anl.gov>
Sent: 06 November 2020 10:11
To: EPICS Tech Talk <tech-talk at aps.anl.gov>
Subject: Re: GPIB remote control
 
Hi Mark,

On Thu, 5 Nov 2020 at 20:11, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:
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?

I am baffled. You can configure the Moxa box remotely by setting the asyn options?
Honestly, I would never ever have expected that to work. Is that a Windows thing? Wait... or does the Moxa emulate a modem - AT commands and all?
Like Maren, I would always use the web interface on the Moxa to configure the serial line, before connecting with a telnet client to test and finally have the asyn IOC connect.

Really interesting.
~Ralph

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


References:
GPIB remote control Mark Rivers via Tech-talk
Re: GPIB remote control Ralph Lange via Tech-talk

Navigate by Date:
Prev: Re: GPIB remote control Ralph Lange via Tech-talk
Next: Re: GPIB remote control Maren Purves 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: Re: GPIB remote control Ralph Lange via Tech-talk
Next: Re: GPIB remote control Maren Purves 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, 06 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·