Experimental Physics and Industrial Control System
Search for motorRecResolution. That is what the parameter is called.
Sent from my iPhone
> On Feb 7, 2020, at 11:05 AM, Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> wrote:
>
> I know the resolution is available to the Newport XPS driver, because it uses it for profile moves.
>
> I forget how I did that, and don’t have good search tools available from my phone. I seem to recall functions at some layer that send that motor record information to the drivers. Search for motorResolution in MotorSrc and NewportSrc.
>
> Mark
>
>
> Sent from my iPhone
>
>> On Feb 7, 2020, at 10:33 AM, Koennecke Mark (PSI) via Tech-talk <tech-talk at aps.anl.gov> wrote:
>>
>> Hi,
>>
>> I am writing a motor driver for an old piece of french equipment called EuroMove.
>> This is going well. But the thing does not implement homing in the controller. I try
>> to implement this in the asynAxis driver. To that purpose, I need the motor resolution.
>> It is in principle there, in the MRES field of the motor record. I tried:
>>
>> pC_->getDoubleParm(axisNo_, pC_->motorResolution_, &resolution);
>>
>> but this gave me a 0 instead of the .01 to which the MRES field had been configured in the
>> motor substitutions file. I know the record sees this because the conversion for physical
>> units to motor steps is working.
>>
>> I also tried motorEncoderRatio_ which returned infinity.
>>
>> My question now is how I can get at that information in an asynMotorAxis driver?
>>
>> Or is my only option to write a configuration command or axis creation command which
>> passes the resolution value in?
>>
>> This is against base3.14.12 and motor6.9 on RHEL7 linux.
>>
>> Best Regards,
>>
>> Mark Koennecke
>>
>>
>>
>>
- References:
- asynMotorAxis Koennecke Mark (PSI) via Tech-talk
- Re: asynMotorAxis Mark Rivers via Tech-talk
- Navigate by Date:
- Prev:
Re: asynMotorAxis Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
- Next:
asynMotorAxis Koennecke Mark (PSI) 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: asynMotorAxis Knap, Giles (DLSLtd,RAL,LSCI) via Tech-talk
- Next:
asynMotorAxis Koennecke Mark (PSI) 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