Jump to content

CMM usage with PCM-file


---
 Share

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
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...
Link to comment
Share on other sites

Eric,

Thanks a lot. It seems to be working when I run Calypso in English, but in Swedish I have an error, see file. And I put the command in the post settings in the program.

Capture.JPG

Link to comment
Share on other sites

  • 1 year later...
I can't use the CMMObserver as we still use 5.4
Could someone help with the PCM code to show the below live on the screen ?

Current Part Number being inspected
ZEISS CALYPSO Measurement Plan
Start Time
Estimated End Time
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Please sign in to view this quote.




You always will find something to solve … There are more options with better possibilities, I send everything to SQL server then I can be creative with the data monitoring using VB.net:
Link to comment
Share on other sites

  • 1 month later...
Hi Israel,

Do you know how can I control the cells in excel ? If I would like to put them in that format ? 3414_392432bab56a50ac27175a84d1bbebcd.jpg
Would you be able to help with the 'program finished' section ?

Can I clear the excel spreadsheet when is done ?

Capture.JPG

Link to comment
Share on other sites

  • 3 weeks later...
  • 4 weeks later...
Not with PCM, but maybe also a solution?
In the "ProcessProtocl.ptx" you will find a "order list". You have filter, Time/Date, Status...
(You need CALYPSO Option PiWeb reporting plus, for more than 10 records) 882_e1e0fe4236bdb5fd366748cb6955a21a.jpg
Link to comment
Share on other sites

 Share

×
×
  • Create New...