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:

Karl@CP PISTONS

Verified Members
  • Posts

    300
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Karl@CP PISTONS

  1. Matthew, This would be very easy to do. You could put most of the pieces together yourself just from the examples that are included with mastercam. Look in the VB directory of whatever version you have installed. If you have any specific questions I'm sure that they will be answered here or you can e-mail me at my profile address.

    Have fun with the vb side.

    Karl

  2. I have the same book but I did not find anything on the mod division in the index? I must have just missed it.

    All I need is the final testing of running all 8 parts on both pallets and it will be done. What a relief it will be to finally take a project OFF my plate.

     

    Thanks again

    Karl

  3. Matt, The book I have ( FANUC custom macros ) does not even mention MOD division. I did not want to have a confusing program as it's bad enough already.That is why I did not want to test for every value 1-8

     

    kunfuzed, Yes I do know how the MOD function works and thanks for the format example.

     

    Here is what I ended up with:

     

    IF [#101 MOD 2] = 0 GOTO15

    ( ODD OFFSET NUMBERS )

    #[6982+[[#101 + #137]*20]] = #144

    ( P1,P3,P5,P7,P9,P11,P13,P15 - Y )

    #[6981+[[#101 + #137]*20]] = #129

    ( P1,P3,P5,P7,P9,P11,P13,P15 - X )

     

    GOTO16

     

    N15

    ( EVEN OFFSET NUMBERS )

    #[6982+[[#101 + #137]*20]] = #143

    ( P2,P4,P6,P8.P10,P12,P14,P16 - Y )

    #[6981+[[#101 + #137]*20]] = #129

    ( P2,P4,P6,P8.P10,P12,P14,P16 - X )

     

    N16

     

    I have not had any open time on the machine to test it but it looks good on paper

     

    Thanks to both of you for the info.

    Karl

  4. Does the fanuc macro language have a MOD Division function? If not anybody have any ideas how I can determine if a passed variable is an even or an odd number? The passed value is always going to be between 1 and 8 inclusive.

     

    Thanks

     

    Karl

  5. Hi All,

    I need to come up with a script (for X4) that will import multiple IGES files from various directories and merge them into one mastercam file.

     

    First file opens fine but when the next file is opened the first is closed. I thought about saving the first as temp1 then using the MergeMC() but I was hoping for a more simple solution.

     

    Way back in ver9 the import did not close the previous files.

     

    Anybody have any other sugestions?

     

    Karl

  6. As always excellent advice from all.

    Thank you,

    I will probably run 9 while I try to get the output code exactly as it is now. I want to learn more about the post processors. If it's to time consuming I'll just give it to my dealer to do.

     

    Karl

  7. Thanks for the replies.

     

    I was hoping it would be a simple update-pst c-hook but I guess not. I will definitly keep 9 to get programs done while I attempt the update process.

     

    Can these two co-exist without any problems?

     

    Karl

  8. We finally got our company to cut a PO for mastercam update. We are going from ver. 9 to X3.

     

    The questions I have are:

     

    1) I have modified our posts (5 axis positioning) pretty extensively so how is the post update from 9 to X3?

     

    2) What is involved in the update?

     

    3) If things do not go well is the post language the same?

     

    Karl

  9. We have our post fill in this info for us using the nci file placement. My config files save the NCI to a Dummy directory named KARL the other guy writes to the dummy file TOM..... then the post can determine who is posting and just fill it in. If the directory in not correct it will prompt for the programmer name. This is in ver. 9 but same logic should work for X.

     

    Karl

  10. This is from the mastercam script help:

     

    // set the current tool plane view to be perpendicular to a certain vector

     

    Integer SetTPlaneNormal(

    Real,(Input: X-Coordinate of vector perpendicular to new view)

     

    Real,(Input: Y-Coordinate of vector perpendicular to new view)

     

    Real,(Input: Z-Coordinate of vector perpendicular to new view)

    )

     

     

    I have never tried to use it, but it is possible to create a plane using VB!

     

    Karl

  11. Another idea is to buy a complete set with no machining except for center - lugs from somewhere. I know that budnik wheels sells then as smoothy style.(I used to program for budnik) You give them back / front space and hub diameter. You get complete wheels ready for you to customize.

     

    +1 for the "y" travel answer. You need to add approx 1.2 inches to the diameter to allow for the bead configuration.

     

    +100 to the steering wheel answer. Aluminum steering wheel = much easier to fixture and machine plus stays cleaner inside the car. At budnik I made plenty of 100% custom wheels that looked very cool but were a MAJOR pain to keep clean.

     

    Karl

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...