----BEGIN PGP MESSAGE----
Alex,
Initializing the VAL field of a motor record with soft-channel device support won't work. The soft-channel device support for the motor record expects to get the motor's readback position from the PV in the RDBL field and it synchronizes the target position with the readback value at initialization.
The motor record documentation contains an example of how to use the motors with soft-channel device support:
https://urldefense.us/v3/__https://epics-modules.github.io/motor/motorRecord.html*Examples__;Iw!!G_uCfscf7eWS!fNks4crBbzpRobKw6ee721YCpFmt2vx7N5ojzE33h3XV_UnGpmpRjyiuPUMvv1NGmwE4uGBztEYTiAR7rWA9s38$
Kevin
----END PGP MESSAGE----
________________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Tran, Phi Dung via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, July 24, 2024 12:14 PM
To: tech-talk at aps.anl.gov
Subject: how to inititial VAL field in motor record
Hi,
I am trying the initialize the motor record field(VAL, "1.6050") field, with field(PINI, "YES") and I am not having success.
Is this allowed.
record(motor,"MonoBend1"){
field(DTYP, "Soft Channel")
field(PREC, "4")
#field(DVAL, "1.6050")
field(VAL, "1.6050")
field(PINI, "YES")
}
Alex
- References:
- how to inititial VAL field in motor record Tran, Phi Dung via Tech-talk
- Navigate by Date:
- Prev:
Re: IOC with Normative Types Pierrick M Hanlet via Tech-talk
- Next:
Re: IOC with Normative Types Michael Davidsaver 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
2019
2020
2021
2022
2023
<2024>
2025
- Navigate by Thread:
- Prev:
how to inititial VAL field in motor record Tran, Phi Dung via Tech-talk
- Next:
IOC with Normative Types Dave Bracey 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
2019
2020
2021
2022
2023
<2024>
2025
|