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

Subject: How to handle various response format from device in streamdevice protocol?
From: Chiang, Liang-Chih [江良志] via Tech-talk <tech-talk@aps.anl.gov>
To: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Mon, 16 Sep 2019 07:02:28 +0000

Hi,

I'm developing record support files and streamdevice protocol file

for vacuum guage controller Inficon VGC502. This controller can connect to two gauges(channels).

 

I don't know what are the good streamdevice protocols to process the following response format. Would you please provide suggestions?

 

 

1. the command "TID" returns guage identifications:

response example 1: noSENSOR,noSENSOR

response example 2: MAG,MAG

 

The response above has two parts, corresponding to two gauges. The length of each part is not fixed.

 

 

2. the command "RES" returns a list of all present error codes. The list is of variable length.

response example 1: 0

response example 2: 2,3,4

 

0 –>  No error
1 –>  Watchdog has responded  
2 –>  Task fail error
3 –>  FLASH error
4 –>  RAM error
5 –>  EEPROM error
6 –>  DISPLAY error
7 –>  A/D converter error
8 –>  UART error
9 –>  Gauge 1 general error
10 –>  Gauge 1 ID error
11 –>  Gauge 2 general error
12 –>  Gauge 2 ID error
13 –>  Gauge 3 general error
14 –>  Gauge 3 ID error

 

 

3. the command "SPS returns the switching function status. 0 means Off, 1 means On.

response example 1:  0,0,0,0

 

VGC502 has 4 switching functions, so the response has 4 zeros/ones.

 

VGC503 has 6 switching functions, however, what protocol could I use to support both VGC502 and VGC503?

 

 

 

PS  the user manual(including command sets) download link:

https://products.inficon.com/en-us/nav-products/product/detail/vgc50x/

Best regards.

 

LiangChih Chiang

email: chiang.lc@nsrrc.org.tw

Beamline Group

National Synchrotron Radiation Research Center (NSRRC)


Navigate by Date:
Prev: Re: Tech-talk Digest, Vol13, Issue386 Mark Rivers via Tech-talk
Next: Re: Sumo test Jörn Dreyer 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  <20192020 
Navigate by Thread:
Prev: Re: Tech-talk Digest, Vol13, Issue386 Mark Rivers via Tech-talk
Next: Sequencer release 2.2.7 Benjamin Franksen 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  <20192020 
ANJ, 17 Sep 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·