Results 1 to 6 of 6

Thread: Change M- code in post?

  1. #1
    Registered
    Join Date
    May 2006
    Location
    Netherlands
    Posts
    99
    Downloads
    0
    Uploads
    0

    Change M- code in post?

    Hello all,

    I have a PUMA Lathe with "Live tooling" and Mastercam posts an M52 instead of M33 for live tool spindle start. How do I change this in Control Definition Manager if I even have to change it there???

    I have a couple more of these isues with other machines. So it would be GREAT if I get to change some stuff. Like putting a Block number only at the beginning of a new operation and an M01 between operations.

    Thanks to all


  2. #2
    Registered
    Join Date
    Aug 2007
    Location
    USA
    Posts
    339
    Downloads
    0
    Uploads
    0
    That's a post issue. You will need to Modify the post to do those things for you. You can use an text editor to edit your post. Just don't use NOTE PAD. Modify to put M01 and Block number after every tool change. Then you can run your Optional Stop feature. or search to the next operation using the Block number.


  3. #3
    Registered
    Join Date
    May 2007
    Location
    USA
    Posts
    939
    Downloads
    0
    Uploads
    0
    Look here and make necessary changes.

    # Generate string for spindle, mill
    sm52 M34 # Spindle reverse - no coolant
    sm55 M35 # Spindle off - no coolant
    sm51 M33 # Spindle forward - no coolant
    sm54 M34 # Spindle reverse - coolant
    sm55c M35 # Spindle off - coolant
    sm53 M33 # Spindle forward - coolant
    spindle_m #Target for string

    fstrsel sm52 g_spdir spindle_m 6 -1

    This is for a Daewoo 200MS. No separate codes for with/without coolant.

    HTH


  4. #4
    Registered
    Join Date
    Jun 2006
    Location
    usa
    Posts
    38
    Downloads
    0
    Uploads
    0
    Any reason why we shouldn't use notepad? what other text editor program can we use? MSWord? Wordpad?


  • #5
    Registered cnc-king's Avatar
    Join Date
    Jul 2003
    Location
    united states
    Posts
    254
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by yoshi900 View Post
    Any reason why we shouldn't use notepad? what other text editor program can we use? MSWord? Wordpad?
    I have found Textpad to be a very good text editor
    If you can ENVISION it I can make it


  • #6
    Community Director cadcam's Avatar
    Join Date
    Apr 2003
    Location
    United States
    Posts
    3,132
    Downloads
    0
    Uploads
    0
    For starters alwas make a backup before attempting to make post modes.
    Next just use the editors that came with Mastercam . (ex Mastercam editor or the Cimco editor)
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
    Cadcam
    Owner, contract Programming and Consultant , Mastercam Instructor and on line trainer at www.eapprentice.net
    Some tips: http://www.youtube.com/PrecisionProgramming


  • Similar Threads

    1. M code change or pairing.
      By Mechboy in forum Haas Lathes
      Replies: 9
      Last Post: 09-30-2008, 12:52 PM
    2. What G Code to Stop for Tool Change?
      By teamtexas in forum G-Code Programing
      Replies: 1
      Last Post: 09-09-2008, 09:12 PM
    3. rotary code at tool change
      By brandou10l in forum Post Processors for MC
      Replies: 2
      Last Post: 01-05-2008, 07:33 AM
    4. G or M code for tool change
      By bradyfb in forum DeskCNC Controller Board
      Replies: 14
      Last Post: 12-19-2007, 09:27 PM
    5. G Code Change
      By gm3211 in forum Haas Mills
      Replies: 4
      Last Post: 09-20-2007, 08:02 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.