From eb2a67cb956f96e9ed92d5c070411d7dec08bcfd Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 11 Jan 2022 15:00:36 -0500 Subject: extruder: Support SYNC_STEPPER_TO_EXTRUDER on extruder objects Refactor the extruder_stepper support so that it uses the ExtruderStepper class defined in extruder.py. Support the SYNC_STEPPER_TO_EXTRUDER command on steppers defined in either extruder_stepper or extruder config sections. Signed-off-by: Kevin O'Connor --- docs/G-Codes.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'docs/G-Codes.md') diff --git a/docs/G-Codes.md b/docs/G-Codes.md index b4cb63a3..119f1fbb 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -182,6 +182,11 @@ The following standard commands are supported: result in excessive pressure between extruder and hot end. Do proper calibration steps with filament before use. If 'DISTANCE' value is not included command will return current step distance. +- `SYNC_STEPPER_TO_EXTRUDER STEPPER= [EXTRUDER=]`: This + command will cause the given extruder STEPPER (as specified in an + [extruder](Config_Reference#extruder) or + [extruder stepper](Config_Reference#extruder_stepper) config + section) to become synchronized to the given EXTRUDER. - `SET_STEPPER_ENABLE STEPPER= ENABLE=[0|1]`: Enable or disable only the given stepper. This is a diagnostic and debugging tool and must be used with care. Disabling an axis motor does not @@ -344,16 +349,6 @@ enabled: future G-Code movement commands may run in parallel with the stepper movement. -### Extruder stepper Commands - -The following command is available when an -[extruder_stepper config section](Config_Reference.md#extruder_stepper) -is enabled: -- `SYNC_STEPPER_TO_EXTRUDER STEPPER= - [EXTRUDER=]`: This command will cause the given - STEPPER to become synchronized to the given EXTRUDER, overriding - the extruder defined in the "extruder_stepper" config section. - ### Probe The following commands are available when a -- cgit v1.2.3-70-g09d2