Closed reefwarrior closed 4 years ago
OK; I have gone and added code to two files: Configuration.h and probe.cpp
Lines of code added:
I don't know if somebody is perhaps willing to add this to the official code?
Configuration.h
//#define TOUCH_MI_MANUAL_DEPLOY // For manual deploy (LCD menu)
probe.cpp
inline void run_stow_moves_script() {
const xyz_pos_t oldpos = current_position;
endstops.enable_z_probe(false);
do_blocking_move_to_z(TOUCH_MI_STOW_Z_LIFT, MMM_TO_MMS(HOMING_FEEDRATE_Z*TOUCH_MI_MOVEMENT_RATE));
do_blocking_move_to_x(TOUCH_MI_STOW_X, MMM_TO_MMS(HOMING_FEEDRATE_Z*TOUCH_MI_MOVEMENT_RATE));
do_blocking_move_to_y(TOUCH_MI_STOW_Y, MMM_TO_MMS(HOMING_FEEDRATE_Z*TOUCH_MI_MOVEMENT_RATE));
do_blocking_move_to_z(TOUCH_MI_STOW_Z, MMM_TO_MMS(HOMING_FEEDRATE_Z*TOUCH_MI_MOVEMENT_RATE));
do_blocking_move_to(oldpos, MMM_TO_MMS(HOMING_FEEDRATE_Z*TOUCH_MI_MOVEMENT_RATE));
}
Thank you for your time; and sorry about it looking messy in the post. I do not have an idea how to mark it up, etc.
Tinus
Your probe is much more like a Allen-key-probe than a Touch-Mi. Using the existent code for that should work.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Hi,
Firstly, thank you for the work you have done on Marlin. It is still my 'go to' firmware.
I have a bed level probe; that deploys by going to Y_MAX + 6; however, to 'stow' it, it needs to go to certain coordinates, eg. X222 Y30 Z3 - but I have not been able to get this to work after either a G28 or G29.
There is an option to run a script after G29, but that also does not appear to work.
I basically need the following to be done, in order to stow my probe:
G1 Y40 X222 Z20 F12000 G1 Z3 F5000 G1 Z20 F5000
(It does not use a magnet to attract the pin, it rather uses a plastic flag that deflects in an opening and 'locks' it in plate')
For reference the z-probe I have: https://www.thingiverse.com/thing:4182695
Any/all help appreciated.
Tinus
Description
Feature Workflow
Additional Information