[Ch...] Posted October 3, 2019 Share Posted October 3, 2019 Hi, I have a PCM questions for the gurus: I can't share drawing on this one, basically there is a Z linear intersection dimension from -A- surface to an assembled cylindrical OD pin (approx 0.300" Ø). The drawing specifies this angle, not as a basic but rather REF in parenthesis. The Engineer has decided on using the "actual" measured angle of the pin for the basic/reference angle. However, when this falls out of the ± .020" linear intersection tolerance, he says using the reference angle (13.367°) is acceptable. I have a secondary alignment now that uses a formula to rotate the actual pin angle. If it is out, myself or an operator sets it to basic and re-evaluates. Yes, I would love them to stop flip-flopping and decide on a value, I've helped them realize why this pin angle is always considerably far from nominal/reference. In the meantime, I'm looking to use PCM to : if either one is in tolerance, include it in the custom printout, if one is good, other is bad, mask the bad one, or possibly some other workaround. I know how to get tolerance state, I don't find any settings to mask any characteristics. Love to hear you thoughts, Thanks everyone. Link to comment Share on other sites More sharing options...
[Ke...] Posted October 4, 2019 Share Posted October 4, 2019 UniqueVAR=text(getActual("ORIGINAL MEASUREMENT NAME").toleranceState) UniqueVAR=="outOfTolerance" Try this: 1) Copy your characteristic and paste it underneath the original. 2) Mark the original by going to Resources-->Characteristic Settings Editor. 3) In the top dropdown of the window that appears, select "Printout" 4) Scroll down the list and select "Mark" 5) Turn "Mark" on for ORIGINAL characteristic only! 6) Copy the first line of code into the PREsettings of the copied characteristic. Note: the UniqueVAR variable needs to be named different for each characteristic this is done to! Also, the "ORIGINAL MEASUREMENT NAME" is where you type the name of the characteristic that you marked. 7) Right click on the copied characteristic and select "Condition" 8) Copy the second line of code into the formula field of the condition. 9) Unselect the "End Program" option. 10) Finally, go to the multiple printout icon and make sure that the selection "Hide" is checked! If you do this for each characteristic, I believe you will get what you are asking for! Regards, Keith Link to comment Share on other sites More sharing options...
[Ch...] Posted October 4, 2019 Author Share Posted October 4, 2019 Keith, Very clever. I was experimenting with condition. Some of this seems like a stretch, for example the multiple printout, I don't use multiple only custom currently, but I assume this "hides", so it does not print multiple reports. Also you mention at the very end do this for each characteristic, you mean just the 2, the original and copied, correct? Will it matter that the 2 characteristics will be analyzing different features. The first is the pins actual angle orientation, the second is with the pin at basic reference angle. I'll try this and report back. Thank you so much. Happy Measuring !! Link to comment Share on other sites More sharing options...
[Ke...] Posted October 4, 2019 Share Posted October 4, 2019 Christopher, You can use multiple printouts, and still only have it use your Custom Printout! You just need to select "Default Presentation Printout" in the top dropdown, then "Custom Printout" in the second dropdown. See below. Yes, you can do this with multiple features! That is actually what I meant when I stated that you can do this for each characteristic. You can indeed set up each Dimension in this way, so that any dim that measures bad will not be included in the printout. Below is a screenshot of where I did 2 separate Dimensions. If the 1st Dim (Diameter1) measures good, it will report only report "Diameter1_Copied" on the report. If this measures bad, it does not get included. Same goes for the "Diameter Bad" dimension. These screenshots show running it with 1 good and 1 bad dim, and also running it while both dims measure good. Finally, to clarify what I said earlier, only the dimensions with "conditions" get the PCM coding. Cheers Link to comment Share on other sites More sharing options...
[Ke...] Posted October 4, 2019 Share Posted October 4, 2019 Also, the multiple printouts window gives you the ability to do multiple, but it is not necessary. As long as you only have the Custom Printout on the list (within the Multiple Printouts window), then you only get the one printout! Selecting the "hide" option on the multiple printouts window only hides the dimensions that you Marked from the printout! Keith Link to comment Share on other sites More sharing options...
[De...] Posted October 4, 2019 Share Posted October 4, 2019 Could probably do this by making a result element that was always included in the report, then have the value of result be a variable. Create both characteristics, mark them both to not show up on the report. Use PCM to set a variable with the correct answer based on tolerance state. Have a result element that is always reported which reports the value of the variable. I think this should accomplish what you were asking for. Link to comment Share on other sites More sharing options...
[Ch...] Posted October 4, 2019 Author Share Posted October 4, 2019 Sounds good bro, I'll keep that for plan B.... Busy at the moment but will definitely try these. Thanks everyone. Link to comment Share on other sites More sharing options...
[Ch...] Posted October 8, 2019 Author Share Posted October 8, 2019 Just want to say thanks to everyone. I got it to work how we needed it. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in