Spindle Docs

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
21 Jul 2025 11:43 - 21 Jul 2025 15:58 #332113 by JT
Spindle Docs was created by JT
linuxcnc.org/docs/stable/html/getting-st...tion_files_for_2_9_y

Shows 4 configuration options for the ini file that don't limit the spindle rpm in any way, are these for master only?
4.1. Spindle limits in the INIIt is now possible to add settings to the [SPINDLE] section of the INI file

MAX_FORWARD_VELOCITY = 20000 The maximum spindle speed (in rpm)

MIN_FORWARD_VELOCITY = 3000 The minimum spindle speed (in rpm)

MAX_REVERSE_VELOCITY = 20000 This setting will default to MAX_FORWARD_VELOCITY if omitted.

MIN_REVERSE_VELOCITY = 3000` This setting is equivalent to MIN_FORWARD_VELOCITY but for reverse spindle rotation. It will default to the MIN_FORWARD_VELOCITY if omitted.

JT
Last edit: 21 Jul 2025 15:58 by JT. Reason: fix code formating

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

More
21 Jul 2025 14:59 - 21 Jul 2025 15:00 #332126 by Aciera
Replied by Aciera on topic Spindle Docs
Not sure what makes you say they 'don't do anything'.

Adding this to the axis sim in a current build of 2.9:
[SPINDLE_0]
MAX_FORWARD_VELOCITY = 20000

seems to have the described effect:

 
Attachments:
Last edit: 21 Jul 2025 15:00 by Aciera.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
21 Jul 2025 15:56 #332129 by JT
Replied by JT on topic Spindle Docs
I tried 2.9.pre (the one that you get from Debian) and 2.9.1 from a deb I downloaded and adding them to an Axis ini file and they do not limit anything. I put MAX_FORWARD_VELOCITY = 100 and can do a m3s50000 and it sets the spindle speed to 50000

JT

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
21 Jul 2025 16:00 #332130 by JT
Replied by JT on topic Spindle Docs
My guess is this was added sometime after 2.9.pre but the docs are quite confusing stating 2.9.y which means nothing to me.

JT

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

More
21 Jul 2025 16:03 - 21 Jul 2025 16:04 #332131 by PCW
Replied by PCW on topic Spindle Docs
Ahh... that's where the Forum poster

(forum.linuxcnc.org/24-hal-components/566...6eu-hal-and-ini-file

got 2.9 pre

The HM2_eth driver from that version also has bugs with 7I76EU configs
(it gets the name wrong)
 
Last edit: 21 Jul 2025 16:04 by PCW.

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

More
21 Jul 2025 16:11 #332132 by Aciera
Replied by Aciera on topic Spindle Docs
If I interpret this correctly then it was added in 2.9pre:
github.com/LinuxCNC/linuxcnc/commit/3d00...37be66c946acc972636e

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

More
22 Jul 2025 06:24 #332158 by rodw
Replied by rodw on topic Spindle Docs
2.9 pre is years old and buggy. You can't depend on it. You really should upgrade to 2.9.4 by following the steps in the Getting Linuxcnc docs or adopt Debian Trixie pre-release as it should be out as the official Debian release next month.

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

  • JT
  • JT's Avatar Topic Author
  • Away
  • Administrator
  • Administrator
More
22 Jul 2025 12:35 - 22 Jul 2025 14:07 #332177 by JT
Replied by JT on topic Spindle Docs
I have no clue why this didn't work yesterday as it is working for me today... maybe a typo in the ini file who knows.

In 2.9.0~pre that ships with  Debian 12 only the reverse caps work so that's why it didn't work for me as I only tried the forward caps.

JT
Last edit: 22 Jul 2025 14:07 by JT.

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

Moderators: HansU
Time to create page: 0.101 seconds
Powered by Kunena Forum