Jump to content

Turn off for simulation


---
 Share

Recommended Posts

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

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

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

  • 4 weeks later...
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

  • 2 weeks later...
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

 Share

×
×
  • Create New...