Your Products have been synced, click here to refresh
C1 =COMMENT/YESNO,Run Manual Alignment?
IF_GOTO/C1.INPUT=="NO",GOTO = L1
F1 =FEAT/PLANE,RECT
THEO/15.0317,-19.4311,-17.3088,-0.0003581,-0.0177169,0.999843
ACTL/3.863,-18.5774,-17.2303,-0.0085609,-0.0024601,0.9999603
MEAS/PLANE,3
HIT/BASIC,14.4963,-19.556,-17.3112,-0.0003581,-0.0177169,0.999843,3.3072,-18.7043,-17.2354
HIT/BASIC,14.4965,-19.3689,-17.3079,-0.0003581,-0.0177169,0.999843,3.3074,-18.514,-17.2349
HIT/BASIC,16.1023,-19.3684,-17.3073,-0.0003581,-0.0177169,0.999843,4.974,-18.5129,-17.2206
ENDMEAS/
F2 =FEAT/LINE,RECT,UNBND
THEO/14.4062,-19.6311,-17.4194,0.9999983,-0.0018271,0
ACTL/3.2681,-18.7563,-17.2851,0.9998809,-0.0154331,0
MEAS/LINE,2,WORKPLANE
HIT/BASIC,14.4062,-19.6311,-17.4194,-0.0018271,-0.9999983,0,3.2679,-18.7563,-17.2851
HIT/BASIC,16.1373,-19.6343,-17.4195,-0.0018271,-0.9999983,0,5.0043,-18.7831,-17.2851
ENDMEAS/
F3 =FEAT/POINT,RECT
THEO/14.5718,-19.4765,-17.4179,1,0,0
ACTL/3.3903,-18.6441,-17.2851,0.9999991,0.0009556,0.0009556
MEAS/POINT,1
HIT/BASIC,14.5718,-19.4765,-17.4179,1,0,0,3.3903,-18.6441,-17.2851
ENDMEAS/
A0 =ALIGNMENT/START,RECALL:STARTUP, LIST= YES
ALIGNMENT/LEVEL,ZPLUS,F1
ALIGNMENT/ROTATE,XPLUS,TO,F2,ABOUT,ZPLUS
ALIGNMENT/TRANS,XAXIS,F3
ALIGNMENT/TRANS,YAXIS,F2
ALIGNMENT/TRANS,ZAXIS,F1
ALIGNMENT/END
MODE/DCC
L1 =LABEL/
Bill,
Here is what I do....
I use this all the time. I set the part up on my Rayco plate. I run the first one. Then tell the operator to always answer NO. The program goes right into the measurement stage (skips the section that is red). Is this what you were trying to say?
Another tip, if you are going to be using this on several programs, keep the wording the same so that when it pops up and they don't read it because they think they know what it says, you don't get called about a crash.
To carry this one step further:
I would like to output the Yes/No as a stat to WinSPC. I tried to do a second if/end if with a variable set to 0 or 1 depending on the answer. I made a constructed feature and put this variable in the Z-axis coordinate and then toleranced out the Z position of that feature. With the "no" answer being zero which would make the feature Out of Spec and the quality technician would have to assign a cause in our WinSPC software. The trouble is, it reads the last variable every time no matter what answer was selected.
C3 =COMMENT/YESNO,YES,Do all machine surfaces comply with surface finish standard? IF/C3.INPUT=="NO" COMMENT/OPER,YES,If machined surfaces do not comply with customer specifications, ,please indicate a cause and corrective action in WinSPC. ,Also include any Surface Test Results and Corrective and Quarateen actions. , ,If you need any assistance, please contact a Quality Tech. END_IF/ assign/v3 = C3.input If/v3=="yes" Assign/v4 = 0 End_if/ If/v3=="no" Assign/v4 = -1 End_if/ Surface Finish=feat/point,rect Theo/0,0,0,0,0,-1 Actl/0,0,0,0,0,-1 Constr/point,proj,origin,inletflange Surfacefinishvisual=feat/point,rect Theo/0,0,1,0,0,-1 Actl/0,0,-1,0,0,-1 Constr/point,offset,surface Finish,0,0,v4 Dim Surfacefinish= Location Of Point Surfacefinishvisual Units=mm ,$ Graph=off Text=off Mult=10.00 Output=both Ax Nominal +tol -tol Meas Dev [COLOR="Red"]Z 1.000 0.000 0.000 -1.000 -2.000 <--------[/COLOR] End Of Dimension Surfacefinish
© 2024 Hexagon AB and/or its subsidiaries. | Privacy Policy | Cloud Services Agreement |