584,800 active members*
4,787 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Auto Tool Zero weird behavior with ToolTable , need help please !
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2018
    Posts
    106

    Auto Tool Zero weird behavior with ToolTable , need help please !

    Hello group , i worked on my ATC setup and managed to setup a script i been able to get from a Youtube guy Bo Anderson

    The script takes all the tools in the rack and goes measure them at a fixed plate and enters the values to the ToolTable .


    Now when i try to zero the tool to the work surface with the Auto Tool Zero button ( i tried 3 different scripts in the button) it reads the zero of the surface + plate thickness and shows on the DRO ( its fine yes but...) , but then goes up on the Z to the Tool Lenght value in the ToolTable and then the DRO shows the tool lenght value over the zero so i would need to go down to the zero manually and click to zero the Z at the DRO ....

    There must be a little thing i didnt found yet in the Mach3 settings or i would need a Zero script made for this .... not adding the tool lenght over the zero but i have no clue of what we should write in the script....


    i would appreciate some quick help !

    Thanks

  2. #2
    Join Date
    Jan 2018
    Posts
    106

    Re: Auto Tool Zero weird behavior with ToolTable , need help please !

    I tried adding G49 to the Autozero script to cancel the tool offset , it works for the first tool to keep the work surface Zero to zero but when it changes the tool thru M6Tx it raises the second tool from zero to his lenght in the ToolTable

    When i manually zero the first tool and Zero the Z-axis DRO button all the other tools are following the ToolTable lenghts and they all are zeroed on the work surface but i would love to set the Zero with the touch plate like all the time




    Could i add to the script something that would tell to the DRO to not add the tool lenght? or at the end of the script to remove it ?
    a way to use the ToolTable values and if Tool2 is on while zeroing , remove Tool1 length from the DRO
    if Tool3 is on while zeroing , remove Tool3 length from the DRO
    if Tool4 is on while zeroing , remove Tool4 length from the DRO
    if Tool5 is on while zeroing , remove Tool5 length from the DRO or something .... i am not a superb programmer !!!!




    //Code "G49" 'Tool Ofsetts Off ================== G49 worked for the first Tool zeroing but next tool is adding his length to the DRO zero when ATC changed

    CurrentFeed = GetOemDRO(818) 'Get the current feedrate.
    PlateThickness = 10
    ProbeFeed = 50


    Code "G90 F" &ProbeFeed
    While IsMoving()
    Wend
    If GetOemLed (825)=0 Then
    Code "G4 P3" 'Time to get to the z-plate
    Code "G31Z-50 F" &ProbeFeed
    While IsMoving()
    Wend
    Code "G4 P0.25"
    ZProbePos = GetVar(2002)
    Code "G0 Z" &ZProbePos
    While IsMoving ()
    Wend
    Call SetDro (2, PlateThickness)
    Code "G4 P0.5" 'Pause for Dro to update.
    Code "G0 Z10" 'Change the Z retract height here
    While IsMoving()
    Wend
    Code "(Z axis is now zeroed)"
    Code "F" &CurrentFeed
    //code "G43"
    //Code "G43H1"
    //Code "G43H2"
    //Code "G43H3"
    //Code "G43H4" ========================G43 didnt helped , it is to restore the ToolTable values
    //Code "G43H5"
    //Code "G43H6"
    //Code "G43H7"
    //Code "G43H8"
    Else
    Code "(Z-Plate is grounded, check connection and try again)"
    Exit Sub
    End If

  3. #3
    Join Date
    Jan 2018
    Posts
    106

    Re: Auto Tool Zero weird behavior with ToolTable , need help please !

    here it is the script i am using , presented by the creator

    https://youtu.be/duULYFBjDnk

    and here the video of his machine doing the script

    https://youtu.be/SLq_s0FQ-SA

Similar Threads

  1. Replies: 4
    Last Post: 03-01-2021, 08:46 AM
  2. 4th axis weird behavior
    By Gerry Kmack in forum Tormach Personal CNC Mill
    Replies: 3
    Last Post: 01-24-2016, 09:37 PM
  3. Weird behavior and crashes...
    By subnoize in forum MadCAM
    Replies: 15
    Last Post: 07-14-2014, 10:42 AM
  4. Weird Cutting Behavior. OMC Controls
    By EricMFG in forum Fanuc
    Replies: 2
    Last Post: 08-21-2012, 01:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •