Results 1 to 3 of 3

Thread: Combining three posted programs into one

  1. #1
    Registered
    Join Date
    Oct 2011
    Location
    USA
    Posts
    25
    Downloads
    0
    Uploads
    0

    Combining three posted programs into one

    I want to combine three posted files (NC files) into one and then change the offsets in two of them to G55 & G56. I'm not good at code. What do I need to watch out for?


  2. #2
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    986
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Machining View Post
    I want to combine three posted files (NC files) into one and then change the offsets in two of them to G55 & G56. I'm not good at code. What do I need to watch out for?
    If the three programs were all stand alone and proven, the main thing you have to be mindful of, and you have already made reference to it, is that the correct Work Shifts are being used for all three programs, whether they are being used on 2nd and 3rd operations of the one part, or on three different components.

    When programs are created as stand alone programs, they often have a particular character set at the beginning. Fanuc have the “O” character, plus a program number, Okuma can have “MIN”, and so on. If your control uses such characters, you need to remove these from the head of the two programs being appended to the first. Failing to doe this with a Fanuc control will result in the combined programs being split back into the original three by the control when the program is uploaded. Also, the M30 or M02, along with any control characters, such as "%", need to be deleted from the 1st and 2nd programs.

    It’s also usual for a safety line to appear at the head of a stand alone program, such as:
    N1 G00 G17 G21 G40 G49 G80

    When the two other programs are appended to the first, the above line appearing at the head of these two programs will be superfluous, but will not affect the running of the programs in any way. Accordingly, it is quite optional whether these extra blocks are deleted or not.

    Regards,

    Bill


  3. #3
    Registered
    Join Date
    Feb 2006
    Location
    india
    Posts
    1,273
    Downloads
    0
    Uploads
    0
    This is how you can insert a program into another program:

    An existing program (say, program number 2345) can be inserted
    at an arbitrary position in the current program (say, program
    number 1234). These are the steps:

    • Select the EDIT mode on the MOP panel.
    • Press the PROG key on the MDI panel.
    • Type O1234 (or simply 1234) and press the O SRH soft key.
    • Press the soft key OPRT. If OPRT does not appear, press the
    return-menu soft key (< ).
    • Press the next-menu soft key ( >).
    • Press the soft key EX-EDT, followed by MERGE.
    • Move the cursor to the word, before which program number
    2345 is to be inserted, and press the soft key ~’CRSL or
    ~BTTM’ (in the latter case, the insertion is done at the end
    of the current program, regardless of the position of the
    cursor).
    • Type 2345 and press INPUT on the MDI panel.
    • Press the soft key EXEC.
    After this operation, program number 2345 is inserted at
    the desired location in program number 1234, creating a
    modified program number 1234. Program number 2345 remains
    unaffected.


Similar Threads

  1. Combining grounds logic and HV
    By simpson36 in forum General Electronics Discussion
    Replies: 5
    Last Post: 05-18-2010, 11:42 AM
  2. 2 or more CO2 Laser beams combining?
    By Konstantin in forum General Laser Engraving & Cutting Machine Discussion
    Replies: 9
    Last Post: 02-21-2009, 01:08 PM
  3. Need Help!- Combining DXF in A9CAD
    By blue_steel in forum OpenSource Software
    Replies: 6
    Last Post: 01-29-2009, 07:38 PM
  4. CNC Posted Programs
    By corster in forum CNCzone Club House
    Replies: 0
    Last Post: 02-15-2007, 09:20 AM
  5. Combining woodworking with CNC
    By Patrick2by4 in forum WoodWorking
    Replies: 47
    Last Post: 10-29-2006, 07:44 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.