Code:
A15 =ALIGNMENT/START,RECALL:A10,LIST=YES ALIGNMENT/LEVEL,ZPLUS,PLN4 ALIGNMENT/TRANS,ZAXIS,PLN4 ALIGNMENT/END A16 =ALIGNMENT/START,RECALL:A15,LIST=YES ALIGNMENT/BF2D,ZPLUS,LEASTSQR,CREATE WEIGHTS=NO,ROTANDTRANS,USE SCALING=YES,-0.044,0.343,0,0.233,0.9988976 SHOWALLINPUTS=NO,SHOWALLPARAMS=NO ALIGNMENT/END PREHIT/ 1 RETRACT/ 1 SCN27 =FEAT/SCAN,LINEAROPEN,SHOWHITS=NO,SHOWALLPARAMS=YES EXEC MODE=DEFINED, NOMS MODE=FIND NOMS,CLEARPLANE=NO,SINGLE POINT=NO,THICKNESS=0 FINDNOMS=2,SELECTEDONLY=YES,USEBESTFIT=NO,PROBECOMP=YES,AVOIDANCE MOVE=NO,DISTANCE=0,CAD Compensation=NO DIR1=NULLFILTER, HITTYPE=VECTOR INITVEC=-0.2249569,-0.9743687,0 DIRVEC=0.9743687,-0.224957,0 CUTVEC=0,0,1 ENDVEC=0.2249569,0.9743687,0 PLANEVEC=0.9743687,-0.2249569,0 POINT1=-82.205,40.898,-2 POINT2=-120.026,-42.922,-2 MEAS/SCAN BASICSCAN/LINE,SHOWHITS=NO,SHOWALLPARAMS=YES <-82.205,40.898,-2>,<-120.026,-42.922,-2>,CutVec=0,0,1,DirVec=0.9743687,-0.2249569,0 InitVec=-0.2249569,-0.9743687,0,EndVec=0.2249569,0.9743687,0,THICKNESS=0 FILTER/NULLFILTER, EXEC MODE=DEFINED BOUNDARY/PLANE,<-120.026,-42.922,-2>,PlaneVec=0.9743687,-0.2249569,0,Crossings=1 HITTYPE/VECTOR NOMS MODE=FINDNOMS,2 ENDSCAN ENDMEAS/ PREHIT/ 0.5 RETRACT/ 0.5
Not sure exactly what is going wrong here. Ctrl-E to the move point just before the alignments, then Ctrl-E on SCN27 and the machine will execute both commands just fine, no errors.
If I execute the entire program though (and without moving the part) then the program crashes into the part on this scan.
I'd almost have to guess that PCDMIS possibly is ignoring the alignment shown in this code segment. (But only during Run-Time)
I think I also noticed some small degree of transformation error between recalled external alignments between two programs also?
One more oddness is that all of my Operator comments keep popping up after any 2DBF alignment executes anywhere in my program. But for this particular probe crash the Comment bug doesnt pop up before it trys to execute SCN27.
I got enough part deviation from the cad to notice when alignments dont work right before measuring the features.
Comment