From 90c3b043f222fc75a1e244a39efbeb3780fb2142 Mon Sep 17 00:00:00 2001 From: Raoul Rubien <rubienr@gmail.com> Date: Mon, 31 Dec 2018 14:39:53 +0100 Subject: [PATCH] document move of hardcoded spindle increment/decrement step size to parameter --- docs/config/emc2hal.asciidoc | 7 +++++++ docs/gui/halui.asciidoc | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/config/emc2hal.asciidoc b/docs/config/emc2hal.asciidoc index 9e5ecbdd75..40b5be1b9e 100644 --- a/docs/config/emc2hal.asciidoc +++ b/docs/config/emc2hal.asciidoc @@ -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 diff --git a/docs/gui/halui.asciidoc b/docs/gui/halui.asciidoc index 4f1332a929..fe463ae7ab 100644 --- a/docs/gui/halui.asciidoc +++ b/docs/gui/halui.asciidoc @@ -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