Need Help! Auto tool zero in Mach3


Results 1 to 3 of 3

Thread: Auto tool zero in Mach3

  1. #1
    Member
    Join Date
    Jul 2015
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Auto tool zero in Mach3

    Hello all
    I have a problem make auto tool zero in Mach3
    I use mach3 Version R3.043.066 and usb 5Axis green board
    Can't working

    Thank and advance

    Code

    'Rem Probe Down by PEU (Based on Erniebro Work)
    FeedCurrent = GetOemDRO(818) 'Get the current settings
    ZCurrent = GetDro(2)
    Code "G4 P1" 'Pause 1 second to give time to position probe plate
    Code "F1" 'slow feed rate to 10 MM/MIN
    GageH = GetOEMDRO (1002)
    Rem Probe Down by PEU (Based On Erniebro Work)
    FeedCurrent = GetOemDRO(818) 'Get the current settings
    ZCurrent = GetOemDro(802)
    Code "G4 P1" 'Pause 1 second to give time to position probe plate
    Code "F1" 'slow feed rate to 10 MM/MIN
    GageH = GetUserDRO(1152)
    ZNew = ZCurrent - 30 'probe down 30mm
    Code "G31 Z" &ZNew
    While IsMoving()
    Wend
    Call SetDro (2,GageH)
    FinalMove = GageH * 1
    Code "G0 Z" &FinalMove
    Code "G0 Z" &30
    Code "F" &FeedCurrent 'restore starting

    Similar Threads:


  2. #2
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: Auto tool zero in Mach3

    GageH = GetUserDRO(1152)
    This requires you to add a DRO to the screen for your toolsetter thiockness.
    Try including the thickness in the macro, like this:

    GageH = 25

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Member
    Join Date
    Jul 2015
    Posts
    2
    Downloads
    0
    Uploads
    0

    Default Re: Auto tool zero in Mach3

    Thank you.



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Auto tool zero in Mach3

Auto tool zero in Mach3