586,024 active members*
4,385 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > BobCad-Cam > Mach3 tool length offsets
Results 1 to 14 of 14
  1. #1
    Join Date
    Jan 2009
    Posts
    77

    Mach3 tool length offsets

    When running programs using multiple tools I've discovered that the machine does not recognize / interpret length offsets from the program code. The length offset is whatever is shown active in the 'OFFSETS' screen. I am using T1 ... H1, Tx.....Hx etc. in the program. Changing the tool number showing in offsets results in appropriate Z values for the tool, turning offsets 'off' in the same screen results in the same Z position regardless of tool selected in the program (which is logical / makes sense).

    Is there a toggle or command that causes the tool in the program to be recognized over the active in the 'offsets' screen?

    Unable to post code to forum here at the moment, just hoping someone may have a quick 'check this' idea.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Is this a mill or lathe? Tool length offsets in mill are called with G43 Hx.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

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

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

  3. #3
    Join Date
    Jan 2009
    Posts
    77
    Mill, using G43 on each tool change

  4. #4
    Join Date
    Jan 2005
    Posts
    15362
    Dstamp

    Post some of you program, it may not be arranged correctly
    Mactec54

  5. #5
    bobcad guy Guest
    not sure of the question here, it sounds like you want to enter your tool length offsets thru the program, correct?? using the G10 command?? correct ?? you need to know the format to do that, G10 G90 P or D or R or L I don't know your machine, but that's how you do it. I have never been a big fan of doing this

  6. #6
    Join Date
    Jan 2009
    Posts
    77
    Wanting to enter tool number and have the program reference the correct tool length offset in the tool table, not tool length offsets from the program.

    Tanks,

    DLS

  7. #7
    Join Date
    Jan 2009
    Posts
    77



    The active tool is what is shown in 'offsets' screen, not what is selected by G43 Tx Hx in program


    The active tool length offset is only what is selected here


    The machine is a refurb knee mill using Mach3. I have setup the Z so down is negative direction and up is positive direction.

  8. #8
    bobcad guy Guest
    well, forgive me if I keep it as basic as possible then, are you programming the following line???
    T5 M6
    G0X0Y0S5000M3
    G43Z1.H5
    ??? G43 envokes the offset from whatever H value you enter.
    if tool 5 has a value entered in the length offset column, that is the number that will be used

  9. #9
    Join Date
    Dec 2007
    Posts
    101
    The semi colon in front of the line calling out the G43 causes Mach to ignore that particular line.

  10. #10
    Join Date
    Jan 2005
    Posts
    15362
    Dstump

    By what the post processor has given you, this program is very badly formatted, I have said many times that Mach is very forgiving, to a lot of not the norm G-Code formats, But there is a limit of what it can run correctly, This would not run at all on a machining center, Can you save the program in MS word as text & post it here, If it is not to big I will clean it up for you so you can get your post processor fixed up to give you a good output
    Mactec54

  11. #11
    Join Date
    Jun 2008
    Posts
    1838
    Quote Originally Posted by Dstamp View Post
    Wanting to enter tool number and have the program reference the correct tool length offset in the tool table, not tool length offsets from the program.

    Tanks,

    DLS
    Please forgive me but I don`t understand what you mean by "enter the tool number", the tool number is called by the G code in Mach, there is no need to enter anything. If you want to manually call a tool then you need to do it in MDI mode, if you go to MDI and type in M6T4 for example then tool 4 will be shown in the "Tool Information" box showing the Diameter and Length as it is in the tool table, is this what you want to do ? ?

    The "Tool Information" area on the main Mach3 screen is just for information, not for inputting tool numbers and offsets. All tool offsets should be either manually typed into the tool table or automatically done using the "probing/touch off" method.
    As has been previously posted the line G43 H4 will call up the correct tooloffset from the tool table in Mach without you having to do anything at all, there are no tool offset lengths in the program, Mach doesn`t work like that it just uses the G43 H* line to get them from the tool table.

    I think you need to change your Post Processor, I have never seen a Mach3 Post produce code like yours, FYI the best post I have found to modify for use with Mach3 is the Fanuc 0M, Mach is after all based on the Fanuc way of doing things and the code is good and "clean"

    Regards
    Rob

  12. #12
    Join Date
    Jan 2009
    Posts
    77
    Quote Originally Posted by bjm323 View Post
    The semi colon in front of the line calling out the G43 causes Mach to ignore that particular line.
    Correct,
    Thanks, there are a couple of things yet to clean up, but removal of the semi colons worked. As the program is executed each Tx Hx command results in correct (desired / expected) tool showing up on the Tool Information portion of the screen.

    Thanks,

    I was hopeful it was something straightforward.

  13. #13
    Join Date
    Oct 2004
    Posts
    832
    there are no tool offset lengths in the program, Mach doesn`t work like that it just uses the G43 H* line to get them from the tool table
    You can however enter the tool length into the tool table via Gcode

    Hood

  14. #14
    Join Date
    Oct 2004
    Posts
    832
    And just to add to the above, if the offset you update is currently active and the same as the tool number then it will update the offset without calling a further G43H*

    Hood

Similar Threads

  1. EZ Trak tool length offsets..
    By derrickjf in forum Bridgeport / Hardinge Mills
    Replies: 3
    Last Post: 10-24-2012, 12:43 AM
  2. Fagor 8055 tool length offsets
    By bobcor in forum G-Code Programing
    Replies: 4
    Last Post: 12-02-2010, 02:30 AM
  3. Tool length offsets
    By gbpacker in forum Fadal
    Replies: 3
    Last Post: 09-29-2009, 04:23 PM
  4. setting lathe tool length offsets on ah ha control
    By machinewerks in forum G-Code Programing
    Replies: 2
    Last Post: 02-28-2007, 04:09 AM
  5. Tool Length offsets supported?
    By HomeCNC in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 13
    Last Post: 12-01-2004, 05:38 PM

Posting Permissions

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