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  <20132014  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  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: motorRecord simulation & STUP field
From: "Konrad, Martin" <[email protected]>
To: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 8 Aug 2013 17:47:55 +0000
Hi,
I came across the following issue while using motor record with 
DTYP="asynMotor". If I request a status update by

$ caput test.STUP 1

the field seems to stay in state BUSY forever:

$ camonitor motorSim:test0.STUP
test.STUP            2013-08-08 13:31:58.426150 OFF
test.STUP            2013-08-08 13:31:58.426150 ON
test.STUP            2013-08-08 13:32:47.299463 BUSY

I guess that's not the intended behavior. Here is my database file 
(pretty much the example):

record(motor,"test")
{
   field(DESC,"Motor Simulation test")
   field(DTYP, "asynMotor")
   field(VELO,"1")
   field(VBAS,"0")
   field(VMAX,"1")
   field(HVEL,"1")
   field(ACCL,"1")
   field(BDST,"0.01")
   field(BVEL,"0.1")
   field(BACC,"0.1")
   field(OUT,"@asyn(sim1,1)")
   field(MRES,"0.001")
   field(PREC,"5")
   field(EGU,"mm")
   field(DHLM,"30")
   field(DLLM,"-30")
}

In st.cmd I have:
motorSimCreate( 0, 0, -22000, 42000, 10000, 1, 2 )
drvAsynMotorConfigure("sim1", "motorSim", 0, 2)

Is the STUP field supposed to work with this device support?

Regards,

Martin


Replies:
Re: motorRecord simulation & STUP field Ron Sluiter
Re: motorRecord simulation & STUP field Kevin Peterson

Navigate by Date:
Prev: Re: motor record: continuously update limit switches Konrad, Martin
Next: Re: motorRecord simulation & STUP field Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: database breakpoint, dbb(), and large linksets John Dobbins
Next: Re: motorRecord simulation & STUP field Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·