KREMEN Реклама
KREMEN Реклама

Марлин и индуктивный датчик

Crea
Идет загрузка
Загрузка
04.06.2017
3419
16
Вопросы и ответы
Поставил датчик все дела. Настроил его относительно сопла как нужно.

При нажатии на кнопку парковки по оси Z, он у меня поднимается.... Немного не понимаю что я не так сделал.

В прошивке поставил :

//===========================================================================

//============================ Bed Auto Leveling ============================

//===========================================================================

// @section bedlevel

#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)

//#define DEBUG_LEVELING_FEATURE

#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z Probe Repeatability test will be included if Auto Bed Leveling is Enabled.

#if ENABLED(AUTO_BED_LEVELING_FEATURE)

// There are 2 different ways to specify probing locations:

//

// - 'grid' mode

// Probe several points in a rectangular grid.

// You specify the rectangle and the density of sample points.

// This mode is preferred because there are more measurements.

//

// - '3-point' mode

// Probe 3 arbitrary points on the bed (that aren't collinear)

// You specify the XY coordinates of all 3 points.

// Enable this to sample the bed in a grid (least squares solution).

// Note: this feature generates 10KB extra code size.

#define AUTO_BED_LEVELING_GRID

#if ENABLED(AUTO_BED_LEVELING_GRID)

#define LEFT_PROBE_BED_POSITION 15

#define RIGHT_PROBE_BED_POSITION 120

#define FRONT_PROBE_BED_POSITION 20

#define BACK_PROBE_BED_POSITION 100

#define MIN_PROBE_EDGE 10 // The Z probe minimum square sides can be no smaller than this.

// Set the number of grid points per dimension.

// You probably don't need more than 3 (squared=9).

#define AUTO_BED_LEVELING_GRID_POINTS 3

#else // !AUTO_BED_LEVELING_GRID

// Arbitrary points to probe.

// A simple cross-product is used to estimate the plane of the bed.

#define ABL_PROBE_PT_1_X 15

#define ABL_PROBE_PT_1_Y 180

#define ABL_PROBE_PT_2_X 15

#define ABL_PROBE_PT_2_Y 20

#define ABL_PROBE_PT_3_X 170

#define ABL_PROBE_PT_3_Y 20

#endif // AUTO_BED_LEVELING_GRID

// Z Probe to nozzle (X,Y) offset, relative to (0, 0).

// X and Y offsets must be integers.

//

// In the following example the X and Y offsets are both positive:

// #define X_PROBE_OFFSET_FROM_EXTRUDER 10

// #define Y_PROBE_OFFSET_FROM_EXTRUDER 10

//

// +-- BACK ---+

// | |

// L | (+) P | R <-- probe (20,20)

// E | | I

// F | (-) N (+) | G <-- nozzle (10,10)

// T | | H

// | (-) | T

// | |

// O-- FRONT --+

// (0,0)

#define X_PROBE_OFFSET_FROM_EXTRUDER -32 // X offset: -left +right [of the nozzle]

#define Y_PROBE_OFFSET_FROM_EXTRUDER -34 // Y offset: -front +behind [the nozzle]

#define Z_PROBE_OFFSET_FROM_EXTRUDER 0 // Z offset: -below +above [the nozzle]

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

#define Z_RAISE_BEFORE_PROBING 1 // How much the Z axis will be raised before traveling to the first probing point.

#define Z_RAISE_BETWEEN_PROBINGS 1 // How much the Z axis will be raised when traveling from between next probing points.

#define Z_RAISE_AFTER_PROBING 21 // How much the Z axis will be raised after the last probing point.

//#define Z_PROBE_END_SCRIPT 'G1 Z10 F12000

G1 X15 Y330

G1 Z0.5

G1 Z10' // These commands will be executed in the end of G29 routine.

// Useful to retract a deployable Z probe.

// Probes are sensors/switches that need to be activated before they can be used

// and deactivated after their use.

// Allen Key Probes, Servo Probes, Z-Sled Probes, FIX_MOUNTED_PROBE, ... . You have to activate one of these for the AUTO_BED_LEVELING_FEATURE

// A fix mounted probe, like the normal inductive probe, must be deactivated to go below Z_PROBE_OFFSET_FROM_EXTRUDER

// when the hardware endstops are active.

#define FIX_MOUNTED_PROBE

// A Servo Probe can be defined in the servo section below.

// An Allen Key Probe is currently predefined only in the delta example configurations.

// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.

//#define Z_PROBE_SLED

//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.

// A Mechanical Probe is any probe that either doesn't deploy or needs manual deployment

// For example any setup that uses the nozzle itself as a probe.

//#define MECHANICAL_PROBE

// If you've enabled AUTO_BED_LEVELING_FEATURE and are using the Z Probe for Z Homing,

// it is highly recommended you also enable Z_SAFE_HOMING below!

#endif AUTO_BED_LEVELING_FEATURE

Ответы на вопросы
Металлообработка 2025 Реклама
Металлообработка 2025 Реклама