Welcome to Our Community

Some features disabled for guests. Register Today.

Black Box X-32 and Triquetra Touch Plate

Discussion in 'Controller Boards' started by njload, Dec 22, 2022.

  1. njload

    njload New
    Builder

    Joined:
    Oct 19, 2020
    Messages:
    35
    Likes Received:
    7
    Why would this Code:
    G20
    G38.2 Z-1.000F3
    G91 G1 Z0.125F100
    G38.2 Z-1.000F2
    G92 Z 0.8261
    G91 G1 Z0.125F100
    G91 G1 Y 1.000F100
    G20

    Cause the spindle to move down towards the plate one time then another time the spindle moves Up and not Down.
    Random at best. Also it was copied in the macro tab of the control software for easy access.
     
  2. that-jim

    that-jim Journeyman
    Builder

    Joined:
    Apr 19, 2020
    Messages:
    143
    Likes Received:
    151
    not positive but you might set incremental or absolute before you send the G38.2
     
  3. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,871
    Likes Received:
    4,283
  4. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    I avoid using G92, it has too many side effects that can surprise you.
    Code:
    G20 G54
    G91 ; move relative to current point
    G38.2 Z-1 F2 ; probe Z down
    G10 L2 P1 Z0.8261   ; set Z offset
    G4 P0.1  ; pause while GRBL saves the value in EEPROM
    G0 Z0.125 ; lift up a bit
    G90 ; back to absolute mode which most jogging commands expect
    
    details for the G10 L2 command
    G Codes

    Note that all probes should be done at the same speed, which is slow enough to stop 'instantly'. probe too fast and you will break a bit.
    but also, if you probe at different speeds it will stop at different heights!
     
    njload likes this.
  5. njload

    njload New
    Builder

    Joined:
    Oct 19, 2020
    Messages:
    35
    Likes Received:
    7
    Thank you all for your responses and great advice. Will try this today.

    Happy Holidays to you all and stay safe.
     

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