586,103 active members*
3,181 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2013
    Posts
    2

    Probe Macro 9023

    I'm having trouble understanding how to use the probe macro on my Haas. I've inherited some code that I need to modify to add more probing features but I can't understand how the previous programer was using it. I searched the forum and visited many sites to try to find a good definition of the renishaw 9023 macro but still I'm missing something.

    Here is the code I inherited that probes the surface in four places and then uses that to set the Z location.

    %
    O01298

    G00 X0.875 Y-0.2
    G65 P9023 A9. S123.
    #1= #1 + #7263

    G00 Z0.4
    G00 X0.2 Y-1.7
    G65 P9023 A9. S123.
    #1= #1 + #7263

    G00 Z0.4
    G00 X1.6 Y-1.7
    G65 P9023 A9. S123.
    #1= #1 + #7263

    G00 Z0.4
    G00 X0.875 Y-3.25
    G65 P9023 A9. S123.
    #1= #1 + #7263

    #600= #1 / 4
    ....

    As far a I can tell A9 is just variable #1 in the macro, but what does S123 do?

  2. #2
    Join Date
    May 2004
    Posts
    97
    What you are looking at there is Renishaw's Easyset code. Program 9023 when followed with an A value & S Value will set the S work offset value to the probed position.
    It's more of an MDI functionality and not really designed to be used in a standalone program. The supporting Inspection Plus cycles that it calls up (in this case predominantly 9811 probing cycles) are far more adept to being used in standalone programs.

    To help with your example - A9 indicates a Z setting cycle. S123 will update extended work offset G154 P14.
    #1 is capturing the cumulative measured value from the Z work offset in G154 P14 (#7263) and calculating the average in the end (by dividing by 4) and storing in #600.

    Personally I would never move the probe around in G00, I would use G65 P9810 instead (protects the probe) and I would also use G65 P9811 Z(value of the surface) and interrogate #137 each time rather than using G65P9023.

    In both cases the EasySet Manual & Inspection Plus manual would help a lot. I've created some Haas VQC templates that create measurement cycles along the lines of G65P9811 which are far easier to manipulate than the P9023 output of the standard Haas WIPS cycles.

    Hope this all helps!

  3. #3
    Join Date
    Oct 2013
    Posts
    2
    guypb, this helps tremendously. In the past few days I have done a fair amount of reading and I agree about using the protected move. However, I don't understand why I would grab #137 as you suggest. I though for P9811 the Z position would be #187 and the Z error #192. Am I missing something else???

    Quote Originally Posted by guypb View Post
    Personally I would never move the probe around in G00, I would use G65 P9810 instead (protects the probe) and I would also use G65 P9811 Z(value of the surface) and interrogate #137 each time rather than using G65P9023.

  4. #4
    Join Date
    May 2004
    Posts
    97
    My mistake - with the standard Renishaw Inspection Plus the variable for Z Position is #137 - however with the WIPS version, the variables are shifted forward by 50 so you are right - it's #187 for position and #192 for deviation/error.

Similar Threads

  1. Macro for reinshaw probe
    By Mazacam junkie in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 01-15-2013, 03:03 AM
  2. Need probe macro for M&H Infared Probe 25.41-HDR
    By nikolaiownz in forum Fanuc
    Replies: 4
    Last Post: 02-11-2012, 03:10 AM
  3. Probe macro to find flat on A axis
    By metlshpr in forum Haas Mills
    Replies: 10
    Last Post: 06-30-2009, 01:30 PM
  4. probe macro
    By damon1313 in forum Digitizing and Laser Digitizing
    Replies: 0
    Last Post: 04-22-2008, 09:21 PM
  5. Macro for a probe signal
    By mcash3000 in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 3
    Last Post: 04-11-2006, 07:04 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
  •