Jump to content

Do parametric programs require PCM?


Recommended Posts

I have two simple programs I run that informs me if I have a measuring issue. I generally test once a week.
To use this on other CMMs I need to enter the Radius value of the Reference Sphere per CMM.
I would like to load the Radius values prior to running the program and not have to edit the features manually.

Can I prompt the user for a Radius value, pass it to the features and not have PCM?
Link to comment
https://qualityforum.zeiss.com/topic/9334-do-parametric-programs-require-pcm/
Share on other sites

you can read out the radius of your sphere.

Take a txt-file in your inspection direction (I named it "Referenzkugel_abfragen.txt") with the line

"RadiusRef=getParameterNamed(baseSystem().machine.sDO.tco.tcoSphereMgmt.GetAllReferenceSpheres,1).Radius"

then add the following condition to your first characteristic

"setParameterNamed(strElement(1,"=",text(getTechnologySegment(readListFile(getActualInspectionDir()+"\Referenzkugel_abfragen.txt"),1))),compute(strElement(2,"=",getTechnologySegment(readListFile(getActualInspectionDir()+"\Referenzkugel_abfragen.txt"),1))))==0"

and set it to "No".

Now you have a variable named "RadiusRef" with the actual radius that you can use 🙂

Important: no quotation marks
×
×
  • Create New...