I have built a small CNC and use MKS DLC32 to control it. I have adjusted all configurations so that X, Y, and Z move in the correct direction (0,0,0 in the upper right corner and -220,-285,-120 in the lower left). When I run the Home All command, only X and Y move, not Z. Can anyone see what I have done wrong? $0=10 ; Step pulse time, microseconds $1=25 ; Step idle delay, milliseconds $2=0 ; Step pulse invert, mask $3=0 ; Step direction invert, mask $4=0 ; Invert step enable pin, boolean $5=1 ; Invert limit pins, boolean/mask $6=1 ; Invert probe pin, boolean $46=10.000 ; Homing cycle 3 $10=1 ; Status report options, mask $11=0.010 ; Junction deviation, millimeters $12=0.002 ; Arc tolerance, millimeters $13=0 ; Report in inches, boolean $20=1 ; Soft limits enable, boolean $21=1 ; Hard limits enable, boolean $22=1 ; Homing cycle enable, boolean (Grbl) / mask (GrblHAL) $23=0 ; Homing direction invert, mask $24=300.000 ; Homing locate feed rate, mm/min $25=1000.000 ; Homing search seek rate, mm/min $26=250.000 ; Homing switch debounce delay, milliseconds $27=1.000 ; Homing switch pull-off distance, millimeters $28=1920.000 ; G73 retract distance, in mm $30=10000.000 ; Maximum spindle speed, RPM $31=0.000 ; Minimum spindle speed, RPM $32=0 ; Laser-mode enable, boolean $38=0 ; Spindle encoder pulses per revolution $40=1 ; Apply soft limits for jog commands, boolean $100=800.000 ; X-axis steps per millimeter $101=800.000 ; Y-axis steps per millimeter $102=800.000 ; Z-axis steps per millimeter $103=100.000 ; A-axis steps per degree $104=100.000 ; unknown $105=100.000 ; unknown $110=2500.000 ; X-axis maximum rate, mm/min $111=2500.000 ; Y-axis maximum rate, mm/min $112=2500.000 ; Z-axis maximum rate, mm/min $113=1000.000 ; A-axis maximum rate, deg/min $114=1000.000 ; unknown $115=1000.000 ; unknown $120=150.000 ; X-axis acceleration, mm/sec^2 $121=150.000 ; Y-axis acceleration, mm/sec^2 $123=200.000 ; A-axis acceleration, deg/sec^2 $124=200.000 ; unknown $125=200.000 ; unknown $130=218.000 ; X-axis maximum travel, millimeters $131=285.000 ; Y-axis maximum travel, millimeters $132=120.000 ; Z-axis maximum travel, millimeters $133=300.000 ; A-axis maximum travel, degrees $134=300.000 ; unknown $135=300.000 ; unknown
Thanks! I found it. In the G-code promt, first send: $Homing/Cycle0=Z and then $Homing/Cycle1=XY Everyting works fine! Case closed