Welcome to Our Community

Some features disabled for guests. Register Today.

MKS DLC32 do not home Z axis

Discussion in 'Controller Boards' started by Örjan, Apr 9, 2024.

Thread Status:
Not open for further replies.
  1. Örjan

    Örjan New
    Builder

    Joined:
    Nov 19, 2018
    Messages:
    3
    Likes Received:
    0
    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
     

    Attached Files:

  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    Flashed 2-axes firmware before?
    Wiring issue (test switches on troubleshooting tab)
     
  3. Örjan

    Örjan New
    Builder

    Joined:
    Nov 19, 2018
    Messages:
    3
    Likes Received:
    0
    Hmm, axes moves when jogging. The switches are ok (when testing them at the troubleshooting tab)
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    still, did you?

    (only affects homing Frequently Asked Questions )
     
  5. Örjan

    Örjan New
    Builder

    Joined:
    Nov 19, 2018
    Messages:
    3
    Likes Received:
    0
    Thanks! I found it. In the G-code promt, first send: $Homing/Cycle0=Z
    and then $Homing/Cycle1=XY
    Everyting works fine!
    Case closed
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,191
    Likes Received:
    4,346
    so not grbl then. Important to mention
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice