586,102 active members*
2,613 visitors online*
Register for free
Login
Results 1 to 14 of 14
  1. #1
    Join Date
    Mar 2005
    Posts
    816

    Measurement Macros

    Here's a interesting measurement Macro from my Lathe.

    I guess issued by G65 P9018 X xa;

    O9018
    #1=#4001
    G00 X[24-10.0];
    G31 X[#24+5.0];
    IF[ABS[#5061-#5081-#24]LT5.0]GOTO 9018;
    #3000=80(PS);
    N9018#4=BIN[BCD[#4120]AND255];
    G10P#4X[#5061-#24];
    G #1 M99;

    I thinking it could be made a little bit better becuase what it seems to do is some tolerance checking and X axes setting of the automatic tool offset.

  2. #2
    Join Date
    Sep 2011
    Posts
    78
    aren't the macro's suplyed by tha probe manufacturer??

  3. #3
    Join Date
    Mar 2005
    Posts
    816
    Yeah they are usually.

    There's a few of them in my lathe. They all seem to do slightly different things. I'm used to the measurement in the mill.

    My mill probe is a CAT40 renishaw MP3.

    This macro uses the G31, G10P plus a IF statement and variables. My others don't.

  4. #4
    Join Date
    May 2004
    Posts
    97
    That doesn't match the format I've seen for Renishaw Lathe Macro 9018. Normally 9018 is a Z Axis measurement, but the format looks different.

  5. #5
    Join Date
    Mar 2005
    Posts
    816
    Yeah, that's why I mentioned it.

    It's not a Renishaw macro.

    It just made me wonder. Theres a similar macro in the FANUC manual.

  6. #6
    Join Date
    Sep 2011
    Posts
    78
    can't help you on this other than that i could suply the renishaw macro's that are in my lathe

  7. #7
    Join Date
    Aug 2011
    Posts
    2517
    I'd be interested to see a lathe Z measurement macro if you have one?

  8. #8
    Join Date
    Sep 2011
    Posts
    78
    gonne look into it.
    if i have em at home i'll post in a moment. if not gonne get them from work tomorrow.

  9. #9
    Join Date
    Sep 2011
    Posts
    78
    as mentioned Z measurement macro including used submacro's.

    I 'm bit familliar with parametric programming but translation this to what it actually does is gonne take to much time for me.
    Might be easyer for you.

  10. #10
    Join Date
    Aug 2011
    Posts
    2517
    ok thanks.
    do you have any info on what the various user-input local variables are used for? For example #3, #4, #9, #17, #21, #26 etc and several on the G65 lines such as G65 P9030 D[#26] V[#22] E[#3*#7] H[#11] M[#13]

    It appears #26 is the target Z point but even if the actual numbers are known a text explanation of the variable usage is needed otherwise it doesn't make much sense :-)

    Or maybe you have another program that sets all those numbers? I assume there is another program because local variables are cleared on power-off/reset so it would be dangerous to run that macro program without something that re-sets the local variables first.

  11. #11
    Join Date
    Mar 2005
    Posts
    816
    Me too. I would like to learn this type of macro / variables usage. I've only recently started using the Renishaw MP3.

    There's supposed to be some sort of measures on my Mori SL lathe. No saved programs for this.

    I still have yet to implement measurement on the 10TF.

  12. #12
    Join Date
    Aug 2011
    Posts
    2517
    on older Mori SL lathes there's no probing but there can be a setting arm. no macros are used though it's purely for setting tools.

  13. #13
    Join Date
    Sep 2011
    Posts
    78
    Read all about it http://www.promoil.com/tools/renishaw/21.pdf.

    Myself, I only use diametrical meassuring once in a while on a lathe with loader system. but although is seems great its use is limmited.
    When using a inserts drill the disc that shoots out at the back of the product might break the probetip.
    Also you must be sure that u dont produce long "stringy" chips (not even once in a while) because these might twist and grab the probetip and break it.
    For cast iron matrials (with I almost never have) and other short chip matrial its a great tool letting you produce the whole loader table without making scrap parts once in a while.

  14. #14
    Join Date
    Mar 2005
    Posts
    816
    I've only just started using the Mori SL3H in the last 6 months o I haven't gotten very deep into it.

    Well, the 0T / OT which has a A02B-0091 system also has measure too with the macros.

    I just touch off and use the calculated X and Z for finished parts.

    The 10TF I normally work on has macros similar to the 15T I investigated beforehand the build.
    I use pretty efficient chipbreakers so chiphandling is pretty neat. We don't use insert drills except in milling.

Similar Threads

  1. How do I re-edit a measurement once I go to 3D???
    By BrassBuilder in forum Uncategorised CAD Discussion
    Replies: 3
    Last Post: 01-17-2014, 04:01 AM
  2. frequency measurement
    By pradeeptamangs in forum CNC Machine Related Electronics
    Replies: 6
    Last Post: 06-14-2013, 05:25 AM
  3. A measurement of backlash
    By dlaery in forum Taig Mills / Lathes
    Replies: 5
    Last Post: 04-19-2012, 12:33 AM
  4. 0.01 mm Tool Measurement
    By Leha_Blin in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 10-09-2009, 06:04 AM

Posting Permissions

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