spindle at speed active at zero speed
- billykid
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 507
- Thank you received: 79
16 Dec 2019 12:29 #152727
by billykid
Replied by billykid on topic spindle at speed active at zero speed
unfortunately I can't explain myself well with the translation but I know very well how it works.
1: config vfd
I have a spindle with the hy_vfd component and it works properly, from standstill "spindle at speed" is false, starting the program the spindle reaches the turns and the axis movement starts.
2: config pwm spindle
the problem is on the spindle pwm, I don't understand why from a standstill "spindle at speed" is true, I start the program and the axes move immediately without waiting for the signal.
thank you all
1: config vfd
I have a spindle with the hy_vfd component and it works properly, from standstill "spindle at speed" is false, starting the program the spindle reaches the turns and the axis movement starts.
2: config pwm spindle
the problem is on the spindle pwm, I don't understand why from a standstill "spindle at speed" is true, I start the program and the axes move immediately without waiting for the signal.
thank you all
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17950
- Thank you received: 4817
16 Dec 2019 14:59 #152737
by PCW
Replied by PCW on topic spindle at speed active at zero speed
Is this a gcode issue?
Why would you command a 0 spindle speed?
Why would you command a 0 spindle speed?
Please Log in or Create an account to join the conversation.
- billykid
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 507
- Thank you received: 79
16 Dec 2019 15:27 #152742
by billykid
Replied by billykid on topic spindle at speed active at zero speed
I would simply like "spindle at speed" false at zero speed like the vfd configuration ...
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
16 Dec 2019 15:32 - 16 Dec 2019 15:35 #152743
by bevins
Its going to be false unless you set it to true.
Post your hal file.
Did you look at hal show to see what the signal is doing?
From machine menu select hal configuration, then select signal, on right select watch then select spindle-at-speed. If the circle is red it is false if it is yellow it is true. The. Run a program and see if it changes.
Replied by bevins on topic spindle at speed active at zero speed
I would simply like "spindle at speed" false at zero speed like the vfd configuration ...
Its going to be false unless you set it to true.
Post your hal file.
Did you look at hal show to see what the signal is doing?
From machine menu select hal configuration, then select signal, on right select watch then select spindle-at-speed. If the circle is red it is false if it is yellow it is true. The. Run a program and see if it changes.
Last edit: 16 Dec 2019 15:35 by bevins.
Please Log in or Create an account to join the conversation.
- billykid
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 507
- Thank you received: 79
16 Dec 2019 15:48 #152746
by billykid
Replied by billykid on topic spindle at speed active at zero speed
the signal works regularly .. it is true at right turns and false until it has reached the laps.
M5 spindle stopped "at speed" already true
M5 spindle stopped "at speed" already true
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
16 Dec 2019 15:52 #152747
by bevins
I am not sure I understand what your trying to say.
You saying it is true when the spindle is not commanded to move?
Post your hal file please.
Replied by bevins on topic spindle at speed active at zero speed
the signal works regularly .. it is true at right turns and false until it has reached the laps.
M5 spindle stopped "at speed" already true
I am not sure I understand what your trying to say.
You saying it is true when the spindle is not commanded to move?
Post your hal file please.
Please Log in or Create an account to join the conversation.
- billykid
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 507
- Thank you received: 79
16 Dec 2019 16:34 - 16 Dec 2019 16:38 #152754
by billykid
Replied by billykid on topic spindle at speed active at zero speed
Yes !! it is true when the spindle is not commanded to move
and making M5 the spindle stops "at-speed" becomes false for a moment and then returns true
and making M5 the spindle stops "at-speed" becomes false for a moment and then returns true
Last edit: 16 Dec 2019 16:38 by billykid.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17950
- Thank you received: 4817
16 Dec 2019 16:57 #152759
by PCW
Replied by PCW on topic spindle at speed active at zero speed
I think to get the behaviour you want you would need to gate spindle-on with the spindle at speed comparator (near) output
It also seem like you could get the behaviour you want by arranging the gcode so the spindle is on and set for a non 0 speed before starting
It also seem like you could get the behaviour you want by arranging the gcode so the spindle is on and set for a non 0 speed before starting
Please Log in or Create an account to join the conversation.
- billykid
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 507
- Thank you received: 79
16 Dec 2019 17:34 - 16 Dec 2019 17:46 #152760
by billykid
Replied by billykid on topic spindle at speed active at zero speed
yes Pcw
just give M3 S 0.1 remains still and works properly.
I wanted to fix it in a different way instead of changing the gcode
thanks
just give M3 S 0.1 remains still and works properly.
I wanted to fix it in a different way instead of changing the gcode
thanks
Last edit: 16 Dec 2019 17:46 by billykid.
Please Log in or Create an account to join the conversation.
- bevins
- Offline
- Platinum Member
Less
More
- Posts: 1937
- Thank you received: 335
16 Dec 2019 20:31 - 16 Dec 2019 20:32 #152765
by bevins
Does your vfd have an analog out that scales the rpm?
What vfd do you have?
Replied by bevins on topic spindle at speed active at zero speed
yes Pcw
just give M3 S 0.1 remains still and works properly.
I wanted to fix it in a different way instead of changing the gcode
thanks
Does your vfd have an analog out that scales the rpm?
What vfd do you have?
Last edit: 16 Dec 2019 20:32 by bevins.
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds