× Forum Header

Spindle at speed only in reverse

More
16 Mar 2016 12:06 #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 or Create an account to join the conversation.

More
16 Mar 2016 15:46 #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 or Create an account to join the conversation.

More
16 Mar 2016 16:06 #71724 by Robban
Here is my hal files.

File Attachment:

File Name: custom_postgui.hal
File Size:1 KB


File Attachment:

File Name: Svarv.hal
File Size:4 KB


Tried another time with stepconfig with the same result.
Attachments:

Please Log in or Create an account to join the conversation.

More
16 Mar 2016 16:15 #71727 by andypugh
You could try changing
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
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 or Create an account to join the conversation.

More
16 Mar 2016 16:49 #71731 by Robban
net spindle-cmd-rps => near.0.in1 didnt work but -400 did!
Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum