Z-axis zero plate


Results 1 to 9 of 9

Thread: Z-axis zero plate

  1. #1
    Member
    Join Date
    Dec 2010
    Location
    USA
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Z-axis zero plate

    I am trying to create a z axis zero plate. I am running mach 3 with a Bladerunner box. I wired an aluminum plate into the wiring for the z axis home switch and reversed the z axis home direction so that the router lowers to the plate. When the tool touches the plate it closes the circuit and stops. What I can't figure out is how to compensate for the thickness of the aluminum plate (.089") so that my zero is at the top of my work piece. I am a newbie to all this so a lot of help is needed. I would also be interested in wiring my zero plate into the Bladerunner box if someone knows how.

    Thanks,
    Morgan

    Similar Threads:


  2. #2
    Registered Jerry3672's Avatar
    Join Date
    Feb 2010
    Location
    USA
    Posts
    60
    Downloads
    0
    Uploads
    0

    Default

    you can set the Z axis to .089 by clicking on the z axis DRO on the Mach 3 screen and type in .089, be sure to hit enter to complete. your z will now read .089.



  3. #3
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0
    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)


  4. #4
    Member tulsaturbo's Avatar
    Join Date
    Feb 2008
    Location
    USA
    Posts
    195
    Downloads
    0
    Uploads
    0

    Default

    Using a touch plate for the "Auto Tool Zero" function on the Mach3 program run screen. A nice way to set the z height.

    1) Go to Config->Ports&Pins->Inputs, and configure a pin as the "Probe" input, making it Active Low.
    2) Wire your touch plate to the Probe input.
    3) Go to the Offsets screen, and, in the top-left corner, set the touch plate thickness to the exact thickness of your plate.
    4) Go to Operator->EditButtonScript, then click on the AutoToolZero button. When the VB editor opens, delete the few lines of code in there, and paste in the following macro:

    NOTE: You can replace the following with a known plate thickness such as .089"

    PlateThickness = GetUserDRO(1151) 'Z-plate thickness DRO
    with
    PlateThickness = .089 'Z-plate thickness DRO

    Macro:

    Code:
    PlateThickness = GetUserDRO(1151) 'Z-plate thickness DRO
    
    If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
    DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
    Code "G4 P5" ' this delay gives me time to get from computer to hold probe in place
    Code "G31 Z-0.5 F5" 'probing move, can set the feed rate here as well as how far to move
    While IsMoving() 'wait while it happens
    Wend
    ZProbePos = GetVar(2002) 'get the axact point the probe was hit
    Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
    While IsMoving ()
    Wend
    Call SetDro (2, PlateThickness) 'set the Z axis DRO to whatever is set as plate thickness
    Code "G4 P0.25" 'Pause for Dro to update.
    Code "G0 Z 0.5" 'put the Z retract height you want here
    Code "(Z axis is now zeroed)" 'puts this message in the status bar
    Else
    Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if aplicable
    Exit Sub
    End If
    Click the following images to enlarge:







    Last edited by tulsaturbo; 12-08-2010 at 08:03 PM. Reason: Hopefully, fixed the code... :)


  5. #5
    Member
    Join Date
    Dec 2010
    Location
    USA
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default

    Tulsa turbo, When using your macro after zeroing on the plate the router is retracting to the top limit. I set the retract height to 1" but it still is going up past the top limit. Thanks for all the help



  6. #6
    Member
    Join Date
    Apr 2007
    Location
    USA
    Posts
    8082
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Romper View Post
    Tulsa turbo, When using your macro after zeroing on the plate the router is retracting to the top limit. I set the retract height to 1" but it still is going up past the top limit. Thanks for all the help
    The numbers are in millimeters. If you have Mach3 set for inches, it will attempt to retract to +25.4 inches (oops! )

    I just installed this VB code this past weekend.

    CarveOne

    CarveOne
    http://www.carveonecncwoodcraft.com


  7. #7
    Member
    Join Date
    Dec 2010
    Location
    USA
    Posts
    16
    Downloads
    0
    Uploads
    0

    Default Thanks

    Thanks everyone, It worked great.



  8. #8
    Member
    Join Date
    Feb 2011
    Location
    USA
    Posts
    26
    Downloads
    0
    Uploads
    0

    Default

    Thanks TulsaTurbo for such a detailed instructions. I have trying to figure this out. My question is that the controller for my mill doesn't have any available input switches. Can I just wire the touch plate directly to a parallel pinout? If so, how?
    THANKS!



  9. #9
    Registered
    Join Date
    May 2003
    Location
    USA
    Posts
    162
    Downloads
    0
    Uploads
    0

    Default

    I wanted to thank you as well Tulsa, I've been torturing myself for years without this macro...lol



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

Z-axis zero plate

Z-axis zero plate