Forum Header

Spindle at speed only in reverse

  • Robban
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #71709 by Robban
Spindle at speed only in reverse was created 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
10 years 7 months ago #71720 by andypugh
Replied by andypugh on topic Spindle at speed only in reverse
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.

  • Robban
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #71724 by Robban
Replied by Robban on topic Spindle at speed only in reverse
Here is my hal files.

File Attachment:

File Name: custom_postgui.hal
File Size:995 B


File Attachment:

File Name: Svarv.hal
File Size:3.99 KB


Tried another time with stepconfig with the same result.

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

More
10 years 7 months ago #71727 by andypugh
Replied by andypugh on topic Spindle at speed only in reverse
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 or Create an account to join the conversation.

  • Robban
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
10 years 7 months ago #71731 by Robban
Replied by Robban on topic Spindle at speed only in reverse
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.132 seconds
Powered by Kunena Forum