[Sh...] Posted March 22 Share Posted March 22 Not sure what's going on but I'm seeing this when trying to use Result Element for probe info...PLS HELP Link to comment Share on other sites More sharing options...
[Ju...] Posted March 22 Share Posted March 22 What unit is that number? Nanometers? Link to comment Share on other sites More sharing options...
[Sh...] Posted March 22 Author Share Posted March 22 Please sign in to view this quote. Not sure, never seen it. Link to comment Share on other sites More sharing options...
[Mi...] Posted March 22 Share Posted March 22 what happens if you put that same code in the pre or post settings of the program or feature? or change the program to mm? or change the result element from "Length" to "Number"? or use the code to pull from a different probe? Also, is it really "Master Probe"? all of mine are "MasterProbe" Link to comment Share on other sites More sharing options...
[Ri...] Posted March 22 Share Posted March 22 That value is typical of an error in the PCM you are using. Try this: getProbe("MasterProbe","1").stdProbeDev/25.4 The above is the format we are using v2022. Link to comment Share on other sites More sharing options...
[Je...] Posted March 22 Share Posted March 22 Please sign in to view this quote. Syntax error getProbe("1","MasterProbe").stdProbeDev You have a space between "Master" and "Probe". This is invalid and the reason for the improper reporting value. If you are ever unsure of your stylus reference formulas, change the stylus to active (simulation or CNC, doesn't matter) and use getProbe().`instance variable` but leave the ident/name area blank to query the active system. getProbe().ident or getProbe().probeName or getProbe().probeIdent = individual stylus name/number getProbe().confName = stylus system/configuration name The rest of the syntax you have is correct. getProbe("ident","confName").stdProbeDev Please sign in to view this quote. This syntax is invalid in all CALYPSO versions up through 2023 and will produce an error. Link to comment Share on other sites More sharing options...
[Sh...] Posted March 22 Author Share Posted March 22 Thanks guys! Both suggestions from Jeff & Rich were the solutions. I hadn't done this in ages and the last time I remember doing it the Stylus System was first and then the Stylus was second. Deleting the space in between Master Probe worked as well. When and why in the heck would they change those things? Link to comment Share on other sites More sharing options...
[Ri...] Posted March 22 Share Posted March 22 Per the PCM code example it is Stylus Name first then Stylus System Name. getProbe("1","MasterProbe").stdProbeDev getProbe("MasterProbe","1").stdProbeDev Link to comment Share on other sites More sharing options...
[He...] Posted March 22 Share Posted March 22 Calypsos standard response for errors wneh not running CNC is 9999. 9999 mm is equal to 393.6614173 inch. In other words there is something wrong with the syntax. If you were to run the program in CNC mode you would get an error message instead of 9999. 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