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  2023  2024  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  2023  2024  2025  <2026
<== Date ==> <== Thread ==>

Subject: Record TIME field taken from another record's VAL
From: Majer Karel via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Fri, 6 Feb 2026 14:50:49 +0000
Hello,

We have a number of Beckhoff PLCs installed and we are using ADS device support (https://epics.cosylab.com/documentation/adsDriver/index.html) to talk to them. We have considered synchronizing them with PTP and timestamping PVs with PTP timestamps from the PLC, but it's not clear how to do that of if it's even possible.
The ADS protocol does not carry data timestamp (https://infosys.beckhoff.com/english.php?content=../content/1033/tcinfosys3/11291871243.html&id=) and the device support documentation doesn't mention possibility of using TSE field to obtain hardware timestamp.
My idea was to convert PTP timestamp to double matching EPICS time format, publish it into ai record and use its VAL to set TIME fields of other records published by the ADS IOC. I found some tech talk on Soft Timestamp device support, but I understand it reads from other record's TIME field. Is there a way to use ai VAL field to set TIME of other records?

Thanks,

Karel Majer

Karel Majer | Senior software developer
Phone: +420 266 051 514
E-mail:
karel.majer at eli-beams.eu


ELI Beamlines Facility|The Extreme Light Infrastructure ERIC
Za Radnicí 835, 252 41 Dolní Břežany, The Czech Republic
www.eli-beams.eu 



Replies:
Re: Record TIME field taken from another record's VAL Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: Re: udpiiu messages Hu, Yong via Tech-talk
Next: control room operations accounts Paul Sichta 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  <2026
Navigate by Thread:
Prev: Re: Questions on EPICS 7 NT types and CA → PVAccess migration Simon Rose via Tech-talk
Next: Re: Record TIME field taken from another record's VAL Torsten Bögershausen 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  <2026
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·