refinement

This commit is contained in:
Kyle Brown 2023-05-16 11:23:38 -07:00
parent f89b1a86c9
commit b18edb8f2d
4 changed files with 33 additions and 50 deletions

View file

@ -10,9 +10,11 @@ gcode:
M140 S{bedTemp} ; set bed temp to warm while starting up
G28 ; home after setting temps
#G1 Z20 F3000 ; move nozzle away from bed
G90 ; absolute positioning
M117 Waiting for temperatures...
TEMPERATURE_WAIT SENSOR=heater_bed MINIMUM={bedTemp} MAXIMUM={bedTemp+1} ; Wait for bed temp (within 1 degree)
Z_TILT_ADJUST
G28 Z
G90 ; absolute positioning
BED_MESH_CALIBRATE
G1 X0 Y0 Z0.2 F20000 ; park nozzle on bed to prevent ooze
M109 S{hotendTemp} ; Set extruder to printing temperature

View file

@ -39,6 +39,22 @@ gcode:
gcode:
PID_CALIBRATE HEATER=heater_bed TARGET=100
[gcode_macro DISABLE_Z]
gcode:
SET_STEPPER_ENABLE STEPPER=stepper_z ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_z1 ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_z2 ENABLE=0
[gcode_macro ENABLE_XY]
gcode:
SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=1
SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=1
[gcode_macro DISABLE_XY]
gcode:
SET_STEPPER_ENABLE STEPPER=stepper_x ENABLE=0
SET_STEPPER_ENABLE STEPPER=stepper_y ENABLE=0
[gcode_macro TEST_SPEED]
gcode:
# Example: TEST_SPEED SPEED=300 ACCEL=5000 ITERATIONS=10

View file

@ -112,31 +112,6 @@ stealthchop_threshold: 0
driver_SGTHRS: 100 # 255 is most sensitive value, 0 is least sensitive
diag_pin: ^PC1
#####################################################################
# Z Stepper Settings
#####################################################################
#[stepper_z]
#step_pin: PB0
#dir_pin: !PC5
#enable_pin: !PB1
#rotation_distance: 8
#microsteps: 32
#endstop_pin: probe:z_virtual_endstop
#position_max: 120
#position_min: -15
#homing_speed: 10
#second_homing_speed: 3.0
#homing_retract_dist: 8.0
#[tmc2209 stepper_z]
#uart_pin: PC11
#tx_pin: PC10
#uart_address: 1
#interpolate: False
#run_current: 0.3
#sense_resistor: 0.110
#stealthchop_threshold: 999999
#####################################################################
# Extruder
@ -212,27 +187,14 @@ off_below: 0.13
cycle_time: 0.010
#####################################################################
# Homing and Gantry Adjustment Routines
#####################################################################
[idle_timeout]
timeout: 600
[bed_screws]
screw1: 55,9
screw1_name: front screw
screw2: 9,108
screw2_name: back left
screw3: 108,108
screw3_name: back right
[dockable_probe]
pin: ^PC2
z_offset: 0.1
sample_retract_dist: 4.0
samples: 3
dock_position: 0, 115.5, 10
dock_position: 0, 115.7, 10
approach_position: 24, 115.5
detach_position: 0, 24
check_open_attach: True
@ -243,9 +205,9 @@ travel_speed: 50
post_attach_gcode:
G0 X24 Y115.5
x_offset: -17.4
x_offset: -16
y_offset: 17
z_offset: 9.515
z_offset: 10.248
[bed_mesh]
speed: 120

View file

@ -19,7 +19,7 @@ uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 1
interpolate: False
run_current: 0.8
run_current: 1
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
@ -37,7 +37,7 @@ uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 2
interpolate: False
run_current: 0.8
run_current: 1
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
@ -59,20 +59,23 @@ uart_pin: skrPico:gpio9
tx_pin: skrPico:gpio8
uart_address: 0
interpolate: False
run_current: 0.8
run_current: 1
sense_resistor: 0.110
stealthchop_threshold: 0 # Set to 999999 to turn stealthchop on, and 0 to use spreadcycle
[z_tilt]
z_positions:
-50, 0
60, 140
170, 0
#-50, 0
#60, 140
#170, 0
-47.5, 15
60, 141
167.5, 15
points:
25, 0
30, 0
80, 75
108, 0
speed: 200
horizontal_move_z: 15
retries: 5
retry_tolerance: 0.0075
retry_tolerance: 0.02