Need Help! Haas - Get active radius offset possible?


Results 1 to 6 of 6

Thread: Haas - Get active radius offset possible?

  1. #1
    Member IsakAndersson's Avatar
    Join Date
    Oct 2018
    Posts
    43
    Downloads
    0
    Uploads
    0

    Default Haas - Get active radius offset possible?

    Hi, again. I was wondering if there is a simple way to access the active radius offset. I know there are the variables #2401- #2600 but this doesn't help me if I don't know which one is currently active. I guess I could add a D argument to the G65 macro and get the offset that way but I would rather not do that because then I would have to change a lot of programs. Also, the macro has a lot of arguments already so keeping it as simple as possible is a good idea, I think.
    So what do you think? Can it be done?

    Similar Threads:


  2. #2
    eckitsch's Avatar
    Join Date
    Aug 2007
    Location
    Suhl
    Posts
    411
    Downloads
    0
    Uploads
    0

    Default Re: Haas - Get active radius offset possible?

    Hi,

    if the number of the spindle tool the number of the tool offset, you can read out the active spindle tool with #3026 and determine the actual tool diameter from it.
    #7=#[3200+#3026] alternatively #7=#[2400+#3026]+#[2600+#3026].

    Otherwise this should also be done using the last programmed D-parameter (#4107).
    It is important here that the D must have been called at least once before the macro call.
    #7=#[3200+#4107] alternatively #7=#[2400+#4107]+#[2600+#4107].

    I would map the D-parameter in the macro call as an optional parameter.
    G65 P.. X.. Y.. Z.. I.. [D..} {F..}

    ..
    N10 IF [#7 NE #0] GOTO12
    N11 #7=#3026
    N12…

    greetings eckitsch.



  3. #3

    Default Re: Haas - Get active radius offset possible?

    Hi, I think the vars #5041-##5042 do not have tool radius compensation,
    so by programming a simple linear move with active compensation at the begining you could compare the teoretical end position with the actual one and get the tool radius compensation.

    Lets say:

    G0 X0 Y0 Z0 (INITIAL POS)
    G1 X10 Y0 Z0 G41 (THE TEST MOVE END POS IS X=10,Y=0)
    #101=SQRT[[#5041-10]*[#5041-10]+[#5042-0]*[#5042-0]] (WE GET THE TOOL RADIUS COMP)



  4. #4
    Member IsakAndersson's Avatar
    Join Date
    Oct 2018
    Posts
    43
    Downloads
    0
    Uploads
    0

    Default Re: Haas - Get active radius offset possible?

    Right, that makes sense. I wonder tho how #3201-#3400 works in radius mode. The manual states specifically that it is the diameter of the tool where #2401-#2800 says diameter/radius. Maybe it's a typo?

    Either way =#[2400+#4107]+#[2600+#4107] should work in this case. If I understand it right it shouldn't matter if the D code came before or was used as an argument in g65, right?

    Thanks for the answer.



  5. #5
    Member IsakAndersson's Avatar
    Join Date
    Oct 2018
    Posts
    43
    Downloads
    0
    Uploads
    0

    Default Re: Haas - Get active radius offset possible?

    Humm. That sounds a bit sketchy, to be honest. And what happens if the radius is bigger than 10?



  6. #6

    Default Re: Haas - Get active radius offset possible?

    Quote Originally Posted by IsakAndersson View Post
    Humm. That sounds a bit sketchy, to be honest. And what happens if the radius is bigger than 10?
    it is sketchy XD

    even if the radius is bigger than 10 it "should" be in place at the end of the move.



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

Haas - Get active radius offset possible?

Haas - Get active radius offset possible?