Hello all,
I have a question about recalling alignments and proper practices regarding that. I have encountered problems when recalling alignments where it appears that the 6 DOF's are not locked in or something is going wrong with the alignments. I will post some general code to show what i mean by this.
When programming certain parts, they call out theoretical offsets where I offset from my abc alignment like shown in the code. What I usually do (not shown above) is re-establish the ABC alignment completely then at the end add my offset. I've always wondered if I was doing too much work wasting time level, rotate, translate every single alignment or if the above code is fine where I recall A1 then just offset.
I have a question about recalling alignments and proper practices regarding that. I have encountered problems when recalling alignments where it appears that the 6 DOF's are not locked in or something is going wrong with the alignments. I will post some general code to show what i mean by this.
Code:
PLN1 =FEAT/CONTACT/PLANE/DEFAULT,CARTESIAN,OUTLINE,LEAST_SQR THEO/<-86.78,0,0>,<0,0,1> ACTL/<-86.78,0,0>,<0,0,1> TARG/<-86.78,0,0>,<0,0,1> ANGLE VEC=<1,0,0>,RADIAL SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES NUMHITS=3,NUMROWS=1 SPACER=45 AVOIDANCE MOVE=NO,DISTANCE=10 SHOW HITS=YES HIT/BASIC,<0.342,13.585,0>,<0,0,1>,<0.342,13.585,0> HIT/BASIC,<-173.641,15.031,0>,<0,0,1>,<-173.641,15.031,0> HIT/BASIC,<-179.093,-6.911,0>,<0,0,1>,<-179.093,-6.911,0> ENDMEAS/ CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0,0,0>,<0,0,1>,10.8 ACTL/<0,0,0>,<0,0,1>,10.8 TARG/<0,0,0>,<0,0,1> START ANG=0,END ANG=360 ANGLE VEC=<1,0,0> DIRECTION=CCW SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES NUMHITS=7,DEPTH=1,PITCH=0 SAMPLE METHOD=SAMPLE_HITS SAMPLE HITS=0,SPACER=0 AVOIDANCE MOVE=NO,DISTANCE=10 FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO SHOW HITS=YES HIT/BASIC,<5.4,0,-1>,<-1,0,0>,<5.4,0,-1> HIT/BASIC,<3.367,4.222,-1>,<-0.6234898,-0.7818315,0>,<3.367,4.222,-1> HIT/BASIC,<-1.202,5.265,-1>,<0.2225209,-0.9749279,0>,<-1.202,5.265,-1> HIT/BASIC,<-4.865,2.343,-1>,<0.9009689,-0.4338837,0>,<-4.865,2.343,-1> HIT/BASIC,<-4.865,-2.343,-1>,<0.9009689,0.4338837,0>,<-4.865,-2.343,-1> HIT/BASIC,<-1.202,-5.265,-1>,<0.2225209,0.9749279,0>,<-1.202,-5.265,-1> HIT/BASIC,<3.367,-4.222,-1>,<-0.6234898,0.7818315,0>,<3.367,-4.222,-1> ENDMEAS/ SLTR1 =FEAT/CONTACT/ROUND SLOT/DEFAULT,CARTESIAN,IN THEO/<-172,0,0>,<0,0,1>,<0,-1,0>,8.2,12.7 ACTL/<-172,0,0>,<0,0,1>,<0,-1,0>,8.2,12.7 TARG/<-172,0,0>,<0,0,1>,<0,-1,0> MEAS ANGLE=90 SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES NUMHITS=6,DEPTH=1 SAMPLE METHOD=SAMPLE_HITS SAMPLE HITS=0,SPACER=0 AVOIDANCE MOVE=NO,DISTANCE=10 FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO SHOW HITS=YES HIT/BASIC,<-174.899,5.149,-1>,<0.7071068,-0.7071068,0>,<-174.899,5.149,-1> HIT/BASIC,<-172,6.35,-1>,<0,-1,0>,<-172,6.35,-1> HIT/BASIC,<-169.101,5.149,-1>,<-0.7071068,-0.7071068,0>,<-169.101,5.149,-1> HIT/BASIC,<-169.101,-5.149,-1>,<-0.7071068,0.7071068,0>,<-169.101,-5.149,-1> HIT/BASIC,<-172,-6.35,-1>,<0,1,0>,<-172,-6.35,-1> HIT/BASIC,<-174.899,-5.149,-1>,<0.7071068,0.7071068,0>,<-174.899,-5.149,-1> ENDMEAS/ LIN1 =FEAT/LINE,CARTESIAN,UNBOUNDED,NO THEO/<-172,0,0>,<1,0,0> ACTL/<-172,0,0>,<1,0,0> CONSTR/LINE,BF,2D,SLTR1,CIR1,, OUTLIER_REMOVAL/OFF,3 FILTER/OFF,WAVELENGTH=0 A1 =ALIGNMENT/START,RECALL:STARTUP,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN1 ALIGNMENT/ROTATE,XPLUS,TO,LIN1,ABOUT,ZPLUS ALIGNMENT/TRANS,XAXIS,CIR1 ALIGNMENT/TRANS,YAXIS,CIR1 ALIGNMENT/TRANS,ZAXIS,PLN1 ALIGNMENT/END PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN THEO/<-125.758,-46.776,10.939>,<0,-0.984257,0.1767432> ACTL/<-125.758,-46.776,10.939>,<0,-0.984257,0.1767432> TARG/<-125.758,-46.776,10.939>,<0,-0.984257,0.1767432> SNAP=NO SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES AVOIDANCE MOVE=NO,DISTANCE=10 SHOW HITS=YES HIT/BASIC,<-125.758,-46.776,10.939>,<0,-0.984257,0.1767432>,<-125.758,-46.776,10.939> ENDMEAS/ A2 =ALIGNMENT/START,RECALL:A1,LIST=YES ALIGNMENT/TRANS_OFFSET,ZAXIS,1.5 ALIGNMENT/END