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: Question with sscan Record!
From: "likun" <[email protected]>
To: "'Tim Mooney'" <[email protected]>
Cc: [email protected]
Date: Thu, 26 Jun 2008 09:53:06 +0800

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 cant 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

李坤

中国科学院上海应用物理研究所

控制组

电话:02133933238

email[email protected]

 


Replies:
Re: Question with sscan Record! Tim Mooney

Navigate by Date:
Prev: Re: latest motor record on RTEMS? Kate Feng
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 
Navigate by Thread:
Prev: Re: latest motor record on RTEMS? John M. Skinner
Next: Re: Question with sscan Record! Tim Mooney
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 ·