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  <20182019  2020  2021  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: driver support for Gamma Vacuum QPC 4 (asking for modbus records)
From: "Wallace, Alex" <[email protected]>
To: "[email protected]" <[email protected]>
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: [email protected] <[email protected]> on behalf of [email protected] <[email protected]>
Sent: Wednesday, April 11, 2018 6:21 AM
To: [email protected]
Subject: Tech-talk Digest, Vol 12, Issue 169
 
Send Tech-talk mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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
      ([email protected])
   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" <[email protected]>
To: Ralph Lange <[email protected]>, EPICS Tech Talk
        <[email protected]>
Subject: Re: EPICS CAS errors
Message-ID: <[email protected]>
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 <[email protected]
> <mailto:[email protected]>> 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" <[email protected]>
To: "[email protected]" <[email protected]>, "Martin L. Smith"
        <[email protected]>
Subject: RE: driver support for Gamma Vacuum QPC 4
Message-ID:
        <[email protected]>
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: [email protected] [mailto:[email protected]] On Behalf Of Phillip Sorensen
Sent: Tuesday, April 10, 2018 5:46 PM
To: [email protected]; Chris Whiting <[email protected]>
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: [email protected]<mailto:[email protected]> 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: "[email protected]" <[email protected]>
To: "'Abdalla  Ahmad'" <[email protected]>,
        "[email protected]" <[email protected]>, "Martin L. Smith"
        <[email protected]>
Subject: RE: driver support for Gamma Vacuum QPC 4
Message-ID: <[email protected]>
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: [email protected] <[email protected]> On Behalf Of Abdalla Ahmad
Sent: 11 April 2018 06:33
To: [email protected]; Martin L. Smith <[email protected]>
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: [email protected] <mailto:[email protected]>  [mailto:[email protected]] On Behalf Of Phillip Sorensen
Sent: Tuesday, April 10, 2018 5:46 PM
To: [email protected] <mailto:[email protected]> ; Chris Whiting <[email protected] <mailto:[email protected]> >
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:[email protected]> [email protected] 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" <[email protected]>
To: Abdalla Ahmad <[email protected]>,
        "[email protected]" <[email protected]>
Subject: Re: driver support for Gamma Vacuum QPC 4
Message-ID: <[email protected]>
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:*[email protected] [mailto:[email protected]] *On
> Behalf Of *Phillip Sorensen
> *Sent:* Tuesday, April 10, 2018 5:46 PM
> *To:* [email protected]; Chris Whiting <[email protected]>
> *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: [email protected] <mailto:[email protected]>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" <[email protected]>
To: Tech-talk <[email protected]>
Subject: Which record is the best to use?
Message-ID: <[email protected]>
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 [email protected]
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  2020  2021  2022  2023  2024 
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  2020  2021  2022  2023  2024 
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 ·