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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: sscan Record 2.6.1 works very well!
From: "likun" <[email protected]>
To: "'Tim Mooney'" <[email protected]>
Cc: [email protected]
Date: Fri, 27 Jun 2008 15:08:10 +0800
Tim:
  I have got your 2.6.1, and it works very well!
  I really appreciate your works!

Likun
Beamline Control Group, SSRF, China
李坤
中国科学院上海应用物理研究所
控制组
电话:021-33933238
email:[email protected]
-----邮件原件-----
发件人: Tim Mooney [mailto:[email protected]] 
发送时间: 2008年6月26日 22:41
收件人: likun
抄送: [email protected]
主题: Re: Question with sscan Record!

Likun,  I broke PnPA for n>1 when I added the new array
fields PnCA, in sscan module 2.6.  I'll try to get 2.6.1
out today.

likun wrote:
> Hello:
> 
> I use sscan Record to drive 2 positioners synchronously.
> 
> When the 2 positioners’ scan mode are all TABLE, only positioner 1 can 
> be scanned, it can move position by position as P1PA specified. 
> positioner2 will move to 0, then stop. if I set positioner 2 to LINEAR 
> mode, these 2 can both be scanned, 2 motors can move position by 
> position synchronously.
> 
> I have specified P1PA and P2PA by
> 
> caput ?a IOC:scan1.P1PA 10 1000 2000 3000 4000 5000 6000 7000 8000 9000 
> 10000
> 
> caput ?a IOC:scan1.P2PA 10 1000 2000 3000 4000 5000 6000 7000 8000 9000 
> 10000
> 
>  
> 
> Could you tell me why positioner 2 can’t move position by position like 
> position 1 does when both in TABLE mode? Is there any problem with my db 
> file?
> 
>  
> 
> The db file is like this:
> 
>  
> 
> record(motor, "$(P)m1"){
> 
>     field(SCAN, "Passive")
> 
>     field(DESC,"beijing 5phase motor")
> 
>     field(DTYP,"OMS MAXv")
> 
>     field(DIR,"Pos")
> 
>     field(VELO,"10000")
> 
>     field(VBAS,"4000")
> 
>     field(ACCL,"0.2")
> 
>     field(BDST,"0")
> 
>     field(OUT,"#C0S0@")
> 
>     field(MRES,"8")
> 
>     field(PREC,"0")
> 
>     field(EGU,"um")
> 
>     field(DHLM,"100000")
> 
>     field(DLLM,"-100000")
> 
>     field(VMAX,"15000")
> 
>     field(INIT,"AF")
> 
> }
> 
> record(motor, "$(P)m2"){
> 
>     field(SCAN, "Passive")
> 
>     field(DESC,"beijing 5phase motor")
> 
>     field(DTYP,"OMS MAXv")
> 
>     field(DIR,"Pos")
> 
>     field(VELO,"10000")
> 
>     field(VBAS,"4000")
> 
>     field(ACCL,"0.2")
> 
>     field(BDST,"0")
> 
>     field(OUT,"#C0S1@")
> 
>     field(MRES,"8")
> 
>     field(PREC,"0")
> 
>     field(EGU,"um")
> 
>     field(DHLM,"100000")
> 
>     field(DLLM,"-100000")
> 
>     field(VMAX,"15000")
> 
>     field(INIT,"AF")
> 
> }
> 
>  
> 
> record(sscan, "$(P)scan1") {
> 
>   field(DESC, "Scan 1")
> 
>   field(PINI, "YES")
> 
>   field(PRIO, "HIGH")
> 
>   field(MPTS, "10")
> 
>   field(FPTS, "FREEZE")
> 
>   field(FFO, "USE F-FLAGS")
> 
>   field(P1HR, "100000")
> 
>   field(P1LR, "0")
> 
>   field(P1PR, "0")
> 
>   field(P1PV, "$(P)m1.DVAL")
> 
>   field(P1SM, "TABLE")
> 
>   field(P1AR, "ABSOLUTE")
> 
>   field(P1EU, "um")
> 
>   field(R1PV, "$(P)m1.DRBV")
> 
>   field(P2HR, "100000")
> 
>   field(P2LR, "0")
> 
>   field(P2PR, "0")
> 
>   field(P2PV, "$(P)m2.DVAL")
> 
>   field(P2SM, "TABLE")
> 
>   field(P2AR, "ABSOLUTE")
> 
>   field(P2EU, "um")
> 
>   field(R2PV, "$(P)m2.DRBV")
> 
>   field(NPTS, "10")
> 
>   field(P1SP, "0")
> 
>   field(P1SI, "1000")
> 
>   field(P2SP, "0")
> 
>   field(P2SI, "1000")
> 
>   field(PDLY, "0.1")
> 
> }
> 
>  
> 
> likun
> 
> Beamline Control Group, SSRF, China
> 
> 李坤
> 
> 中国科学院上海应用物理研究所
> 
> 控制组
> 
> 电话:021-33933238
> 
> email:[email protected] <mailto:[email protected]>
> 
>  
> 

-- 
Tim Mooney ([email protected]) (630)252-5417
Beamline Controls & Data Acquisition Group
Advanced Photon Source, Argonne National Lab.



References:
Re: Question with sscan Record! Tim Mooney

Navigate by Date:
Prev: New version of the sscan module Tim Mooney
Next: EPICS driver for iseg HV V . I . Stoica
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Question with sscan Record! Tim Mooney
Next: Pulse Train Record David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·