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

Subject: Re: read RVB and VAL don't match when moving smarAct motors without encoders
From: Juliane Reinhardt via Tech-talk <tech-talk at aps.anl.gov>
To: Kevin Peterson <kmpeters at anl.gov>, Mark Rivers <rivers at cars.uchicago.edu>
Cc: David Shapiro <dashapiro at lbl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 12 Nov 2020 23:45:16 -0800
Hi Kevin,

smarAct does not support the EPICS driver, they did however mention the community-developed drivers that can be found on github. I had a look into this one: https://github.com/epics-motor/motorSmarAct/blob/master/smarActApp/src/smarActMCS2MotorDriver.cpp and found the variable theoryPosition that reads :CHAN%d:POS:TARG

Is that the required command to query a motor without an encoder? Then I could try to build a new IOC based on this package.

Thanks,
Juliane


On 11/12/20 15:27, Kevin Peterson wrote:
The controller is returning an error for both of the position query commands used by the driver:

2020/11/12 15:11:03.905 192.168.168.200:5000 write 5\
:GP1\\n\
2020/11/12 15:11:03.908 192.168.168.200:5000 read 8\
:E1,129\\n\

2020/11/12 15:11:03.912 192.168.168.200:5000 write 5\
:GA1\\n\
2020/11/12 15:11:03.915 192.168.168.200:5000 read 8\
:E1,129\\n\

The sensor type that is returned is 1:

:GST1\\n\
2020/11/12 15:11:03.912 192.168.168.200:5000 read 7\
:ST1,1\\n\

A sensor type of 1 is a "linear positioner with nano sensor", according to the MCS RS-232 interface documentation.

I don't see any commands that would query a theoretical position of an axis that doesn't have an encoder.  If SmarAct can provide that information, we can modify the driver to use it.

Kevin

On 11/12/20 5:16 PM, Juliane Reinhardt wrote:
Hi Mark,

does the output in the txt attachment make more sense to you?

Cheers,
Juliane




-- 
Juliane Reinhardt, PhD
Project Scientist | ALS Computing Group
Blg. 15-337E | phone: 510-486-4313
jreinhardt at lbl.gov
Lawrence Berkeley National Lab

References:
read RVB and VAL don't match when moving smarAct motors without encoders Juliane Reinhardt via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Peterson, Kevin M. via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Juliane Reinhardt via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Mark Rivers via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Juliane Reinhardt via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Mark Rivers via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Juliane Reinhardt via Tech-talk
Re: read RVB and VAL don't match when moving smarAct motors without encoders Kevin Peterson via Tech-talk

Navigate by Date:
Prev: Re: read RVB and VAL don't match when moving smarAct motors without encoders Kevin Peterson via Tech-talk
Next: Re: read RVB and VAL don't match when moving smarAct motors without encoders Peterson, Kevin M. 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  <20202021  2022  2023  2024  2025 
Navigate by Thread:
Prev: Re: read RVB and VAL don't match when moving smarAct motors without encoders Kevin Peterson via Tech-talk
Next: Re: read RVB and VAL don't match when moving smarAct motors without encoders Kevin Peterson 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  <20202021  2022  2023  2024  2025 
ANJ, 13 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·