ToolSpeed

From Compost Wiki
Revision as of 19:57, 13 May 2026 by FabienT (talk | contribs)
Jump to navigation Jump to search

ToolSpeed

Description

This command processes, validates, and (conditionally) outputs the spindle speed for the active tool during post-processing.

Core functionalities:

  • Bypasses Optimization: Forces speed output if global override flags (force_tool_spindle_speed_update or unconditionalSpindleCommands) are enabled.
  • Context Evaluation: Determines the correct operation step data based on the current post-processor state configuration.
  • Safety Clamping: Automatically restricts the spindle RPM to sit safely between the machine's minimum and maximum limits using AdjustSpeedWithinRPMRange.
  • Conditional Output: Emits the formatted spindle speed code only if forced by conditions or if a genuine speed change is detected.
  • State Management: Updates the tracked tool spindle speed status and resets the forced update flag upon completion.


Stats

ID 879
Type Comment
Class All Machines
Min Version 10.9.0