Multiple Subprograms on KE55 w/Pro Jn
Largest Manufacturing Technology
Community On The Web
Close
Login to Your Account

Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2017
    Country
    ALAND ISLANDS
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    1

    Default Multiple Subprograms on KE55 w/Pro Jn

    First I want to say I'm a two year lurker and have learned quite a bit since I started reading. So, thank you.

    Here's the issue- I've been learning programming on a HAAS VF1 and a '95 Makino KE55 machining center and mill, respectively. With the KE55 I wrote two subprograms. With only one programmed in, it worked fine. I ran the sub 4 times, each time going -z .025"(aluminum with a 1/2" carbide end mill). When it got to the second one, which was just for excess material removal, it gave me an alarm. 021 Illegal plane axis. However, in that sub, I did not use circular interpolation. No G17, G18, or G19 in any of my program. Only G01, G02, and G03. And I only used those in the first sub. But, I programmed it to return to the z-.020
    I'm thinking I should run then back and forth like

    G01 Z-0.020;
    M98 P0211;
    M98 P1211;
    Z-0.040;
    M98 P0211;
    M98 P1211;
    Z-0.060;
    etc...

    or…

    G01 Z-0.020;
    M98 P0211;
    G01; (because the last block from previous is a G02)
    M98 P1211;
    Z-0.040; (because the whole sub is linear interpolation)

    I'm not using cutter compensation either. Any ideas?

  2. #2
    Join Date
    Feb 2017
    Country
    ALAND ISLANDS
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    1

    Default Multiple Subprograms on KE55 w/Pro Jn

    Can I run a subprogram within a subprogram? Kind of redundant, but is it possible?

  3. #3
    Join Date
    Feb 2017
    Country
    ALAND ISLANDS
    Posts
    5
    Post Thanks / Like
    Likes (Given)
    1
    Likes (Received)
    1

    Default

    Quote Originally Posted by Cav.sabers View Post
    Can I run a subprogram within a subprogram? Kind of redundant, but is it possible?
    Never mind this! Found my answer!

    http://www.cnccookbook.com/CCCNCGCodeSubprograms.htm


Tags for this Thread

Bookmarks

Posting Permissions

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