Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move of hard-coded spindle increment/decrement step size to parameter #297

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/config/emc2hal.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,13 @@ change or removal at any time.
failure to meet its timing constraints. Each time such a failure is
detected, this value is incremented.

* 'motion.spindle.speed-change-step-abs' -
(u32, RW) Step size to increment/decrement on spindle increase/decrease speed (default 100).
* 'motion.spindle.speed-change-max-abs' -
(u32, RW) Absolute spindle speed limit for increment either directions (default 48000).
* 'motion.spindle.speed-change-min-abs' -
(u32, RW) Absolute spindle speed limit for decrement either directions (default 0).

=== Functions

Generally, these functions are both added to the servo-thread in the
Expand Down
4 changes: 2 additions & 2 deletions docs/gui/halui.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,9 @@ true when setting counts directly. The 'count-enable' pin must be true.
* 'halui.spindle.brake-is-on' (bit, out) - indicates brake is on
* 'halui.spindle.brake-off' (bit, in) - pin for deactivating spindle/brake
* 'halui.spindle.brake-on' (bit, in) - pin for activating spindle-brake
* 'halui.spindle.decrease' (bit, in) - decreases spindle speed
* 'halui.spindle.decrease' (bit, in) - decreases spindle speed (see also emc2hal: motion.spindle.speed-change-*)
* 'halui.spindle.forward' (bit, in) - starts the spindle with CW motion
* 'halui.spindle.increase' (bit, in)- increases spindle speed
* 'halui.spindle.increase' (bit, in)- increases spindle speed (see also emc2hal: motion.spindle.speed-change-*)
* 'halui.spindle.is-on' (bit, out) - indicates spindle is on (either direction)
* 'halui.spindle.reverse' (bit, in)- starts the spindle with a CCW motion
* 'halui.spindle.runs-backward' (bit, out) - indicates spindle is on, and in reverse
Expand Down