Page 1 of 2 12 LastLast
Results 1 to 12 of 22

Thread: mill program

  1. #1
    Registered
    Join Date
    May 2009
    Location
    usa
    Posts
    87
    Downloads
    0
    Uploads
    0

    mill program

    i have a 5020m 4020cadet mill.. im having trouble with the machine reading my programs.. can someone post a sample program that they have for their okuma.. i just need the first few lines and the last few lines... i want to compare it to my programs i am writing.. i think i am missing a code or something.... thanks


  2. #2
    Registered
    Join Date
    Jun 2008
    Location
    USA
    Posts
    270
    Downloads
    0
    Uploads
    0
    $TEST1.MIN%
    (TEST-1)
    (POST - OKUMA.PST)
    (PROGRAM - TEST-1.MIN)
    (DATE - 30-JUL-08)
    (TIME - 12:47)
    (1 | 12. FLAT END MILL CRB | H36 | D36 | D12.0000mm | | CONTOUR....)
    G00 G17 G21 G40 G80 G90
    G30 P1
    IF [VTLCN EQ 1] N1(SPINDLE TOOL CHECK)
    T1 ( 12. FLAT END MILL CRB)
    M6
    N1 (SPINDLE TOOL JUMP)
    S2600 M03


    BLAH BLAH

    G02 X-15.969 Y.734 I11.959 J.991
    G01 X-4.0101 Y1.7246
    G00 Z50.
    M05
    G30 P1 (HOME MACHINE)
    S300 M03
    M12 (TOOL CLEANING AIR BLOW)
    G04P5.0
    M09
    M05
    G90
    M02
    %


  3. #3
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    645
    Downloads
    0
    Uploads
    0
    What kind of problems is the machine having? What errors, or error messages are coming up? Can you manually enter the program into the machine and does it have the same problems if you do?


  4. #4
    Registered
    Join Date
    May 2009
    Location
    usa
    Posts
    87
    Downloads
    0
    Uploads
    0
    im used to fadal cncs and fadal formats.. in this program you posted has (IF,P1, and N1) codes... are these special codes for an OSP? does this mean i need a post processor from mastercam x3 to Okuma OSP?


  • #5
    Registered Shotout's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    443
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by guydrisc View Post
    im used to fadal cncs and fadal formats.. in this program you posted has (IF,P1, and N1) codes... are these special codes for an OSP? does this mean i need a post processor from mastercam x3 to Okuma OSP?
    IF is a conditional command. The code following the IF command ([VTLCN EQ 1]) says in English IF the tool in the spindle equals T01 then goto block number N1. It causes the the control to skip the tool change command if the tool is already in the spindle so it won't alarm out. Unlike a lot of other machines OSP doesn't skip duplicate tool commands. P1 is a reference point, on my MA-400s it is the tool change position. If you have a maintenance agreement with your MC reseller then an OSP post would be a good idea. We don't so I use a Fanuc post that is edited the way I like and then edit the posted program for the OSP codes. Probably not the way you should go. Look up pnemonitics in your manuals and it will list the various commands such as [VTLCN EQ nn].
    Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
    Mark Twain


  • #6
    Registered
    Join Date
    May 2009
    Location
    usa
    Posts
    87
    Downloads
    0
    Uploads
    0
    is editing a program for an OSP a pain in the rear? or is it a basic thing like adding certain codes after or before tool changes, etc, etc... ?


  • #7
    Registered
    Join Date
    Aug 2007
    Location
    U.S.A.
    Posts
    11
    Downloads
    0
    Uploads
    0
    If you have the discs from MC9 in the post there are several osp post. YOu just have to change the G53Z0 linbe in the bottom or your tool will be in the table


  • #8
    Registered Shotout's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    443
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by guydrisc View Post
    is editing a program for an OSP a pain in the rear? or is it a basic thing like adding certain codes after or before tool changes, etc, etc... ?
    It would depend on your grasp of the machine specific g-code as to how much of a pain it is. If I had a post then I would use the post and then do away with the need for hand editing.
    Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself.
    Mark Twain


  • #9
    Registered
    Join Date
    May 2009
    Location
    usa
    Posts
    87
    Downloads
    0
    Uploads
    0
    i dont have mx9 disk or the maintance package for my mx3... there are no certain rules or anything.. if someone could send me programs they have written for their OSP would be cool that way i could compare them to my programs to see what i am missing.


  • #10
    Registered broby's Avatar
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    645
    Downloads
    0
    Uploads
    0

    Talking You need to help us, to help you!

    Quote Originally Posted by guydrisc View Post
    i dont have mx9 disk or the maintance package for my mx3... there are no certain rules or anything.. if someone could send me programs they have written for their OSP would be cool that way i could compare them to my programs to see what i am missing.
    How about giving us an example job?
    i.e. Mill a flat face, say 100x100 (mm) using a 40mm cutter
    Machine a square 10mm deep around the profile of this face to, say 90x90, using cutter rad comp.
    Drill and tap 2 M16x2.0p holes in the face somewhere.

    A fairly simple straight forward program that covers many different operations and tools.

    Show us the resulting program and then we would all be operating from the same point of view.

    Brian.


  • #11
    Registered
    Join Date
    Jun 2008
    Location
    USA
    Posts
    270
    Downloads
    0
    Uploads
    0
    Your Mastercam dealer will be able to give you a post, They are on the Mastercam extranet


  • #12
    Flies Superman's Avatar
    Join Date
    Dec 2008
    Location
    Krypton
    Posts
    1772
    Downloads
    0
    Uploads
    0

    Free Mpmaster post

    You can go to Emastercam website and download the FREE Mpmaster post from here

    pick the one you need, then modify to suit your shop

    A Mc9 or Mx2 has to be upgraded before they can run properly in a higher release, for you, it would be better to start fresh


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Thread Mill Program
      By october in forum G-Code Programing
      Replies: 7
      Last Post: 08-13-2012, 12:15 AM
    2. Which do you find more difficult to program? Lathe or Mill?
      By fordbroncoxlt in forum General Metalwork Discussion
      Replies: 13
      Last Post: 05-20-2009, 06:00 AM
    3. circle mill program w/ a tornado
      By Rocky_Yeska in forum G-Code Programing
      Replies: 13
      Last Post: 10-10-2008, 05:33 AM
    4. Need help with simple thread mill program
      By Captain Midnigh in forum Milltronics
      Replies: 14
      Last Post: 07-24-2008, 06:57 PM
    5. 2-1/2 - 8 NPT Thread Mill Program
      By wesleybridgepor in forum General Metalwork Discussion
      Replies: 2
      Last Post: 11-30-2006, 05:56 AM

    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.