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:

Mazak fusion 640


Jeff2005
 Share

Recommended Posts

We are trying to use tapping on our Mazak 640 fusion. Mastercam is not putting out the correct code when writing a EIA program.

 

SAMPLE CODE: G98 G84 Z-20. R2. F.7

X90. F75.

 

Now keep in mind we are in metric tapping and we are using a M10 X 1.75 Tap.

 

Does the Mazak read this differently? please feel free to email me your responses

[email protected]

 

thanks for all your help.

 

Jeff

Link to comment
Share on other sites

well if i am running a spindle speed of 50 it should be 75 feed. what is the difference between a G98 and a G99?

 

Feed is independent of spindle speed, because it's called as feed per revolution, which is the same as the pitch of the tap.

 

If you're in MM mode, your feedrate for M10x1.5 should be "F1.5"

If you're in inch mode, your feedrate will be "F.059"

  • Like 1
Link to comment
Share on other sites

Are you even able to tap? I am new to Mazak and had to use live tooling to tap a hole down the center.

my code was simple G84 but the machine acted like it didn't want to run the canned cycle.

 

The tap went in but the spindle kept turning and the tap just reamed out the hole at final depth with no m4 to retract the tool.

 

G0 X0 Z.1

G84 G99 Z-.5 R0.0 F.0555

g80

did I miss anything or is the Mazak code different than that code in the manual?

Link to comment
Share on other sites

Here is a sample of what it is posting. Sorrry it took so long to post.

 

O1 (TAP)

( JAN.-11-13)

( 10:12 AM)

/T79 M06

/M01

N79

G21

G0 G40 G80 G90 G94 G98

G0 G28 G91 Z0.

G0 G28 X0. Y0.

T79 M06 ( 10.00-1.5 TAP RH)

M38

G0 G54 G90 X0. Y0. S200 M3

G43 H79 Z25.

G99 G84 Z25. F.7 H100.0

X-25.29 Y13.9 F300.

G80

M5

G0 G28 G91 Z0.

G0 G28 X0. Y0.

M30

  • Like 1
Link to comment
Share on other sites

What post are you using?

 

Try this code and you'll be fine. (assuming 1.5 pitch tap going 25mm deep with retract height of 2mm)

 

T79 M06 ( 10.00-1.5 TAP RH)

G0 G54 G90 X0. Y0. S200 M3

G43 H79 Z25.

G99 G84 Z-25. R2.F1.5

X-25.29 Y13.9

G80

M5

 

 

I have the parameters on my Mazaks set to always default to rigid tap on G84, so I don't know what the rigid tap M code is. If yours doesn't default to rigid tap automatically, you need to insert that M code. But everything else should work fine.

Link to comment
Share on other sites

I beleive the rigid tap codes are

 

G63 (tapping mode) to turn it on

G64 (cutting mode) to turn it off

 

we have a bunch of Mazak 640 controls and our code looks like this..

 

FYI, if the G64 is not before the G80 it will alarm out..

 

 

 

(TAP 1/4-20 X .8 DEEP)

(1/4-20 TAP)

T22

M6

G0G17G90G54X-.4881Y.4473S500M3

G43H22Z2.M8T18

G95

G63

G98G84Z-.8R.1F.05

X-1.9714Y-.8402

G64

G80M9

M5

G91G28Z0.

G28Y0.

M01

  • Like 1
Link to comment
Share on other sites

Thought I would add the relevant sections from the MPmaster post I already modified for this.. essentially this makes the post include the G63 and G64 in the places shown in the code above..

 

 

ptap$ #Canned Tap Cycle

pdrlcommonb

#RH/LH based on spindle direction

if rigid_tap, pbld, n$, *sm29, *speed, e$ #Rigid Tapping

if use_pitch = 0,

[

pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl,

prdrlout, [if peck1$, *peck1$], *feed, strcantext, e$

]

else,

[

if metvals, pitch = n_tap_thds$ # Tap pitch (mm per thread)

else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread)

"G63" , e$

pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout, pindexdrl,

prdrlout, [if peck1$, *peck1$], *pitch, !feed, strcantext, e$

]

pcom_movea

 

 

pcanceldc$ #Cancel canned drill cycle

result = newfs (three, zinc)

if drillref = 0, zabs = initht_a #Make the initht the modal Z value

else, zabs = refht_a

prv_zia = zabs

!zabs

ps_inc_calc

prv_gcode$ = zero

if cool_zmove = yes$ & (nextop$=1003 | (nextop$=1011 & t$<>abs(nexttool))), coolant$ = zero

pcan

if drillcyc$ = 3, "G64", e$

if drillcyc$ <> 8, pcan1, pbld, n$, "G80", scoolant, strcantext, e$

pbld, n$, sgfeed, e$

pcan2

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...