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:

What is wrong with this code? Fanuc millturn question.


Bruce Caulley
 Share

Recommended Posts

Ahoy!

 

Having trouble going from rigid tapping with milling tools back to turning mode. At first I thought I hadn't canceled the tapping cycle correctly, but am not so sure now. The machine taps, then does a TC, then completely blows past the spindle start command and keeps going.

 

Normally if the turret is still active and I try and start the main spindle it just pauses on that line and does nothing.

 

code:

 

M28

M95

M91

G97S100M103

M29

G88X22.F0.45

Z-23.

C120.

Z-6.

C240.

Z-23.

G80

M96

G0Z300.

G28U0.M105

T0202

G97S600M3 <=============Skips this line

G0X42.Z-32. <============waits here

M26

G1X23.F0.12

G28U0.

G0Z300.

M9

M27

M30


Any ideas?

 

Bruce

Link to comment
Share on other sites

Hi Bruce,

 

Is there a code to change from "milling mode" to "turning mode" missing ?

We have Okumas and a DMG, they both require an M-code to switch from turning spindle DZ to milling spindle XY

 

PS I'm not up to date with Fanuc code ( as you probably guessed )

( if you are sick of the rain, sent some down south )

Link to comment
Share on other sites

No go.

 

Previously as long as any cycles were canceled and the machine had an M105 to turn the turret spindle off you could go straight to the main turret no problem.

 

The weird thing is that it just skips the line as if it isn't there. Previously it would stop there if it couldn't go to the main spindle.

 

I'll look up some old programmes and find out what is going on.

 

Bruce

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