Your Products have been synced, click here to refresh
The alignment takes 4 cylinders, 7 hits per ring, two rings, along the OD.
1 point is taken on the face, and a plane of 6 points is taken inside a notch (to align upright)
I level Y+ to the cylinder, rotate ZPlus to the plane about YPlus, Rotate YPlus to the cylinder about XPlus, Set X&Z axes to cylinder, set Y axis to face point.
Then I measure a line on the face using vision, and I measure a line on an undercut. After that is the hole that crashes.
If the hole is there, it crashes right away.
If it's not, the program rotates 180° and measures the hole, and crashes right away
FINE_ALIGN_0=ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,YPLUS,FA_CYLOD ALIGNMENT/ROTATE,ZPLUS,TO,FA_PLNROT,ABOUT,YPLUS ALIGNMENT/ROTATE,YPLUS,TO,FA_CYLOD,ABOUT,XPLUS ALIGNMENT/TRANS,XAXIS,FA_CYLOD ALIGNMENT/TRANS,ZAXIS,FA_CYLOD *Full DCC alignment ALIGNMENT/TRANS,YAXIS,FA_PNTFACE ALIGNMENT/END CLEARP/ZPLUS,0.5,ZPLUS,0,OFF MOVE/CLEARPLANE MOVE/ROTAB,0,SHORTEST,FA_PLNROT *Rotate to the plane LOADPROBE/NO PROBE ATTACHED *Take off touch probe LOADPROBE/ZOOM *Switch to camera probe TIP/TIP1, SHANKIJK=0, 0, 1, ANGLE=0 VIS_FACE =FEAT/VISION/LINE/DEFAULT,CARTESIAN,BOUNDED THEO/<-0.05,0,0.36>,<0.05,0,0.36>,<1,0,0>,<0,1,0>,<0,0,1>,0.1 ACTL/<-0.05,0,0.365>,<0.05,0,0.365>,<1,0,0>,<0,1,0>,<0,0,1>,0.1 TARG/<-0.05,0,0.36>,<0.05,0,0.36>,<1,0,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=YES SURFACE=THEO_THICKNESS,0 MEASURE MODE=NOMINALS RMEAS=NONE,NONE,NONE *Take a line on the face CIRCULAR MOVES=NO CLEARPLANE=NO PREPOSITION=NO GRAPHICAL ANALYSIS=NO DIAGNOSTICS=NO FEATURE LOCATOR=NO,NO,"" SHOW_VISION_PARAMETERS=YES TYPE=AUTOMATIC HIT TARGET COVERAGE=100% COVERAGE ACTIVE TARGETS=4 MAGNIFICATION=1.5001 HIT TARGET COLOR=RED,NOMINAL COLOR=GREEN HIT TARGET=EA1,0,1,HIGH,0.0067 FILTER=NO,YES,0,2.25 EDGE=SPECIFIED EDGE,15,[ ]->[|],-->,1,1,1,1,NO,Backlight=<OFF,0,OFF>,Toplight=<OFF,83.1,ON>,Ringlight=<OFF,55.9,ON> FOCUS=NO A10 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,YPLUS,FA_CYLOD ALIGNMENT/ROTATE,ZPLUS,TO,FA_PLNROT,ABOUT,YPLUS ALIGNMENT/ROTATE,YPLUS,TO,FA_CYLOD,ABOUT,XPLUS ALIGNMENT/TRANS,XAXIS,FA_CYLOD *"More accurate" Full DCC Alignment ALIGNMENT/TRANS,ZAXIS,FA_CYLOD ALIGNMENT/TRANS,YAXIS,VIS_FACE ALIGNMENT/END UC_1 =FEAT/VISION/LINE/DEFAULT,CARTESIAN,BOUNDED THEO/<-0.05,1.393,0.38>,<0.05,1.393,0.38>,<1,0,0>,<0,1,0>,<0,0,1>,0.1 ACTL/<-0.05,1.393,0.38>,<0.05,1.393,0.38>,<1,0,0>,<0,1,0>,<0,0,1>,0.1 TARG/<-0.05,1.393,0.38>,<0.05,1.393,0.38>,<1,0,0>,<0,1,0>,<0,0,1> SHOW FEATURE PARAMETERS=YES SURFACE=THEO_THICKNESS,0 MEASURE MODE=NOMINALS RMEAS=NONE,NONE,NONE CIRCULAR MOVES=NO CLEARPLANE=NO PREPOSITION=NO GRAPHICAL ANALYSIS=NO DIAGNOSTICS=NO *Measure an undercut with a line FEATURE LOCATOR=NO,NO,"" SHOW_VISION_PARAMETERS=YES TYPE=AUTOMATIC HIT TARGET COVERAGE=100% COVERAGE ACTIVE TARGETS=4 MAGNIFICATION=1.5001 HIT TARGET COLOR=RED,NOMINAL COLOR=GREEN HIT TARGET=EA1,0,1,HIGH,0.01 FILTER=NO,YES,0,2.25 EDGE=SPECIFIED EDGE,5,[|]->[ ],-->,1,1,1,1,NO,Backlight=<OFF,0,OFF>,Toplight=<OFF,34.7,ON>,Ringlight=<OFF,55.9,ON> FOCUS=NO ONERROR/EDGE_NOT_DETECTED,GOTO LBL_HOLEALIGN *Begin Hole measurements CIR_0 =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0+0,1.595,0.365>,<0+0,0+0,1>,0.033,0,0 ACTL/<0.0069,1.5958,0.3648>,<0.0751523,0.0002583,0.997172>,0.0366,0,0 TARG/<0+0,1.595,0.365>,<0+0,0+0,1> ANGLE VEC=<-1,0+0,0+0> SHOW FEATURE PARAMETERS=YES SURFACE=THEO_THICKNESS,0 MEASURE MODE=NOMINALS RMEAS=NONE,NONE,NONE CIRCULAR MOVES=NO CLEARPLANE=NO PREPOSITION=NO GRAPHICAL ANALYSIS=NO DIAGNOSTICS=NO *If the hole is there, GoTo LBL_HOLE FEATURE LOCATOR=NO,NO,"" *If the hole is not, GoTo LBL_HoleAlign SHOW_VISION_PARAMETERS=YES TYPE=AUTOMATIC HIT TARGET COVERAGE=100% COVERAGE ACTIVE TARGETS=4 MAGNIFICATION=1.5001 HIT TARGET COLOR=RED,NOMINAL COLOR=GREEN HIT TARGET=EA1,0,1,NORMAL,0.0163 FILTER=NO,NO EDGE=MATCHING EDGE,15,[|]->[ ],<--,1,1,1,NO,Backlight=<OFF,0,OFF>,Toplight=<OFF,55,ON>,Ringlight=<OFF,55.9,ON> FOCUS=NO ONERROR/EDGE_NOT_DETECTED,OFF ASSIGN/VHOLE={CIR_0} ASSIGN/VROT=0 GOTO/LBL_HOLE LBL_HOLEALIGN=LABEL/ *Do this if the hole is not there ASSIGN/VROT=180 MOVE/ROTAB,180,SHORTEST,FA_PLNROT FINE_ALIGN_180=ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,YPLUS,FA_CYLOD ALIGNMENT/ROTATE,ZPLUS,TO,FA_PLNROT,ABOUT,YPLUS ALIGNMENT/ROTATE_OFFSET,180,ABOUT,YPLUS ALIGNMENT/ROTATE,YPLUS,TO,FA_CYLOD,ABOUT,XPLUS ALIGNMENT/TRANS,XAXIS,FA_CYLOD ALIGNMENT/TRANS,ZAXIS,FA_CYLOD *Adjust alignment to be rotated 180° ALIGNMENT/TRANS,YAXIS,FA_PNTFACE ALIGNMENT/END CIR_180 =FEAT/VISION/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0+0,1.595,0.365>,<0+0,0+0,1>,0.033,0,0 ACTL/<-0.0019,1.5959,0.365>,<0.0000573,0.0010758,0.9999994>,0.0368,0,0 TARG/<0+0,1.595,0.365>,<0+0,0+0,1> ANGLE VEC=<-1,0+0,0+0> SHOW FEATURE PARAMETERS=YES SURFACE=THEO_THICKNESS,0 MEASURE MODE=NOMINALS RMEAS=NONE,NONE,NONE CIRCULAR MOVES=NO CLEARPLANE=NO PREPOSITION=NO GRAPHICAL ANALYSIS=NO *Measure this hole DIAGNOSTICS=NO FEATURE LOCATOR=NO,NO,"" SHOW_VISION_PARAMETERS=YES TYPE=AUTOMATIC HIT TARGET COVERAGE=100% COVERAGE ACTIVE TARGETS=4 MAGNIFICATION=1.5001 HIT TARGET COLOR=RED,NOMINAL COLOR=GREEN HIT TARGET=EA1,0,1,HIGH,0.0163 FILTER=NO,YES,0,2.25 EDGE=MATCHING EDGE,15,[|]->[ ],<--,1,1,1,NO,Backlight=<OFF,0,OFF>,Toplight=<OFF,55,ON>,Ringlight=<OFF,55.9,ON> FOCUS=NO ASSIGN/VHOLE={CIR_180} *Continue on as normal LBL_HOLE =LABEL/ HOLE_1.595 =GENERIC/CIRCLE,DEPENDENT,CARTESIAN,OUT,$ NOM/XYZ,<VHOLE.X,VHOLE.Y,VHOLE.Z>,$ MEAS/XYZ,<VHOLE.X,VHOLE.Y,VHOLE.Z>,$ NOM/IJK,<VHOLE.I,VHOLE.J,VHOLE.K>,$ MEAS/IJK,<VHOLE.I,VHOLE.J,VHOLE.K>,$ DIAMETER/VHOLE.D,VHOLE.D FINE_ALIGN_START=ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,YPLUS,FA_CYLOD ALIGNMENT/ROTATE,ZPLUS,TO,FA_PLNROT,ABOUT,YPLUS ALIGNMENT/ROTATE_OFFSET,VROT,ABOUT,YPLUS ALIGNMENT/ROTATE,YPLUS,TO,FA_CYLOD,ABOUT,XPLUS ALIGNMENT/TRANS,XAXIS,FA_CYLOD ALIGNMENT/TRANS,ZAXIS,HOLE_1.595 ALIGNMENT/TRANS,YAXIS,FA_PNTFACE ALIGNMENT/END $$ NO, VROT is the rotation of the 1.595 Hole CLEARP/ZPLUS,0.5,ZPLUS,0,OFF MOVE/ROTAB,VROT,SHORTEST,FA_PLNROT
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |