Skip to content

Commit

Permalink
update temp config
Browse files Browse the repository at this point in the history
  • Loading branch information
frylock34 committed Dec 27, 2023
1 parent f148088 commit a5e8590
Show file tree
Hide file tree
Showing 15 changed files with 71 additions and 14 deletions.
2 changes: 1 addition & 1 deletion HTE530-5-4-22.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path: /home/ste/uploads
[include stereotech_config/calibrate/probe_v1.cfg]
[include stereotech_config/calibrate/probe_v2.cfg]

[include stereotech_config/5xx/main_extruder.cfg]
[include stereotech_config/5xx/main_extruder_2.cfg]
[include stereotech_config/5xx/second_extruder.cfg]
[include stereotech_config/common/nozzle_offset.cfg]
[include stereotech_config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/5xx/main_extruder.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pid_Kp: 13.509
pid_Ki: 0.566
pid_Kd: 80.549
min_temp: -150
max_temp: 320
max_temp: 330
min_extrude_temp: 100
max_extrude_only_distance: 300.0
max_extrude_cross_section: 2.56
Expand Down
57 changes: 57 additions & 0 deletions stereotech_config/5xx/main_extruder_2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[extruder]
step_pin: main_extruder_step_pin
dir_pin: main_extruder_dir_pin
enable_pin: !main_extruder_enable_pin
microsteps: 16
rotation_distance: 7.777
nozzle_diameter: 0.4
filament_diameter: 1.75
heater_pin: main_extruder_heater_pin
sensor_type: NTC 100K MGB18-104F39050L32
sensor_pin: main_extruder_sensor_pin
control: pid
pid_Kp: 13.509
pid_Ki: 0.566
pid_Kd: 80.549
min_temp: -150
max_temp: 320
min_extrude_temp: 100
max_extrude_only_distance: 300.0
max_extrude_cross_section: 2.56
fiber: false

[gcode_macro T0]
variable_flow: 100.0
gcode:
M117 set_extruder
{% if printer["gcode_macro T1"].t1_offset_enabled > 0 %}
SET_GCODE_OFFSET X_ADJUST={0.0 - printer["gcode_macro SET_NOZZLE_OFFSET"].offset_x|default(0.0)} Y_ADJUST={0.0 - printer["gcode_macro SET_NOZZLE_OFFSET"].offset_y|default(0.0)}
SET_GCODE_VARIABLE MACRO=T1 VARIABLE=t1_offset_enabled VALUE=0
{% endif %}
{% set current_wcs = printer.gcode_move.current_wcs %}
{% set move = params.MOVE|default(1)|int %}
{% if move %}
{% if "x" in printer.toolhead.homed_axes and "y" in printer.toolhead.homed_axes and "z" in printer.toolhead.homed_axes and printer.toolhead.extruder != 'extruder' %}
G54
MOVE_DOWN_Z_AXIS Z=5
G0 X10 Y2 F3600
{% endif %}
{% endif %}
SAVE_EXTRUDER_FLOW
ACTIVATE_EXTRUDER extruder=extruder
RESTORE_EXTRUDER_FLOW EXTRUDER=extruder
SET_WCS WCS={current_wcs}
M117

[gcode_macro SAVE_EXTRUDER_FLOW]
gcode:
{% set current_ex = printer.toolhead.extruder %}
{% set index_ex = '0' if current_ex == 'extruder' else current_ex[8]|int %}
{% set current_ex_factor = printer.gcode_move.extrude_factor|float %}
SET_GCODE_VARIABLE MACRO=T{index_ex} VARIABLE=flow VALUE={current_ex_factor * 100.0}

[gcode_macro RESTORE_EXTRUDER_FLOW]
gcode:
{% set extruder = params.EXTRUDER|default('extruder') %}
{% set index_ex = '0' if extruder == 'extruder' else extruder[8]|int %}
M221 S{printer["gcode_macro T" ~ index_ex].flow}
2 changes: 1 addition & 1 deletion stereotech_config/HFE520-5-6-21.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/fiber_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HFE530-5-3-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_5d_template.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/530/fiber_extruder_2.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HFE530-5-6-21.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/fiber_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HFE530-5-8-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_5d_template.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/common/fiber_extruder_3.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE520-5-1-22.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE520-5-6-21.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE530-5-1-22.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE530-5-3-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_5d_template.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE530-5-4-22.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_v1.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE530-5-6-21.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ path: /home/ste/uploads

[include config/common/printhead.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE530-5-8-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_5d_template.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down
2 changes: 1 addition & 1 deletion stereotech_config/HTE630-0-C-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path: /home/ste/uploads
[include config/calibrate/probe_5d_template.cfg]
[include config/calibrate/probe_v2.cfg]

[include config/5xx/main_extruder.cfg]
[include config/5xx/main_extruder_2.cfg]
[include config/5xx/second_extruder.cfg]
[include config/common/nozzle_offset.cfg]
[include config/common/extruder_macros.cfg]
Expand Down

0 comments on commit a5e8590

Please sign in to comment.