Dynomotion

Group: DynoMotion Message: 3819 From: bradodarb Date: 2/9/2012
Subject: Ksteps
Hello Tom,


I think that I read that the Kstep is a 16x mictostepping drive.

Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?

Thank you,

Brad Murry
Group: DynoMotion Message: 3820 From: Tom Kerekes Date: 2/9/2012
Subject: Re: Ksteps
Correct
 
TK

Group: DynoMotion Message: 3821 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Thanks Tom,


Now for my next trick...


I can home these lasers dead accurately- they go to the same place every single time(as expected).


At the end of the home routine I have an::

EnableAxisDest(axis,0);

So we start as 0.


In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.


After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....

The dest does go to 0.0, but my laser does not.

I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.



Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.

From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.

The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.

What is the repeatability? Is there anything I can do to tighten up the reponse?

-Brad Murry




--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Correct
>  
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, February 9, 2012 4:06 PM
> Subject: [DynoMotion] Ksteps
>
>
>  
> Hello Tom,
>
> I think that I read that the Kstep is a 16x mictostepping drive.
>
> Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
>
> Thank you,
>
> Brad Murry
>
Group: DynoMotion Message: 3822 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Wait a minute....

I decided to have them try the other five motors and all is well there!!


Its just my axis channel #1 that has this problem....

I will swap to another axis channel, then have them rewire the motor if that does not work.

I'll post back results.

-Brad Murry



--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Thanks Tom,
>
>
> Now for my next trick...
>
>
> I can home these lasers dead accurately- they go to the same place every single time(as expected).
>
>
> At the end of the home routine I have an::
>
> EnableAxisDest(axis,0);
>
> So we start as 0.
>
>
> In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.
>
>
> After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....
>
> The dest does go to 0.0, but my laser does not.
>
> I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.
>
>
>
> Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.
>
> From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.
>
> The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.
>
> What is the repeatability? Is there anything I can do to tighten up the reponse?
>
> -Brad Murry
>
>
>
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Correct
> >  
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, February 9, 2012 4:06 PM
> > Subject: [DynoMotion] Ksteps
> >
> >
> >  
> > Hello Tom,
> >
> > I think that I read that the Kstep is a 16x mictostepping drive.
> >
> > Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
> >
> > Thank you,
> >
> > Brad Murry
> >
>
Group: DynoMotion Message: 3823 From: Tom Kerekes Date: 2/9/2012
Subject: Re: Ksteps
It might be mis-stepping.  Whenever a stepper motor mis-steps it will always be off one or more motor poles which is 4 full steps or 64 uSteps.  You might slow it way down to check if it then repeats.  Also you might force it by hand to the next motor pole and see it it then goes to the right spot.
 
TK

Group: DynoMotion Message: 3824 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Hello Tom,

I tried a different axis channel, forcing it by hand and slowed the speed down -10x.

It seems odd that it homes reliably but does not position correctly.

From all acounts it moves and sounds the same as the other five when moving/homing/jogging.


I will have it rewired and if that does not help I'm not sure what to do aside from swapping motors.

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> It might be mis-stepping.  Whenever a stepper motor mis-steps it will always be off one or more motor poles which is 4 full steps or 64 uSteps.  You might slow it way down to check if it then repeats.  Also you might force it by hand to the next motor pole and see it it then goes to the right spot.
>  
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, February 9, 2012 6:41 PM
> Subject: [DynoMotion] Re: Ksteps
>
>
>  
> Wait a minute....
>
> I decided to have them try the other five motors and all is well there!!
>
> Its just my axis channel #1 that has this problem....
>
> I will swap to another axis channel, then have them rewire the motor if that does not work.
>
> I'll post back results.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Thanks Tom,
> >
> >
> > Now for my next trick...
> >
> >
> > I can home these lasers dead accurately- they go to the same place every single time(as expected).
> >
> >
> > At the end of the home routine I have an::
> >
> > EnableAxisDest(axis,0);
> >
> > So we start as 0.
> >
> >
> > In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.
> >
> >
> > After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....
> >
> > The dest does go to 0.0, but my laser does not.
> >
> > I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.
> >
> >
> >
> > Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.
> >
> > From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.
> >
> > The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.
> >
> > What is the repeatability? Is there anything I can do to tighten up the reponse?
> >
> > -Brad Murry
> >
> >
> >
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Correct
> > >  
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, February 9, 2012 4:06 PM
> > > Subject: [DynoMotion] Ksteps
> > >
> > >
> > >  
> > > Hello Tom,
> > >
> > > I think that I read that the Kstep is a 16x mictostepping drive.
> > >
> > > Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
> > >
> > > Thank you,
> > >
> > > Brad Murry
> > >
> >
>
Group: DynoMotion Message: 3825 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Hello Tom,

Also note that it does nont count down/up in the Dest like the others do when they are commanded to move to a given position.

It seems to instaneously go to the commanded position and merely produces a jerk of motion.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Hello Tom,
>
> I tried a different axis channel, forcing it by hand and slowed the speed down -10x.
>
> It seems odd that it homes reliably but does not position correctly.
>
> From all acounts it moves and sounds the same as the other five when moving/homing/jogging.
>
>
> I will have it rewired and if that does not help I'm not sure what to do aside from swapping motors.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > It might be mis-stepping.  Whenever a stepper motor mis-steps it will always be off one or more motor poles which is 4 full steps or 64 uSteps.  You might slow it way down to check if it then repeats.  Also you might force it by hand to the next motor pole and see it it then goes to the right spot.
> >  
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, February 9, 2012 6:41 PM
> > Subject: [DynoMotion] Re: Ksteps
> >
> >
> >  
> > Wait a minute....
> >
> > I decided to have them try the other five motors and all is well there!!
> >
> > Its just my axis channel #1 that has this problem....
> >
> > I will swap to another axis channel, then have them rewire the motor if that does not work.
> >
> > I'll post back results.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > Thanks Tom,
> > >
> > >
> > > Now for my next trick...
> > >
> > >
> > > I can home these lasers dead accurately- they go to the same place every single time(as expected).
> > >
> > >
> > > At the end of the home routine I have an::
> > >
> > > EnableAxisDest(axis,0);
> > >
> > > So we start as 0.
> > >
> > >
> > > In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.
> > >
> > >
> > > After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....
> > >
> > > The dest does go to 0.0, but my laser does not.
> > >
> > > I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.
> > >
> > >
> > >
> > > Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.
> > >
> > > From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.
> > >
> > > The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.
> > >
> > > What is the repeatability? Is there anything I can do to tighten up the reponse?
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Correct
> > > >  
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, February 9, 2012 4:06 PM
> > > > Subject: [DynoMotion] Ksteps
> > > >
> > > >
> > > >  
> > > > Hello Tom,
> > > >
> > > > I think that I read that the Kstep is a 16x mictostepping drive.
> > > >
> > > > Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
> > > >
> > > > Thank you,
> > > >
> > > > Brad Murry
> > > >
> > >
> >
>
Group: DynoMotion Message: 3826 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Hello Tom,

Re-wired and still produces the same issue.

I guess we need to get a new motor ordered and mounted.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Hello Tom,
>
> Also note that it does nont count down/up in the Dest like the others do when they are commanded to move to a given position.
>
> It seems to instaneously go to the commanded position and merely produces a jerk of motion.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Hello Tom,
> >
> > I tried a different axis channel, forcing it by hand and slowed the speed down -10x.
> >
> > It seems odd that it homes reliably but does not position correctly.
> >
> > From all acounts it moves and sounds the same as the other five when moving/homing/jogging.
> >
> >
> > I will have it rewired and if that does not help I'm not sure what to do aside from swapping motors.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > It might be mis-stepping.  Whenever a stepper motor mis-steps it will always be off one or more motor poles which is 4 full steps or 64 uSteps.  You might slow it way down to check if it then repeats.  Also you might force it by hand to the next motor pole and see it it then goes to the right spot.
> > >  
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, February 9, 2012 6:41 PM
> > > Subject: [DynoMotion] Re: Ksteps
> > >
> > >
> > >  
> > > Wait a minute....
> > >
> > > I decided to have them try the other five motors and all is well there!!
> > >
> > > Its just my axis channel #1 that has this problem....
> > >
> > > I will swap to another axis channel, then have them rewire the motor if that does not work.
> > >
> > > I'll post back results.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > > Thanks Tom,
> > > >
> > > >
> > > > Now for my next trick...
> > > >
> > > >
> > > > I can home these lasers dead accurately- they go to the same place every single time(as expected).
> > > >
> > > >
> > > > At the end of the home routine I have an::
> > > >
> > > > EnableAxisDest(axis,0);
> > > >
> > > > So we start as 0.
> > > >
> > > >
> > > > In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.
> > > >
> > > >
> > > > After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....
> > > >
> > > > The dest does go to 0.0, but my laser does not.
> > > >
> > > > I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.
> > > >
> > > >
> > > >
> > > > Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.
> > > >
> > > > From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.
> > > >
> > > > The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.
> > > >
> > > > What is the repeatability? Is there anything I can do to tighten up the reponse?
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Correct
> > > > >  
> > > > > TK
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, February 9, 2012 4:06 PM
> > > > > Subject: [DynoMotion] Ksteps
> > > > >
> > > > >
> > > > >  
> > > > > Hello Tom,
> > > > >
> > > > > I think that I read that the Kstep is a 16x mictostepping drive.
> > > > >
> > > > > Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
> > > > >
> > > > > Thank you,
> > > > >
> > > > > Brad Murry
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 3827 From: bradodarb Date: 2/9/2012
Subject: Re: Ksteps
Figured it out...

As usual, a self inflicted wound.

in the KM_Axis object the MoveTo and StartMoveTo use move at vel::


_Controller.WriteLine(String.Format("MoveAtVel{0}={1} {2}", _ID, pos * _CPU, _Velocity * (CPU / 60)));



I have something in the MM wrappers that lets you invert the axis direction by setting the base level axis objects counts per units to -1(a non-inverted axis ==1)

The wrapper handles all the counts conversions so that any hardware can be treated the same.

Apparently MoveAtVel does not like a negative velocity value. It makes since that I cannot travel back in time, so I changed the code to this::

_Controller.WriteLine(String.Format("MoveAtVel{0}={1} {2}", _ID, pos * _CPU, _Velocity * (Math.Abs(_CPU) / 60)));


Perhaps the underlying DSP command shoulf perform an ABS?

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Hello Tom,
>
> Re-wired and still produces the same issue.
>
> I guess we need to get a new motor ordered and mounted.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Hello Tom,
> >
> > Also note that it does nont count down/up in the Dest like the others do when they are commanded to move to a given position.
> >
> > It seems to instaneously go to the commanded position and merely produces a jerk of motion.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > Hello Tom,
> > >
> > > I tried a different axis channel, forcing it by hand and slowed the speed down -10x.
> > >
> > > It seems odd that it homes reliably but does not position correctly.
> > >
> > > From all acounts it moves and sounds the same as the other five when moving/homing/jogging.
> > >
> > >
> > > I will have it rewired and if that does not help I'm not sure what to do aside from swapping motors.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > It might be mis-stepping.  Whenever a stepper motor mis-steps it will always be off one or more motor poles which is 4 full steps or 64 uSteps.  You might slow it way down to check if it then repeats.  Also you might force it by hand to the next motor pole and see it it then goes to the right spot.
> > > >  
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, February 9, 2012 6:41 PM
> > > > Subject: [DynoMotion] Re: Ksteps
> > > >
> > > >
> > > >  
> > > > Wait a minute....
> > > >
> > > > I decided to have them try the other five motors and all is well there!!
> > > >
> > > > Its just my axis channel #1 that has this problem....
> > > >
> > > > I will swap to another axis channel, then have them rewire the motor if that does not work.
> > > >
> > > > I'll post back results.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > >
> > > > > Thanks Tom,
> > > > >
> > > > >
> > > > > Now for my next trick...
> > > > >
> > > > >
> > > > > I can home these lasers dead accurately- they go to the same place every single time(as expected).
> > > > >
> > > > >
> > > > > At the end of the home routine I have an::
> > > > >
> > > > > EnableAxisDest(axis,0);
> > > > >
> > > > > So we start as 0.
> > > > >
> > > > >
> > > > > In my maintenance page, I have a little dialog that can jog an axis and do a move to as well.
> > > > >
> > > > >
> > > > > After homing, if I jog in any given direction and then command a move to 0.0 it does not go to the homed position....
> > > > >
> > > > > The dest does go to 0.0, but my laser does not.
> > > > >
> > > > > I am told that whichever direction that I jog when I command to 0.0 it bumps to the jogged direction by around an inch(~80) counts.
> > > > >
> > > > >
> > > > >
> > > > > Keep in mind the lasers are mounted to brackets that are directly attached to the motor shaft and there is no gear reduction.
> > > > >
> > > > > From what I can see 5 actual steps == ~1" of travel, so its not very forgiving.
> > > > >
> > > > > The lasers in the other direction are projecting to a surface that is 45 degrees, so the effect will be even worse I think.
> > > > >
> > > > > What is the repeatability? Is there anything I can do to tighten up the reponse?
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Correct
> > > > > >  
> > > > > > TK
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, February 9, 2012 4:06 PM
> > > > > > Subject: [DynoMotion] Ksteps
> > > > > >
> > > > > >
> > > > > >  
> > > > > > Hello Tom,
> > > > > >
> > > > > > I think that I read that the Kstep is a 16x mictostepping drive.
> > > > > >
> > > > > > Taking into account a 1.8deg stepper motor, this would relate to 3200 steps per rev in relation to the axis Dest value?
> > > > > >
> > > > > > Thank you,
> > > > > >
> > > > > > Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>