Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Clarence L Cook

Verified Members
  • Posts

    74
  • Joined

  • Last visited

Posts posted by Clarence L Cook

  1. For #2 you will have to learn about buffers.  I use two buffers, a string buffer for the description and a data fields buffer for all the numerical information.  Buffers can be challenging at first but not to bad after working with them for a while.  Buffers will automatically increment for you, but you can force it to go to a specific line.  That is how I push my tool information into the buffer, then when you read them out the tools are in order.

    For #3 I make a counter variable that I increment at each tool change.  You just format the variable to have an "N" and nothing to the right of the decimal.  Then put it where you like.

     

    Clarence Cook

    Kootenai Machine Inc.

    • Like 2
  2. If you click on the rod to move it up to the thickness of the plate, you can start typing in a number and it will go to that distance, ie typing .06 then hit enter will get you .060" and not the .0625 of the ruler.  Works for all of the gnomen rods and angles.

    • Like 1
  3. I use G52 all the time.  I have four Haas verticals and a Makino horizontal that I use G52.

    Most of my work is vise work on the verticals and I make fixture plates for the horizontal.

    I have the G52 set to a common Z location, typically the bottom of the parallels.  Then I add the parallels and the material height, if any, to the specific work offset.  This allows me to program G10 Z values in Mastercam which gets set the first time the program is run and not again.  This allows me to move the part to any of the verticals that can accept it, because each of the G52s are specific to the machine.

    Check setting 33 on the Haas.  If it is set to Fanuc, then using G52 makes no sense as it gets reset to zero on a reset, M30, etc.  Setting 33 would have to be set to Haas, but the Renishaw macros don't like it and alarm out.  I had to modify my Renishaw macros to bypass the alarm message.  I know it is a danger, but I haven't come across an instance where it has been an issue.  I also don't use the Haas quick codes, I only use the macros imbedded in the programs, using manual entries.

    Good luck with updating your programs.  I am currently doing the same thing to incorporate all of the process changes I have implemented, ie probing, mid cycle starts, etc.

  4. I have attached a snippet of code that ran just last week.

     

    The biggest difference I see is I am not using M35 in combination with M135.  From what I read in my book, the order of M35 to M135 matters and if I understand my book correctly, then it appears you have the order correct.

     

    I also don't use M119.  When parting I synchronize the sub to the main, so angularity is maintained.

     

    Finally, I use M291 to change the axis assignments.  I mainly did this because Mastercam wanted to use C for everything and I just haven't gotten around to fixing it.

     

    Hope this help.

     

    (TOOL - 11 OFFSET - 23)

    (T1123 - THIN BIT TOOLING FOR SUB)

    N14 G18 G98 G20 G00 G40 G28 U0.

    G55 T1100

    T1123

    M190

    G50 S3000

    G96 S150 M104

    G0 Z-.03 M8

    G0 X1.05

    Z.125

    G99 G1 X.95 F.002

    X.372

    Z.02

    Z-.03

    G0 Z-1.

    M9

    G28 U0.

    G28 V0.

    M105

    T1100

    M01

     

    (TOOL - 3 OFFSET - 15)

    (T0315 - C DRILL IN AXIAL HEAD)

    M291 (REVERSE C AXIS ASSIGNMENT)

    M110

    (C-AXIS FACE DRILL)

    N15 G28 U0.

    T0315

    G55

    G17 G97 G98

    M135

    M190

    G28 C0

    G0 C135.

    G0 Z-.075 M8

    G0 X.6647

    G97 S1700 M34

    Z.025

    G1 Z.6227 F8.

    G0 Z-.075

    C45.

    Z.025

    G1 Z.6227

    G0 Z-.075

    C-45.

    Z.025

    G1 Z.6227

    G0 Z-.075

    C-135.

    Z.025

    G1 Z.6227

    G0 Z-.075

    M9

    X9.

    G28 V0.

    G28 U0. H0.

    T0300

    M01

     

    (TOOL - 10 OFFSET - 22)

    (T1022 - 3/32 CARBIDE DRILL IN RADIAL HEAD)

    (C-AXIS CROSS DRILL)

    N16 G28 U0.

    T1022

    G55

    G19 G97 G98

    M135

    M190

    G28 C0

    G0 C135.

    G0 Z.375 M8

    G0 X1.398

    G97 S2500 M33

    X1.198

    G1 X.748 F10.

    G0 X1.398

    X1.198 C45.

    G1 X.748

    G0 X1.398

    X1.198 C315.

    G1 X.748

    G0 X1.398

    X1.198 C225.

    G1 X.748

    G0 X1.398

    M9

    X9.

    G28 V0.

    G28 U0. H0.

    T1000

    M01

     

    (TOOL - 5 OFFSET - 17)

    (T0517 - 6MM FLAT ENDMILL RADIAL HEAD)

    M110

    N17 G28 U0.

    T0517

    G55

    G19 G97 G98

    M135

    M190

    G28 C0

    G0 C90.

    M189

    G0 Z-.0167 M8

    G0 X1.2

    G97 S2500 M33

    X1.1

    G1 X.86 F20.

    Z.125 F13.4

    X1.0209 Z.8905

    X1.1209 F20.

    G0 X1.2

    Z-.0167

    X1.1

    G1 X.74

    Z.125 F13.4

    X1.0609 Z1.6516

    G0 X1.2

    Y.0079 Z-.0167

    X1.1

    G1 X.7 F20.
  5. First off, did you do an M291, reverse axis assignment?  It makes the A axis (normally sub spindle) and turns it into the C axis (normally main spindle).  When you are finished, you will want to do an M290 to put it back to normal.

     

    Could you post a snippet of code so that I can compare it to some of the code that I have that I know works.

     

    Which control?  Mine is the 18i.

     

    Kind regards.

    Clarence

  6. I have done what you are trying to do with buffers in the post.  I did it using two seperate buffers, one for the various numerical values and one for the string values.  I initially created a blank buffer with the maximum number of tools that I have in the machine, then placed the information for the specific tool in the corresponding location.  Example, if it is tool 10, then it went into buffer location 10.

     

    I did it years ago and I don't remember all the details, but above is the general approach that I used.

     

    I hope this helps.

     

    Clarence

  7. I have notice the same thing with X9.  When I press "C" for arc center and select a solid arc, I get a blue point at the center.  If I allow Mastercam select the center of an arc on a solid, I don't get the blue point.

     

    Kind regards.

    Clarence

  8. Colin G. - EDAC Technologies, on 28 Dec 2015 - 05:25 AM, said:snapback.png

    Hi Bob,

     

    Have you looked into the Verisurf options that are available for CMM Programming? I'm sure Ron can chime in to correct me if I'm wrong, but I thought that Verisurf would allow you to use Mastercam as the programming interface to your CMM. That way you wouldn't have to learn a separate software package just to inspect your parts...

    I haven't.  I don't know the first thing about CMMs other than they measure things and can be really accurate.  Is the CMM/ software relationship similar to CNC machine/ CAM software relationship where the CMM is just hardware that can be run by a number of different programming software?  I was under the impression that they were more closely integrated with the programming software (Mcosmos, etc...).

     

    And people keep mentioning datums...  What the hell is a datum?

     

     

    Datums are the features you measure to orient the part in CMM space.  At a minimum you will need to measure a plane, a line and a point.  I typically use the place to establish my Z.  If you have a piece of grit under one corner of the part and you measure a plane off the top of the part, the software will adjust the part so that it is mathmatically flat even though it is not really flat.  A line is use to adjust for a rotational error, ie, the part is not perfectly parallel to a given axis (x or y).  The line can also be use to set a part original value if applicable.  

     

    There are a lot of ways to establish your datums.  They are critical to getting good measurements from the CMM.

     

    Kind regards.

    Clarence

  9. Bob,

     

    Did you get the scanning head with this CMM?  If you did and you plan on using that feature with aluminum parts, I have read that you should not use the ruby stylii when scanning.  Ruby is made of aluminum oxide and as I understand it, you will loose the shape of the stylii over time because of the natural affinity aluminum has for itself.

     

    Kind regards.

    Clarence

  10. Bob,

     

    I have a B&S DCC Gage with the PC-Dmis software, so I can't speak directly to your CMM or software, but, what I found with my software (self taught) is that it was easier to create the lines, points and arcs in Mastercam.  There is a switch between surface/solid selection and wireframe selection.  I found that I had more control over my hits with the wireframe.

     

    One piece of advise that I believe holds true across CMM software is to understand how the CMM references the part and the effects of the small deviations, especially in rotation.  An example, I machined a test piece with two angles that I wanted to measure.  One of the angles had a short leg (approximately 3/4") while the other was considerably longer (2").  The difference between the angles was an order of magnitude different (.1 degrees on the short vs .01 degrees on the longer).  Those small deviations in hit values can have a profound effect on the end result.

     

    Get to know your CMM and its idiosyncicies (which I expect you will) before you trust the numbers that you are getting.

     

    Kind regards,

    Clarence

  11. Ron,

     

    Just a thought, and I really don't know if it would work, but could you change the direction of rotation in the machine definition to get a mirrored effect.  I have never done 5 axis work and typically only do 3+1 so I could be way off base.

     

    Clarence

  12. jlw

     

    You can rotate the wcs in the plane manager.  Right click on the wcs you would like to rotate, select rotate dynamic and the gnomon will appear and you can do what you need to do.

     

    I have been able to copy a wcs, but currently I get some weird behavior in X9 because when I change the offset, it will change where I copied from also.  I just create a new one with and the problem is not there.

     

    Ron,

     

    I don't know how to mirror a plane, but could the rotate dynamic work as above?

     

    Clarence

  13. Machineguy,

     

    I agree with you.  I am in the process of adding the probing to the last of my Haas verticals.  I will be making some modifications to the probing macros to allow setting 33 to stay in Haas mode.  I realize that this is a little risky, but as I envision my process, I will be removing a number of macros from the control and this should reduce the risks involved.

     

    Kind regards.

    Clarence

  14. Yes, the only difference that I have read about and experienced between the Haas and Fanuc setting is what happens to G52.  

     

    I personally like it in Haas mode because it allows global shifting.  I typically use the G52 as the machine specific distance between the gage line and the reference I have established on my table because of our Zoller presetter.  I then use the part Z offset to contain the parallels and material height if any.  For myself and my team, the numbers have more meaning and it is a little easier to trouble shoot when I did something wrong during programming.

     

    Kind regards.

    Clarence 

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...