Skip to content

Calibration Commands

These commands are used to help calibrate the AFC system. Most of them will provide a guided prompt to help you through the process.


[AFC_CALIBRATION]

Open a prompt to start AFC calibration by selecting a unit to calibrate. Creates buttons for each unit and allows the option to calibrate all lanes across all units.

Usage

AFC_CALIBRATION

Example
AFC_CALIBRATION

[ALL_CALIBRATION]

Open a prompt to confirm calibration of all lanes in all units. Provides 'Yes' to confirm and 'Back' to return to the previous menu.

Usage

ALL_CALIBRATION

Example
ALL_CALIBRATION

[UNIT_CALIBRATION]

Open a prompt to calibrate either the distance between the extruder and the hub or the Bowden length for the selected unit. Provides buttons for lane calibration, Bowden length calibration, and a back option.

Usage

UNIT_CALIBRATION UNIT=<unit>

Example
UNIT_CALIBRATION UNIT=Turtle_1

[UNIT_LANE_CALIBRATION]

Open a prompt to calibrate the extruder-to-hub distance for each lane in the selected unit. Creates buttons for each lane, grouped in sets of two, and allows calibration for all lanes or individual lanes.

Usage

UNIT_LANE_CALIBRATION UNIT=<unit>

Example
UNIT_LANE_CALIBRATION UNIT=Turtle_1

[UNIT_BOW_CALIBRATION]

Open a prompt to calibrate the Bowden length for a specific lane in the selected unit. Provides buttons for each lane, with a note to only calibrate one lane per unit.

Usage

UNIT_CALIBRATION UNIT=<unit>

Example
UNIT_CALIBRATION UNIT=Turtle_1

[CALIBRATE_AFC]

This function performs the calibration of the hub and Bowden length for one or more lanes within an AFC (Automated Filament Control) system. The function uses precise movements to adjust the positions of the steppers, check the state of the hubs and tools, and calculate distances for calibration based on the user-provided input. If no specific lane is provided, the function defaults to notifying the user that no lane has been selected. The function also includes the option to calibrate the Bowden length for a particular lane, if specified.

Parameters: - LANES: Specifies the lane to calibrate. If not provided, calibrates no lanes. - DISTANCE: The distance to move during calibration (optional, defaults to 25mm). - TOLERANCE: The tolerance for fine adjustments during calibration (optional, defaults to 5mm). - BOWDEN: Specifies the lane to perform Bowden length calibration (optional). - UNIT: Specifies the unit to be used in calibration (optional)

Usage

CALIBRATE_AFC LANE=<lane> DISTANCE=<distance> TOLERANCE=<tolerance> BOWDEN=<lane>

Example

CALIBRATE_AFC LANE=all Bowden=lane1 DISTANCE=30 TOLERANCE=3
CALIBRATE_AFC BOWDEN=lane1` (Calibrates the Bowden length for 'lane1')


[SET_BOWDEN_LENGTH]

This function adjusts the length of the Bowden tube between the hub and the toolhead. It retrieves the hub specified by the 'HUB' parameter and the length adjustment specified by the 'LENGTH' parameter. UNLOAD_LENGTH adjusts unload Bowden length. If the hub is not specified and a lane is currently loaded, it uses the hub of the current lane. To reset length back to config value, pass in reset for each length to reset to value in config file. Adding +/- in front of the length will increase/decrease bowden length by that amount.

Usage

SET_BOWDEN_LENGTH HUB=<hub> LENGTH=<length> UNLOAD_LENGTH=<length>

Example
SET_BOWDEN_LENGTH HUB=Turtle_1 LENGTH=+100 UNLOAD_LENGTH=-100

Args: