587,997 active members*
2,091 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2008
    Posts
    13

    Program Merging

    :drowning:

    Hello again, I have to admit, that I am not an Okuma person at all but I am trying to learn. I do know that on a fanuc controller or any other controller
    known to man, all you have to do is M98 Pxxxx then, M99 at the end of the 2nd program and BAM, your program is merged. I have 2 programs, that I need to merge as 1. V1531-1A.min and V2531-2B.min. How do I go about making them run one after the other. I do not totally understand the whole scheduled program thing, like I said in the beginning I am not an Okuma guy at all. I truely appreciate all that will put forth there valuable time and effort to answer this.

    Slainte,

    Sean

  2. #2
    Join Date
    Apr 2009
    Posts
    1262
    Take a look at this thread:


    http://www.cnczone.com/forums/showthread.php?t=87913

    It runs through how to use the schedule program and reasons why you may want to use it.

  3. #3
    Join Date
    Dec 2008
    Posts
    79
    but schedule programming is an option on older controller

  4. #4
    Join Date
    May 2007
    Posts
    1003
    Quote Originally Posted by KaesynCAM_Tech View Post
    :drowning:

    Hello again, I have to admit, that I am not an Okuma person at all but I am trying to learn. I do know that on a fanuc controller or any other controller
    known to man, all you have to do is M98 Pxxxx then, M99 at the end of the 2nd program and BAM, your program is merged. I have 2 programs, that I need to merge as 1. V1531-1A.min and V2531-2B.min. How do I go about making them run one after the other. I do not totally understand the whole scheduled program thing, like I said in the beginning I am not an Okuma guy at all. I truely appreciate all that will put forth there valuable time and effort to answer this.

    Slainte,

    Sean
    Sean, what you describe with M98 Pxxxx M99 is not referred to as a 'merge' as far as I know. What you described is running a subprogram from within another program (either the main one or another subprogram). I went looking for an example for you only to discover that the gentleman who programs our Okuma with OSP700L control apparently doesn't know how to use subprograms on the Okuma. No reflection on his abilities as he is an excellent machinist, and (naturally) because of this a good programmer.

    I seldom program the Okuma, but I know this program has been run and sent back. It works fine. I included my comments from the header. You won't need them except for "V1 sets the work shift".


    V1 SETS THE WORK SHIFT.
    SET V2 TO EQUAL THE NUMBER OF PARTS THAT CAN BE MADE WITHOUT HITTING THE CHUCK.
    V2 WILL EQUAL 5 UNTIL YOU GET TO THE LAST SET OF PARTS.
    ROUGH TURNS .235 FOR EACH PART.




    N1VZOFZ=V1 (1ST PART)
    CALL O100
    CALL O106
    M1
    N2VZOFZ=V1-.232 (2ND PART)
    CALL O106
    M1
    N3VZOFZ=V1-.464 (3RD PART)
    CALL O106
    M1
    N4VZOFZ=V1-.696 (4TH PART)
    CALL O106
    M1
    N5VZOFZ=V1-.928 (5TH PART)
    CALL O106
    VZOFZ=V1
    G0X30.Z30.
    M02
    O100
    G0X8.Z30.M42 (ROUGH TURN)
    G50S2500
    G97S735T0101M3M61
    G0X4.16Z.5M8
    G96S800
    Z.005
    G1X2.3F.01
    G0X3.961Z.03
    G1Z-V2*.235F.012
    X3.98
    G0Z.06
    G1X3.814Z.02F.03
    Z-V2*.235F.012
    X3.83
    G0Z.06
    G1X3.667Z.02F.03
    Z-V2*.235F.012
    X4.1F.02
    G0Z2.
    X3.Z30.
    M1
    N400 (ROUGH BORE)
    G97S1150T0404M3M61
    G0X2.655Z.5M8
    G96S800
    Z.03
    G1Z-V2*.235F.012
    X2.63
    G0Z.06
    G1X2.85Z.03F.03
    Z-V2*.235F.012
    X2.83
    G0Z.06
    G1X3.045Z.03F.03
    Z-V2*.235F.012
    X3.02
    G0Z.06
    G1X3.24Z.03F.03
    Z-V2*.235F.012
    X2.5F.02
    G0Z1.
    X7.Z30.
    M1
    RTS
    O106 (EWA-10295 SUBPROGRAM)
    N200 (FINISH TURN)
    G97S1045T0202M3M61
    G0X3.657Z.03M8
    G96S1000
    G1Z-.1213F.004
    G3X3.637Z-.1453L.034F.002
    G1X3.6086Z-.1595
    X3.69F.01
    Z-.055F.05
    X3.657Z-.0447F.005
    G2X3.637Z-.0207L.034F.002
    G1X3.6156Z-.01
    G2X3.5676Z0L.034
    G1X3.16F.0045
    G0Z1.
    X3.Z30.
    M1
    N600 (FINISH BORE)
    G97S925T0606M3M61
    G0X3.309Z.5M8
    G96S800
    Z.03
    G1X3.246Z-.088F.008
    G0Z.06S1000
    G1X3.41Z.03F.03
    X3.3753Z.01F.015
    Z0F.002
    G2X3.2981Z-.0296L.04
    G1X3.2527Z-.1143F.004
    G2X3.2505Z-.1226L.032F.001
    G1Z-.16F.004
    X3.22F.01
    G0Z1.
    X2.5Z30.
    M1
    N800 (ID BACK CHAMFER)
    G97S1147T0808M3M61
    G0X3.2Z.5M8
    G96S600
    Z-.14
    G1X3.22Z-.1473F.015
    X3.2505F.003
    G2X3.2541Z-.1515L.006F.001
    G1X3.2643Z-.1566
    X3.2F.02
    G0Z1.
    X8.Z30.
    M1
    N1100 (CUT-OFF)
    G97S310T1111M3M61
    G0X3.73Z-.2265M8
    G96S300
    G1X3.7F.02
    X3.2Z-.2245F.0025
    G0X4.
    Z1.
    X8.Z30.
    M1
    RTS
    %

    EDIT: Please note that in VZOFZ it is the capital letter O, not the number zero!

  5. #5
    Join Date
    Apr 2006
    Posts
    825
    Quote Originally Posted by KaesynCAM_Tech View Post
    :drowning:

    Hello again, I have to admit, that I am not an Okuma person at all but I am trying to learn. I do know that on a fanuc controller or any other controller
    known to man, all you have to do is M98 Pxxxx then, M99 at the end of the 2nd program and BAM, your program is merged. I have 2 programs, that I need to merge as 1. V1531-1A.min and V2531-2B.min. How do I go about making them run one after the other. I do not totally understand the whole scheduled program thing, like I said in the beginning I am not an Okuma guy at all. I truely appreciate all that will put forth there valuable time and effort to answer this.

    Slainte,

    Sean
    Sean, are actually wanting to run one program after the other, where each program is kept in it own file (use a schedule program in that case) or do you want to create a single file that has both the other programs joined (merged) into it?
    To create a merged file use the PIP Copy function:
    PIP
    Copy
    Enter first filename then "," (comma) the second filename followed by ";A"
    For example:
    PIP CO V1531-1A.MIN,V2531-2B.MIN;A
    Program V1531-1A.MIN will now have the second program "Appended" to the end of the first program.

    But if your problem is to have one program run then followed by another program run, your best choice it to use Schedule programming. Refer to the reference stated before.
    Cheers
    Brian.

Similar Threads

  1. Mazatrol Program into a G Code Program
    By fuzzman in forum Mazak, Mitsubishi, Mazatrol
    Replies: 15
    Last Post: 09-25-2012, 04:27 PM
  2. Replies: 12
    Last Post: 03-15-2010, 02:19 AM
  3. Program Restart in mid program?
    By Donkey Hotey in forum Haas Lathes
    Replies: 16
    Last Post: 03-18-2008, 08:19 PM
  4. a little help with merging
    By Craigpat in forum Solidworks
    Replies: 13
    Last Post: 03-17-2008, 12:49 PM
  5. Replies: 11
    Last Post: 10-09-2005, 05:45 AM

Posting Permissions

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