[To...] Posted yesterday at 01:33 PM Share Posted yesterday at 01:33 PM (edited) I'm measuring a turbine blade with 17 blades but I can only measure 1 blade at a time with VAST sensor. Based on which blade I am checking, I rotate the part so the timing slot is at the correct rotation. My base alignment picks up the spatial, X, Y and Z origin but not the planar. I use a secondary alignment to pick up the timing slot for the planar rotation. I am using a formula to determine which blade is being measured. So, for each new blade, I open the secondary alignment and edit the number in the formula to select which blade I am checking. In the picture below, the "11" is for blade3. I'm looking for suggestions for a prompt where I can enter the blade I want to check and have pcm edit the formula in the secondary alignment to run the appropriate blade. Blade Formula number 1 9 2 10 3 11 . . . 15 6 16 7 17 8 Edited yesterday at 01:37 PM Link to comment Share on other sites More sharing options...
[Cl...] Posted 23 hours ago Share Posted 23 hours ago (edited) If I'm understanding you correctly, I think this should work. I'm no PCM expert. Below goes into the Presettings. Create a .para file with the formula number for each blade, e.g. (Blade_3 = the formula here) Blade_Number = inquireList("Which Blade are you measuring?", "Blade_1", "Blade_2", "Blade_3") selectCase Blade_Number case "Blade_3" readPCMFile(dir + "\Blade_3.PARA") endSelect Edited 23 hours ago 1 Link to comment Share on other sites More sharing options...
[Je...] Posted 10 hours ago Share Posted 10 hours ago I would do it like Clarke, but a bit easier: Blade_Number = inquireList("Which Blade are you measuring?", "Blade_1", "Blade_2", "Blade_3",...) selectCase Blade_Number case "Blade_3" vX=11 case "Blade_4" vX=12 endSelect Then replace the 11 in your formula with the variable vX 1 Link to comment Share on other sites More sharing options...
[To...] Posted 4 hours ago Author Share Posted 4 hours ago Please sign in to view this username. Please sign in to view this username. Exactly what I was looking for. Thank you. 1 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