585,589 active members*
3,000 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2018
    Posts
    1

    Adding one program to another

    Please excuse my rookie question, but how do I add one NC program to the end of another? I use Notepad++ to edit right now. So basically I want to take "Op1" and add "Op2" to it to make one program.

  2. #2
    Join Date
    Dec 2013
    Posts
    5717

    Re: Adding one program to another

    That is exactly how you do it, in Notepad

    At the end of Op1 there are most likely some lines of code that look something like this:


    M5 (Spindle Stop)
    M9 (Coolant Off)
    M30 (End of Program)
    %

    So normally all you have to do is put Op2 ahead of these lines. There are also normally a few lines of preamble code that could be removed from Op2

    If you have a tool changer then you will need to insert the needed code for that. If you need to manually change tools, then keep it as two separate operations/programs.

    The other option is to just create the separate operations in your CAM program and post them as one program.
    Jim Dawson
    Sandy, Oregon, USA

Posting Permissions

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