From 62bcfea47a68475eca91a5288a4225371f07b11e Mon Sep 17 00:00:00 2001 From: Frederik Hertzum Date: Wed, 16 Oct 2024 11:17:16 +0200 Subject: [PATCH] Fix issues with various bits related to the mainboard - Chamber thermistor was set to use a 2.2k resistor. Should have been 4.7k - Speed for homing increased to 600 mm/s - Removed macros and moved them to macros/ --- hardware/manta.cfg | 64 +++++++------------------------------------- macros/g32.cfg | 8 ++++++ macros/macros.cfg | 4 ++- macros/print-end.cfg | 24 +++++++++++++++++ 4 files changed, 44 insertions(+), 56 deletions(-) create mode 100644 macros/g32.cfg create mode 100644 macros/print-end.cfg diff --git a/hardware/manta.cfg b/hardware/manta.cfg index 7631526..0d7cbc0 100644 --- a/hardware/manta.cfg +++ b/hardware/manta.cfg @@ -10,7 +10,7 @@ sensor_pin: PB0 min_temp: 0 max_temp: 100 gcode_id: chamber -pullup_resistor: 2200 +pullup_resistor: 4700 ##################################################################### # Bed Heater @@ -40,7 +40,7 @@ pid_kd: 431.393 ##################################################################### [multi_pin ebay_fans_pin] -pins: PF7, PF9, PF6, PF8 +pins: PF7, PF8 [temperature_fan ebay_fans] # Print Cooling Fan - CNC_FAN0 @@ -55,6 +55,10 @@ target_temp: 50 max_power: 0.5 shutdown_speed: 0 +[fan_generic exhaust] +pin: PF9 +hardware_pwm: false + ##################################################################### # Homing and Gantry Adjustment Routines ##################################################################### @@ -64,7 +68,7 @@ timeout: 1800 [safe_z_home] home_xy_position:175,175 -speed:200 +speed:600 z_hop:10 [quad_gantry_level] @@ -78,10 +82,8 @@ points: 50,275 300,275 300,25 - -#-------------------------------------------------------------------- -speed: 600 -horizontal_move_z: 10 +speed: 100 +horizontal_move_z: 5 retries: 5 retry_tolerance: 0.025 max_adjust: 10 @@ -101,51 +103,3 @@ aliases: EXP2_5=PE10, EXP2_6=PE14, # Slot in the socket on this side EXP2_7=PE8, EXP2_8=, EXP2_9=, EXP2_10= - - -##################################################################### -# Macros -##################################################################### - -[gcode_macro G32] -gcode: - BED_MESH_CLEAR - G28 - QUAD_GANTRY_LEVEL - G28 - ## Uncomment for for your size printer: - #-------------------------------------------------------------------- - ## Uncomment for 250mm build - #G0 X125 Y125 Z30 F3600 - - ## Uncomment for 300 build - #G0 X150 Y150 Z30 F3600 - - ## Uncomment for 350mm build - #G0 X175 Y175 Z30 F3600 - #-------------------------------------------------------------------- - -[gcode_macro PRINT_END] -# Use PRINT_END for the slicer ending script - please customise for your slicer of choice -gcode: - SAVE_GCODE_STATE NAME=STATE_PRINT_END - - M400 ; wait for buffer to clear - G92 E0 ; zero the extruder - G1 E-10.0 F3600 ; retract filament - - G91 ; relative positioning - G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing - TURN_OFF_HEATERS - M107 ; turn off fan - G1 Z2 F3000 ; move nozzle up 2mm - G90 ; absolute positioning - G0 X125 Y250 F3600 ; park nozzle at rear - BED_MESH_CLEAR - - # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE - # command pair is to restore the printer's coordinate system - # and speed settings since the commands above change them. - # However, to prevent any accidental, unintentional toolhead - # moves when restoring the state, explicitly set MOVE=0. - RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0 diff --git a/macros/g32.cfg b/macros/g32.cfg new file mode 100644 index 0000000..830263c --- /dev/null +++ b/macros/g32.cfg @@ -0,0 +1,8 @@ +[gcode_macro G32] +gcode: + BED_MESH_CLEAR + G28 + QUAD_GANTRY_LEVEL + G28 + G0 X175 Y175 Z30 F3600 + \ No newline at end of file diff --git a/macros/macros.cfg b/macros/macros.cfg index a315e4e..7a0205d 100644 --- a/macros/macros.cfg +++ b/macros/macros.cfg @@ -1,4 +1,6 @@ [include buzz.cfg] [include sensorless-homing.cfg] [include print-start.cfg] -# [include sb-leds.cfg] \ No newline at end of file +[include print-end.cfg] +# [include sb-leds.cfg] +[include g32.cfg] \ No newline at end of file diff --git a/macros/print-end.cfg b/macros/print-end.cfg new file mode 100644 index 0000000..116792e --- /dev/null +++ b/macros/print-end.cfg @@ -0,0 +1,24 @@ +[gcode_macro PRINT_END] +# Use PRINT_END for the slicer ending script - please customise for your slicer of choice +gcode: + SAVE_GCODE_STATE NAME=STATE_PRINT_END + + M400 ; wait for buffer to clear + G92 E0 ; zero the extruder + G1 E-10.0 F3600 ; retract filament + + G91 ; relative positioning + G0 Z1.00 X20.0 Y20.0 F20000 ; move nozzle to remove stringing + TURN_OFF_HEATERS + M107 ; turn off fan + G1 Z5 F3000 ; move nozzle up 5mm + G90 ; absolute positioning + G0 X175 Y350 F3600 ; park nozzle at rear + BED_MESH_CLEAR + + # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE + # command pair is to restore the printer's coordinate system + # and speed settings since the commands above change them. + # However, to prevent any accidental, unintentional toolhead + # moves when restoring the state, explicitly set MOVE=0. + RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0