Jump to content

Decimal Based Tolerancing


---
 Share

Recommended Posts

---

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
  • Like! 1
Link to comment
Share on other sites

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

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.

 

 

PCM PreSettings.jpg

inspset file.jpg

Screenshot 2026-07-23 130726.jpg

inspeset file edited.jpg

Edited
Link to comment
Share on other sites

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

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

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

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

 Share

×
×
  • Create New...