MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.16k stars 19.21k forks source link

[BUG] part cooling fan - speed not controllable after mesh-loading #23603

Closed Nemesis01111 closed 2 years ago

Nemesis01111 commented 2 years ago

Did you test the latest bugfix-2.0.x code?

Yes, and the problem still exists.

Bug Description

After reboot the part cooling fan works without problems - and its speed is controllable. But after loading another previously safed mesh (100-point-UBL) the fan only runs, when the speed is set to 100%. At 99% and below it turns off. I can reproduce the problem with setting the fan-speed direct via touchscreen or running a gcode-file. I tested this by using a "selfe-made" gcode-file, that only variate the fan speed.

I attached the gcode-file, Configuration.h and Configuration_adv.h.

If I go back to 2.0.9.2 or 2.0.9.1 the fan works as it should, without problems - so it seems to be no hardware issue.

Best regards, Thomas configuration.zip

Bug Timeline

new with 2.0.9.3

Expected behavior

The fan should be running at every defined speed.

Actual behavior

After loading a mesh, the fan only runs at 100% or 0%.

Steps to Reproduce

  1. reeboot
  2. only adjust the part-cooling-fan via touchscreen or LCD --> part-cooling-fan works fine
  3. start a test-print --> part-cooling-fan works fine
  4. go to UBL and load a previously safed mesh
  5. try adjusting the fan-speed to 30% or so --> part-cooling-fan stays at 0%
  6. try a test-print with 30% fan speed --> part-cooling-fan stays at 0%
  7. if you adjust the fan-speed to 100% --> part-cooling-fan runs at 100%
  8. reboot again and start again

Version of Marlin Firmware

2.0.9.3

Printer model

Sovol SV01

Electronics

my Mainboard = BTT Skr MINI E3 V2.0; my touchscreen = BTT TFT35

Add-ons

BL-Touch

Bed Leveling

UBL Bilinear mesh

Your Slicer

Cura

Host Software

No response

Additional information & file uploads

I changed this settings to the "stock-sovol-configuration":

Configuration.h:

define X_BED_SIZE 285

define Y_BED_SIZE 245

define Z_MAX_POS 260

define DEFAULT_MAX_ACCELERATION { 4000, 4000, 100, 1000 }

define JUNCTION_DEVIATION_MM 0.035

define S_CURVE_ACCELERATION

define AUTO_BED_LEVELING_UBL

define RESTORE_LEVELING_AFTER_G28

define G26_MESH_VALIDATION

define LCD_BED_LEVELING

define MESH_EDIT_MENU

define LEVEL_BED_CORNERS

define LEVEL_CENTER_TOO

// Preheat Constants - Up to 5 are supported without changes //

define PREHEAT_1_LABEL "PLA"

define PREHEAT_1_TEMP_HOTEND 200

define PREHEAT_1_TEMP_BED 60

define PREHEAT_1_TEMP_CHAMBER 35

define PREHEAT_1_FAN_SPEED 0 // Value from 0 to 255

define PREHEAT_2_LABEL "PLA+"

define PREHEAT_2_TEMP_HOTEND 205

define PREHEAT_2_TEMP_BED 60

define PREHEAT_2_TEMP_CHAMBER 35

define PREHEAT_2_FAN_SPEED 0 // Value from 0 to 255

define PREHEAT_3_LABEL "ASA"

define PREHEAT_3_TEMP_HOTEND 250

define PREHEAT_3_TEMP_BED 110

define PREHEAT_3_TEMP_CHAMBER 35

define PREHEAT_3_FAN_SPEED 0 // Value from 0 to 255

define PREHEAT_4_LABEL "TPU"

define PREHEAT_4_TEMP_HOTEND 200

define PREHEAT_4_TEMP_BED 60

define PREHEAT_4_TEMP_CHAMBER 35

define PREHEAT_4_FAN_SPEED 0 // Value from 0 to 255

define SPEAKER

define Z_SAFE_HOMING

//#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN // (deactivate!)

define USE_PROBE_FOR_Z_HOMING

define Z_MIN_PROBE_PIN 14 // (replace PIN 32 --> PIN 14)

define BLTOUCH

define Z_MIN_PROBE_REPEATABILITY_TEST

//#define MULTIPLE_PROBING 2 // (deactivate!)

define NOZZLE_TO_PROBE_OFFSET { -33, 0, 0 } // (change values)

define MESH_EDIT_GFX_OVERLAY // Display a graphics overlay while editing the mesh

define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 399.8, 412.2 } // (change values)

define DEFAULT_Kp 34.9801

define DEFAULT_Ki 4.2452

define DEFAULT_Kd 72.0591

define PIDTEMPBED

define DEFAULT_bedKp 96.7552

define DEFAULT_bedKi 17.0344

define DEFAULT_bedKd 366.3798

define SLIM_LCD_MENUS

// #define Z_PROBE_END_SCRIPT "G1 X173 Y125 F3000\nG1 Z0 F240" // (deactivate)

define HEATER_0_MINTEMP -10

define BED_MINTEMP -10

define HEATER_0_MAXTEMP 315

(also change in TFT-config!: max_temp:T0:315 T1:275 T2:275 T3:275 T4:275 T5:275 BED:150 CHAMBER:60)


Configuration_adv.h:

define BABYSTEP_ZPROBE_OFFSET

define DOUBLECLICK_FOR_Z_BABYSTEPPING

define BABYSTEP_ALWAYS_AVAILABLE

define BABYSTEP_MULTIPLICATOR_Z 10 // (change from 1 to 10)

define BABYSTEP_ZPROBE_GFX_OVERLAY

define QUICK_HOME

define EXPERIMENTAL_SCURVE

define FILAMENT_LOAD_UNLOAD_GCODES

define AUTO_REPORT_POSITION

define M115_GEOMETRY_REPORT

define AUTO_REPORT_SD_STATUS

define SDCARD_CONNECTION ONBOARD // (change from LCD to ONBOARD)

define HOST_ACTION_COMMANDS

define HOST_PROMPT_SUPPORT

define PARK_HEAD_ON_PAUSE

define LIN_ADVANCE_K 0.12 // (change from 0.22 to 0.12)

github-actions[bot] commented 2 years ago

This issue has had no activity in the last 60 days. Please add a reply if you want to keep this issue active, otherwise it will be automatically closed within 10 days.

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.