Hi everybody, This is my first post here and im a newbie so be gentle!
I am using a trimek spark circa 2001 cmm with pcdmis++ 3.7 mr4 on windows xp sp3
Im trying to create a manual alignment followed by a dcc alignment so that I can scan in a 3d surface on a part.
I have successfully done this before but I am running into a problem with this particular part which I can't figure out on my own, my method hasn't changed from previous parts but the machine isn't behaving as I would expect.
I run my manual alignment by taking three auto vector points and creating the top plane using constructed plane, then I take two points on the back of the part using auto line, and finally a single point on the end of the part using auto vector point. I create my alignment and everything looks great with the cpl in the correct location and orientation.
then I enable dcc mode and copy and paste the manual alignment to the dcc section of the program, add some dcc moves in, change the names of each feature, hit run. At this point it usually works fine for me, but in this case the dcc moves act like the part is rotated about 30 degrees about z which makes it miss the part after the first hit on the top plane even though it looks like its in the correct location in the graphic display window. I have tried taking manual points instead of auto points and constructing my to plane for the dcc alignment to see what would happen but i keep winding up with the same result. I am stumped, what am I doing wrong?
here is my code
STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
I am using a trimek spark circa 2001 cmm with pcdmis++ 3.7 mr4 on windows xp sp3
Im trying to create a manual alignment followed by a dcc alignment so that I can scan in a 3d surface on a part.
I have successfully done this before but I am running into a problem with this particular part which I can't figure out on my own, my method hasn't changed from previous parts but the machine isn't behaving as I would expect.
I run my manual alignment by taking three auto vector points and creating the top plane using constructed plane, then I take two points on the back of the part using auto line, and finally a single point on the end of the part using auto vector point. I create my alignment and everything looks great with the cpl in the correct location and orientation.
then I enable dcc mode and copy and paste the manual alignment to the dcc section of the program, add some dcc moves in, change the names of each feature, hit run. At this point it usually works fine for me, but in this case the dcc moves act like the part is rotated about 30 degrees about z which makes it miss the part after the first hit on the top plane even though it looks like its in the correct location in the graphic display window. I have tried taking manual points instead of auto points and constructing my to plane for the dcc alignment to see what would happen but i keep winding up with the same result. I am stumped, what am I doing wrong?
here is my code
STARTUP =ALIGNMENT/START,RECALL:, LIST= YES
ALIGNMENT/END
MODE/MANUAL
LOADPROBE/IVAN
TIP/T1A0B0, SHANKIJK=0.146, 0.854, 0.5, ANGLE=-73.675
FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
PNT1-M =AUTO/VECTOR POINT,SHOWALLPARAMS = YESMODE/MANUAL
LOADPROBE/IVAN
TIP/T1A0B0, SHANKIJK=0.146, 0.854, 0.5, ANGLE=-73.675
FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
THEO/56.356,-93.298,-9.769,1,0,0
ACTL/-197.193,-571.102,-3.605,0.1464466,0.8535534,0.5
TARG/56.356,-93.298,-9.769,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PNT2-M =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/-197.193,-571.102,-3.605,0.1464466,0.8535534,0.5
TARG/56.356,-93.298,-9.769,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/56.356,-13.989,-10.954,1,0,0
ACTL/-268.323,-583.323,38.074,0.1464466,0.8535534,0.5
TARG/56.356,-13.989,-10.954,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PNT3-M =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/-268.323,-583.323,38.074,0.1464466,0.8535534,0.5
TARG/56.356,-13.989,-10.954,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/56.356,-10.002,-37.161,1,0,0
ACTL/-281.158,-570.666,20.24,0.1458088,0.8523853,0.5021743
TARG/56.356,-10.002,-37.161,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PLN1-M =FEAT/PLANE,RECT,TRIANGLEACTL/-281.158,-570.666,20.24,0.1458088,0.8523853,0.5021743
TARG/56.356,-10.002,-37.161,1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/56.356,-39.096,-19.295,1,0,0
ACTL/-248.891,-575.03,18.236,0.1464864,0.8534094,0.500234
CONSTR/PLANE,BF,PNT1-M,PNT2-M,PNT3-M,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
LIN1-M =AUTO/LINE,SHOWALLPARAMS = YES,SHOWHITS = YESACTL/-248.891,-575.03,18.236,0.1464864,0.8534094,0.500234
CONSTR/PLANE,BF,PNT1-M,PNT2-M,PNT3-M,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
THEO/56.356,-84.052,0,-25.381,77.787,0,174.382
ACTL/-196.396,-579.783,1.426,-268.576,-592.168,1.426,73.2348958
TARG/56.356,-84.052,0,23.34,-18.681,0
ACTL_THICKNESS = 0,RECT,BND,ONERROR = NO,$
AUTO MOVE = NO,DISTANCE = 4,RMEAS = None,None,None,$
NUMHITS = 2,DEPTH = 0,$
EDGE VEC = 0.9597308,0,-0.2809212
MEAS/LINE
HIT/BASIC,56.356,-84.052,0,0.96,0,-0.281,-196.4,-579.784,1.429
HIT/BASIC,-22.258,71.604,0,0.96,0,-0.281,-268.607,-592.174,43.702
ENDMEAS/
PNT4-M =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/-196.396,-579.783,1.426,-268.576,-592.168,1.426,73.2348958
TARG/56.356,-84.052,0,23.34,-18.681,0
ACTL_THICKNESS = 0,RECT,BND,ONERROR = NO,$
AUTO MOVE = NO,DISTANCE = 4,RMEAS = None,None,None,$
NUMHITS = 2,DEPTH = 0,$
EDGE VEC = 0.9597308,0,-0.2809212
MEAS/LINE
HIT/BASIC,56.356,-84.052,0,0.96,0,-0.281,-196.4,-579.784,1.429
HIT/BASIC,-22.258,71.604,0,0.96,0,-0.281,-268.607,-592.174,43.702
ENDMEAS/
THEO/46.438,-100.013,-6.171,0,-1,0
ACTL/-190.759,-576.023,-9.072,0.854422,0.1455765,-0.4987691
TARG/46.438,-100.013,-6.171,0,-1,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
A0 =ALIGNMENT/START,RECALL:STARTUP, LIST= YESACTL/-190.759,-576.023,-9.072,0.854422,0.1455765,-0.4987691
TARG/46.438,-100.013,-6.171,0,-1,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
ALIGNMENT/LEVEL,ZPLUS,PLN1-M
ALIGNMENT/TRANS,ZAXIS,PLN1-M
ALIGNMENT/ROTATE,XPLUS,TO,LIN1-M,ABOUT,ZPLUS
ALIGNMENT/TRANS,YAXIS,LIN1-M
ALIGNMENT/TRANS,XAXIS,PNT4-M
ALIGNMENT/END
MODE/DCC
COMMENT/OPER,NO,DCC MOVES BEGINNING!
MOVE/POINT,NORMAL,-8.5,-17.792,15.013
PNT1 =AUTO/VECTOR POINT,SHOWALLPARAMS = YESALIGNMENT/TRANS,ZAXIS,PLN1-M
ALIGNMENT/ROTATE,XPLUS,TO,LIN1-M,ABOUT,ZPLUS
ALIGNMENT/TRANS,YAXIS,LIN1-M
ALIGNMENT/TRANS,XAXIS,PNT4-M
ALIGNMENT/END
MODE/DCC
COMMENT/OPER,NO,DCC MOVES BEGINNING!
MOVE/POINT,NORMAL,-8.5,-17.792,15.013
THEO/6.715,-9.769,0,0,0,1
ACTL/6.717,-9.772,0,0,0,1
TARG/6.715,-9.769,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PNT2 =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/6.717,-9.772,0,0,0,1
TARG/6.715,-9.769,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/82.332,-9.204,0,0,0,1
ACTL/82.332,-9.204,0,0,0,1
TARG/82.332,-9.204,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PNT3 =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/82.332,-9.204,0,0,0,1
TARG/82.332,-9.204,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/90.011,-37.161,0,0,0,1
ACTL/94.993,-7.604,0,0.0011743,0.0019733,0.9999974
TARG/90.011,-37.161,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
PLN1 =FEAT/PLANE,RECT,TRIANGLEACTL/94.993,-7.604,0,0.0011743,0.0019733,0.9999974
TARG/90.011,-37.161,0,0,0,1
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
THEO/59.686,-18.711,0,0,0,1
ACTL/61.347,-8.86,0,-0.0000038,0.0000304,1
CONSTR/PLANE,BF,PNT1,PNT2,PNT3,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
LIN1 =AUTO/LINE,SHOWALLPARAMS = YES,SHOWHITS = YESACTL/61.347,-8.86,0,-0.0000038,0.0000304,1
CONSTR/PLANE,BF,PNT1,PNT2,PNT3,,
OUTLIER_REMOVAL/OFF,3
FILTER/OFF,WAVELENGTH=0
THEO/15.961,0,0,177.8,0,-81.737,174.382
ACTL/8.26,1.13,-4.775,77.644,-8.975,-25.918,73.2348958
TARG/15.961,0,0,81.332,0,-33.016
ACTL_THICKNESS = 0,RECT,BND,ONERROR = NO,$
AUTO MOVE = NO,DISTANCE = 4,RMEAS = None,None,None,$
NUMHITS = 2,DEPTH = 0,$
EDGE VEC = 0,-0.2809212,0.9597308
MEAS/LINE
HIT/BASIC,15.961,0,0,0,-0.281,0.96,8.265,1.131,-4.775
HIT/BASIC,171.617,0,-78.614,0,-0.281,0.96,89.179,25.772,-4.78
ENDMEAS/
PNT4 =AUTO/VECTOR POINT,SHOWALLPARAMS = YESACTL/8.26,1.13,-4.775,77.644,-8.975,-25.918,73.2348958
TARG/15.961,0,0,81.332,0,-33.016
ACTL_THICKNESS = 0,RECT,BND,ONERROR = NO,$
AUTO MOVE = NO,DISTANCE = 4,RMEAS = None,None,None,$
NUMHITS = 2,DEPTH = 0,$
EDGE VEC = 0,-0.2809212,0.9597308
MEAS/LINE
HIT/BASIC,15.961,0,0,0,-0.281,0.96,8.265,1.131,-4.775
HIT/BASIC,171.617,0,-78.614,0,-0.281,0.96,89.179,25.772,-4.78
ENDMEAS/
THEO/0,-6.171,-9.918,-1,0,0
ACTL/0,-8.166,-5.992,-0.9570747,-0.2898414,-0.0001037
TARG/0,-6.171,-9.918,-1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
A1 =ALIGNMENT/START,RECALL:STARTUP, LIST= YESACTL/0,-8.166,-5.992,-0.9570747,-0.2898414,-0.0001037
TARG/0,-6.171,-9.918,-1,0,0
ACTL_THICKNESS = 0,RECT,SNAP = NO,$
AUTO MOVE = NO,DISTANCE = 4
ALIGNMENT/LEVEL,ZPLUS,PLN1
ALIGNMENT/TRANS,ZAXIS,PLN1
ALIGNMENT/ROTATE,XPLUS,TO,LIN1,ABOUT,ZPLUS
ALIGNMENT/TRANS,YAXIS,LIN1
ALIGNMENT/TRANS,XAXIS,PNT4
ALIGNMENT/END
ALIGNMENT/TRANS,ZAXIS,PLN1
ALIGNMENT/ROTATE,XPLUS,TO,LIN1,ABOUT,ZPLUS
ALIGNMENT/TRANS,YAXIS,LIN1
ALIGNMENT/TRANS,XAXIS,PNT4
ALIGNMENT/END