585,987 active members*
4,315 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2014
    Posts
    5

    Changing G43 Hxx middle of program

    I have been trying to change my Tool length wear in a program from side A then Different on side B and nothing is working. Right now i am using 2 different H #s to make it work but would like to do something different. Here is what i have tried so far with no luck
    #101=15 ( 15= Tool Number
    G43H[#101-.005]
    Also tried
    #101=15-.005
    G43H#101
    and my last try was
    G10L11P15R-.005
    This worked Great on side A but when it rotated and went to side B and i changed the R to R.002 alarmed the machine out.
    thanks for anyones help on this

  2. #2
    Join Date
    Nov 2006
    Posts
    418

    Re: Changing G43 Hxx middle of program

    I have always done that a bit different....

    #100=15
    #101=.005
    #102=#100-#101

    G43H#102

    It's worked for me on older non "i" Fanuc controls, as well as an 18i machine.

  3. #3
    Join Date
    Sep 2010
    Posts
    1230

    Re: Changing G43 Hxx middle of program

    Quote Originally Posted by John_B View Post
    I have always done that a bit different....

    #100=15
    #101=.005
    #102=#100-#101

    G43H#102

    It's worked for me on older non "i" Fanuc controls, as well as an 18i machine.
    Hello John,
    With all due respect, there is no way known that will work with a Fanuc control. The "H" address used with G43 refers to the number of the Offset in the Offset registry. Your above code is not altering the value of the Offset, its altering the the number of the Offset to call.

    Your following code:

    #100=15
    #101=.005
    #102=#100-#101

    G43H#102

    is the same as writing

    G43 H14.995

    Your code will not result a reduction in the value of an existing Offset, but extrapolating a different Offset Number that doesn't exist. What will work is as follows:

    #101 = 15
    #[2200 + #101] = #[2200 + #101] - 0.005
    G43 H#101


    Regards,

    Bill

  4. #4
    Join Date
    Nov 2006
    Posts
    418
    Bill,

    Right you are! Good catch, I'm on and off planes all day today and typed out a response without putting enough thought into it.

    I don't think yours is quite on though.

  5. #5
    Join Date
    Sep 2010
    Posts
    1230

    Re: Changing G43 Hxx middle of program

    Quote Originally Posted by John_B View Post
    Bill,

    Right you are! Good catch, I'm on and off planes all day today and typed out a response without putting enough thought into it.

    I don't think yours is quite on though.
    Hello John,
    You haven't put enough thought into it again. The only thing that may vary is the System Variable being used, as its dependent on the Offset System being used. However, based on the OP's G10 example and the magnitude of the alteration being made, I'd say his control has Geometry and Wear Offsets. If you study the comments below, you will see that indeed my example is correct.

    #101 = 15
    Set Variable #101 to 15

    #[2200 + #101] = #[2200 + #101] - 0.005
    #[2200 +#101] is the same as #[2200 + 15], which is the same as #[2215] which is the same as #2215
    #2215 is the System Variable for Geometry Offset number 15 of Offset System B and C. Accordingly, the above example is allocating the value of Offset Number 15, less 0.005 to Offset Number 15. If the OP wanted to alter the Wear Offset, then 2000 would be substituted for 2200 in the above example.

    G43 H#101
    The new value of Offset Number 15 is applied.

    Regards,

    Bill

Similar Threads

  1. Stalling in middle of CNC program
    By Lohmeyer in forum CamSoft Products
    Replies: 6
    Last Post: 02-26-2011, 02:47 AM
  2. Need to start in the middle of my program
    By tjatdrilltech in forum Haas Lathes
    Replies: 5
    Last Post: 09-13-2010, 03:28 PM
  3. VF-2 stops in the middle of a program!!
    By southernexplore in forum Haas Mills
    Replies: 6
    Last Post: 08-12-2009, 06:34 PM
  4. starting in the middle of a program
    By panaceabea in forum Milltronics
    Replies: 11
    Last Post: 05-19-2009, 02:54 PM
  5. starting from the middle of a program
    By panaceabea in forum Haas Mills
    Replies: 8
    Last Post: 03-28-2009, 12:31 AM

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
  •