[Um...] Posted June 24, 2020 Share Posted June 24, 2020 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 More sharing options...
[Er...] Posted June 24, 2020 Share Posted June 24, 2020 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52668 Share on other sites More sharing options...
[Um...] Posted June 24, 2020 Author Share Posted June 24, 2020 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52670 Share on other sites More sharing options...
[Er...] Posted June 24, 2020 Share Posted June 24, 2020 Ja, allt med datum är trasigt när man kör på svenska. Använd bara date() istället då. Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52672 Share on other sites More sharing options...
[Is...] Posted June 24, 2020 Share Posted June 24, 2020 ... Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52674 Share on other sites More sharing options...
[Um...] Posted June 24, 2020 Author Share Posted June 24, 2020 Israel and Eric, Thank you both. /Anders Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52676 Share on other sites More sharing options...
[Is...] Posted June 24, 2020 Share Posted June 24, 2020 ... Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52678 Share on other sites More sharing options...
[Da...] Posted December 8, 2021 Share Posted December 8, 2021 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52680 Share on other sites More sharing options...
[Is...] Posted December 8, 2021 Share Posted December 8, 2021 ... Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52682 Share on other sites More sharing options...
[Da...] Posted December 8, 2021 Share Posted December 8, 2021 I have got something similar and it is working perfect however I would like this to be in shared excel file so my manager can see it. Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52684 Share on other sites More sharing options...
[Is...] Posted December 8, 2021 Share Posted December 8, 2021 ... Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52686 Share on other sites More sharing options...
[Da...] Posted December 9, 2021 Share Posted December 9, 2021 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52688 Share on other sites More sharing options...
[Is...] Posted December 10, 2021 Share Posted December 10, 2021 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52690 Share on other sites More sharing options...
[Da...] Posted January 20, 2022 Share Posted January 20, 2022 Hi Israel, Do you know how can I control the cells in excel ? If I would like to put them in that format ? 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 https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52692 Share on other sites More sharing options...
[Is...] Posted February 11, 2022 Share Posted February 11, 2022 Please sign in to view this quote. in that case I develop in VB, however, I would invest that effort to convince my company to update Calypso instead. Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52694 Share on other sites More sharing options...
[Gu...] Posted March 10, 2022 Share Posted March 10, 2022 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) Link to comment https://qualityforum.zeiss.com/topic/10860-cmm-usage-with-pcm-file/#findComment-52696 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