Scans not actually scanning, just taking touch hits.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Scans not actually scanning, just taking touch hits.

    Hey folks,

    Trying to do an adaptive circle scan on an auto circle. Instead of keeping the probe on the part, it just takes hits like the default measurement strategy. Take a look.

    Here is my code:

    Code:
    STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
    ALIGNMENT/END
    MODE/MANUAL
    LOADPROBE/HPSX1HS_3BY50MM
    TIP/T1A90B90, SHANKIJK=-1, 0, 0, ANGLE=90
    MOVESPEED/ 200
    PREHIT/0.06
    RETRACT/0.06
    SCANSPEED/200
    ACCELERATION/MAXACCELX=1500, MAXACCELY=1500, MAXACCELZ=1500
    FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;MEAS,NOM,TOL,MAXMIN,DEV,OUTTOL,
    C1 =COMMENT/INPUT,YES,FULL SCREEN=NO,
    Inspectors Initials
    C2 =COMMENT/INPUT,YES,FULL SCREEN=NO,
    Finish S/N
    C4 =COMMENT/INPUT,NO,FULL SCREEN=NO,
    Forging S/N
    C5 =COMMENT/INPUT,NO,FULL SCREEN=NO,
    Forging Heat Code
    C6 =COMMENT/INPUT,NO,FULL SCREEN=NO,
    Machine Operator
    ASSIGN/PNAM=GETTEXT("Part Name",0,"FILEHEDR")
    ASSIGN/REVNO=GETTEXT("Revision Number",0,"FILEHEDR")
    ASSIGN/OPNO=GETTEXT("Serial Number",0,"FILEHEDR")
    ASSIGN/STNO=GETTEXT("Statistics Count",0,"FILEHEDR")
    ASSIGN/PROGNAM=PNAM
    S_N =LABEL/
    IF_GOTO/C2.INPUT==0,GOTO = S_N
    TRACEFIELD/NO_DISPLAY,LIMIT=15 ; Serial : C2.INPUT
    TRACEFIELD/NO_DISPLAY,LIMIT=15 ; Operator : C1.INPUT
    ASSIGN/SERN=C2.INPUT
    ASSIGN/PATH="XXXXXXXXXXXXXXXXXXXXXXXX"
    ASSIGN/MYFILENAME=PROGNAM + "_" + SERN
    ASSIGN/MYFILENAME=PATH + MYFILENAME + ".RTF"
    C3 =COMMENT/YESNO,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
    DO YOU WANT TO RUN SETUP?
    
    Note: (Must run setup if this is the 1st part ran or part has been moved.)
    IF_GOTO/C3.INPUT=="YES",GOTO = SETUP
    GOTO/PROG
    SETUP =LABEL/
    PLN1 =FEAT/PLANE,CARTESIAN,TRIANGLE
    THEO/<-1.541,0.4077,0.2231>,<-1,0,0>
    ACTL/<-1.541,0.4077,0.2231>,<-1,0,0>
    MEAS/PLANE,3
    HIT/BASIC,NORMAL,<-1.541,-0.2757,4.202>,<-1,0,0>,<-1.541,-0.2757,4.202>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.541,-2.914,-2.9372>,<-1,0,0>,<-1.541,-2.914,-2.9372>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.541,4.4129,-0.5953>,<-1,0,0>,<-1.541,4.4129,-0.5953>,USE THEO=YES
    ENDMEAS/
    WORKPLANE/XPLUS
    CIR1 =FEAT/CIRCLE,CARTESIAN,IN,LEAST_SQR
    THEO/<-0.9793,0,0>,<1,0,0>,7.46
    ACTL/<-0.9793,0,0>,<1,0,0>,7.46
    MEAS/CIRCLE,3,XPLUS
    HIT/BASIC,NORMAL,<-0.9712,-0.5938,3.6824>,<0,0.1591972,-0.9872468>,<-0.9712,-0.5938,3.6824>,USE THEO=YES
    HIT/BASIC,NORMAL,<-1.0455,2.7763,-2.491>,<0,-0.7443089,0.6678355>,<-1.0455,2.7763,-2.491>,USE THEO=YES
    HIT/BASIC,NORMAL,<-0.9211,-2.3766,-2.8748>,<0,0.6371716,0.770722>,<-0.9211,-2.3766,-2.8748>,USE THEO=YES
    ENDMEAS/
    PNT1 =FEAT/POINT,CARTESIAN,NO
    THEO/<0,5,0>,<0,0,1>
    ACTL/<0,5,0>,<0,0,1>
    CONSTR/POINT,OFFSET,ORIGIN,0,5,0
    A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES
    ALIGNMENT/LEVEL,XMINUS,PLN1
    ALIGNMENT/TRANS,XAXIS,PLN1
    ALIGNMENT/TRANS,YAXIS,CIR1
    ALIGNMENT/TRANS,ZAXIS,CIR1
    ALIGNMENT/ROTATE_CIRCLE,YPLUS,TO,CIR1,AND,PNT1,ABOUT,XMINUS
    ALIGNMENT/END
    MODE/DCC
    CLEARP/XMINUS,3,XMINUS,3,ON
    MOVE/CLEARPLANE
    CIR_22 =FEAT/CONTACT/CIRCLE/ADAPTIVE_CIRCLE_SCAN,CARTESIAN,IN,LEAST_SQR
    THEO/<0.0175,0,0>,<-1,0,0>,7.46
    ACTL/<0.0175,0,0>,<1,0,0>,7.46
    TARG/<0.0175,0,0>,<-1,0,0>
    START ANG=0,END ANG=360
    ANGLE VEC=<0,0,1>
    DIRECTION=CCW
    SHOW FEATURE PARAMETERS=NO
    SHOW CONTACT PARAMETERS=YES
    NUMHITS=7,DEPTH=0.575,PITCH=0
    SAMPLE METHOD=SAMPLE_HITS
    SAMPLE HITS=0,SPACER=0
    AVOIDANCE MOVE=NO,DISTANCE=0.3937
    FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
    SHOW HITS=NO

  • #2
    What probing system are you using, if it is touch trigger probing(TTP) then you will not be capable to utilize a full contact scan.

    Comment

    Related Topics

    Collapse

    Working...
    X