On 09/02/17 09:06, Mark Rivers wrote:
I will send some detailed comments and recommendations tomorrow.
Mark
Sent from my iPhone
On Feb 8, 2017, at 9:16 PM, Paramveer Jain <[email protected]<mailto:[email protected]>> wrote:
Hello all,
I have gone through the documentation you suggested. After understanding most of the coding I am here with some doubts.
1 > what are controller specific parameters. ? How can I get my controller specific Parameters ?
2> in method
asynStatus PXAxis::move(double position, int relative, double minVelocity, double maxVelocity, double acceleration)
{
asynStatus status;
// static const char *functionName = "moveAxis";
sprintf(pC_->outString_, "%s STX P1 %f %f CR", axisName_, maxVelocity/pulsesPerUnit_, position/pulsesPerUnit_);
status = pC_->writeController();
return status;
}
How will I assign value for maxVelocity and position ???
They come from the motorRecord:
Max velocity is derived from the VELO field.
The position is of course derived from the VAL field.
Both records fields are divided by MRES and send to the driver and end up
measured steps
in our move() method.
(This is probably a bad explanation, hope it helps.
And welcome to the EPICS world)
- References:
- How to support a new stepper motor controller? Ralph Lange
- Re: How to support a new stepper motor controller? Kevin Peterson
- Re: How to support a new stepper motor controller? Rod Nussbaumer
- Re: How to support a new stepper motor controller? Paramveer Jain
- Re: How to support a new stepper motor controller? Mark Rivers
- Navigate by Date:
- Prev:
Re: How to support a new stepper motor controller? Mark Rivers
- Next:
Re: S7plc driver - PV block receiving problems Dirk Zimoch
- 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: How to support a new stepper motor controller? Mark Rivers
- Next:
RE: How to support a new stepper motor controller? Mark Rivers
- 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
|