Hi,
I was wondering if anyone out has an example of checking how many days have elapsed since tip calibration was last performed? Basically I was thinking of using the PROBEDATA("DATE", ) and SYSTEMDATE() commands to find the calibration date and current date but then I'm not sure how to go about getting the difference. I did this in the past using VB in a MeasureMax program but VB had a built in command to get the difference.
I know I can set the number of days within the probe calibration window but this is for a shop floor machine and I want something that will abort the part program and force them to run the tip calibration program before they can continue. I am under the impression that the PC-DMIS function just issues a warning but they could go ahead and continue running the program.
I thought somebody had recently posted what I am looking for but after searching for two days I still haven't found anything. Any help would be greatly appreciated.
I was wondering if anyone out has an example of checking how many days have elapsed since tip calibration was last performed? Basically I was thinking of using the PROBEDATA("DATE", ) and SYSTEMDATE() commands to find the calibration date and current date but then I'm not sure how to go about getting the difference. I did this in the past using VB in a MeasureMax program but VB had a built in command to get the difference.
I know I can set the number of days within the probe calibration window but this is for a shop floor machine and I want something that will abort the part program and force them to run the tip calibration program before they can continue. I am under the impression that the PC-DMIS function just issues a warning but they could go ahead and continue running the program.
I thought somebody had recently posted what I am looking for but after searching for two days I still haven't found anything. Any help would be greatly appreciated.
Comment