Programming a tool setter to check tool height


Results 1 to 2 of 2

Thread: Programming a tool setter to check tool height

  1. #1
    Member
    Join Date
    Sep 2007
    Location
    usa
    Posts
    26
    Downloads
    0
    Uploads
    0

    Default Programming a tool setter to check tool height

    I need to use Gcode to activate a tool height setting.

    Can anyone show me a sample code that will position the tool above the toolsetter, initiate the downward move, and reset the tool height offset?

    The tool will have already been touched off, but this is to double check the engraving tip and make any adjustments needed while in a loop program doing multiple parts. I'm building a single part changer so I can mind my other machine while this machine is engraving.

    I'm thinking something like this:

    G1 X___ Y___ Z___ F 50. (Go to position above toolsetter)
    G31 Z-.1 F15. (Does this initiate a move to the toolsetter?)(I have not been able to find real instructions, so I don't know what happens after it trips the toolsetter switch)
    G10 L1 Z0. (reset T1 height offset???)

    I appreciate any help or leads to someone who knows how to do this.
    Thanks!

    Similar Threads:


  2. #2
    Member
    Join Date
    Sep 2007
    Location
    usa
    Posts
    26
    Downloads
    0
    Uploads
    0

    Default Gcode recommended

    I got a reply from a machine company rep who said they don't normally recommend Gcode or programming, but he made a one-time exception and said to try this. It may take me a few days to work it into my schedule, but below is what was recommended. Like him, I'm not responsible for anyone who tries it and I plan to hand trip the toolsetter the first time to test it.

    1. Set up your toolsetter on the table

    2. Select a work offset coordinate system that you don’t plan on using for your part program, e.g. G58

    3. Remove any tool from the spindle and type ‘0’ in the tool dro (this cancels TLO)

    4. Remove the collet or tighten the drawbar to the point where the collet no longer protrudes past the spindle face. We will be touching the spindle face off on the toolsetter

    5. Use the “Move and set work offset” button on the Z probe screen. This will move the spindle face down until it touches off on the top of the toolsetter, and set the G58 Z position to Zero right at the triggered position of the toolsetter

    6. Then, in your g code program, use the following code (I’ll assume you’re in G54 and measuring tool 1 for this example):

    a. G49 (Cancel TLO)

    b. G58 (Switch to work offset G58)

    c. G0 X--- Y--- (move the tool over the toolsetter)

    d. G31 Z-10 F15 (probe tool down till it touches the toolsetter)

    e. G10 L1 P1 Z#2002 (set the tool length offset value to the G58 Z position where the probe tripped)

    f. G0 Z3 (move up to safe distance)

    g. G54 (reapply old work offset coordinate system)

    h. G43 H1 (apply new TLO for tool 1)



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

Programming a tool setter to check tool height

Programming a tool setter to check tool height

Programming a tool setter to check tool height