Run the same program on 2 CMMs

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

  • Run the same program on 2 CMMs

    The Problem:
    can't run the same program on 2 cmm's with Inspect

    Here is a description of my setup:
    1 program locaked on a network server.
    2 cmm's with Pc-Dmis 2019R2 and Inspect 4.1
    1 "Part-fixture" for the party to be measured.
    1 "Machine-fixture" for each CMM.
    A zero point (Alignment) on the Machine fixture called "Machine_Alignment. (See picture)

    The scenario:
    1. When I run program X in PC-Dmis on CMM1, it works fine.
    2. When I run program X in PC-Dmis on CMM2, it works fine
    3. When I run program X in PC-Dmis on CMM1 and afterwards in Inspect on CMM1 it works fine.
    4. When I run program X in PC-Dmis on CMM2 and afterwards in Inspect on CMM2 it works fine.
    5. When I run program X in PC-Dmis on CMM1 and afterwards in Inspect on CMM2 it doesn't work.
    6. When I run program X in PC-Dmis on CMM2 and afterwards in Inspect on CMM1 it doesn't work.

    Can anyone Help?

    Inspect error.jpg

    Inspect error 1.jpg

  • #2
    The only thing I'm wondering is where is your ALN file being kept? Is it hard drive (which should run always) or on a network drive (which would explain this)
    Xcel & MicroVal Pfx & Global 37mr4 thru 2012mr1sp3
    Contura Calypso 5.4

    Lord, keep Your arm around my shoulder and Your hand over my mouth. Amen.

    Comment


    • Klaus Omer
      Klaus Omer commented
      Editing a comment
      It is on the hard drive C:\......

  • #3
    What do you mean " it doesnt work " ? What is actually happening ? Complete shot from the hip..... DO a search thru the program and make sure PNT1 thru PNT6 are not used anywhere else in the program . DO the same with alignment A1

    Comment


    • Kp61dude!
      Kp61dude! commented
      Editing a comment
      +1 please explain what the program is doing wrong.

    • Klaus Omer
      Klaus Omer commented
      Editing a comment
      Hi Schlag
      " it doesnt work " = It's as if the program loses its zero point and the probe runs past the part
      PNT1 to PNT6 and A1 is not used anywhere else

  • #4
    Are those 6 points for you iterative alignment unmarked?
    Applications Engineer
    Hexagon UK

    Comment


    • Klaus Omer
      Klaus Omer commented
      Editing a comment
      Hi NinjaBadger

      you're right...
      what does it mean?
      and why are they unmarked?

  • #5
    Inspect error 2.jpg

    Comment


    • #6
      Am I the only one running the same program on multiple machines? or do others just not get the same error as me?

      Comment


      • tking
        tking commented
        Editing a comment
        Nope, I did this for over a decade with 4 machines. Set your program up to run the set of unmarked points in DCC and I think you'll be successful. They will need to be marked not unmarked.

    • #7
      When the program fails (it doesn't work) I get this message.

      Inspect error 2.JPG

      sometimes the machine run but past the part, and sometimes it doesn't run at all
      Attached Files

      Comment


      • #8
        something ive done in the past is make a copy of the program rename as " program-A" , see if that will run on second machine,
        beware of any edits that are made in the future are made to both programs.

        Comment


        • Klaus Omer
          Klaus Omer commented
          Editing a comment
          The program can run on all machines in PC-Dmis, the problem arises when I want to run the program on machine B in Inspect and the program has recently run on Machine A in PC-Dmis

      • #9
        As a test, run the program OFFLINE and zero everything out. Then copy and place that program on machine A, run the ENTIRE prg with manual alignment. Then unmark manual alignment and run the prg multiple times. Will it hang up ?? I would do this on both machines. I am assuming that its something to do with not always running the manual portion ? But, Im wrong all the time but thats where I would start.

        Comment


        • #10
          Why do the vectors for points 1 thru 3 look good...but the vectors for points 4 thru 6 look odd?

          It looks like points 4 thru 6 snapped to the wrong surface.

          Maybe edit the vectors and theos and run again.

          Additionally it looks like your error relates to a false trigger, maybe reduce the speed and see if it helps.

          Comment


          • #11
            Hi Klaus,

            Sorry I forgot about this thread.


            Marked means the features will execute.

            Unmarked means they won't.

            Now these 6 points have measured values in them, which will come from one of the machines, but which one?!?!?

            This is likely where your problem lies.


            For programs using fixtures which run on different machines I prefer to do this

            Have two programs, one which manually aligns to the part, and then saves it. This program should only need running once on each machine (unless you re-position the fixture).

            Program 1 - Manual Alignment program

            Measure Features
            Create Alignment
            Saved external alignment (ProgName.Aln)


            Program 2 - Measurement program

            Recall external alignment (ProgName.Aln)
            Measure full DCC alignment features
            Align to DCC features
            Measure part


            ​​​​​​​Hope that's clear.
            Applications Engineer
            Hexagon UK

            Comment


            • Klaus Omer
              Klaus Omer commented
              Editing a comment
              Hi NinjaBadger

              Thanks for the feedback :-)

              If I understand what you have written correctly, I think the program I have made is done in the same way, the only thing I can think of that can make a difference is that I make an Interative Alignment and afterwards unmark the 6 points I user for Interative Alignment.

              Now these 6 points have measured values in them, which will come from one of the machines, but which one?!?!? I think they come from the machine that last ran the program

            • NinjaBadger
              NinjaBadger commented
              Editing a comment
              Yes, although the points are unmarked the alignment itself is not. So it will still compute (align) based on the measured values held in those 6 points (which will come from the last machine the program was run on).

              Are you aligning to points on the fixture or points on the part itself?

            • Klaus Omer
              Klaus Omer commented
              Editing a comment
              The points used for Interative Alignment are taken on part / Cad

          • #12
            So those points (and thus the alignment) are coming from the machine that part was last run on.

            Why are they unmarked? Surely you want to align to the actual part? Or is this followed with a DCC alignment?
            Applications Engineer
            Hexagon UK

            Comment


            • Klaus Omer
              Klaus Omer commented
              Editing a comment
              The reason they are unmarked is because I use Interative Alignment to pair part and Cad with and as a base/start alignment.
              the main Alignment is made afterwouds

              STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
              ALIGNMENT/END
              RECALL/ALIGNMENT,EXTERNAL,MACHINE_ALIGNMENT
              MODE/MANUAL
              FLY/ON
              COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=YES,TIME DELAY=15,
              Sådan sættes emnet
              FORMAT/TEXT,OPTIONS,ID,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,MAXMIN,DEV,DEVANG,OUTTOL
              ACCELERATION/MAXACCELX=500, MAXACCELY=500, MAXACCELZ=500
              STATS/ON,Q-DAS,DFQ
              QDAS_TRACEFIELDS=GROUP/SHOWALLPARAMS=NO
              ENDGROUP/ID=QDAS_TRACEFIELDS
              FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
              LOADPROBE/PROBE4
              PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<819.962,64.809,229>,<0,0,1>
              ACTL/<-186.439,196.171,194.298>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<819.962,64.809,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              MODE/MANUAL
              PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<976.179,64.276,229>,<0,0,1>
              ACTL/<-30.228,195.304,194.592>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<976.179,64.276,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              MOVESPEED/ 100
              PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<973.23,-71.183,229>,<0,0,1>
              ACTL/<-33.466,59.851,194.368>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<973.23,-71.183,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              PREHIT/2
              PNT4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<967.595,-82.812,225.77>,<0.9873854,-0.1583353,0>
              ACTL/<-39.116,48.492,191.11>,<0.9871537,-0.1597657,0.0016054>
              TARG/<967.595,-82.812,225.77>,<0.9873854,-0.1583353,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              RETRACT/2
              PNT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<967.533,52.699,226.049>,<0.9956487,-0.0931858,0>
              ACTL/<-38.983,184.003,191.606>,<0.9955112,-0.0946283,0.0017256>
              TARG/<967.533,52.699,226.049>,<0.9956487,-0.0931858,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              TOUCHSPEED/ 4
              PNT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<975.782,59.459,225.785>,<-0.1042757,-0.9945484,0>
              ACTL/<-30.723,190.752,191.368>,<-0.1057136,-0.994395,-0.0017938>
              TARG/<975.782,59.459,225.785>,<-0.1042757,-0.9945484,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              ​​​​​​​START =ALIGNMENT/START,RECALL:MACHINE_ALIGNMENT,LIST=YES
              ALIGNMENT/ITERATE
              PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
              MEAS ALL FEAT=ONCE,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
              LEVEL=PNT1,PNT2,PNT3,,
              ROTATE=PNT4,PNT5,,
              ORIGIN=PNT6,,
              ALIGNMENT/END
              MODE/DCC
              PREHIT/5
              RETRACT/5
              TIP/T4EM1A90B90, SHANKIJK=-1, -0.001, 0.002, ANGLE=90.111
              MOVE/POINT,NORMAL,<950.404,382.835,452.699>
              PNT7 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<807.429,-82.607,191>,<0,0,-1>
              ACTL/<807.415,-82.618,191.155>,<0,0,-1>
              TARG/<807.429,-82.607,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PNT8 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<817.868,35.933,191>,<0,0,-1>
              ACTL/<817.866,35.922,191.159>,<0,0,-1>
              TARG/<817.868,35.933,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              TIP/T4EM1A90B-90, SHANKIJK=1, 0.001, -0.002, ANGLE=-90.111
              PNT9 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<979.108,36.13,191>,<0,0,-1>
              ACTL/<979.109,36.128,191.133>,<0,0,-1>
              TARG/<979.108,36.13,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PNT10 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<986.099,-77.667,191>,<0,0,-1>
              ACTL/<986.098,-77.672,191.139>,<0,0,-1>
              TARG/<986.099,-77.667,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PLN A =FEAT/PLANE,CARTESIAN,TRIANGLE,NO,LEAST_SQR
              THEO/<897.626,-22.053,191>,<0,0,-1>
              ACTL/<897.622,-22.06,191.146>,<-0.0001193,-0.0000077,-1>
              CONSTR/PLANE,BF,PNT7,PNT8,PNT9,PNT10,,
              OUTLIER_REMOVAL/OFF,3
              FILTER/OFF,WAVELENGTH=0
              TIP/T4EM1A0B0, SHANKIJK=0.002, 0.002, 1, ANGLE=0.08
              CYL C =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<820,-84,229>,<0,0,1>,15,30
              ACTL/<819.465,-85.635,229>,<0.001082,-0.0004213,0.9999993>,14.986,30
              TARG/<820,-84,229>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=3,END OFFSET=2,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=NO,DISTANCE=10
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              CYL B =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<820,52,229>,<0,0,1>,15,38
              ACTL/<819.336,50.357,229>,<0.0015436,-0.0003423,0.9999988>,14.983,38
              TARG/<820,52,229>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=3,END OFFSET=5,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=NO,DISTANCE=10
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              PREHIT/2
              RETRACT/2
              PNT C =FEAT/POINT,CARTESIAN,NO
              THEO/<820,-84,191>,<0,0,1>
              ACTL/<819.424,-85.619,191.156>,<0.001082,-0.0004213,0.9999993>
              CONSTR/POINT,PIERCE,PLN A,CYL C
              PNT B =FEAT/POINT,CARTESIAN,NO
              THEO/<820,52,191>,<0,0,1>
              ACTL/<819.277,50.37,191.155>,<0.0015436,-0.0003423,0.9999988>
              CONSTR/POINT,PIERCE,PLN A,CYL B
              MAIN =ALIGNMENT/START,RECALL:START,LIST=YES
              ALIGNMENT/LEVEL,ZMINUS,PLN A
              ALIGNMENT/ROTATE_CIRCLE,YMINUS,TO,PNT B,AND,PNT C,ABOUT,ZPLUS
              ALIGNMENT/TRANS,ZAXIS,PLN A
              ALIGNMENT/TRANS,XAXIS,CYL B
              ALIGNMENT/TRANS,YAXIS,CYL B
              ALIGNMENT/END
              DATDEF/A,FEATURES=PLN A,,
              DATDEF/B,FEATURES=PNT B,,
              DATDEF/C,FEATURES=PNT C,,

          • #13
            It seems to me that you need to run the manual iterative on EACH particular machine and then un-mark it for successive runs, for EACH machine. I haven't seen it mentioned that the machines are the same or different. But as you stated "The reason they are unmarked is because I use Interative Alignment to pair part and Cad with and as a base/start alignment.

            I have a machine that will / has run for years with a particular home location / and then suddenly that home location will change (by an inch ) and remain for years, and that is why i recall an external fixture alignment rather than having the manual alignment under machine coordinates. My point in mentioning this is that even if the machines are the “same”, their home locations aren’t, and your unmarked alignment is the key to alignment for EACH machine.

            Hope this helps.

            Comment


            • #14
              Okay, so your program flow is like this...


              Recall saved alignment (machine specific because external alignment files are stored locally)
              Skip measuring features - BUT these features contain information from one of your machines (whichever the program was run on last).
              Align to these features (which use the data from the last machine the program was run on when the initial 6 points weren't unmarked)
              Go into DCC mode
              Try measure the DCC alignment features, based on the alignment generated by the measured data in the initial 6 points (which may not be from the current machine)

              Do you see the issue?

              It would be much better to break alignment out into a separate program.

              Alignment Porgam
              Code:
              STARTUP =ALIGNMENT/START,RECALL:USE_PART_SETUP,LIST=YES
              ALIGNMENT/END
              [COLOR=#e74c3c]RECALL/ALIGNMENT,EXTERNAL,MACHINE_ALIGNMENT  Delete this line[/COLOR]
              MODE/MANUAL
              FLY/ON
              COMMENT/OPER,NO,FULL SCREEN=YES,AUTO-CONTINUE=YES,TIME DELAY=15,
              Sådan sættes emnet
              FORMAT/TEXT,OPTIONS,ID,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,MAXMIN,DEV,DEVANG,OUTTOL
              ACCELERATION/MAXACCELX=500, MAXACCELY=500, MAXACCELZ=500
              STATS/ON,Q-DAS,DFQ
              QDAS_TRACEFIELDS=GROUP/SHOWALLPARAMS=NO
              ENDGROUP/ID=QDAS_TRACEFIELDS
              FORMAT/TEXT,OPTIONS, ,HEADINGS,SYMBOLS, ;NOM,TOL,MEAS,DEV,OUTTOL, ,
              LOADPROBE/PROBE4
              PNT1 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<819.962,64.809,229>,<0,0,1>
              ACTL/<-186.439,196.171,194.298>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<819.962,64.809,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              MODE/MANUAL
              PNT2 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<976.179,64.276,229>,<0,0,1>
              ACTL/<-30.228,195.304,194.592>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<976.179,64.276,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              MOVESPEED/ 100
              PNT3 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<973.23,-71.183,229>,<0,0,1>
              ACTL/<-33.466,59.851,194.368>,<-0.0018858,-0.0016034,0.9999969>
              TARG/<973.23,-71.183,229>,<0,0,1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=BOTH,DISTANCE=10
              SHOW HITS=NO
              PREHIT/2
              PNT4 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<967.595,-82.812,225.77>,<0.9873854,-0.1583353,0>
              ACTL/<-39.116,48.492,191.11>,<0.9871537,-0.1597657,0.0016054>
              TARG/<967.595,-82.812,225.77>,<0.9873854,-0.1583353,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              RETRACT/2
              PNT5 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<967.533,52.699,226.049>,<0.9956487,-0.0931858,0>
              ACTL/<-38.983,184.003,191.606>,<0.9955112,-0.0946283,0.0017256>
              TARG/<967.533,52.699,226.049>,<0.9956487,-0.0931858,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              TOUCHSPEED/ 4
              PNT6 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<975.782,59.459,225.785>,<-0.1042757,-0.9945484,0>
              ACTL/<-30.723,190.752,191.368>,<-0.1057136,-0.994395,-0.0017938>
              TARG/<975.782,59.459,225.785>,<-0.1042757,-0.9945484,0>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              START =ALIGNMENT/START,RECALL:MACHINE_ALIGNMENT,LIST=YES
              ALIGNMENT/ITERATE
              PNT TARGET RAD=5,START LABEL=,FIXTURE TOL=0,ERROR LABEL=
              MEAS ALL FEAT=ONCE,LEVEL AXIS=ZAXIS,ROTATE AXIS=XAXIS,ORIGIN AXIS=YAXIS
              LEVEL=PNT1,PNT2,PNT3,,
              ROTATE=PNT4,PNT5,,
              ORIGIN=PNT6,,
              ALIGNMENT/END
              [COLOR=#2ecc71]ALIGNMENT/SAVE MACHINE_ALIGNMENT   <<< Save alignment here[/COLOR]


              Measurement program
              Code:
              [COLOR=#27ae60]RECALL/ALIGNMENT,EXTERNAL,MACHINE_ALIGNMENT  <<<< Add the recall command in here[/COLOR]
              MODE/DCC
              PREHIT/5
              RETRACT/5
              TIP/T4EM1A90B90, SHANKIJK=-1, -0.001, 0.002, ANGLE=90.111
              MOVE/POINT,NORMAL,<950.404,382.835,452.699>
              PNT7 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<807.429,-82.607,191>,<0,0,-1>
              ACTL/<807.415,-82.618,191.155>,<0,0,-1>
              TARG/<807.429,-82.607,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PNT8 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<817.868,35.933,191>,<0,0,-1>
              ACTL/<817.866,35.922,191.159>,<0,0,-1>
              TARG/<817.868,35.933,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              TIP/T4EM1A90B-90, SHANKIJK=1, 0.001, -0.002, ANGLE=-90.111
              PNT9 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<979.108,36.13,191>,<0,0,-1>
              ACTL/<979.109,36.128,191.133>,<0,0,-1>
              TARG/<979.108,36.13,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PNT10 =FEAT/CONTACT/VECTOR POINT/DEFAULT,CARTESIAN
              THEO/<986.099,-77.667,191>,<0,0,-1>
              ACTL/<986.098,-77.672,191.139>,<0,0,-1>
              TARG/<986.099,-77.667,191>,<0,0,-1>
              SNAP=NO
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              AVOIDANCE MOVE=NO,DISTANCE=10
              SHOW HITS=NO
              PLN A =FEAT/PLANE,CARTESIAN,TRIANGLE,NO,LEAST_SQR
              THEO/<897.626,-22.053,191>,<0,0,-1>
              ACTL/<897.622,-22.06,191.146>,<-0.0001193,-0.0000077,-1>
              CONSTR/PLANE,BF,PNT7,PNT8,PNT9,PNT10,,
              OUTLIER_REMOVAL/OFF,3
              FILTER/OFF,WAVELENGTH=0
              TIP/T4EM1A0B0, SHANKIJK=0.002, 0.002, 1, ANGLE=0.08
              CYL C =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<820,-84,229>,<0,0,1>,15,30
              ACTL/<819.465,-85.635,229>,<0.001082,-0.0004213,0.9999993>,14.986,30
              TARG/<820,-84,229>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=3,END OFFSET=2,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=NO,DISTANCE=10
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              CYL B =FEAT/CONTACT/CYLINDER/DEFAULT,CARTESIAN,IN,LEAST_SQR
              THEO/<820,52,229>,<0,0,1>,15,38
              ACTL/<819.336,50.357,229>,<0.0015436,-0.0003423,0.9999988>,14.983,38
              TARG/<820,52,229>,<0,0,1>
              START ANG=0,END ANG=360
              ANGLE VEC=<1,0,0>
              DIRECTION=CCW
              SHOW FEATURE PARAMETERS=NO
              SHOW CONTACT PARAMETERS=YES
              NUMHITS=5,NUMLEVELS=2,DEPTH=3,END OFFSET=5,PITCH=0
              SAMPLE METHOD=SAMPLE_HITS
              SAMPLE HITS=0,SPACER=0
              AVOIDANCE MOVE=NO,DISTANCE=10
              FIND HOLE=DISABLED,ONERROR=NO,READ POS=NO
              SHOW HITS=NO
              PREHIT/2
              RETRACT/2
              PNT C =FEAT/POINT,CARTESIAN,NO
              THEO/<820,-84,191>,<0,0,1>
              ACTL/<819.424,-85.619,191.156>,<0.001082,-0.0004213,0.9999993>
              CONSTR/POINT,PIERCE,PLN A,CYL C
              PNT B =FEAT/POINT,CARTESIAN,NO
              THEO/<820,52,191>,<0,0,1>
              ACTL/<819.277,50.37,191.155>,<0.0015436,-0.0003423,0.9999988>
              CONSTR/POINT,PIERCE,PLN A,CYL B
              MAIN =ALIGNMENT/START,RECALL:START,LIST=YES
              ALIGNMENT/LEVEL,ZMINUS,PLN A
              ALIGNMENT/ROTATE_CIRCLE,YMINUS,TO,PNT B,AND,PNT C,ABOUT,ZPLUS
              ALIGNMENT/TRANS,ZAXIS,PLN A
              ALIGNMENT/TRANS,XAXIS,CYL B
              ALIGNMENT/TRANS,YAXIS,CYL B
              ALIGNMENT/END
              DATDEF/A,FEATURES=PLN A,,
              DATDEF/B,FEATURES=PNT B,,
              DATDEF/C,FEATURES=PNT C,,
              Run Alignment program on each machine once (or whenever the fixture moves), then the Measurement program should run fine on each machine.
              Last edited by NinjaBadger; 05-06-2020, 08:39 AM.
              Applications Engineer
              Hexagon UK

              Comment


              • Klaus Omer
                Klaus Omer commented
                Editing a comment
                Hi NinjaBadger

                I want to say thank you very much for your help and support, the program runs flawlessly now :-)
                I have been trying for the last 6 months to make it work, so having a solution know is just so great.
                Afterwards, I can see that I was too focused on the program working in PC-Dmis and not in Inspect, which still makes me wonder ......

                Thanks again for your help, it saved my day :-)

              • NinjaBadger
                NinjaBadger commented
                Editing a comment
                Happy to have helped Klaus.

                Running in PC-Dmis or Inspect should make no difference. Do you now understand why it wasn't working between machines? With the features unmarked they don't run, BUT they still hole measured values which are used in the alignment.

                Glad you've got it working now.

            Related Topics

            Collapse

            • David Kick
              Pcdmis On A Network
              by David Kick
              Is it efficient to run PCDMIS residing on the local hard drive and the program files residing on a remote drive? I am trying to find the cause of a problem...
              05-03-2007, 06:35 PM
            • dwade
              Program won't run without pauses
              by dwade
              Gave a supplier a program to run and before each autofeature it prompts him to continue. Same program runs on our Pfx and Global without pause. He is...
              11-21-2012, 05:15 AM
            • EHines
              Loopy(ing) error
              by EHines
              Ok I am trying to loop a program for a capability study in v4.2mr1. The program will run fine the first time, but the second time I try to run the program...
              10-31-2007, 12:09 PM
            • Thomas Williams
              Program Issue
              by Thomas Williams
              Hey Everyone,
              I am having issue with programs... I have operators logging on to the computer and trying to run program and unable to run the program......
              03-01-2010, 11:02 AM
            • Virgil UK
              Switch to / Retry
              by Virgil UK
              Hi Guys.

              I have had this problem today with a program that has previously been OK.

              When the program finishes, or is cancelled,...
              04-19-2011, 12:45 PM
            Working...
            X