585,877 active members*
3,320 visitors online*
Register for free
Login
IndustryArena Forum > Community Club House > General Off Topic Discussions > MasterCam doesn't post toolchange when "enable tool stage routine" enabled.
Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2015
    Posts
    1

    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.

  2. #2
    Join Date
    Jun 2015
    Posts
    32

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

    tell me if this works please

  3. #3
    Join Date
    Dec 2008
    Posts
    3109

    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

  4. #4
    Join Date
    Jun 2015
    Posts
    32

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

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

Similar Threads

  1. Replies: 0
    Last Post: 04-08-2015, 03:14 AM
  2. Replies: 21
    Last Post: 01-23-2015, 11:17 PM
  3. X Axis "Goes Off Pattern", "Awry", "Skewed", "Travels"
    By DaDaDaddio in forum Laser Engraving / Cutting Machine General Topics
    Replies: 1
    Last Post: 05-06-2013, 09:59 AM
  4. New Mach version "Elapsed Time" doesn't stop
    By kprice1658 in forum Tormach Personal CNC Mill
    Replies: 5
    Last Post: 04-14-2010, 09:53 PM
  5. Lazycam doesn't generate "passes"
    By wadero in forum Mach Mill
    Replies: 10
    Last Post: 08-21-2007, 10:22 PM

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
  •