586,035 active members*
3,889 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    May 2009
    Posts
    63

    Multiple Program's

    Is there a way to run multiple programs from one master program on an OSP controller.
    I was looking for a code like M98 Pxxxx on a funuc system. I know how to run it all as 1 program, butr need to know if it possible with total different program names.

    Example:

    Main program ABC.MIN (will call program a.min, return call program b.min etc)

    Sub 1 A.min
    Sub 2 B.min
    Sub 3 C.in
    ETC.

    Thanks for any help you can provide.

  2. #2
    Join Date
    Aug 2008
    Posts
    17
    they cannot be in the same program you will have to load all of the programs separately.
    Sub programs have the extension .SSB

    inside of your main program instead of M98 you would use a CALL.
    at the end of a sub you would use a RTS instead of an M99

    ABC.MIN
    OA.SSB
    OB.SSB
    OC.SSB

    the format looks like this
    CALL OA
    CALL OB
    CALL OC

    Im not 100% sure that you will have to start the program name with the letter O but i can check later tonight when i get home. I can send you some of my examples if you would like. You can also pass variables in the call line just like a G65.

  3. #3
    Join Date
    May 2009
    Posts
    63
    Thank you for the info. I will try it when I get in tommorow. Thanks

  4. #4
    Join Date
    Feb 2009
    Posts
    202

    SDF program

    schedule program

    all .MIN files in MD1
    .SDF looks like this:

    USBOP1A.MIN,,,Q1
    HIFEED.MIN,,,Q1
    USBR1.MIN,,,Q1
    USBR2.MIN,,,Q1
    USBR3.MIN,,,Q1
    USBR4.MIN,,,Q1
    USBR5.MIN,,,Q1
    END

    select SDF from AUTO, EXTEND and let the fun begin

  5. #5
    Join Date
    Mar 2009
    Posts
    1982
    a little more specific about "sdf" program.
    syntacsis provided by "DIFF OVER" is correct. It will work.
    It's a shedule program - designed for call part programs (extension "min") for execution.
    shedule program loads library, subprograms, main program; loads part program from file; indicates how many times to run it; sets variables; etc. Minimum for running without errors is enough:
    * file name, which contains part program;
    * number of runs
    PSELECT ONAME,,SHAFT-1.MIN,Q30
    legend: command program select
    name of part program
    file name
    part program will be executed 30 times
    to use shedule program, You need select it from automatic mode by command "SS" instead of "PS" which is for part program (min) selection

Similar Threads

  1. Multiple set-ups
    By RP Designs in forum MetalWork Discussion
    Replies: 3
    Last Post: 05-07-2009, 12:18 AM
  2. Multiple Set-ups?
    By Smitty092000 in forum Mastercam
    Replies: 1
    Last Post: 01-17-2009, 04:21 PM
  3. multiple TLO settings
    By Knowklew in forum Haas Mills
    Replies: 4
    Last Post: 12-18-2008, 01:38 AM
  4. Multiple offsets
    By Tinker Simpleto in forum Haas Mills
    Replies: 17
    Last Post: 12-05-2008, 02:01 AM
  5. Calling program's at certin time on MAZAK
    By Bala in forum Mazak, Mitsubishi, Mazatrol
    Replies: 4
    Last Post: 12-21-2006, 07:21 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
  •