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  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  <20232024  2025  2026  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  <20232024  2025  2026 
<== Date ==> <== Thread ==>

Subject: initializing a constant pv at startup
From: "Tran, Phi Dung via Tech-talk" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Tue, 21 Nov 2023 14:54:58 +0000
Hi,

I am using a soft channel $(P) in one IOC to control three real motors in another IOC.
I attempted to initialize a PV, $(P)-DSI, at startup. Then, this PV should remain constant.
When $(P)-DM was processed, it has this NPP input link field to the $(P)-DSI,
field(INPB,"$(P)-DSI.VAL NPP NMS").

My $(P)-DSI was also processed to be the same as $(DOWNSTREAMMTR).VAL.  Therefore, the $(P)-DSI did not remain constant.  How do I fix problem by replacing CPP?  I tried PP and got zero for default.

Below are my records and trace
record(calc,"$(P)-DSI"){
    field(DESC,"initial downstream")
    field(INPA,"$(DOWNSTREAMMTR).VAL CPP MS")
    field(CALC,"a")
    field(PINI,"YES") #move motors
}

record(calcout,"$(P)-DM"){
    field(INPA,"$(P).VAL NPP MS")
    field(INPB,"$(P)-DSI.VAL NPP NMS")
    field(CALC,"a+b")
    field(OUT,"$(DOWNSTREAMMTR).VAL PP MS ")
}

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr'
ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-FF'
ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-OM'
ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-IM'
ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DM'
scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-OBI'
scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-IBI'
scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DSI'

Thanks,
Phi

Attachment: galil0_Ymove_ib_ob_ds.db
Description: galil0_Ymove_ib_ob_ds.db


Navigate by Date:
Prev: New releases of mrfioc2 drivers for MRF timing hardware Jerzy via Tech-talk
Next: Simulated limit switches on motorSim motor Nariyoshi, Pedro 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  <20232024  2025  2026 
Navigate by Thread:
Prev: New releases of mrfioc2 drivers for MRF timing hardware Jerzy via Tech-talk
Next: Simulated limit switches on motorSim motor Nariyoshi, Pedro 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  <20232024  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·