- Posts: 2180
- Thank you received: 905
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I'll change HAL to setS rather than setP for now, seems a bit more tidy. And I'll plan on 'homing' the spindle at startup with the other axes with the little orient testing gcode I wrote. I've already lowered the initial M3 speed so I don't make my spindle probe angry if I leave it in the spindle and spin it up to 1kRPM.You have actually found the issue that ended up with me making the multi-spindle patch, but which I have still not got round to.
The idea is that spindles should be included in the home sequence. And to do that they neede to act more like joints, and then there might as well be support for more than one and...
Anyway, sorry I didn't think of this earlier when we were discussing the problem. It should have been obvious to me.
You should be able to "sets" the _signal" that links all the index-enable pins. But once they are in a net you cant "setp" the individual pins.
It should be possible in HAL to arrange for the spindle to run at constant speed if orient-enable is true and index-enable is true. (and you would need to "sets" that signal true in HAL just as you do now)
One way would be to switch-in an FF0 input on the orient PID (of you are not already using that) switched in and out by a mux2 in turn controlled by index_enable AND orient_enable.
This is already looking complicated enough for a custom component...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.