Welcome to Our Community

Some features disabled for guests. Register Today.

G Code (G21), XYZ Touch Probe Question

Discussion in 'Control Software' started by Award, Feb 22, 2019.

  1. Steveathome

    Steveathome Well-Known
    Builder

    Joined:
    Oct 7, 2017
    Messages:
    68
    Likes Received:
    28
    Thanks for the explanation, we were both right. Cool
     
    sharmstr likes this.
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,965
    Likes Received:
    4,096
    Fixed in v 1.0.149 - thanks for catching and debugging it (;
     
  3. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,430
    Thank you, Peter. And congrats on the baby!
     
    Peter Van Der Walt likes this.
  4. Dominick Luciano

    Builder

    Joined:
    Mar 7, 2018
    Messages:
    3
    Likes Received:
    0
    you should make an xyz probe wizard. I've tried doing it with macros, but it doesn't seen to work right! would be nice for y'all just to make it easy for this beginner lol I operate an amada coma turret punching press at work every day, so I understand how to speak to the machine, but nothing seems to work! I can put all the code in the macros correct, but it only acknowledges the first line which is for the z axis and everything after that is pretty mush useless because it stops when it makes contact with the touch plate. Any suggestions? maybe you have code i can use until maybe you guys make an xyz wizard. Thanks in advance!
     
  5. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,430
    Attach your code in a text file. And I'll tell you what the issue is. I'd share mine, but I'm not near the machine.

    Edit: Forgot to mention that I have an Amada Vipros
     
  6. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,430
    I got off my lazy butt and went out to the machine to get my macro for you. This one probes the lower left corner of the stock with a 1/4" endmill. Its fairly basic and the only thing you need adjust is the G10 line to account for your plates Z, X and Y thickness and your endmill radius. I've noted what every line does for you.


    Code:
    G38.2 Z-25 F100  (Find top of plate within 25mm)
    G91 G0 Z3 (Clear the top of the plate)
    G91 G0 X-50 (Clear the plate in X)
    G91 G0 Z-8.2 (Come down -5.2 below the top of the plate)
    G38.2 X30 F100 (Find X side of plate within 30mm)
    G91 G0 X-3 (Clear the X side of the plate)
    G91 G0 Z8.2 (Clear the top of the plate - not exactly sure why I put this in here.  Not needed if your first move is in Y.  I guess this is the safe way to do it though)
    G91 G0 Y-50 (Move to clear the Y side of plate)
    G91 G0 X50 (Move into position to probe Y)
    G91 G0 Z-8.2 (Come down -5.2 below the top of the plate.  Not needed if you remove the line I noted above)
    G38.2 Y30 F100 (Find Y side of plate within 30mm)
    G91 G0 Y-3 (Clear Y side of plate)
    G91 G0 Z8.2 (Clear top of plate)
    G10 P0 L20 X33.7412 Y-16.1318 Z7.8768 (Set X,Y,Z 0 calculated based on the thickness of each axis of my plate and .125 for endmill radius for x and y)
    G90
    
     
    #36 sharmstr, May 16, 2019
    Last edited: May 16, 2019

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