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 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
<== Date ==> <== Thread ==>

Subject: Epics motor driver dval init
From: Paul-Elie GUILLOT via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 13 Feb 2024 13:10:32 +0000

Hello everyone at tech-talks,

Hope you are well.

I am on the end of developing my motor driver. I am currently testing it.

I have installed Epics on a VM on ubuntu and I am directly talking to my Hardware motor controller through TCP/IP.

The driver I have developed is according to Model 3 Driver.

Anyway, I was hoping to use the field of the motor record called RSTM to set the motor position (stepper counts) according to the DVAL field(encoder counts).

The treatment of the RSTM field seems to be done in the function init_controller in the devMotorAsyn.c file.

However, when called and the function asks for the motor record dval (pmr->dval) the value is equal to 0.

I think it is because the pmr->dval = pmr->drbv is done after the record is initialized.

 

My question is then, does the RSTM field work as it is intended?

How can I force Dval to be equal to the encoder position before the init_record?

 

Thank you for your help and time

Best Regards

Paul

Paul-Elie GUILLOT

Technology Manager in Automation and Robotics

Téléphone: +33 (0)4 76 44 98 93

 

 

20 rue du Tour de l'Eau

F-38400 St Martin d’Hères Cedex

Phone : +33 (0)4 76 44 12 96

irelec-alcen.com

 

IRELEC after sales services – please send your request to support at irelec-alcen.zendesk.com

 

Any disclosure, use, dissemination or reproduction (either whole or partial) of this message or the information contained herein is strictly prohibited without prior consent of Irelec.

 

 


Navigate by Date:
Prev: Failed to build archiver appliance Jörn Dreyer via Tech-talk
Next: RE: Epics motor driver dval init Paul-Elie GUILLOT 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
Navigate by Thread:
Prev: Re: Failed to build archiver appliance Jörn Dreyer via Tech-talk
Next: RE: Epics motor driver dval init Paul-Elie GUILLOT 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
ANJ, 14 Feb 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·