Jump to content

CMM usage with PCM-file


Recommended Posts

Hello.

I am wondering if there is a “smart” way to be able to see the total cmm usage per day with PCM. What I mean is that I would like there to be a general file in a specific location and the information should contain plan name, date and runtime of the program in hour:min:sec.

The name of the outputfile should be machine specific as we have different cmm:s (dmesn).

Example 1: Prismo machine #1234567

File name: X:\CmmTime\Prismo_1234567 with content like:

2020-06-24 Plan_name_1 00:45:10
2020-06-24 Plan_name_3 02:30:00
2020-06-28 Plan_name_10 00:15:10


Example 2: Accura machine #1118315

File name: X:\CmmTime\ Accura_1118315 with content like:

2020-06-23 Plan_name_7 00:40:10
2020-06-23 Plan_name_8 01:30:00


Thanks in advance,

/Anders
Link to comment
https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/
Share on other sites

The absolute simplest way I think is adding this to your inspection_end_pcm.txt
addToFile("X:\CmmTime\"+baseSystem().machine.machineControl.configuration.machineType.asString+"_"+getRecordHead("dmesn"),date().asDate.shortPrintString+" "+baseSystem().machine.inspection.identifier+" "+getRecordHead("durationofrun"))
or somthing similar...
  • 1 year later...
This is brilliant and exactly what I was looking for. Thank you a lot.
The only one problem I found is that csv file cannot be opened because Calypso will not overwrite the file. I need to find the solutions for this. Maybe create another excel file and copy the data every 5s or something
  • 1 month later...
  • 3 weeks later...
  • 4 weeks later...
×
×
  • Create New...