- Posts: 478
- Thank you received: 0
spindle at speed active at zero speed
6 years 10 months ago #152661
by billykid
spindle at speed active at zero speed was created by billykid
hi, I have the signal spindle at speed active at zero speed and the movement starts without waiting.
the encoder is in place and the speed is the effective one, I don't understand what it can be. maybe there is a way to not have this signal at a standstill.
regards
Mauro
the encoder is in place and the speed is the effective one, I don't understand what it can be. maybe there is a way to not have this signal at a standstill.
regards
Mauro
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22015
- Thank you received: 4
6 years 10 months ago #152665
by tommylight
Replied by tommylight on topic spindle at speed active at zero speed
Check the HAL file if there is something like :
setp spindle-at-speed = true
and remove that line.
setp spindle-at-speed = true
and remove that line.
Please Log in to join the conversation.
6 years 10 months ago #152666
by billykid
Replied by billykid on topic spindle at speed active at zero speed
thanks, but I don't have this line ...
Please Log in to join the conversation.
6 years 10 months ago #152678
by newbynobi
Replied by newbynobi on topic spindle at speed active at zero speed
have you a spindle speed command in your gcode file like S3200 M3
if not, the spindle expect a value of zero and that is correct if the soindle is of, so the movement will start immediatly.
Norbert
if not, the spindle expect a value of zero and that is correct if the soindle is of, so the movement will start immediatly.
Norbert
Please Log in to join the conversation.
6 years 10 months ago #152679
by billykid
Replied by billykid on topic spindle at speed active at zero speed
S3200 M3 or M3 S3200 is the same from the tests done.
yes in a certain sense it is right that from a standstill it is "at speed" but makes the signal useless.
is there a way to not have "at speed" at spindle stopped?
thanks
Mauro
yes in a certain sense it is right that from a standstill it is "at speed" but makes the signal useless.
is there a way to not have "at speed" at spindle stopped?
thanks
Mauro
Please Log in to join the conversation.
- macsddau@linuxcnc
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 0
6 years 10 months ago #152698
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic spindle at speed active at zero speed
Is there something like M3 S0 or M4 S0 at the end of the program instead of M5? When you start a new program the last speed is used.
Please Log in to join the conversation.
6 years 10 months ago #152717
by billykid
Replied by billykid on topic spindle at speed active at zero speed
thank you for answering, but I tried like Norbert said and it's the same. I checked what Macsddau said but I have M5 at the end.
probably rightly so, but only serves as a visual indication.
regards
Mauro
probably rightly so, but only serves as a visual indication.
regards
Mauro
Please Log in to join the conversation.
6 years 10 months ago #152720
by MaHa
Replied by MaHa on topic spindle at speed active at zero speed
Just in case you didn`t solve yet and running 2.7, have a look at following link, section 6.2. Spindle At Speed.
linuxcnc.org/docs/2.7/html/examples/spindle.html
linuxcnc.org/docs/2.7/html/examples/spindle.html
Please Log in to join the conversation.
6 years 10 months ago #152723
by billykid
Replied by billykid on topic spindle at speed active at zero speed
thanks but I have already seen .. the problem is that when the spindle is stopped I have the "at-speed" signal then it starts immediately
Please Log in to join the conversation.
6 years 10 months ago #152726
by Hakan
Replied by Hakan on topic spindle at speed active at zero speed
But spindle-at-speed isn't a general motion-prevention mechanism. Here is what
linuxcnc.org/docs/html/man/man9/motion.9.html
says
So if spindle-at-speed is true, and none of the conditions above apply, it will start to move.
motion.spindle−at−speed IN BIT
Motion will pause until this pin is TRUE, under the following conditions: before the first feed move after each spindle start or speed change; before the start of every chain of spindle-synchronized moves; and if in CSS mode, at every rapid->feed transition.
So if spindle-at-speed is true, and none of the conditions above apply, it will start to move.
Please Log in to join the conversation.
Time to create page: 0.198 seconds
