Recently i discovered that some of our operators have been cancelling the run on their parts to avoid having a failing report saved to our network, therefore eliminating the need for extra inspection of bad product. Is there anyone out there who might know of a way to have the report still automatically generated and saved if the program is cancelled mid run? The answer feels like no but I'm holding on to hope!
Automatic report output if program run is cancelled
Collapse
X
-
One way I know how to do this is with Datapage. Do you have datapage? However you would have to go review it, It wouldn't notify you immediately.
OR maybe you save to a .csv file right after very dimension,
OR maybe you put all the dimensions at the end of the routine right before the print command so they don't have a chance to see the dimensions filling up the report as it runs?Last edited by acgarcia; 02-28-2020, 04:43 PM.
-
I do something like this:
ASSIGN/PRG_NAME=GETPROGRAMINFO("FILENAME")
ASSIGN/OUT_FILE=GETPROGRAMINFO("PARTPATH")+LEFT(PRG_NAME, LEN(PRG_NAME)-4)+"_CmmReport.pdf"
PRINT/REPORT,EXEC MODE=END,$
TO_FILE=ON,OVERWRITE=OUT_FILE,AUTO OPEN=OFF,$
TO_PRINTER=OFF,COPIES=1,$
TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$
REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMEN SIONS=NO,$
TO_EXCEL=OFF,$
PREVIOUS_RUNS=DELETE_INSTANCES
But YOU need to modify it to push the report out on any instance.
Have fun....
sigpic
Comment
-
I would not recommend this as you will have no way to tell which dimensions are valid (calculated from the features that were ran on the current part) and which dimensions are invalid (using numbers from the previous run because the program was cancelled before it finished). If you have bad products, you need to evaluate them according to the procedures laid out in your quality manual. Cancelling reports to hide bad parts and avoid work would get you fired at my company.
Comment
-
That's what I am trying to remedy with this thread. We are already addressing the incident i was made aware of, but i'd prefer to eliminate the option altogether. I was hoping it would be possible for during a cancelled run to output the partial report without generating all the dimensions with the values of the previous runs.
-
-
With Datapage, it will create an xml file even though the program is canceled. I've tested this.
We had a instance where an operator was having problems with the CMM bumping into the part after hours and instead of calling someone in to help out, he decided to skip the CMM operation. This part was eventually returned to us for failure months later so when I went to look for a pdf report, there wasn't one. So I looked in datapage and saw 3 or 4 runs with the serial number but the data wasn't complete. Only a few measurements from the beginning of the program was shown.
This shows that once the program starts, it starts collecting data for the xml file. When the program finishes or gets canceled, the xml file is generated regardless. That person was written up eventually quit and we have some other checks in place put together from my IT department (outside PCDMIS) to make sure parts don't leave without a passing CMM report.
Datapage isn't very fun though.Last edited by acgarcia; 02-28-2020, 04:42 PM.
Comment
-
Another idea is as soon as a feature fails, put a goto to the print command and it should print the dimensions it checked so far including the failing dimension that prompted it to go to the print command. And then BOOM, you got 'em.
Code:CIR1 =FEAT/CONTACT/CIRCLE/DEFAULT,CARTESIAN,IN,LEAST_SQR THEO/<0,0,0>,<1,0,0>,1 ACTL/<0,0,0>,<1,0,0>,1 TARG/<0,0,0>,<1,0,0> START ANG=0,END ANG=360 ANGLE VEC=<0,0,-1> DIRECTION=CCW SHOW FEATURE PARAMETERS=NO SHOW CONTACT PARAMETERS=YES NUMHITS=7,DEPTH=0.1968,PITCH=0 SAMPLE METHOD=SAMPLE_HITS SAMPLE HITS=0,SPACER=0 AVOIDANCE MOVE=BOTH,DISTANCE=0.3937 FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO SHOW HITS=NO DIM LOC1= LOCATION OF CIRCLE CIR1 UNITS=IN ,$ GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH HALF ANGLE=NO AX NOMINAL +TOL -TOL MEAS DEV OUTTOL D 1.0000 0.0020 0.0020 1.0000 0.0000 0.0000 ---#---- END OF DIMENSION LOC1 IF_GOTO/LOC1.D.OUTTOL>0,GOTO = PRINT[COLOR=#2980b9]<----Checks to see if the dimension is out of tolerance, if it is, it goes to the print label. If not, it continues running[/COLOR] PRINT =LABEL/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,AUTO=1,AUTO OPEN=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMEN SIONS=NO,$ TO_EXCEL=OFF,$ PREVIOUS_RUNS=DELETE_INSTANCES
Last edited by acgarcia; 02-28-2020, 05:11 PM.
- Likes 1
Comment
Related Topics
Collapse
-
by DAN_MMy company has two types of dimensions I need to report. MIS and IMS. They're literally the same features from the same alignments, just different tolerances...
-
Channel: PC-DMIS for CMMs
06-11-2020, 09:01 AM -
-
by 1CMM4MEYea, I know it's Monday.
Is there a way to only print a portion of your measurments from a program. I have a very large program and the boss...
-
Channel: PC-DMIS for CMMs
06-23-2008, 10:19 AM -
-
by keegoI have 2 distance dimensions in the middle of my program but they don't print out on the report. Any ideas? 4.3mr1
-
Channel: PC-DMIS for CMMs
07-08-2009, 10:49 AM -
-
by WingmanI need to print one report and save another report.
We run in-process parts all day long. Our Engineering group wants me to collect all...-
Channel: PC-DMIS for CMMs
02-27-2009, 08:16 AM -
-
by DeWain HodgeI wrote a program today (about 860 dimensions) and we are required by our customer to use the "textandcad" report format. I ran the program...
-
Channel: PC-DMIS for CMMs
02-27-2013, 05:17 PM -
Comment