Welcome! Log In Create A New Profile

Advanced

bed leveling not probing

Posted by mwhatch 
bed leveling not probing
July 18, 2020 11:06AM
Setting up new home built printer.

When I run ABL the printer moves to each position but does not stop and probe.
Can someone look at my code and advise me.
Ramps 1.4 with Marlin 1.0.2. Inductive Proximity Sensor

Thanks.

#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)
//#define Z_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

#ifdef ENABLE_AUTO_BED_LEVELING

// There are 2 different ways to pick the X and Y locations to probe:

// - "grid" mode
// Probe every point in a rectangular grid
// You must specify the rectangle, and the density of sample points
// This mode is preferred because there are more measurements.
// It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive

// - "3-point" mode
// Probe 3 arbitrary points on the bed (that aren't colinear)
// You must specify the X & Y coordinates of all 3 points

#define AUTO_BED_LEVELING_GRID
// with AUTO_BED_LEVELING_GRID, the bed is sampled in a
// AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid
// and least squares solution is calculated
// Note: this feature occupies 10'206 byte
#ifdef AUTO_BED_LEVELING_GRID

// set the rectangle in which to probe
#define LEFT_PROBE_BED_POSITION 5
#define RIGHT_PROBE_BED_POSITION 110
#define BACK_PROBE_BED_POSITION 180
#define FRONT_PROBE_BED_POSITION 5

// set the number of grid points per dimension
// I wouldn't see a reason to go above 3 (=9 probing points on the bed)
#define AUTO_BED_LEVELING_GRID_POINTS 3


#else // not AUTO_BED_LEVELING_GRID
// with no grid, just probe 3 arbitrary points. A simple cross-product
// is used to esimate the plane of the print bed

#define ABL_PROBE_PT_1_X 5
#define ABL_PROBE_PT_1_Y 5
#define ABL_PROBE_PT_2_X 110
#define ABL_PROBE_PT_2_Y 5
#define ABL_PROBE_PT_3_X 60
#define ABL_PROBE_PT_3_Y 180

#endif // AUTO_BED_LEVELING_GRID


// these are the offsets to the probe relative to the extruder tip (Hotend - Probe)
// X and Y offsets must be integers
#define X_PROBE_OFFSET_FROM_EXTRUDER 0
#define Y_PROBE_OFFSET_FROM_EXTRUDER 0
#define Z_PROBE_OFFSET_FROM_EXTRUDER 0

#define Z_RAISE_BEFORE_HOMING 4 // (in mm) Raise Z before homing (G28) for Probe Clearance.
// Be sure you have this distance over your Z_MAX_POS in case

#define XY_TRAVEL_SPEED 2000 // X and Y axis travel speed between probes, in mm/min

#define Z_RAISE_BEFORE_PROBING 15 //How much the extruder will be raised before traveling to the first probing point.
#define Z_RAISE_BETWEEN_PROBINGS 10

//How much the extruder will be raised when traveling from between next probing points
Re: bed leveling not probing
July 18, 2020 02:52PM
First of all you should check if you see 'endstop triggered' by using M119:
[marlinfw.org]

This way you can see if your electronics are working correctly. Also, Marlin 1.0.2 is very old, I suggest using Marlin 2.x.

Edited 1 time(s). Last edit at 07/18/2020 02:52PM by Ohmarinus.


http://www.marinusdebeer.nl/
Re: bed leveling not probing
July 18, 2020 05:08PM
I did try marlin 2.x but every time I do a verify I get this error message:


Arduino: 1.0.6 (Windows NT (unknown)), Board: "Arduino Mega 2560 or Mega ADK"
core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:34: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:44: undefined reference to `loop'
Re: bed leveling not probing
July 18, 2020 08:22PM
I got the latest arduino and marlin and flashed my firmware, now I don't have any movement.
Marlin 2.x has so many more variable's it makes it hard for me to debug.

Edited 1 time(s). Last edit at 07/18/2020 08:22PM by mwhatch.
Re: bed leveling not probing
July 19, 2020 12:44AM
With Marlin2 for a ramps you don't need to change much, as ramps is still the default. Just add your lcd, probe and thermistor then set your steps and acceleration and endstops homing direction.

With no movement you always start with m119 and check SOFTWARE_DRIVER_ENABLE is disabled in Configuration-adv.h
Sorry, only registered users may post in this forum.

Click here to login