Hi Andy and thanks for the quick reply I don't understand why you feel the need to use the reset pin? > > It seems that a stephen in up/down position mode connected directly to > the spindle.0.velocity-rpm pin would do exactly what is required. > > Are you worried that missed-steps will leave a non-zero speed in the > drive? Why would that be any more likely than with a stepper motor (in > fact it ought to be a lot less likely) > > I'm mostly worried that a change in the gcode process or may be a tool change happens so quickly that the stepgen will have no time to make it to zero position when the next speed command starts. In that case I will have less speed than the desired one. The problem is the max speed of the stepgen is limited by the long 12.5 ms pulse so It's not that fast when going to zero. A reset pin would solve this problem.
> If you really want to be sure, then connect spindle.0.off to the clear pin. > I'm already doing that and it's working perfectly. El lun, 17 oct 2022 a las 10:24, andy pugh (<bodge...@gmail.com>) escribió: > On Mon, 17 Oct 2022 at 14:09, Leonardo Marsaglia <ldmarsag...@gmail.com> > wrote: > > > Is it possible to modify the software stepgen component in an easy way to > > add a reset pin? Or should I make my own component to generate the > pulses? > > I don't understand why you feel the need to use the reset pin? > > It seems that a stephen in up/down position mode connected directly to > the spindle.0.velocity-rpm pin would do exactly what is required. > > Are you worried that missed-steps will leave a non-zero speed in the > drive? Why would that be any more likely than with a stepper motor (in > fact it ought to be a lot less likely) > > If you really want to be sure, then connect spindle.0.off to the clear pin. > > (I am making up all these pin names, they may be wrong, or imaginary) > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is > designed for the especial use of mechanical geniuses, daredevils and > lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users