diff --git a/Config_Reference.html b/Config_Reference.html index 7133ecabe..070f4ec6a 100644 --- a/Config_Reference.html +++ b/Config_Reference.html @@ -8669,15 +8669,16 @@ adc2: # 1.50 for cal_dia1 and 2.00 for cal_dia2. #raw_dia1: 9500 #raw_dia2: 10500 -# The raw calibration values for the sensors. The default is 9500 -# for raw_dia1 and 10500 for raw_dia2. +# The raw calibration values for the sensors. The values must be +# different. The default is 9500 for raw_dia1 and 10500 for raw_dia2. #default_nominal_filament_diameter: 1.75 # The nominal filament diameter. This parameter must be provided. #max_difference: 0.200 # Maximum allowed filament diameter difference in millimeters (mm). # If difference between nominal filament diameter and sensor output # is more than +- max_difference, extrusion multiplier is set back -# to %100. The default is 0.200. +# to 100%. Must be less than default_nominal_filament_diameter. +# The default is 0.200. #measurement_delay: 70 # The distance from sensor to the melting chamber/hot-end in # millimeters (mm). The filament between the sensor and the hot-end @@ -8688,6 +8689,10 @@ adc2: #enable: False # Sensor enabled or disabled after power on. The default is to # disable. +#enable_flow_compensation: True +# Flow compensation enabled or disabled. If set to False, the sensor +# will not modify the extrusion multiplier and will only trigger +# runout events. The default is True. #measurement_interval: 10 # The approximate distance (in mm) between sensor readings. The # default is 10mm. diff --git a/G-Codes.html b/G-Codes.html index fdd6055c1..6e724c042 100644 --- a/G-Codes.html +++ b/G-Codes.html @@ -5568,16 +5568,19 @@ or hall filament widt is enabled (also see TSLl401CL Filament Width Sensor and Hall Filament Width Sensor):
QUERY_FILAMENT_WIDTH: Return the current measured filament width.
QUERY_FILAMENT_WIDTH: Return the current measured filament width, the
+state of the width sensor, the state of the filament sensor and the state
+of flow compensation.
RESET_FILAMENT_WIDTH_SENSOR: Clear all sensor readings. Helpful
-after filament change.
DISABLE_FILAMENT_WIDTH_SENSOR: Turn off the filament width sensor
-and stop using it for flow control.
ENABLE_FILAMENT_WIDTH_SENSOR: Turn on the filament width sensor and
-start using it for flow control.
ENABLE_FILAMENT_WIDTH_SENSOR [FLOW_COMPENSATION=[0|1]: Turn on the filament
+width sensor and enable or disable flow compensation. If FLOW_COMPENSATION
+is not specified, the current flow compensation state is preserved.
QUERY_RAW_FILAMENT_WIDTH: Return the current ADC channel readings
and RAW sensor value for calibration points.
By default, the sensor is disabled at power-on.
To enable the sensor, issue ENABLE_FILAMENT_WIDTH_SENSOR command or
set the enable parameter to true.
By default, the sensor measures filament diameter and adjusts the extrusion multiplier +to compensate for variations.
+If you want to use the sensor as a runout switch only, set the enable_flow_compensation
+config parameter to false. In this mode, the sensor will only trigger runout
+events when filament is not detected, it will not modify the extrusion multiplier.
This is useful for printers where the filament sensor is not accurate enough for +flow compensation but can reliably detect filament runout, or when printing with +flexible filaments which have unstable diameter characteristics.
+Issue ENABLE_FILAMENT_WIDTH_SENSOR FLOW_COMPENSATION=1 to enable flow compensation +or ENABLE_FILAMENT_WIDTH_SENSOR FLOW_COMPENSATION=0 to disable it.
+Note that disabling filament width compensation automatically resets the extrusion +multiplier to 100%.
+QUERY_FILAMENT_WIDTH includes the current state of flow compensation in its output.
By default, diameter logging is disabled at power-on.
Issue ENABLE_FILAMENT_WIDTH_LOG command to start logging and issue diff --git a/Status_Reference.html b/Status_Reference.html index 4cc45f4bd..c59b085ff 100644 --- a/Status_Reference.html +++ b/Status_Reference.html @@ -2358,7 +2358,9 @@ object:
is_active: Returns True if the sensor is currently active.Diameter: The last reading from the sensor in mm.flow_compensation_enabled: Returns True if flow compensation is enabled.Diameter: Returns the last width reading in mm if the sensor is active or
+ the nominal filament diameter if it is not.Raw: The last raw ADC reading from the sensor.