[Pa...] Posted July 17 Share Posted July 17 Is there a way to run a .xml that can read the number of decimal places in the nominal and give the tolerance based off that value? Example conditions below: 3 place decimals: +/-.005 2 place decimals: +/-.01 Angles: +/- 1.0 1 Link to comment Share on other sites More sharing options...
[Ri...] Posted July 17 Share Posted July 17 Anything is possible with PCM. 🙂 1 Link to comment Share on other sites More sharing options...
[Pa...] Posted 12 hours ago Author Share Posted 12 hours ago Is there a way to do this through a .xml or .tol file though? I do not have a PCM license, and my production floor cannot run PCM. Link to comment Share on other sites More sharing options...
[Ma...] Posted 11 hours ago Share Posted 11 hours ago Through tolerance selection it's not possible. You are defining only range of nominal and it will give you the tolerance, it's not reading how many decimals there are. Only PCM or a parser of "inspection" file and do changes outside Calypso. Link to comment Share on other sites More sharing options...
[Ri...] Posted 7 hours ago Share Posted 7 hours ago (edited) Please sign in to view this quote. You may be able to do this with basic PCM code. If you have access to the PCM Presetting's, you can add code. In my example I placed information that does nothing so I can edit on seats that do not have a PCM license and no access to Presetting's. Then I edit the "inspset" file. Search for my code words "This is your PCM Code" I can then edit the roughly 50 lines I added as needed with PCM. I have not delved into the exact code, but you would basically have to establish variables for your tolerances. example: (You may have to declare your variables) Dec2plcs=0.010 Dec3plcs=0.005 Dec4plcs=0.001 Degang=1 Then in the characteristic. Upper Tol. use Formula and add "Dec2plcs" Lower Tol. use Formula with a negative sign "-Dec2plcs" And so on for three places, four places and Angles. I can now use this file on a non-licensed PCM seat. (The injected Code needs to be injected within a licensed PCM seat). Where to add PCM code in the file when you have no PCM License, Presetting I am not sure. Ignore the dmesn line, I was testing something and should have removed it. Edited 7 hours ago Link to comment Share on other sites More sharing options...
[DW...] Posted 4 hours ago Share Posted 4 hours ago Please sign in to view this quote. Please sign in to view this username. I am confused. Are you asking if you can use an XML file to automatically adjust the tolerance of a characteristic inside Calypso? 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