But now I am trying something else:
I have 2 seperate z axis steppers on my hypercube rs. I already tryed with the following link https://duet3d.dozuki.com/Wiki/Bed_levelling_using_multiple_independent_Z_motors but I think it will make some changes in my heightmap so everytime I use G32 I have to make G29 again.
Now I find the following tutorial for an Ender printer:
https://duet3d.dozuki.com/Guide/Ender+3+Pro+and+Duet+Maestro+Guide+Part+5:+Upgrades/54#s213
What I want is when I turn on the printer I would like to Home both z steppers to z max with 2 optical switches at z max to geht them balanced. And then to HomeALL to probe the center of my bed with the bltouch and then make an heightmap to load it at every print.
So now I have installed 2 optical switches to Z MAX.
1st Z motor is connected to Z1
2nd Z motor is conencted to E1
So my config.g is now:
; Drives
M569 P0 S1 ; physical drive 0 goes forwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S1 ; physical drive 2 goes forwards
M569 P3 S1 ; physical drive 3 goes forwards
M569 P4 S1 ; new drive for second z
M584 X0 Y1 E3 Z2:4 U4 ; set drive mapping
M350 X16 Y16 Z16 U16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 U400.00 E407.2 ; set steps per mm
M566 X800 Y800 Z12 U12 E1000 ; Set maximum instantaneous speed changes (mm/min)
M203 X10000 Y10000 Z400 U400 E10000 ; Set maximum speeds (mm/min)
M201 X500 Y500 Z250 U250 E500 ; Set accelerations (mm/s^2)
M906 X1000 Y1000 Z1000 U1000 E1000 I30 ; Set motor currents (mA) and motor idle factor in per cent
M84 S180 ; Set idle timeout
; Axis Limits
M208 X0 Y0 Z0 U0 S1 ; set axis minima
M208 X290 Y285 Z300 U300 S0 ; set axis maxima
; Endstops
M574 X1 Y1 Z2 U2 S1 ; set active high endstops
; Z-Probe
;M574 Z1 U1 S2 ; Set endstops controlled by probe
M307 H3 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F100 T2000 ; Set Z probe type to bltouch and the dive height + speeds
;G31 P25 X0 Y65 Z2.30 ; Set Z probe trigger value, offset and trigger height
G31 P25 X0 Y65 Z3.60 ; Set Z probe trigger value, offset and trigger height
M557 X20:280 Y20:280 S20 ; Define mesh grid
Note: I had to uncomment M574 to get the new 2 z entstops working
homez.g:
G91
G1 S1 Z300 U300 F600
G1 S2 Z-2 U-2 F600
G1 S1 Z10 U10 F300
G1 S2 Z-1 U-1 F300
G90
M913 X100 Y100 Z100
homeall.g:
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-225 Y-225 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-225 ; home X axis
G1 H1 Y-225 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-225 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-225 ; then move slowly to Y axis endstop
G90 ; absolute positioning
G1 X150 Y85 F6000 ; go to first bed probe point and home Z
G30 ; home Z by probing the bed
So If I home Z (after X and Y) both Z motors are going to ZMAX until hitting the 2 endstops.
Then I do HomeAll the bed is going Up again and it makes the probe at the center with the BLtouch. But then I get an error that homeu.g could not be found.
Can someone help me to geht this worked? Or does anyone have an Idea if I can make the same thing to balance the z motors with zmin and probe with bltouch? (I already tryed this but its not working because when i would like to probe with bl touch its always hitting the endstops from z).