Results 1 to 3 of 3

Thread: X axis inverted, mastercam output needed

  1. #1
    Registered
    Join Date
    Dec 2007
    Location
    Mexico
    Posts
    99
    Downloads
    0
    Uploads
    0

    X axis inverted, mastercam output needed

    I have a Mori Seiki with Fanuct 5T, and the X axis is inverted, that is X- is up and X+ is down, so all the X values should be negative but in my mastercam X2 I cannot find the way to change this. I already tried using X-Z+ lathe radius plane but still after postprocessing I always get X values positive. The big problem is G02 G03 because it seems like they have to change a lot.

    Any help is always welcome

    Thanks

    jolulank


  2. #2
    Registered
    Join Date
    Aug 2010
    Location
    usa
    Posts
    8
    Downloads
    0
    Uploads
    0
    I had a similar problem with our old Thermwood router. What I found...
    In the mastercam help wile there is a sample of a 3 axis post, and it shows how to invert the axis. I assume that you are modifing an existing post processor to work with your machine.

    Make backup copies of your post before you start messing with it.
    Open it with any text editor and find the Motion control section, add a line to the section that writes the line for the axis. Something like this..


    # --------------------------------------------------------------------------
    # Motion NC output
    # --------------------------------------------------------------------------

    ##### Custom changes allowed below #####

    prapidout #Output to NC of linear movement - rapid

    xabs = xabs * -1 # <------Invert axis output
    pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, pccdia,
    xout, yout, zout, s_out, p_out, strcantext, scoolant, e$

    plinout #Output to NC of linear movement - feed

    xabs = xabs * -1 # <------Invert axis output
    pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, `sgfeed, pccdia,
    xout, yout, zout, s_out, p_out, `feed, strcantext, scoolant, e$
    if nc_lout$ <> m_one & feed = zero, psfeederror


    Your post might be different but hopefully you get the idea. Double check your g-code output to make sure things are moving in the right direction. And double check the g02 and g03 you may have to add that line in another place for those.


    From what I have heard, the newer versions of Mastercam are going to control the options for the post through the control definition file in Mastercam itself. I have an older version with an even older post so it doesn't do much for me, I have to manually edit the post.

    Hope this helps


  3. #3
    Registered
    Join Date
    Dec 2007
    Location
    Mexico
    Posts
    99
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by thermgood View Post
    I had a similar problem with our old Thermwood router. What I found...
    In the mastercam help wile there is a sample of a 3 axis post, and it shows how to invert the axis. I assume that you are modifing an existing post processor to work with your machine.

    Make backup copies of your post before you start messing with it.
    Open it with any text editor and find the Motion control section, add a line to the section that writes the line for the axis. Something like this..


    # --------------------------------------------------------------------------
    # Motion NC output
    # --------------------------------------------------------------------------

    ##### Custom changes allowed below #####

    prapidout #Output to NC of linear movement - rapid

    xabs = xabs * -1 # <------Invert axis output
    pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, pccdia,
    xout, yout, zout, s_out, p_out, strcantext, scoolant, e$

    plinout #Output to NC of linear movement - feed

    xabs = xabs * -1 # <------Invert axis output
    pcan1, pbld, n$, `sgcode, sgplane, sgabsinc, `sgfeed, pccdia,
    xout, yout, zout, s_out, p_out, `feed, strcantext, scoolant, e$
    if nc_lout$ <> m_one & feed = zero, psfeederror


    Your post might be different but hopefully you get the idea. Double check your g-code output to make sure things are moving in the right direction. And double check the g02 and g03 you may have to add that line in another place for those.


    From what I have heard, the newer versions of Mastercam are going to control the options for the post through the control definition file in Mastercam itself. I have an older version with an even older post so it doesn't do much for me, I have to manually edit the post.

    Hope this helps



    Thanks Thermgood,

    I changed some of the values in the post as you suggested and is working fine now. I had to invert also the G02 and G03 too.

    Thanks again

    jolulank


Similar Threads

  1. Direction output inverted in Mach3 R3.041
    By kreutz in forum Machines running Mach Software
    Replies: 13
    Last Post: 07-21-2010, 08:18 PM
  2. inverted y axis
    By Jack000 in forum Coding
    Replies: 2
    Last Post: 04-30-2010, 01:36 PM
  3. Serious Sherline/ EMC2 problem: Inverted axis
    By bardDrab in forum Benchtop Machines
    Replies: 3
    Last Post: 03-01-2010, 08:51 PM
  4. Problem- Arc output in NC w/mastercam
    By zelaznog in forum Post Processor Files
    Replies: 4
    Last Post: 06-24-2009, 12:35 PM
  5. Need Help!- deckel 70 3+2 axis post processor for mastercam needed
    By broon in forum Post Processor Files
    Replies: 0
    Last Post: 05-04-2009, 01:28 PM

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.