Prusa MINI Firmware overview
|
Go to the documentation of this file.
28 #include "../inc/MarlinConfig.h"
36 bool set_probe_deployed(
const bool deploy);
37 #ifdef Z_AFTER_PROBING
38 void move_z_after_probing();
40 enum ProbePtRaise :
unsigned char {
46 float probe_at_point(
const float &rx,
const float &ry,
const ProbePtRaise raise_after=PROBE_PT_NONE,
const uint8_t verbose_level=0,
const bool probe_relative=
true);
47 inline float probe_at_point(
const xy_pos_t &pos,
const ProbePtRaise raise_after=PROBE_PT_NONE,
const uint8_t verbose_level=0,
const bool probe_relative=
true) {
48 return probe_at_point(pos.
x, pos.
y, raise_after, verbose_level, probe_relative);
50 #define DEPLOY_PROBE() set_probe_deployed(true)
51 #define STOW_PROBE() set_probe_deployed(false)
52 #if HAS_HEATED_BED && ENABLED(WAIT_FOR_BED_HEATER)
53 extern const char msg_wait_for_bed_heating[25];
60 #define DEPLOY_PROBE()
65 #if HAS_LEVELING && (HAS_BED_PROBE || ENABLED(PROBE_MANUALLY))
69 PROBE_X_MIN, MESH_MIN_X
78 PROBE_X_MAX, MESH_MAX_X
87 PROBE_Y_MIN, MESH_MIN_Y
96 PROBE_Y_MAX, MESH_MAX_Y
109 #if HAS_Z_SERVO_PROBE
110 void servo_probe_init();
114 void probing_pause(
const bool p);
float delta_clip_start_height
T z
Definition: types.h:286
#define GET_TEXT(MSG)
Definition: multi_language.h:72
#define Y_MIN_POS
Definition: Configuration_A3ides_2209_MINI.h:985
T z
Definition: types.h:383
void stop()
Definition: Marlin.cpp:783
T x
Definition: types.h:286
#define DEPLOY_PROBE()
Definition: probe.h:60
void disable_e_steppers()
Definition: Marlin.cpp:293
constexpr xyz_pos_t probe_offset
Definition: probe.h:58
#define PROGMEM
Definition: pgmspace.h:29
#define Z_PROBE_SPEED_FAST
Definition: Configuration_A3ides_2209_MINI.h:868
#define RECIPROCAL(x)
Definition: macros.h:273
#define Z_AFTER_PROBING
Definition: Configuration_A3ides_2209_MINI.h:895
#define Z_CLEARANCE_MULTI_PROBE
Definition: Configuration_A3ides_2209_MINI.h:894
#define DEBUG_ECHOLNPGM(...)
Definition: debug_out.h:79
#define MIN_PROBE_EDGE_BACK
Definition: Conditionals_post.h:1466
void host_prompt_do(const PromptReason type, const char *const pstr, const char *const pbtn)
Definition: marlin_server.cpp:1103
#define _MAX(V...)
Definition: macros.h:346
void do_blocking_move_to_z(const float &rz, const feedRate_t &fr_mm_s)
Definition: motion.cpp:450
void do_blocking_move_to_xy(const float &rx, const float &ry, const feedRate_t &fr_mm_s)
Definition: motion.cpp:454
#define PGM_P
Definition: pgmspace.h:30
Definition: endstops.h:32
uint8_t i
Definition: screen_test_graph.c:72
#define SERIAL_ECHOLNPAIR_F(V...)
Definition: serial.h:177
#define _MIN(V...)
Definition: macros.h:333
static void enable(const bool onoff=true)
Definition: endstops.cpp:291
#define disable_Y()
Definition: Marlin.h:104
#define DEBUG_ECHOLNPAIR(...)
Definition: debug_out.h:82
#define IS_KINEMATIC
Definition: Conditionals_LCD.h:545
float feedRate_t
Definition: types.h:80
#define KEEPALIVE_STATE(N)
Definition: gcode.h:365
bool IsRunning()
Definition: Marlin.h:331
bool wait_for_user
Definition: Marlin.cpp:188
static FORCE_INLINE bool deploy()
Definition: bltouch.h:72
#define MULTIPLE_PROBING
Definition: Configuration_A3ides_2209_MINI.h:876
#define X_MIN_POS
Definition: Configuration_A3ides_2209_MINI.h:984
#define NOMORE(v, n)
Definition: macros.h:133
#define Z_MAX_POS
Definition: Configuration_A3ides_2209_MINI.h:989
#define MOVE_SERVO(I, P)
Definition: servo.h:93
#define ABS(a)
Definition: macros.h:266
static void not_homing()
Definition: endstops.cpp:297
#define Z_PROBE_SPEED_SLOW
Definition: Configuration_A3ides_2209_MINI.h:871
#define SOL1_PIN
Definition: pins_LEAPFROG.h:89
#define MIN_PROBE_EDGE_RIGHT
Definition: Conditionals_post.h:1460
#define FORCE_INLINE
Definition: macros.h:40
#define Y_MAX_POS
Definition: Configuration_A3ides_2209_MINI.h:988
#define PSTR(str)
Definition: pgmspace.h:31
xyze_pos_t current_position
Definition: motion.cpp:102
bool position_is_reachable(const float &rx, const float &ry)
Definition: motion.h:325
#define Z_CLEARANCE_BETWEEN_PROBES
Definition: Configuration_A3ides_2209_MINI.h:893
#define LOGICAL_Y_POSITION(POS)
Definition: motion.h:279
Definition: endstops.h:32
#define Y_MIN_BED
Definition: Conditionals_post.h:83
void set_current_from_steppers_for_axis(const AxisEnum axis)
Definition: motion.cpp:263
void do_blocking_move_to(const float rx, const float ry, const float rz, const feedRate_t &fr_mm_s)
Definition: motion.cpp:344
void sync_plan_position()
Definition: motion.cpp:216
#define isnan
Definition: Arduino.h:55
FORCE_INLINE bool position_is_reachable_by_probe(const xy_int_t &pos)
Definition: motion.h:358
float probe_min_x()
Definition: probe.h:103
#define WRITE(IO, V)
Definition: fastio.h:96
#define XY_PROBE_FEEDRATE_MM_S
Definition: motion.h:77
#define Z_MIN_PROBE_ENDSTOP_INVERTING
Definition: Configuration_A3ides_2209_MINI.h:611
feedRate_t feedrate_mm_s
Definition: motion.cpp:138
#define HOMING_FEEDRATE_Z
Definition: Configuration_A3ides_2209_MINI.h:1269
float probe_max_x()
Definition: probe.h:104
Definition: endstops.h:184
uint8_t axis_known_position
Definition: motion.cpp:91
T x
Definition: types.h:185
#define DEBUG_POS(...)
Definition: debug_out.h:87
float probe_min_y()
Definition: probe.h:105
const uint8_t[]
Definition: 404_html.c:3
bool axis_unhomed_error(uint8_t axis_bits)
Definition: motion.cpp:1054
#define _BV(bit)
Definition: wiring_constants.h:99
T y
Definition: types.h:286
#define MIN_PROBE_EDGE_FRONT
Definition: Conditionals_post.h:1463
#define Y_MAX_BED
Definition: Conditionals_post.h:84
void do_blocking_move_to_x(const float &rx, const feedRate_t &fr_mm_s)
Definition: motion.cpp:444
#define MIN_PROBE_EDGE_LEFT
Definition: Conditionals_post.h:1457
#define SERIAL_ERROR_MSG(S)
Definition: serial.h:184
#define X_MAX_POS
Definition: Configuration_A3ides_2209_MINI.h:987
#define disable_X()
Definition: Marlin.h:77
#define NOZZLE_TO_PROBE_OFFSET
Definition: Configuration_A3ides_2209_MINI.h:858
#define Z_MIN_PROBE_PIN
Definition: pins_RAMPS_LINUX.h:86
#define DEBUGGING(F)
Definition: serial.h:47
#define SERIAL_ECHOPAIR_F(S, V...)
Definition: serial.h:176
Definition: endstops.h:32
#define SERIAL_EOL()
Definition: serial.h:181
#define STOW_PROBE()
Definition: probe.h:61
#define MSG_ERR_PROBING_FAILED
Definition: language.h:297
#define TEST(n, b)
Definition: macros.h:81
#define LOGICAL_X_POSITION(POS)
Definition: motion.h:278
#define MMM_TO_MMS(MM_M)
Definition: types.h:83
T y
Definition: types.h:185
void safe_delay(millis_t ms)
Definition: utility.cpp:28
#define X_MIN_BED
Definition: Conditionals_post.h:81
#define Z_CLEARANCE_DEPLOY_PROBE
Definition: Configuration_A3ides_2209_MINI.h:892
void serialprintPGM(PGM_P str)
Definition: serial.cpp:35
void idle()
Definition: Marlin.cpp:629
#define READ(IO)
Definition: fastio.h:95
#define MSG_STOP_UNHOMED
Definition: language.h:256
#define Z_PROBE_LOW_POINT
Definition: Configuration_A3ides_2209_MINI.h:897
Definition: endstops.h:32
Temperature thermalManager
Definition: temperature.cpp:89
#define UNUSED(X)
Definition: stm32f4xx_hal_def.h:74
Endstops endstops
Definition: endstops.cpp:51
#define X_MAX_BED
Definition: Conditionals_post.h:82
static FORCE_INLINE void hit_on_purpose()
Definition: endstops.h:148
void do_blocking_move_to_y(const float &ry, const feedRate_t &fr_mm_s)
Definition: motion.cpp:447
#define BUZZ(d, f)
Definition: buzzer.h:126
static FORCE_INLINE uint8_t trigger_state()
Definition: endstops.h:106
#define ENABLED(V...)
Definition: macros.h:177
float probe_max_y()
Definition: probe.h:106
static FORCE_INLINE bool stow()
Definition: bltouch.h:73