Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
a0dc66f7
Commit
a0dc66f7
authored
13 years ago
by
Bernhard
Browse files
Options
Downloads
Patches
Plain Diff
Home retract distance configureable per axis.
parent
6d6f3235
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Marlin/Configuration.h
+5
-0
5 additions, 0 deletions
Marlin/Configuration.h
Marlin/Marlin.pde
+2
-2
2 additions, 2 deletions
Marlin/Marlin.pde
with
7 additions
and
2 deletions
Marlin/Configuration.h
+
5
−
0
View file @
a0dc66f7
...
...
@@ -207,6 +207,11 @@ const bool Z_ENDSTOPS_INVERTING = true; // set to true to invert the logic of th
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
#define HOMING_FEEDRATE {50*60, 50*60, 4*60, 0} // set the homing speeds (mm/min)
//homing hits the endstop, then retracts by this distance, before it tries to slowly bump again:
#define X_HOME_RETRACT_MM 5
#define Y_HOME_RETRACT_MM 5
#define Z_HOME_RETRACT_MM 1
#define AXIS_RELATIVE_MODES {false, false, false, false}
#define MAX_STEP_FREQUENCY 40000 // Max step frequency for Ultimaker (5000 pps / half step)
...
...
This diff is collapsed.
Click to expand it.
Marlin/Marlin.pde
+
2
−
2
View file @
a0dc66f7
...
...
@@ -469,10 +469,10 @@ inline bool code_seen(char code)
\
current_position[LETTER##_AXIS] = 0;\
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);\
destination[LETTER##_AXIS] = -
5
* LETTER##_HOME_DIR;\
destination[LETTER##_AXIS] = -
LETTER##_HOME_RETRACT_MM
* LETTER##_HOME_DIR;\
prepare_move(); \
\
destination[LETTER##_AXIS] =
10
* LETTER##_HOME_DIR;\
destination[LETTER##_AXIS] =
2*LETTER##_HOME_RETRACT_MM
* LETTER##_HOME_DIR;\
feedrate = homing_feedrate[LETTER##_AXIS]/2 ; \
prepare_move(); \
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment