[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 yesterday at 12:45 PM Author Share Posted yesterday at 12:45 PM 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 yesterday at 01:05 PM Share Posted yesterday at 01:05 PM 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 20 hours ago Share Posted 20 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 20 hours ago Link to comment Share on other sites More sharing options...
[DW...] Posted 17 hours ago Share Posted 17 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...
[Ri...] Posted 2 hours ago Share Posted 2 hours ago Please sign in to view this quote. I am not sure about using an xml file, but we do change probes, styli tips, coordinates, nominals, tolerances, scan speeds, density of scans all on the fly using an xlxs file and a custom interface that reads from the xlxs file to create the para file which is read into the program at run start. As an example, for one family of parts this xlxs file covers about 30-part numbers with varying sizes in all axis. Link to comment Share on other sites More sharing options...
[Pa...] Posted 2 hours ago Author Share Posted 2 hours ago Please sign in to view this username. Yes. I saw a forum thread about creating custom ranges for tolerancing (linked below) and wanted to see if anyone had dealt with custom decimal tolerancing. A lot of the prints I deal with has a decimal based global tolerance. Ideally, I would like to use a .xml or .tol file I can imbed into the CMM tolerance drop down. Custom tolerance bands: https://qualityforum.zeiss.com/migration/images/872_470e6c5cb2d0d776a844b7dc4be53f1d.pdf Link to comment Share on other sites More sharing options...
[Ma...] Posted 1 hour ago Share Posted 1 hour ago But they are still for manual selection - it won't select +- 0,05 tolerance when nominal is x.0x. It works like ISO-2768 with tiers or like tolerated distance - example H8 tier - now table for from-to size will have that tolerance. But you can write a formula which would do that and place it to all upper and lower tolerances. In general - check nominal value as string - get number of characters after decimal point and report as tolerance value. All this can be editable in that editor for mass edition ( show formulas ) 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