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  <20182019  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  <20182019 
<== Date ==> <== Thread ==>

Subject: RE: driver support for Gamma Vacuum QPC 4 (asking for modbus records)
From: "Wallace, Alex" <awallace@slac.stanford.edu>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 12 Apr 2018 17:30:41 +0000

Hi,


Does anyone have the modbus records .db for the QPC? Bonus points for archive and autosave settings!


Thanks,

-Alex




From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> on behalf of tech-talk-request@aps.anl.gov <tech-talk-request@aps.anl.gov>
Sent: Wednesday, April 11, 2018 6:21 AM
To: tech-talk@aps.anl.gov
Subject: Tech-talk Digest, Vol 12, Issue 169
 
Send Tech-talk mailing list submissions to
        tech-talk@aps.anl.gov

To subscribe or unsubscribe via the World Wide Web, visit
        https://mailman.aps.anl.gov/mailman/listinfo/tech-talk
or, via email, send a message with subject or body 'help' to
        tech-talk-request@aps.anl.gov

You can reach the person managing the list at
        tech-talk-owner@aps.anl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Tech-talk digest..."


Today's Topics:

   1. Re: EPICS CAS errors (Oleg A. Makarov)
   2. RE: driver support for Gamma Vacuum QPC 4 (Abdalla  Ahmad)
   3. RE: driver support for Gamma Vacuum QPC 4
      (ian.gillingham@diamond.ac.uk)
   4. Re: driver support for Gamma Vacuum QPC 4 (Martin L. Smith)
   5. Which record is the best to use? (Ivashkevych, Oksana)


----------------------------------------------------------------------

Message: 1
Date: Tue, 10 Apr 2018 13:16:54 -0500
From: "Oleg A. Makarov" <makarov@anl.gov>
To: Ralph Lange <ralph.lange@gmx.de>, EPICS Tech Talk
        <tech-talk@aps.anl.gov>
Subject: Re: EPICS CAS errors
Message-ID: <b548a966-fe46-d508-de82-6ce9c5e4cf1c@anl.gov>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

Ralph,

thank you for your suggestions. I agree, such problems are very hard to
debug, they are intermittent and most likely caused by memory corruption.
According to my observations these errors happen at start time of a
beamline control application which establish connections/monitors to
large number of EPICS PVs.
I don't think these errors caused by access rights changes, since our
beamline control applications does not change any access rights.

Regards,
Oleg

On 4/10/2018 4:44 AM, Ralph Lange wrote:
> Hi Oleg,
>
> Remote diagnosis of an unknown system is always more of a guessing
> game than anything else.
> So, first and most important suggestion: refer to a local expert.
>
> Nevertheless, some thoughts:
>
> Statistically, many if not most weird errors on the IOC are caused by
> memory corruption.
>
> In your case, the thread suspensions happen when the CA server on the
> IOC calls db_event_enable (line 477) or db_event_disable (line 493),
> and trying to acquire the monitor lock fails with an error.
>
> The routines db_event_enable/ db_event_disable are called from within
> the CA server when access rights change for a record or when a client
> sets up / cancels a monitor.
>
> Were there access rights changes happening on the IOC at 07-Apr
> 19:59:10 and 08-Apr 08:11:10 (at the "line 493" events)?
>
> Some "line 477" thread suspensions happen with intervals of a few
> minutes. That could match a client repeatedly getting ungracefully
> disconnected (because of the server-side thread being suspended) and
> then reconnecting, provoking another attempt to lock an invalid
> monitor lock and get disconnected again.
>
> The semaphore locking code is used everywhere, all the time, all over
> EPICS Base. Not an obvious candidate for a bug.
>
> So ... I think what you see may be consistent with a memory corruption
> that affects at least one record (i.e. the pointer to its monitor lock
> semaphore) or the memory area where the semaphore structures have been
> allocated.
>
> Too bad that the error messages don't show the record involved. That
> would give valuable information.
>
> Memory corruption issues (if there is one) are not easy to track down;
> strategies and tools depend on the operating system. Which closes the
> loop to my first and most important suggestion: refer to a local expert.
>
> Cheers,
> ~Ralph
>
>
> On Mon, Apr 9, 2018 at 10:40 PM, Oleg A. Makarov <makarov@anl.gov
> <mailto:makarov@anl.gov>> wrote:
>
>     Ralph,
>
>     could you please provide some suggestions how to diagnose what
>     causing suspension of CAS-client threads ?
>
>     Thank you,
>     Oleg
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180410/0618e313/attachment.html>

------------------------------

Message: 2
Date: Wed, 11 Apr 2018 05:33:10 +0000
From: "Abdalla  Ahmad" <abdalla.ahmad@sesame.org.jo>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>, "Martin L. Smith"
        <mls@aps.anl.gov>
Subject: RE: driver support for Gamma Vacuum QPC 4
Message-ID:
        <5837a76e75ab463fb3b6e16949029e29@SESAME-FHCM02.SESAME.LOCAL>
Content-Type: text/plain; charset="utf-8"

Hi

We are using the Gamma QPC for the storage ring and the beamlines. The control is simply done using Stream Device. It works fine but you might get a timeout every couple of hours. Seems like there is a problem with the controller itself. We are controlling it through Ethernet so you might want to try the serial port or ModBus.
Attached is the protocol file we are using for voltage and pressure readings and the channel enable/disable functions. Setpoints and relays control was not required, it is done through the Agilent XGS600 gauge controller.

Dear Martin,

As I mentioned, we are facing a timeout issue with these controllers, are you facing a similar issue with your solution?

Best Regards,
Abdalla.

From: tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Phillip Sorensen
Sent: Tuesday, April 10, 2018 5:46 PM
To: tech-talk@aps.anl.gov; Chris Whiting <ccw63@cornell.edu>
Subject: Re: driver support for Gamma Vacuum QPC 4


One of our staff has been working on QPC support.  I am not sure what functionality he has reached beyond monitoring.  I have included him on this message.



Phil Sorensen
On 04/10/2018 06:01 AM, Jack wrote:

Does anyone use Gamma Vacuum QPC 4 vacuum pump controller ?

Thank you

--

  Mauro Giacchini
--
[https://img.newoldstamp.com/f/000/049/u818.png]

Mauro Giacchini
Control System Specialist  ISTITUTO NAZIONALE DI FISICA NUCLEARE

p/f: 0039.049.80.68.558 a: Viale universita' 2, 35020 Legnaro, PD -ITALY-
e: mauro.giacchini@lnl.infn.it<mailto:mauro.giacchini@lnl.infn.it> s: yakman000




________________________________
[Avast logo]<https://www.avast.com/antivirus>


Questa e-mail ? stata controllata per individuare virus con Avast antivirus.
www.avast.com<https://www.avast.com/antivirus>




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180411/ce517cb0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vacuum-gamma-qpc.proto
Type: application/octet-stream
Size: 636 bytes
Desc: vacuum-gamma-qpc.proto
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180411/ce517cb0/attachment.obj>

------------------------------

Message: 3
Date: Wed, 11 Apr 2018 06:42:13 +0000
From: "ian.gillingham@diamond.ac.uk" <ian.gillingham@diamond.ac.uk>
To: "'Abdalla  Ahmad'" <abdalla.ahmad@sesame.org.jo>,
        "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>, "Martin L. Smith"
        <mls@aps.anl.gov>
Subject: RE: driver support for Gamma Vacuum QPC 4
Message-ID: <485cf0d0c8c345c8bacf1feef7fdb4e7@diamond.ac.uk>
Content-Type: text/plain; charset="utf-8"

Thank you Abdalla ? the protocol file will be very useful and maybe help to augment Martin?s work. There?s lots of useful code from both of you and will considerably shorten our development time.

 

 

From: tech-talk-bounces@aps.anl.gov <tech-talk-bounces@aps.anl.gov> On Behalf Of Abdalla Ahmad
Sent: 11 April 2018 06:33
To: tech-talk@aps.anl.gov; Martin L. Smith <mls@aps.anl.gov>
Subject: RE: driver support for Gamma Vacuum QPC 4

 

Hi

 

We are using the Gamma QPC for the storage ring and the beamlines. The control is simply done using Stream Device. It works fine but you might get a timeout every couple of hours. Seems like there is a problem with the controller itself. We are controlling it through Ethernet so you might want to try the serial port or ModBus.

Attached is the protocol file we are using for voltage and pressure readings and the channel enable/disable functions. Setpoints and relays control was not required, it is done through the Agilent XGS600 gauge controller.

 

Dear Martin,

 

As I mentioned, we are facing a timeout issue with these controllers, are you facing a similar issue with your solution?

 

Best Regards,

Abdalla.

 

From: tech-talk-bounces@aps.anl.gov <mailto:tech-talk-bounces@aps.anl.gov>  [mailto:tech-talk-bounces@aps.anl.gov] On Behalf Of Phillip Sorensen
Sent: Tuesday, April 10, 2018 5:46 PM
To: tech-talk@aps.anl.gov <mailto:tech-talk@aps.anl.gov> ; Chris Whiting <ccw63@cornell.edu <mailto:ccw63@cornell.edu> >
Subject: Re: driver support for Gamma Vacuum QPC 4

 

One of our staff has been working on QPC support.  I am not sure what functionality he has reached beyond monitoring.  I have included him on this message.

 

Phil Sorensen

On 04/10/2018 06:01 AM, Jack wrote:

Does anyone use Gamma Vacuum QPC 4 vacuum pump controller ?
Thank you
--
  Mauro Giacchini

--


  <https://img.newoldstamp.com/f/000/049/u818.png>

Mauro Giacchini

Control System Specialist  ISTITUTO NAZIONALE DI FISICA NUCLEARE

 

p/f: 0039.049.80.68.558 a: Viale universita' 2, 35020 Legnaro, PD -ITALY-

e:  <mailto:mauro.giacchini@lnl.infn.it> mauro.giacchini@lnl.infn.it s: yakman000

 

 

 


  _____ 


 <https://www.avast.com/antivirus>

Questa e-mail ? stata controllata per individuare virus con Avast antivirus.
 <https://www.avast.com/antivirus> www.avast.com

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180411/5d2b21ed/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5532 bytes
Desc: not available
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180411/5d2b21ed/attachment.p7s>

------------------------------

Message: 4
Date: Wed, 11 Apr 2018 05:33:09 -0500
From: "Martin L. Smith" <mls@aps.anl.gov>
To: Abdalla Ahmad <abdalla.ahmad@sesame.org.jo>,
        "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Subject: Re: driver support for Gamma Vacuum QPC 4
Message-ID: <2035678d-284d-ddb9-2223-010ed9490d3f@aps.anl.gov>
Content-Type: text/plain; charset="utf-8"; format=flowed

Hi Abdalla,

I have not noticed any communication issues but am using the serial port
through a Ethernet to serial port converter (A.K.A. Moxa box).

Marty

On 04/11/2018 12:33 AM, Abdalla  Ahmad wrote:
> Hi
>
> We are using the Gamma QPC for the storage ring and the beamlines. The control
> is simply done using Stream Device. It works fine but you might get a timeout
> every couple of hours. Seems like there is a problem with the controller itself.
> We are controlling it through Ethernet so you might want to try the serial port
> or ModBus.
>
> Attached is the protocol file we are using for voltage and pressure readings and
> the channel enable/disable functions. Setpoints and relays control was not
> required, it is done through the Agilent XGS600 gauge controller.
>
> Dear Martin,
>
> As I mentioned, we are facing a timeout issue with these controllers, are you
> facing a similar issue with your solution?
>
> Best Regards,
>
> Abdalla.
>
> *From:*tech-talk-bounces@aps.anl.gov [mailto:tech-talk-bounces@aps.anl.gov] *On
> Behalf Of *Phillip Sorensen
> *Sent:* Tuesday, April 10, 2018 5:46 PM
> *To:* tech-talk@aps.anl.gov; Chris Whiting <ccw63@cornell.edu>
> *Subject:* Re: driver support for Gamma Vacuum QPC 4
>
> One of our staff has been working on QPC support.? I am not sure what
> functionality he has reached beyond monitoring.? I have included him on this
> message.
>
> Phil Sorensen
>
> On 04/10/2018 06:01 AM, Jack wrote:
>
>     Does anyone use Gamma Vacuum QPC 4 vacuum pump controller ?
>
>     Thank you
>
>     --
>
>      ??Mauro Giacchini
>
>     --
>
>     https://img.newoldstamp.com/f/000/049/u818.png
>
>       
>
>     Mauro Giacchini
>
>     *Control System Specialist*ISTITUTO NAZIONALE DI FISICA NUCLEARE
>
>     p/f: 0039.049.80.68.558a: Viale universita' 2, 35020 Legnaro, PD -ITALY-
>
>     e: mauro.giacchini@lnl.infn.it <mailto:mauro.giacchini@lnl.infn.it>s: yakman000
>
>     --------------------------------------------------------------------------------
>
>     Avast logo <https://www.avast.com/antivirus>
>
>       
>
>     Questa e-mail ? stata controllata per individuare virus con Avast antivirus.
>     www.avast.com <https://www.avast.com/antivirus>
>
>
>



------------------------------

Message: 5
Date: Wed, 11 Apr 2018 13:21:46 +0000
From: "Ivashkevych, Oksana" <oksana@bnl.gov>
To: Tech-talk <tech-talk@aps.anl.gov>
Subject: Which record is the best to use?
Message-ID: <7F69B7E72ADB2741887231EFC60D9E4F42F9A815@EXMB3.bnl.gov>
Content-Type: text/plain; charset="us-ascii"

Hello,
I would like to automate phasing of servomotors in Delta Tau.

1.      Send phasing command via asyn, wait

2.      If Phasing successful(bit x is set), ->DONE

3.      If Phasing error(bit y is set),  do 1 again.

I would like to do it in the database, and not via sequencer, because it will give me a luxury of using a substitution file and repeating the same for 9 motors and looks much easier. It would be interesting to see how Delta Tau will handle several simultaneous phasing requests.

Thank you for your advice.

Oksana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.aps.anl.gov/pipermail/tech-talk/attachments/20180411/8f796e28/attachment.html>

------------------------------

_______________________________________________
Tech-talk mailing list Tech-talk@aps.anl.gov
https://mailman.aps.anl.gov/mailman/listinfo/tech-talk


End of Tech-talk Digest, Vol 12, Issue 169
******************************************

Navigate by Date:
Prev: RE: sscan question Mark Rivers
Next: Re: sscan question Matt Newville
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  <20182019 
Navigate by Thread:
Prev: Re: sscan question Matt Newville
Next: EPICS Record to SCADA data exchange Vishnu Patel
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  <20182019 
ANJ, 12 Apr 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·