Purpose:
Calibrate the hall effect sensors to determine and optimize their upper and lower analog output values.
Procedure:
After loading filament into each of the four bays, issue the following command from the console:
OAMS_CALIBRATE_HUB_HES OAMS=<oams_index> SPOOL=<spool_bay_index>
OAMS_CALIBRATE_HUB_HES OAMS=1 SPOOL=0
This will run the filament into the AMS hub, calibrate the values, and output optimized values.Repeat this process for each spool in all bays. Record the values returned from the console.
Update Configuration:
oams.cfg
file:[oams oams1]
hub_hes_on: <new_value_from_spool_0>, <new_value_from_spool_1>, <new_value_from_spool_2>, <new_value_from_spool_3>
Purpose:
Calibrate the PTFE length to ensure the filament feeds to the toolhead extruder at full speed and slows down safely before reaching the gears.
Procedure:
OAMS_CALIBRATE_PTFE_LENGTH OAMS=<oams_index> SPOOL=<spool_bay_index>
Important Notes:
Update Configuration:
oams.cfg
file:[oams oams1]
ptfe_length: <length_supplied_by_calibrate_command>
Calibrate Additional OAMS Units:
OAMS=<oams_index>
.Restart Klipper
Here's the updated markdown with this new information added:
## Step 4: Configure Filament Loading Variables
1. **Purpose:**
Fine-tune the variables required for loading and unloading filament into the toolhead extruder. These values are specific to the extruder being used.
2. **Configuration:**
In the `oams.cfg` file, under the `[gcode_macro _TX]` section, set the following variables:
```ini
[gcode_macro _TX]
variable_hotend_meltzone_compensation = 0
variable_retract_length = 20
variable_extrusion_reload_length = 25.6
variable_extrusion_unload_length = 32
variable_reload_speed = 1000
Explanation of Variables:
variable_hotend_meltzone_compensation
:0
(usually sufficient).variable_retract_length
:20
mm.variable_extrusion_reload_length
:25.6
mm.variable_extrusion_unload_length
:32
mm.variable_reload_speed
:1000
mm/min.Calibration Tips:
Save and Restart:
oams.cfg
file.Here's how you can configure and use the macros provided:
The CUT_FILAMENT
macro defines the sequence for cutting filament and returning the toolhead to its original position.
Add the following to your oams.cfg
file:
[gcode_macro CUT_FILAMENT]
variable_stage_position_x = 35
variable_stage_position_y = 350
variable_cut_position_x = 12
variable_cut_position_y = 350
variable_stage_speed = 3000
variable_cut_speed = 1000
gcode:
G0 X{stage_position_x} Y{stage_position_y} F{stage_speed}
G0 X{cut_position_x} Y{cut_position_y} F{cut_speed}
G0 X{stage_position_x} Y{stage_position_y} F{stage_speed}
M400 ; wait for all moves to end
variable_stage_position_x
and variable_stage_position_y
:X=35, Y=350
.variable_cut_position_x
and variable_cut_position_y
:X=12, Y=350
.variable_stage_speed
:3000
.variable_cut_speed
:1000
.This macro will:
CUT_FILAMENT
Here’s the markdown for Step 6, which outlines the final steps for using the configured macros:
With the default oams.cfg
and your customizations configured, you should be able to cycle through the filaments using the tool change commands. Simply issue the following commands from the console:
T0
T1
T2
T3
These commands will switch between the different filament options as configured in your setup.
If you wish to offload filament after it has been loaded, you can issue the following command:
SAFE_UNLOAD_FILAMENT
OAMSM_UNLOAD_FILAMENT Behavior:
This command attempts to unload the filament without retracting or cutting it first. This can lead to filament jams if the filament is still engaged in the toolhead extruder.
Built-in Monitoring:
The OAMS system has built-in monitors to prevent pulling on the filament if it remains in the extruder. If this happens, the system will pause its operation to avoid damage or jams.
During the loading and unloading processes, the console will report any errors encountered. Depending on the type of error, you may need to take corrective action.
After resolving any issues, you can return the system to a ready state by issuing the following commands:
Clear any errors:
OAMSM_CLEAR_ERRORS
Resume operation:
RESUME
By following these final steps, you will ensure that your AMS system operates smoothly and efficiently, ready to print with the configured filament types.
Finally, if you are able to cycle through T0
, T1
, T2
, and T3
, you should be ready to print.