spindle at speed active at zero speed

More
6 years 10 months ago #152727 by billykid
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

Please Log in to join the conversation.

More
6 years 10 months ago #152737 by PCW
Is this a gcode issue?
Why would you command a 0 spindle speed?

Please Log in to join the conversation.

More
6 years 10 months ago #152742 by billykid
I would simply like "spindle at speed" false at zero speed like the vfd configuration ...

Please Log in to join the conversation.

More
6 years 10 months ago #152743 by bevins

billykid wrote: 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.

Please Log in to join the conversation.

More
6 years 10 months ago #152746 by billykid
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

Please Log in to join the conversation.

More
6 years 10 months ago #152747 by bevins

billykid wrote: 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 to join the conversation.

More
6 years 10 months ago #152754 by billykid
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

Please Log in to join the conversation.

More
6 years 10 months ago #152759 by PCW
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

Please Log in to join the conversation.

More
6 years 10 months ago #152760 by billykid
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

Please Log in to join the conversation.

More
6 years 10 months ago #152765 by bevins

billykid wrote: 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?

Please Log in to join the conversation.

Time to create page: 0.152 seconds
Powered by Kunena Forum