Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

MyCenter-4xiF_Fanuc30iB


Recommended Posts

Good morning everyone,

I need a little info about this post when I write 2 different tapping operations the second one automatically changes from g95 to g94 which screws up the feed rate.

 

Any help is appreciated:)

 

Here is a sample of the code.

 

%
O0000 (T)
(MYCENTER-4XIF_FANUC30IB)
(MACHINE GROUP-1)
(MCX FILE  - T)
(DATE      - SEP-11-2014)
(TIME      - 9:03 AM)
(T40  - M16 -2.0  RH TAP     - H40  - D40  - D0.6300")
N100 G00 G17 G20 G40 G80 G90
N110 G91 G28 Z0.
N120 G90 G53 X-39.05 Y-1.1419
N130 T40 M06 (M16 -2.0  RH TAP)
N140 (MAX - Z15.)
N150 (MIN - Z-2.1)
N160 G00 G17 G54 X-1.4674 Y.4861
N170 G43 H40 Z15.
N180 G95
N190 M29 S127
N200 G98 G84 X-1.4674 Y.4861 Z-1.6 R.1 F.0787
N210 G80
N220 G94
N230 X-.2338 Y-.2984
N240 Z14.5
N250 M29 S127
N260 G98 G84 X-.2338 Y-.2984 Z-2.1 R-.4 F.0787
N270 G80
N280 G94
N290 X-.4054 Y.5988
N300 M29 S127
N310 G98 G84 X-.4054 Y.5988 Z-2.1 R-.4 F.0787
N320 G80
N330 G94
N340 Z15.
N350 X1.1491 Y-.4481
N360 M29 S127
N370 G98 G84 X1.1491 Y-.4481 Z-1.6 R.1 F.0787
N380 G80
N390 G94
N400 M05
N410 G91 G28 Z0.
N420 G90 G53 X-39.05 Y-1.1419
N430 G90
N440 M30
%
 

Link to comment
Share on other sites

This is just an educated guess but I am guessing that somewhere in the tapping code the variable that holds G94/G95 is being reset to G94 to handle the end of the tapping cycle, but its never re-initialized to G95 at the beginning of the tapping cycle..

 

Without being able to see the post its hard to know what to do to fix it, but if you can find where its output you could check for a tap cycle by checking if drillcyc$ = 3 which is a tap cycle and make it output your G95 instead of a G94

Link to comment
Share on other sites

Well if your post outputs a G94 in regular cycles right after the G43 line like it does a G95 for a tap cycle, and if your machine doesn't specifically need a G94 output to cancel the tap cycle, then there is no reason to have the G94 output at all since it would be output anyhow at the beginning of the next tool.

 

So it seems like you could comment out if drillcyc$ = 3 & use_pitch = 1, pbld, n$, "G94", e$ and see if that solves your problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...