mirror of
https://github.com/synthetos/g2.git
synced 2026-09-20 17:55:43 +08:00
Added spindle speed min/max values; added spindle mode; Separated spindle into its own group (SP); Made spindle standalone from canonical machine
This commit is contained in:
@@ -733,14 +733,14 @@ static stat_t _execute_gcode_block(char *active_comment)
|
||||
cm_set_model_linenum(gv.linenum);
|
||||
EXEC_FUNC(cm_set_feed_rate_mode, feed_rate_mode); // G93, G94
|
||||
EXEC_FUNC(cm_set_feed_rate, F_word); // F
|
||||
EXEC_FUNC(cm_set_spindle_speed, S_word); // S
|
||||
EXEC_FUNC(spindle_queue_speed, S_word); // S
|
||||
if (gf.sso_control) { // spindle speed override
|
||||
ritorno(cm_sso_control(gv.P_word, gf.P_word));
|
||||
ritorno(spindle_override_control(gv.P_word, gf.P_word));
|
||||
}
|
||||
|
||||
EXEC_FUNC(cm_select_tool, tool_select); // tool_select is where it's written
|
||||
EXEC_FUNC(cm_change_tool, tool_change); // M6
|
||||
EXEC_FUNC(cm_spindle_control, spindle_control); // spindle CW, CCW, OFF
|
||||
EXEC_FUNC(spindle_queue_control, spindle_control); // spindle CW, CCW, OFF
|
||||
|
||||
EXEC_FUNC(cm_mist_coolant_control, mist_coolant); // M7, M9
|
||||
EXEC_FUNC(cm_flood_coolant_control, flood_coolant); // M8, M9 also disables mist coolant if OFF
|
||||
|
||||
Reference in New Issue
Block a user