[Sh...] Posted October 15, 2021 Share Posted October 15, 2021 We have revision warnings set up for Presettings in the PCM parameter and then we have absolute moves for the Post setting. It's highly annoying clicking through all the crap when I'm offline programming... Is there a quick way to turn it off? Deleting it out of the parameters window isn't working. We're using 2017 by the way. Link to comment Share on other sites More sharing options...
[Mi...] Posted October 15, 2021 Share Posted October 15, 2021 put them in an if statement dmesn = CMM serial number which shows up as 000000 when in simulation. if not(getRecordHead("dmesn") == 000000) **do stuff** endif or if you use a different Calypso user for programming vs running do that. if not(getRecordHead("operid") == "Master") **do stuff** endif Link to comment Share on other sites More sharing options...
[Sh...] Posted October 15, 2021 Author Share Posted October 15, 2021 So is there no way to just turn it off? I just want to program with nothing coming up via PCM... Link to comment Share on other sites More sharing options...
[Mi...] Posted October 15, 2021 Share Posted October 15, 2021 Not that I'm aware of, that's why we just surround the presettings and post settings with an if statement to prevent them working while we edit and test. For us its very simple as we use Master for editing and "Operator" for running, so my if statement just checks for the user "Operator" Link to comment Share on other sites More sharing options...
[Sh...] Posted October 15, 2021 Author Share Posted October 15, 2021 Ahhh got ya, I tried the master statement but it didn't work. I'm not sure what I'm doing wrong. Link to comment Share on other sites More sharing options...
[Je...] Posted November 11, 2021 Share Posted November 11, 2021 Shawn, you can use a conditional statement to turn sections off via PCM itself (as Michael stated), there are numerous ways but my preference is; if getRunMode("simulation") == false then //all your PCM you don't want to compute during simulation endif As a side note, turning off the PCM license will not disable PCM. Only access to the text that exists. Link to comment Share on other sites More sharing options...
[Ad...] Posted November 22, 2021 Share Posted November 22, 2021 Hi Guys, If you use Subsequent evaluation for executing the program to re-evaluate data, it will not execute any CMM control related PCM commands. Could be of some help. 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