588,032 active members*
4,683 visitors online*
Register for free
Login

Thread: subprograms

Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2008
    Posts
    8

    subprograms

    How do I create subprograms on toolpaths with mastercam? I'm a newbie

  2. #2
    Join Date
    Oct 2008
    Posts
    45

    Subs

    Well there are a few ways what you trying to do?

    And what lv are you useing?

  3. #3
    Join Date
    Dec 2008
    Posts
    3136
    Subs,
    -Your post must be sub enabled
    -not be a surfacing or multi-axis toolpath
    -repeated at more than 1 depth
    -multipasses are subbed, only if depths also is used
    -only that operation that has subs turned on, will be subbed

    If your post is sub enabled, turning on sub-output is through the "depths" button in "2D/3D contour", also absolute or incremental output can be chosen, IMO , start with absolute as you and the operators can follow the code easier.

    Fanucs should output the call statement as "M98 P1001" for the 1st call-up
    and the actual sub is placed after the end of the program, M2/M30 line as O1001 ending with M99
    Okumas use CALL O1001 as the call-up statement, and the sub-routine named as O1001, ending with RTS

    not sure about others.

    You can of course, modify the program manually ....Ha Ha..........ha

  4. #4
    Join Date
    Sep 2008
    Posts
    8
    I'm using mastercam X3 level1. The post I'm using is mpsubrep. It took me a long time to figure out how to update this post for vervion X3. Now the post is working but it's not creating any sub programs. I'm hoping I don't have to modify the program manually mastercam should do all that for me. I don't see the depth option, could I be looking in the wrong place or maybe this version doesn't have that option.

  5. #5
    Join Date
    Sep 2008
    Posts
    8
    Oh! never mind I found it, I'll keep playing with it. Thanks Superman.

Similar Threads

  1. Subprograms Subroutines Help
    By gibbsmaster in forum EdgeCam
    Replies: 6
    Last Post: 12-23-2012, 12:29 AM
  2. Running subprograms from hdd
    By dtmtim in forum Haas Mills
    Replies: 18
    Last Post: 11-23-2010, 04:12 AM
  3. A question for subprograms
    By Hatebreeder in forum Fanuc
    Replies: 11
    Last Post: 07-18-2008, 05:08 AM
  4. does camware have a 'where used' for subprograms?
    By inflateable in forum Mazak, Mitsubishi, Mazatrol
    Replies: 3
    Last Post: 07-09-2008, 11:26 AM
  5. M97 Internal Subprograms?????
    By CAMCRASH in forum G-Code Programing
    Replies: 6
    Last Post: 03-24-2005, 07:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •