Hello,
i got the Step/Dir Spindle working with ramping and everything except if i command M4 the Dir pin changes immediately. It should change when the current rpm is 0.
--
website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit
---
You received this message because you are subscribed to the Google Groups "Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machinekit+...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.
i noticed now, that when i command m4 and then m5, the dir pin changes also, which it should not. It does not change when i command m3 and then m5
Unfortunately there are replies in this thread which are not in sync and don't include other replies.
Now that I realise you are attempting rigid tapping on a mill, not wanting to reverse direction for some inexplicable reason on a lathe, it becomes clearer.
You need a quadrature encoder and use G33.1
okay i have a working eQEP encoder config with index signal for showing real rpm in pyvcp but does it need to be connected to the stepgen in any way? Atm it is configured so:
Because i dont have the tarocco servo driver yet, i use a stepper motor for testing (originally from the z axis) but the spindle servo motor with the encoder is also wired to the machine. If i start a program machinekit starts up the spindle (stepper motor), rapids to the first xy position and then waits for the near component to output high (means if i manually spin the spindle at the correct speed, the "spindle-at-speed" pin goes high and the machine continues to execute the gcode). But what bites me is, as soon as the spindle at speed pin goes high, the machine continues to execute the gcode but if i stop spinning the spindle (and the spindle at speed pin goes low) the machine does not stop motion, it would be nice if it would also stop motion when the spindle-at-speed pin is low.