585,894 active members*
4,200 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2008
    Posts
    136

    M99 on OKK MHA-400 with MELDAS-83A

    I have problem with program on OKK

    I try to make a warming up program for my machine

    O1
    N1G0G90X-100.Y-100.Z-100.;
    N2G28X0Y0Z0;
    N3M99;
    %

    but after read the line 3, the program can't rewind to the first line..

    anyone can help my problem? or something that I miss on the program?

  2. #2
    Join Date
    Jun 2008
    Posts
    1511
    I don't know how it is on an OKK but on all the machines that I run M99 is subprogam end. If your running this program from the beginning and not calling it by sub call then you need M2 program end or M30 is program end and rewind. M30 is the most common at the end of a program.

    Stevo

  3. #3
    Join Date
    May 2007
    Posts
    1003
    Not familiar with you machine, but an M99 is what I use on our Daewoo lathes for running on automatic. Pretty sure that on the Hardinges, an M99 will also cause the program to re-run. This would be a subprogram. If you run out of the subprogram instead of a main program, I think it will repeat. I can check for you tomorrow, but don't think it is going to help you with your situation.

    The Hardinges have to have the barfeed option turned on for them to run automatic using M30. Maybe your machine is similar.

  4. #4
    Join Date
    Apr 2008
    Posts
    136
    still waiting sumtin new....

  5. #5
    Join Date
    Jul 2008
    Posts
    116
    O1
    N1G0G90X-100.Y-100.Z-100.;
    N2G28X0Y0Z0;
    N3M99P1;
    %


    TRY ADDING A P1 AFTER THE M99 THAT IS HOW i LOOP MY MAIN PROGRAMS
    You must remember that 99% of my posts are Bullchit!

Similar Threads

  1. Meldas 520
    By rikonen in forum Hyundai Kia
    Replies: 2
    Last Post: 07-10-2008, 04:15 PM
  2. meldas 500
    By positiverake1 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 08-14-2007, 02:27 AM
  3. help with meldas mo
    By ToolC in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 02-09-2007, 04:55 PM
  4. Meldas 310
    By mmurning in forum Mazak, Mitsubishi, Mazatrol
    Replies: 1
    Last Post: 06-20-2006, 04:37 PM
  5. DNC for Meldas
    By hpowell in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 04-06-2004, 07:18 PM

Posting Permissions

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