Update printer.cfg

This commit is contained in:
Siwat Sirichai 2024-01-04 10:15:11 -08:00
parent 2e49dfc975
commit 5b9fd4bfca
1 changed files with 27 additions and 8 deletions

View File

@ -227,7 +227,7 @@ insert_gcode:
[filament_motion_sensor encoder_sensor] [filament_motion_sensor encoder_sensor]
switch_pin: ^PC15 switch_pin: ^PC15
detection_length: 2.88 # accuracy of motion sensor 2.88mm detection_length: 15
extruder: extruder extruder: extruder
pause_on_runout: True pause_on_runout: True
runout_gcode: runout_gcode:
@ -290,6 +290,13 @@ activate_gcode:
{% endif %} {% endif %}
{% endif %} {% endif %}
#####################################################################
# Enclosure Temperature Control
#####################################################################
[temperature_sensor chamber]
sensor_type: Generic 3950
sensor_pin: PB0
##################################################################### #####################################################################
# Fan Control # Fan Control
##################################################################### #####################################################################
@ -322,12 +329,14 @@ kick_start_time: 5.0
[multi_pin controller_fans] [multi_pin controller_fans]
pins: PF7,PF9 pins: PF7,PF9
[heater_fan controller_fan] [controller_fan controller_fan]
## Controller fan - CNC_FAN2 ## Controller fan - CNC_FAN2
pin: multi_pin:controller_fans pin: multi_pin:controller_fans
kick_start_time: 0.5 kick_start_time: 0.5
idle_speed: 0.5
heater: heater_bed heater: heater_bed
heater_temp: 45.0 idle_timeout: 120
##################################################################### #####################################################################
@ -341,8 +350,8 @@ color_order: GRB
[neopixel hotend_rgb] [neopixel hotend_rgb]
pin: printhead: PD3 pin: printhead: PD3
chain_count: 3 chain_count: 6
color_order: GRB color_order: GRB,RBG,GRB,RGB,RGB,RGB
##################################################################### #####################################################################
# Homing and Gantry Adjustment Routines # Homing and Gantry Adjustment Routines
@ -436,6 +445,7 @@ gcode:
[gcode_macro PRINT_START] [gcode_macro PRINT_START]
gcode: gcode:
SET_LED LED="caselight" RED=0.898 GREEN=1 BLUE=0 SYNC=0 TRANSMIT=1
M140 S{ params.BED | float } ; set bed temperature M140 S{ params.BED | float } ; set bed temperature
{% set PROBE_TEMP = 150 %} {% set PROBE_TEMP = 150 %}
@ -472,9 +482,9 @@ gcode:
G1 Z2 F3000 ; move nozzle up 2mm G1 Z2 F3000 ; move nozzle up 2mm
G90 ; absolute positioning G90 ; absolute positioning
PARK_NOZZLE_REAR ; park nozzle PARK_NOZZLE_REAR ; park nozzle
M84 ; disable motors #M84 ; disable motors (optional)
SET_LED LED="hotend_rgb" RED=0 GREEN=0 BLUE=0 SYNC=0 TRANSMIT=1 ; turn off hotend LED SET_LED LED="hotend_rgb" RED=0 GREEN=0 BLUE=0 SYNC=0 TRANSMIT=1 ; turn off hotend LED
SET_LED LED="caselight" RED=0 GREEN=0 BLUE=0 SYNC=0 TRANSMIT=1 ; turn off case light SET_LED LED="caselight" RED=0 GREEN=0 BLUE=0 SYNC=0 TRANSMIT=1
[gcode_macro LOAD_FILAMENT] [gcode_macro LOAD_FILAMENT]
gcode: gcode:
@ -500,7 +510,16 @@ gcode:
{% elif fan_id == 3 %} {% elif fan_id == 3 %}
SET_FAN_SPEED FAN=exhaust_fan SPEED={speed} SET_FAN_SPEED FAN=exhaust_fan SPEED={speed}
{% endif %} {% endif %}
###################################################################
# Palette 2
###################################################################
[palette2]
serial: /dev/serial/by-id/usb-FTDI_FT230X_Basic_UART_DM02HVOW-if00-port0
feedrate_splice: 0.3
feedrate_normal: 1.0
auto_load_speed: 2
auto_cancel_variation: 0.1
#*# <---------------------- SAVE_CONFIG ----------------------> #*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*# #*#