Choosing between displayed reports?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Choosing between displayed reports?

    We have operators run their own parts on the cmm's here and I'm looking for a way to fool proof their pass/fail of parts they run.
    So far I've tried pop up messages based on GETPROGRAMINFO("NUMOOT") but that sometimes returns 'extra' results that are bad (features that have reporting shut off such as threaded hole diameters) and that misleads the operators.
    I've also tried stats output into QC Calc software (similar to datapage) but that has similar issues.
    The PDF reports themselves are what we call king but sometimes they're too long for the operators to diligently look through for OOT features.


    My thoughts now are to display an out-of-tolerance-only report that shows them what is out of tolerance but also give them the option to see the full report as well, or a custom report that has OOT at the top, followed by the full report or lastly giving them the option to choose which report they see.

    I have PDF printing of two differently-named reports working but I can't get the report template to change.
    Any help on fixing that PDF printing or how to combine the two reports into one, or how to change the displayed report?






    This is what I have so far. It prints a report with two different names but the same content:


    Code:
    DIM ID100= 2D DISTANCE FROM POINT ORING1 TO POINT ORING2 PAR TO   ZAXIS,NO_RADIUS  UNITS=IN,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M      0.05200    0.00200    0.00200    0.05200    0.00000    0.00000 --#--
    DIM ID100= 2D DISTANCE FROM POINT ORING1 TO POINT ORING2 PAR TO   ZAXIS,NO_RADIUS  UNITS=IN,$
    GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=BOTH
    AX    NOMINAL       +TOL       -TOL       MEAS        DEV     OUTTOL
    M      1.00000    0.00200    0.00200    0.05200   -0.94800    0.94600 <----
    $$ NO,
    
                 PRINT GOOD REPORT HERE
    
    NORMTEMPLATE=REPORT/TEMPLATE, FILENAME= TEXTONLY_TEMCO.RTP, Section=-1,REPORTMODE=SWITCH
                PARAM/=
                ENDREPORT/
    REFRESH1   =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS
                FUNCTION/Main,SHOW=NO,,
                STARTSCRIPT/
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,OVERWRITE=C:\Users\qcg\Desktop\NORMAL.PDF,AUTO OPEN REPORT=OFF,$
                  TO_PRINTER=OFF,COPIES=1,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  TO_EXCEL_OUTPUT=OFF,$
                  PREVIOUS_RUNS=KEEP_INSTANCES
    $$ NO,
                 CLEAR PRINTER QUEUE
    
    REFRESH2   =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS
                FUNCTION/Main,SHOW=NO,,
                STARTSCRIPT/
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=OFF,AUTO=1,AUTO OPEN REPORT=OFF,$
                  TO_PRINTER=OFF,COPIES=1,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  TO_EXCEL_OUTPUT=OFF,$
                  PREVIOUS_RUNS=DELETE_INSTANCES
    $$ NO,
                 PRINT BAD REPORT BELOW
    
                ASSIGN/OOT=GETPROGRAMINFO("NUMOOT")
                IF_GOTO/OOT=="0",GOTO = NO_PRINTOOTTEMPLATE=REPORT/TEMPLATE, FILENAME= TEXTANDCAD_OOT.RTP, Section=-1,REPORTMODE=INSERT
                PARAM/=
                ENDREPORT/REFRESH3   =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS
                FUNCTION/Main,SHOW=NO,,
                STARTSCRIPT/
                PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,OVERWRITE=C:\Users\qcg\Desktop\OOT.PDF,AUTO OPEN REPORT=OFF,$
                  TO_PRINTER=OFF,COPIES=1,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  TO_EXCEL_OUTPUT=OFF,$
                  PREVIOUS_RUNS=KEEP_INSTANCES
    NO_PRINT   =LABEL/
    REFRESH4   =SCRIPT/FILENAME= Q:\MISC\PCDMIS REFRESH REPORT.BAS
                FUNCTION/Main,SHOW=NO,,
                STARTSCRIPT/

  • #2
    If you have dimensions that set to stats only, you obviously only have it there to collect data, why not make the tolerance 10x bigger so that it won't give a false numoot? I never used the out of tolerance report. Will it display a blank page if everything passes?

    Comment


    • #3
      yes, although it also displays all the report comments from the program as well. its a good way to see at a glance if you have anything out of tolerance.
      I've tried setting all the tolerances to an inch but it still seems to find some out of tolerance some times. I've noticed that it will include the datum diameters in the advanced tab that are usually .0004" default tolerance in its calculation, but even setting those to an inch tolerance doesn't seem to always work.

      Comment


      • #4
        I ran into this same issue when I was using Xact dimensions and I used a workaround to fix it. I run production so this may not be what youre looking for since this method takes a little time to set up which wouldn't work for people running 1 or 2 piece jobs, but i figured I'd throw this out there. One thing I like about setting it up this way is it only will count the relevant critical dimensions that you want it to.

        HTH

        Code:
                    COMMENT/REPT,
                    NORMAL REPORT
        DIM DIM001= LOCATION OF POINT 70012_8_8_SLOTX1  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=REPORT  HALF ANGLE=NO
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        X        0.000      0.000      0.050      0.050      0.000      0.000 ---#----
        END OF DIMENSION DIM001
        DIM DIM002= LOCATION OF POINT 70012_8_8_SLOTX1  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=REPORT  HALF ANGLE=NO
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        T        0.000      0.000      0.050      0.050      0.000      0.000 ---#----
        END OF DIMENSION DIM002
                    ASSIGN/OOT_FLAG1="NONE"
                    ASSIGN/OOT_FLAG2="NONE"
                    IF/DIM001.X.OUTTOL > 0
                      ASSIGN/OOT_COUNTER=1
                      ASSIGN/OOT_FLAG1="REPORT"
                    END_IF/
                    IF/DIM002.T.OUTTOL > 0
                      ASSIGN/OOT_COUNTER=1+OOT_COUNTER
                      ASSIGN/OOT_FLAG2="REPORT"
                    END_IF/
                    COMMENT/REPT,
                    OOT REPORT
        DIM DIM001_OOT= LOCATION OF POINT 70012_8_8_SLOTX1  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=OOT_FLAG1  HALF ANGLE=NO
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        X        0.000      0.000      0.050      0.050      0.000      0.000 ---#----
        END OF DIMENSION DIM001_OOT
        DIM DIM002_OOT= LOCATION OF POINT 70012_8_8_SLOTX1  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=OOT_FLAG2  HALF ANGLE=NO
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        T        0.000      0.000      0.050      0.050      0.000      0.000 ---#----
        END OF DIMENSION DIM002_OOT
        OOT_FEATURE=GENERIC/POINT,DEPENDENT,CARTESIAN,$
                    NOM/XYZ,<0,0,0>,$
                    MEAS/XYZ,<OOT_COUNTER,0,0>,$
                    NOM/IJK,<0,0,1>,$
                    MEAS/IJK,<0,0,1>
        DIM OOT_DIMENSION= LOCATION OF POINT OOT_FEATURE  UNITS=MM ,$
        GRAPH=OFF  TEXT=OFF  MULT=10.00  OUTPUT=REPORT  HALF ANGLE=NO
        AX       MEAS    NOMINAL       +TOL       -TOL        DEV     OUTTOL
        X        0.000      0.000      0.000      0.000      0.000      0.000 #-------
        END OF DIMENSION OOT_DIMENSION

        Comment


        • #5
          thanks CodeWarrior, that's a good bit of code that we can use on some of our long running jobs, although unfortunately we also have a large number of <10 piece jobs as well. I'd like to build something into our program template (that the other programmers can utilize as well) for those shorter jobs.

          Comment

          Related Topics

          Collapse

          Working...
          X