Hi Dennis,
In your Init program when you enable your axes you are setting the destination to be the encoder position which is probably zero. Instead set it to the current Destination such as:
EnableAxisDest(0,ch0->Dest);
Regards
Why does pressing Reset in Mach3 set Machine coords to 0?
I've attached my init the gets executed when I press Reset in Mach3.
Thanks,
Dennis
Similar Threads:
Hi Dennis,
In your Init program when you enable your axes you are setting the destination to be the encoder position which is probably zero. Instead set it to the current Destination such as:
EnableAxisDest(0,ch0->Dest);
Regards
Regards
TK http://dynomotion.com
Just had a thought...I'm using steppers in an open loop configuration. Is wind-up or position error really even an issue since the controller really has no idea where my machine is?
I can see needing this down the road when I add encoders and go to a closed loop system.
Thanks,
Dennis
Hi Dennis,
Not sure exactly what you mean. But correct, without feedback or a servo following error or Integrator Wind-Up simply don't apply.
Regards
Regards
TK http://dynomotion.com
Thanks Tom,
The EnableAxisDest(0,ch0->Dest); works perfectly.
-Dennis