Problem Mach3 tool length offsets


Results 1 to 14 of 14

Thread: Mach3 tool length offsets

  1. #1
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default 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.

    Similar Threads:


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

    Default

    Is this a mill or lathe? Tool length offsets in mill are called with G43 Hx.

    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
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default

    Mill, using G43 on each tool change



  4. #4
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default

    Dstamp

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

    Mactec54


  5. #5
    bobcad guy
    Guest

    Default

    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
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default




    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

    Default

    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
    Registered
    Join Date
    Dec 2007
    Location
    United States
    Posts
    101
    Downloads
    0
    Uploads
    0

    Default

    The semi colon in front of the line calling out the G43 causes Mach to ignore that particular line.



  10. #10
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default

    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
    Member The Engine Guy's Avatar
    Join Date
    Jun 2008
    Location
    UK
    Posts
    1838
    Downloads
    0
    Uploads
    0

    Default

    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
    Registered
    Join Date
    Jan 2009
    Location
    USA
    Posts
    77
    Downloads
    0
    Uploads
    0

    Default

    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
    Member Hood's Avatar
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    832
    Downloads
    0
    Uploads
    0

    Default

    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
    Member Hood's Avatar
    Join Date
    Oct 2004
    Location
    Scotland
    Posts
    832
    Downloads
    0
    Uploads
    0

    Default

    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



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

Mach3 tool length offsets

Mach3 tool length offsets