Forum Header

Spindle at speed only in reverse

More
10 years 7 months ago #71709 by Robban
Hi
Have a problem that the spindle at speed indicator only works when i run the sindle in reverse.
Any suggestions?

Please Log in to join the conversation.

More
10 years 7 months ago #71720 by andypugh
Without seeing the HAL I can only guess, but I suspect that you need some "abs" functions in the HAL that creates the at-speed signal.

Please Log in to join the conversation.

More
10 years 7 months ago #71724 by Robban
Here is my hal files.

Attachment not found



Attachment not found



Tried another time with stepconfig with the same result.

Please Log in to join the conversation.

More
10 years 7 months ago #71727 by andypugh
You could try changing
Code:
net spindle-cmd-rps-abs => near.0.in1 net spindle-velocity-feedback-rps => near.0.in2 net spindle-at-speed <= near.0.out setp near.0.scale 1.200000

in your postgui file such that it uses
Code:
net spindle-cmd-rps => near.0.in1
But that might make it not work in either direction.
If so then it probably means that your spindle encoder is counting backwards, and you need to set the spindle encoder scale to -400

Please Log in to join the conversation.

More
10 years 7 months ago #71731 by Robban
net spindle-cmd-rps => near.0.in1 didnt work but -400 did!
Thanks!

Please Log in to join the conversation.

Time to create page: 0.165 seconds
Powered by Kunena Forum