Skip to content

Commit

Permalink
Merge pull request #13 from j-laird/revf-changes
Browse files Browse the repository at this point in the history
Changes to probing to support Metal Plus (probe offset ~20mm, probes off bed in prior versions)
  • Loading branch information
j-laird committed Jul 24, 2015
2 parents 1c491d8 + cb6b367 commit 1aff210
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -324,14 +324,15 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o

#ifdef ENABLE_AUTO_BED_LEVELING

// these are the positions on the bed to do the probing
#define LEFT_PROBE_BED_POSITION 10
#define RIGHT_PROBE_BED_POSITION X_MAX_LENGTH-10
#define BACK_PROBE_BED_POSITION Y_MAX_LENGTH-10
#define FRONT_PROBE_BED_POSITION 10

// these are the offsets to the prob relative to the extruder tip (Hotend - Probe)
#define X_PROBE_OFFSET_FROM_EXTRUDER_DEFAULT 5
// these are the positions on the bed to do the probing.
// NOTE: if the absolute value of the probe offset (x,y directions) is > 10, we have to move probe points inboard on that axis.
#define LEFT_PROBE_BED_POSITION (bed_level_probe_offset[0] <= 10 ? 10 : bed_level_probe_offset[0])
#define RIGHT_PROBE_BED_POSITION (bed_level_probe_offset[0] >= -10 ? X_MAX_LENGTH - 10 : X_MAX_LENGTH + bed_level_probe_offset[0])
#define BACK_PROBE_BED_POSITION (bed_level_probe_offset[1] >= -10 ? Y_MAX_LENGTH - 10 : Y_MAX_LENGTH + bed_level_probe_offset[1])
#define FRONT_PROBE_BED_POSITION (bed_level_probe_offset[1] <= 10 ? 10 : bed_level_probe_offset[1])

// these are the offsets to the prob relative to the extruder tip (Hotend - Probe). Default below prevents Metal Plus from probing off-bed.
#define X_PROBE_OFFSET_FROM_EXTRUDER_DEFAULT 20
#define Y_PROBE_OFFSET_FROM_EXTRUDER_DEFAULT 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER_DEFAULT 0

Expand Down
2 changes: 1 addition & 1 deletion Marlin/language.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#endif

#define PROTOCOL_VERSION "1.0"
#define FIRMWARE_NAME "PB Marlin Rev F v3"
#define FIRMWARE_NAME "PB Marlin Rev F v4"

#if MOTHERBOARD == 7 || MOTHERBOARD == 71 || MOTHERBOARD == 72
#define MACHINE_NAME "Ultimaker"
Expand Down

0 comments on commit 1aff210

Please sign in to comment.