Manual leveling macro
-
Good morning all,
I am looking to make a Macro for the leveling of my tray for a manual adjustment using the 4 screws ...
How the Macro works:
Example: the nozzle is placed in the left corner of the bed, the BLTouch takes the Z ... I have a message indicating to adjust my tray (manually using the screw), when I set my tray, I validate on the screen and the nozzle is placed in the right corner of the bed to perform the same operation for the other 2 corners. At the end of the last adjustment, the nozzle moves to its original position. A message indicates that leveling is OK.
Thank you for your help.
-
Does your machine have a Z probe? If so, see https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant.
-
@dc42 said in Manual leveling macro:
Votre machine a-t-elle une sonde Z? Si tel est le cas, voir https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant .
Thanks as usual for your quick answers!
I had already seen this option ... but I really try to create a macro as described above, finally if it is obviously possible?
I have a BLTouch for the Z. -
It sounds like you want to use the manual bed leveling assistant.
-
@Rudy2A said in Manual leveling macro:
had already seen this option ...
what do you need that the leveling assistant does not give you?
did you see the output?M671 X-15215 Y190:-10:190 P0.5 ; adjusting screws at rear left (-15,190), front middle (100,-10) and rear right (215,190), thread pitch 0.5mm
-
@mrehorstdmd said in Manual leveling macro:
Il semble que vous souhaitiez utiliser l'assistant de mise à niveau manuelle du lit.
First of all, I apologize to all the people, I am certainly not clear in my explanations, because I do not master English, I am using a translator not easy!
So, I want to write a macro that would put my nozzle at the corners of my bed so that I can adjust the height of the tray with the help of the adjustment screws ...
I understand that option https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant . does more or less what I want, but I do not want to use this option! I want to be able to adjust my tray easily when I want it without going through M671, and bed.g ...
thank you for your understanding
-
@Rudy2A said in Manual leveling macro:
but I do not want to use this option! I want to be able to adjust my tray easily when I want it without going through M671, and bed.g
you will need to expand on your problem a bit more. you are saying despite it doing everything you want, you just dont want to use it.
you need to go into more detail as to what this does differently that what you want to achieve.
try using drawings.or do you have problems with setting up the M671 and bed.g files?
-
@Veti said in Manual leveling macro:
ou avez-vous des problèmes avec la configuration des fichiers M671 et bed.g?
I think there is a bad interpretation with the translator.
I will try to make it easier ...
I'm not saying that I do not want to use it. On the description https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant . of M671 this is very attractive.
But when I try to put in configuration, I can not understand the configuration and operation of M671 and bed.g
So, I thought that a macro would be simpler?
-
@Rudy2A said in Manual leveling macro:
So, I thought that a macro would be simpler?
No, as you would have to put in the same information into the macro to be able to calculate the required adjustments.
-
M671 X-15215 Y190:-10:190 P0.5 ; adjusting screws at rear left (-15,190), front middle (100,-10) and rear right (215,190), thread pitch 0.5mm
Here you put in the coordinates where your adjustment screws are. move the hotend to each position and record the coordinates of the screw. then put them into the M671 command
bed.g
G28 ; home
M401 ; deploy Z probe
G30 P0 X20 Y190 Z-99999 ; probe near an adjusting screw
G30 P1 X180 Y190 Z-99999 ; probe near an adjusting screw
G30 P2 X100 Y10 Z-99999 S3 ; probe near an adjusting screw and report adjustments needed
M402 ; retract probehere you replace the X and Y of each G30 position with a position close to your screws
-
Okay, I wanted to do basic in the macro. I just wanted to enter the four positions of the probe. Using only one sheet of paper regardless of the diameter of the adjusting screws and without calculating the number of turns to be made ...
Thank you for your last example, I will again perform a configuration with your explanation.
-
@Rudy2A said in Manual leveling macro:
Using only one sheet of paper regardless
since you have a bltouch that will be far more accurate.
if you have a multible z motors this process can be automated.
see
https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors -
@Veti said in Manual leveling macro:
puisque vous avez un bltouch qui sera beaucoup plus précis.
Thank you for your involvement, I will study this tonight. Thank you so much !
-
I do something similar, but without the probe. I manually jog the nozzle down to the bed once and then use the jog commands to move it up 2mm, and to the next leveling screw point and down 2mm again so i can adjust the screw to be just touching the nozzle. This works better for me than the probe because the nozzle can get much closer to the screws than the probe can due to the offset.
-
-
You'll have to go through it and make modifications for your own setup. Do not run it as is, I guarantee it won't go well.
-
Yes of course, when I write I test ... I first look at the contents of your file and adapt it according to my machine.