Skip to content

Commit

Permalink
Added homing override to test cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
flopana77 committed Jun 5, 2023
1 parent 7289edf commit 73d2d16
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
18 changes: 13 additions & 5 deletions test/klippy/firmware_retraction_with_VSDCard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ microsteps: 16
rotation_distance: 40
endstop_pin: ^PE5
position_endstop: 0
position_max: 200
position_max: 224
homing_speed: 50

[stepper_y]
Expand All @@ -36,7 +36,7 @@ microsteps: 16
rotation_distance: 40
endstop_pin: ^PJ1
position_endstop: 0
position_max: 200
position_max: 220
homing_speed: 50

[stepper_z]
Expand All @@ -46,7 +46,7 @@ enable_pin: !PK0
microsteps: 16
rotation_distance: 8
endstop_pin: ^PD3
position_endstop: 0.5
position_endstop: 0
position_max: 200

[extruder]
Expand All @@ -55,8 +55,8 @@ dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
Expand Down Expand Up @@ -89,6 +89,14 @@ max_z_accel: 100
[gcode_arcs]
resolution: 0.1

[homing_override]
gcode:
G28 X0
G28 Y0
G1 X112 Y110
G28 Z0
G1 Z8

[gcode_macro VERIFY_AXIS_POSITION]
gcode:
{% set axis_name = params.AXIS %}
Expand Down
18 changes: 13 additions & 5 deletions test/klippy/firmware_retraction_without_VSDCard.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ microsteps: 16
rotation_distance: 40
endstop_pin: ^PE5
position_endstop: 0
position_max: 200
position_max: 224
homing_speed: 50

[stepper_y]
Expand All @@ -33,7 +33,7 @@ microsteps: 16
rotation_distance: 40
endstop_pin: ^PJ1
position_endstop: 0
position_max: 200
position_max: 220
homing_speed: 50

[stepper_z]
Expand All @@ -43,7 +43,7 @@ enable_pin: !PK0
microsteps: 16
rotation_distance: 8
endstop_pin: ^PD3
position_endstop: 0.5
position_endstop: 0
position_max: 200

[extruder]
Expand All @@ -52,8 +52,8 @@ dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.5
nozzle_diameter: 0.500
filament_diameter: 3.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
Expand Down Expand Up @@ -86,6 +86,14 @@ max_z_accel: 100
[gcode_arcs]
resolution: 0.1

[homing_override]
gcode:
G28 X0
G28 Y0
G1 X112 Y110
G28 Z0
G1 X112 Y110 Z8

[gcode_macro VERIFY_AXIS_POSITION]
gcode:
{% set axis_name = params.AXIS %}
Expand Down

0 comments on commit 73d2d16

Please sign in to comment.