North America MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

Results 1 to 4 of 4

Thread: MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

  1. #1
    Registered
    Join Date
    Jul 2015
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

    Posting from MasterCam X6 to Fanuc 16i . When I go and check "enable tool staging routine" in controller, M6 T# doesn't occur if only posting a single tool. Here is my post processor. Appreciate any help.

    Similar Threads:
    Attached Files Attached Files


  2. #2
    Registered
    Join Date
    Jun 2015
    Location
    U.S.A.
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

    tell me if this works please

    Attached Files Attached Files


  3. #3
    Flies Fast Superman's Avatar
    Join Date
    Dec 2008
    Location
    Antarctica
    Posts
    3109
    Downloads
    0
    Uploads
    0

    Default Re: MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

    Quote Originally Posted by RuckinFugger15 View Post
    tell me if this works please
    If your attempt is just a little fun....I suggest you go and play games elsewhere...say, the middle lane on the freeway
    Code:
          "%", e$
          *progno$, e$
          "(PROGRAM NAME - ", sprogname$, ")", e$
          "(DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, ")", e$
          "(you really want all that in there ^^?)" e$    <--- this is your addition
          pbld, n$, *smetric, e$
    mayhew1......ignore the previous posters attachment.

    normally for a single tool program, you load the tool ( into spindle ) before running the code. The machine is not continually checking / loading the same tool ( to save time )
    but there can be reasons to ensure that the correct tool is loaded before running code

    so find in the pst file and do the highlighted change ( one place only )
    Code:
    psof$            #Start of file for non-zero tool number             
          pcuttype
          toolchng = one
          if ntools$ = one,
            [
            #skip single tool outputs, stagetool must be on
            #stagetool = m_one     # comment placed to stop stagetool value being change to -1
            !next_tool$
            ]
          "%", e$
          *progno$, e$
          "(PROGRAM NAME - ", sprogname$, ")", e$
          "(DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, ")", e$
    ...
    ...
    ...
    ...
          pcom_moveb
          c_mmlt$ #Multiple tool subprogram call
          ptoolcomment
          comment$
          pcan
          if stagetool >= zero, pbld, n$, *t$, "M6", e$   # if stagetool is -1.... then this line is not executed
          pindex
          if mi1$ > one, absinc$ = zero


    Last edited by Superman; 08-01-2015 at 05:12 AM.


  4. #4
    Registered
    Join Date
    Jun 2015
    Location
    U.S.A.
    Posts
    32
    Downloads
    0
    Uploads
    0

    Default Re: MasterCam doesn't post toolchange when "enable tool stage routine" enabled.

    that's not all I changed superman. no games. just a question.



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

MasterCam doesn't post toolchange when &quot;enable tool stage routine&quot; enabled.

MasterCam doesn't post toolchange when &quot;enable tool stage routine&quot; enabled.