Anyone have a decent program for calibrating various sizes of steel squares? I wrote one in MM4 and will probably be writing one in PCDmis, but would like to look at anyone elses' or at least spark a conversation about such.
Program for Calibrating Steel Squares
Collapse
X

Originally posted by keego View PostAnyone have a decent program for calibrating various sizes of steel squares? I wrote one in MM4 and will probably be writing one in PCDmis, but would like to look at anyone elses' or at least spark a conversation about such.
You can use "variables" so that the manual measurements you take on the square will be repeated in DCC mode without the need to edit.
Code:MOVE/CLEARPLANE A1 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M1.HIT[1].X,M1.HIT[1].Y,0,0,0,1 ACTL/6.477,68.275,0,0,0,1 TARG/M1.HIT[1].X,M1.HIT[1].Y,0,0,0,1 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150 MOVE/CLEARPLANE A2 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M1.HIT[2].X,M1.HIT[2].Y,0,0,0,1 ACTL/40.352,68.559,0,0,0,1 TARG/M1.HIT[2].X,M1.HIT[2].Y,0,0,0,1 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150 MOVE/CLEARPLANE A3 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M1.HIT[3].X,M1.HIT[3].Y,0,0,0,1 ACTL/40.816,12.605,0,0,0,1 TARG/M1.HIT[3].X,M1.HIT[3].Y,0,0,0,1 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150 MOVE/CLEARPLANE A4 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M1.HIT[4].X,M1.HIT[4].Y,0,0,0,1 ACTL/9.416,20.659,0,0,0,1 TARG/M1.HIT[4].X,M1.HIT[4].Y,0,0,0,1 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150
sigpic
Originally posted by AndersII've got one from September 2006 (bug ticket) which has finally been fixed in 2013.

46 views and no one else has a comment? Matt, I know this is simple and the method you described is basically the way I did it in MM4. I just thought with the vast array of knowledge here that someone else may have a completely different approach.sigpic
Global Advantage 122210
TESASTAR M SP25 4.3mr2
Comment

Originally posted by keego View Post46 views and no one else has a comment? Matt, I know this is simple and the method you described is basically the way I did it in MM4. I just thought with the vast array of knowledge here that someone else may have a completely different approach.
I am guessing that this is not a "hot" item in most labs for some reason.sigpic
Originally posted by AndersII've got one from September 2006 (bug ticket) which has finally been fixed in 2013.
Comment

We measure alot of ring gages on the cmm & everything is answered up front in comments & then those comments are converted to variables & dimensioned so 1 program fits all.....sigpic.....Its called golf because all the other 4 letter words were taken
Comment

Originally posted by Matthew D. Hoedeman View PostHey, once "The Best" has answered, all other answers are just trivial.
I am guessing that this is not a "hot" item in most labs for some reason.
Bobby never claimed to be the best and he got the best answer….so far!!
Geeez…you have been riding in that fantasy wagon for too long. ☺
Comment

Originally posted by lambo View PostI don’t understand it! The code has very little to do with the original question, yet the asker said that what he/she did with MM4. WTF?
Bobby never claimed to be the best and he got the best answer….so far!!
Geeez…you have been riding in that fantasy wagon for too long. ☺
Here is the exact same thing, but from a 2hit line to measure in DCC the same touches.
Code:A5 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0 ACTL/6.002,0,3.076,0,1,0 TARG/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150 MOVE/CLEARPLANE A6 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0 ACTL/46.552,0,3.072,0,1,0 TARG/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150
sigpic
Originally posted by AndersII've got one from September 2006 (bug ticket) which has finally been fixed in 2013.
Comment

Originally posted by Matthew D. Hoedeman View PostNO, the answer I gave was a SAMPLE of how to CODE it to do what he wanted to do, the M1.HIT[1].X and all that, which can be used to get touch data from the manual alignment line and used for the DCC alignment / Reporting of the square. AND, for various size squares, I think it would be much quicker to take the 4 manual touches (for the 2 alignment lines) than it would be to do all the typing for length of beam and length of base and all that jazz.
Here is the exact same thing, but from a 2hit line to measure in DCC the same touches.
Code:A5 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0 ACTL/6.002,0,3.076,0,1,0 TARG/M2.HIT[1].X,M2.HIT[1].Y,M2.HIT[1].Z,0,1,0 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150 MOVE/CLEARPLANE A6 =AUTO/VECTOR POINT,SHOWALLPARAMS = YES THEO/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0 ACTL/46.552,0,3.072,0,1,0 TARG/M2.HIT[2].X,M2.HIT[2].Y,M2.HIT[2].Z,0,1,0 THEO_THICKNESS = 0,RECT,SNAP = YES,$ AUTO MOVE = NO,DISTANCE = 150
Anywho, i've been working like dog... I'm outta here til the 27th.
Cheers.
Comment

Originally posted by lambo View PostWell, from what I understand, he/she wants to use logic for different sizes...use comment and variable as Bobby said….
Anywho, i've been working like dog... I'm outta here til the 27th.
Cheers.sigpic
Originally posted by AndersII've got one from September 2006 (bug ticket) which has finally been fixed in 2013.
Comment

Originally posted by lambo View PostWell, from what I understand, he/she wants to use logic for different sizes...use comment and variable as Bobby said….
Anywho, i've been working like dog... I'm outta here til the 27th.
Cheers.sigpic
Global Advantage 122210
TESASTAR M SP25 4.3mr2
Comment
Related Topics
Collapse

Please help me get this straight.
Is my Clear Plane relative to the CAD axes ? It must be, but the machine acts as though it wants to go...
Channel: PCDMIS for CMMs
12142007, 01:04 PM 

by dwadeISSUE RESOLVED!!!
Stupidity was involved....
Channel: PCDMIS for CMMs
07162009, 01:11 PM 

by dwadeI got this code with help from RussL, cmmguy and craiger for using measured IJK values for calculating an angle. I will use this variable (angle relative...

Channel: PCDMIS Code Samples
12142006, 01:20 PM 

by acookeI have taken the basic 1 week PCDMIS course from Hexagon.
Currently I have only modified part programs written by the programmer at our...
Channel: PCDMIS for CMMs
09222015, 07:35 AM 

by macostaHey guys, I have complete my first new program, as I try testing out the first pc online, Im already having all sorts of problems in the beginning, i...

Channel: PCDMIS for CMMs
04182011, 12:44 PM 
Comment