Search Offset Question

  • If I change the way an offset is found do i have to go through my program and touch up everything?


    PR [11] is the offset being used for all my points after the length has been found.


    I taught myself about searches. Sorry if this is a simple question.


    Original Method:

    Gets a rough measurement of

    : bar length

    8: J P[128] 50% FINE ;

    9: Search Start [1] PR[41] ;

    10: L P[145] 600mm/sec FINE Search[Y] ;

    11: Search End ;

    12: ;

    13: Touch Offset End ;

    14: Fine tuning bar length;

    15: J P[160] 50% FINE Offset,PR[41:2nd bar search] ;

    16: Search Start [2] PR[11] ;

    17: L P[160] 600mm/sec FINE Search[-Y] ;

    18: Search End ;



    Newer Method

    4: --:Gets a rough measurement of

    : bar length ;

    5:J P[1] 50% FINE PTH ;

    6: SKIP CONDITION RI[1:OFF:LASER GO RANGE]=ON ;

    7:L P[2] 1000mm/sec FINE Skip,LBL[99],PR[43]=LPOS ;

    8: LBL[99] ;

    9: ;

    10: --:Adds 10mm to GP1 Pr43 Y

    : value ;

    11: PR[GP1:43,2]=PR[GP1:43,2]+10 ;

    12: ;

    13: ;

    14: ;

    15: Touch Offset End ;

    16: ;

    17: --:Fine tuning bar length ;

    18:J PR[43] 50% FINE ;

    19: Search Start [2] PR[11] ;

    20:L PR[43] 600mm/sec FINE Search[-Y] ;

    21: Search End ;

  • Place your Ad here!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now

Advertising from our partners