585,758 active members*
4,264 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    Apr 2012
    Posts
    0

    Renishaw probing.

    Hi Guys,

    I am new here and I was hoping I could get a solution to my problem. I have been a machinist for 18 years and know a lot but I was never hard core in the programming side. I can use Mastercam, but the parts we do are beyond my ability at this time. The programmer has recently jumped ship which left me with running everything and pulling double duty.
    I have recently had a project using chick tombstones (machining 3 sides)and I am having a problem with some locations. I have the probe picking up the XY and changing the work coordinate and that has been working fine for O-deg,-90 deg, and 90 deg. My issue is when the tombstone rotates to either 90 or -90 deg my Y locations move around. The bottom of the part is Z-zero and there is a flange that is .075 thick. What I am trying to do is take a Z hit on the top of the flange at O-deg and find the difference from nominal of the .075. Then take that difference and add it to the Y-coordinate at 90 and -90 deg.

    This is what I did and it works but it is not giving me the difference of the .075...... Any suggestions.

    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50.
    G65P9814D.936S101
    #7002=#7002-.001
    #7081=#7001
    #7161=#7001
    G0Z1. (FROM HERE UP WORKS GOOD)

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    G65P9811Z.075S101
    IF[#137GT0]THEN#7082=#7082+[#137-.075]
    IF[#137LT0]THEN#7082=#7082-[#137-.075]
    IF[#137GT0]THEN#7162=#7162-[#137-.075]
    IF[#137LT0]THEN#7162=#7162+[#137-.075]
    G0Z2.

    (this repeats 11 times)

  2. #2
    Join Date
    Jan 2012
    Posts
    0
    What machine & where is #137 value assigned? Add notes like I've done here & you may see the issue. You are using P1 as the offset for the probe, & resetting P1 in the cycle. This changes the values of the variable, but I'm not sure if it picks up the new values unless you re-issue the G54.1 P1 code. I'd use a static offset to drive all the probing (say P1), & let it set the values in another (say P2 (S102)), then use the P2 values to set others. That's always seemed easier to keep track of to me.


    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19 (Activate P1 & position)
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50. (Protected positioning)
    G65P9814D.936S101 (Probe .936 diameter & RESET P1 X & Y)
    #7002=#7002-.001 (Define P1 Y as the result -.001)
    #7081=#7001 (Define P5 X to = P1 X)
    #7161=#7001 (Define P9 X to = P1 X)
    G0Z1. (FROM HERE UP WORKS GOOD)

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    G65P9811Z.075S101 (probe Z & set P1 Z as the result)
    On the above line, there is nothing defining what this Z is supposed to be. Therefore, I think it is defining the probed result as 0, NOT 0.075)


    IF[#137GT0]THEN#7082=#7082+[#137-.075]
    (If condition, set P5 Y to current P5 Y -.075)

    IF[#137LT0]THEN#7082=#7082-[#137-.075]
    (If condition, set P5 Y to current P5 Y -.075)

    IF[#137GT0]THEN#7162=#7162-[#137-.075]
    (If condition, set P9 Y to current P9 Y -.075)

    IF[#137LT0]THEN#7162=#7162+[#137-.075]
    (If condition, set P9 Y to current P9 Y -.075)

    G0Z2.
    (this repeats 11 times)

  3. #3
    Join Date
    Jan 2012
    Posts
    0
    I'm not sure about this statement I made. Our Monarch's have an optional input for what the result is supposed to be & if omitted, it defaults to 0. But they have their own custom macro's calling these macros. The HMC's do not & just call them as you are. I don't remember if the probed surface would be defined as 0 or 0.075 nor do I remember if there is even an optional input for this on the HMC's. I don't have time to look either as I'm leaving in a couple minutes.


    G65P9811Z.075S101 (probe Z & set P1 Z as the result)
    On the above line, there is nothing defining what this Z is supposed to be. Therefore, I think it is defining the probed result as 0, NOT 0.075)

  4. #4
    Join Date
    Apr 2012
    Posts
    0
    This machine is a Matsuura 5 axis mill.
    Quote Originally Posted by dak1 View Post
    What machine & where is #137 value assigned?Single surface for z position. Add notes like I've done here & you may see the issue. You are using P1 as the offset for the probe, & resetting P1 in the cycle. This changes the values of the variable, but I'm not sure if it picks up the new values unless you re-issue the G54.1 P1 code. I'd use a static offset to drive all the probing (say P1), & let it set the values in another (say P2 (S102)), then use the P2 values to set others. That's always seemed easier to keep track of to me.


    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19 (Activate P1 & position)
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50. (Protected positioning)
    G65P9814D.936S101 (Probe .936 diameter & RESET P1 X & Y)
    #7002=#7002-.001 (Define P1 Y as the result -.001)
    #7081=#7001 (Define P5 X to = P1 X)
    #7161=#7001 (Define P9 X to = P1 X)
    G0Z1. (FROM HERE UP WORKS GOOD)

    There are 11 more stations and they have their own individual P#. They go from P1 to P36 and It looks like this'
    /G54.1P2X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S102
    /#7022=#7022-.001
    /#7101=#7021
    /#7181=#7021
    /G0Z1.
    and so on.



    I added this in with the hopes of capturing the difference of the .075.
    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    G65P9811Z.075S101 (probe Z & set P1 Z as the result)
    The probe is taking a hit that is supposed to be .075 on the Z...So how would i fix it?
    On the above line, there is nothing defining what this Z is supposed to be. Therefore, I think it is defining the probed result as 0, NOT 0.075)


    IF[#137GT0]THEN#7082=#7082+[#137-.075]
    (If condition, set P5 Y to current P5 Y -.075)
    So these look right for what I need.
    IF[#137LT0]THEN#7082=#7082-[#137-.075]
    (If condition, set P5 Y to current P5 Y -.075)

    IF[#137GT0]THEN#7162=#7162-[#137-.075]
    (If condition, set P9 Y to current P9 Y -.075)

    IF[#137LT0]THEN#7162=#7162+[#137-.075]
    (If condition, set P9 Y to current P9 Y -.075)

    G0Z2.
    (this repeats 11 times)

  5. #5
    Join Date
    Apr 2012
    Posts
    0
    This is the original program. I want to add to it by taking a hit on the Z-0 deg at position z.075 and then if the probe reads it at .076 then take the difference of the .001 and add it or subtract it to the work coordinate when the tombstone rotates to 90 and -90deg...My example at G54.1P1 will change Y position in #7081 and #7161 by .001

    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19(Activate P1 & position)
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50. (Protected positioning)
    G65P9814D.936S101(Probe .936 diameter & RESET P1 X & Y)
    #7002=#7002-.001(Define P1 Y as the result -.001)
    #7081=#7001(Define P5 X to = P1 X)
    #7161=#7001(Define P9 X to = P1 X)
    G0Z1.
    This is where I will add more probing.
    /G54.1P2X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S102
    /#7022=#7022-.001
    /#7101=#7021
    /#7181=#7021
    /G0Z1.
    This is where I will add more probing.
    /G54.1P3X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S103
    /#7042=#7042-.001
    /#7121=#7041
    /#7201=#7041
    /G0Z1.
    This is where I will add more probing.
    /G54.1P4X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S104
    /#7062=#7062-.001
    /#7141=#7061
    /#7221=#7061
    /G0Z1.
    /M24
    /G0G90G54.1P13X0Y0B-90.C0
    /M23
    /G65P9810Z.3F50.
    /G65P9814D.936S113
    /#7242=#7242-.001
    /#7321=#7241
    /#7401=#7241
    /G0Z1.
    /G54.1P14X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S114
    /#7262=#7262-.001
    /#7341=#7261
    /#7421=#7261
    /G0Z1.
    /G54.1P15X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S115
    /#7282=#7282-.001
    /#7361=#7281
    /#7441=#7281
    /G0Z1.
    /G54.1P16X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S116
    /#7302=#7302-.001
    /#7381=#7301
    /#7461=#7301
    /G0Z1.
    /M24
    /G0G90G54.1P25X0Y0B-90.C0
    /M23
    /IF[#530EQ1]GOTO4500
    /IF[#530EQ2]GOTO4600
    /N4500
    /G65P9810Z.3F50.
    /G65P9814D.936S125
    /#7482=#7482-.001
    /#7561=#7481
    /#7641=#7481
    /G0Z1.
    /G54.1P26X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S126
    /#7502=#7502-.001
    /#7581=#7501
    /#7661=#7501
    /G0Z1.
    /G54.1P27X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S127
    /#7522=#7522-.001
    /#7601=#7521
    /#7681=#7521
    /G0Z1.
    /G54.1P28X0Y0
    /G65P9810Z.3F50.
    /G65P9814D.936S128
    /#7542=#7542-.001
    /#7621=#7541
    /#7701=#7541
    G0Z2.
    M109
    M86
    G91G28Z0M9
    M1

  6. #6
    Join Date
    Nov 2010
    Posts
    0
    Hi,
    Try this way:

    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50.
    G65P9814D.936S101
    #7002=#7002-.001
    #7081=#7001
    #7161=#7001
    G0Z1. (FROM HERE UP WORKS GOOD)

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    #1=#7003 (SAVE P1Z IN #1 - PRIME VALUE)
    #7003=#7003+.075 (MOVE P1Z AT TOP OF FLANGE)
    G54.1P1 (RELOAD P1 OFFSET - MAY NOT BE REQUIRED ON SOME MACHINES)
    G65P9811Z.0S101 (PROBE TOP OF FLANGE TO P1)
    #2=#7003-.075-#1 (SUBSTRACT PRIME VALUE AND FLANGE HEIGHT FROM PROBED VALUE)
    #7003=#1 (PUT BACK PRIME VALUE IN P1Z)
    G54.1P1 (RELOAD P1 OFFSET - MAY NOT BE REQUIRED ON SOME MACHINES)
    #7082=#7082+#2 (SHIFT P5Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    #7162=#7162+#2 (SHIFT P9Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    G0Z2.


    G54.1P2X0Y0
    G65P9810Z.3F50.
    G65P9814D.936S102
    #7022=#7022-.001
    #7101=#7021
    #7181=#7021
    G0Z1.

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    #1=#7023 (SAVE P2Z IN #1 - PRIME VALUE)
    #7023=#7023+.075 (MOVE P2Z AT TOP OF FLANGE)
    G54.1P2 (RELOAD P2 OFFSET - MAY NOT BE REQUIRED ON SOME MACHINES)
    G65P9811Z.0S102 (PROBE TOP OF FLANGE TO P2)
    #2=#7023-.075-#1 (SUBSTRACT PRIME VALUE AND FLANGE HEIGHT FROM PROBED VALUE)
    #7023=#1 (PUT BACK PRIME VALUE IN P2Z)
    G54.1P2 (RELOAD P2 OFFSET - MAY NOT BE REQUIRED ON SOME MACHINES)
    #7102=#7102+#2 (SHIFT P6Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    #7182=#7182+#2 (SHIFT P10Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    G0Z2.


    etc...

  7. #7
    Join Date
    Apr 2012
    Posts
    0
    Thank you!! That did help.

  8. #8
    Join Date
    Jan 2012
    Posts
    0
    I don't know if your doing the variable # math manually, but if so, here's an excel file with the formulas. Just enter offset number & axis number.
    Attached Files Attached Files

  9. #9
    Join Date
    Nov 2010
    Posts
    0
    Im glad I could help,
    according to on of my Renishaw manual this short version should work too:

    T226(RENISHAW PROBE)
    M6
    M132
    N100G0G90G54.1P1X0Y0B-90.C0M19
    M131
    G43Z2.T7
    M87
    M108
    G65P9810Z.3F50.
    G65P9814D.936S101
    #7002=#7002-.001
    #7081=#7001
    #7161=#7001
    G0Z1. (FROM HERE UP WORKS GOOD)

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    G65P9811Z.0 (PROBE TOP OF FLANGE TO VARIABLES ONLY)
    #2=#142-.075 (SUBSTRACT FLANGE HEIGHT FROM PROBING ERROR)
    #7082=#7082+#2 (SHIFT P5Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    #7162=#7162+#2 (SHIFT P9Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    G0Z2.


    G54.1P2X0Y0
    G65P9810Z.3F50.
    G65P9814D.936S102
    #7022=#7022-.001
    #7101=#7021
    #7181=#7021
    G0Z1.

    G65P9810X.35Y-.606F50.
    G65P9810Z.3F50.
    G65P9811Z.0 (PROBE TOP OF FLANGE TO VARIABLES ONLY)
    #2=#142-.075 (SUBSTRACT FLANGE HEIGHT FROM PROBING ERROR)
    #7102=#7102+#2 (SHIFT P6Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    #7182=#7182+#2 (SHIFT P10Y BY PROBED DIFFERENCE, CHANGE TO - IF GOES WRONG WAY)
    G0Z2.


    etc...

Similar Threads

  1. renishaw probing on haas mini mill
    By kwhite2 in forum Haas Mills
    Replies: 1
    Last Post: 09-30-2010, 10:51 PM
  2. Probing? anyone?
    By Freddy Bastard in forum Tormach Personal CNC Mill
    Replies: 2
    Last Post: 07-05-2009, 03:07 AM
  3. Probing?
    By chunkymonkey in forum Uncategorised MetalWorking Machines
    Replies: 2
    Last Post: 04-02-2008, 05:39 AM
  4. Renishaw probing -- NON VQC
    By gromit68 in forum Haas Mills
    Replies: 5
    Last Post: 01-20-2008, 04:34 AM
  5. Renishaw probing setting workshifts
    By Liontastic in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 09-07-2007, 08:25 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
  •