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:

G91 G28 Z0. M5


Recommended Posts

Actually, it is strange that the Oi-mb stops the spindle while traveling to Z0 for the tool change.

 

If you have all of that  code on one line...

 

G00 G91 G28 Z0 M05

 

...a Fanuc will always read the M code last... that is why it gets to tool change position before the spindle turns off last.

 

So, if you want to turn the spindle off prior to it reaching tool change position then change your post to output this:

 

M05

G00 G91 G28 Z0

Link to comment
Share on other sites

If this is a Fanuc thing I don't think its the same on all Fanuc's, we used to have Robodrill's at one place I worked and we have a Daewoo where I am now and we always had the M5 in the same line to keep from waiting for it to spool down to zero before going home - which is what we got with code like the second example you posted.

 

That said I have no idea why different machines would have different behavior.

Link to comment
Share on other sites

Actually, it is strange that the Oi-mb stops the spindle while traveling to Z0 for the tool change.

 

If you have all of that  code on one line...

 

G00 G91 G28 Z0 M05

 

...a Fanuc will always read the M code last... that is why it gets to tool change position before the spindle turns off last.

 

So, if you want to turn the spindle off prior to it reaching tool change position then change your post to output this:

 

M05

G00 G91 G28 Z0

Both of these controls will start the spindle and move x and y at the same time. G0 G90 G54 X6.665 Y-.529 S5800 M3

Link to comment
Share on other sites

Actually, it is strange that the Oi-mb stops the spindle while traveling to Z0 for the tool change.

 

If you have all of that  code on one line...

 

G00 G91 G28 Z0 M05

 

...a Fanuc will always read the M code last... that is why it gets to tool change position before the spindle turns off last.

 

So, if you want to turn the spindle off prior to it reaching tool change position then change your post to output this:

 

M05

G00 G91 G28 Z0

 

That isn't what I get...

 

G91 G28 Z0.0 M05 on my Haas will retract to home and Then stop the spindle.

 

G91 G28 Z0.0 M05 on my Mori will execute the spindle stop as the spindle retracts simultaneously.

 

Saves a Little bit of time on the mori, and just looks funny on the haas.

Link to comment
Share on other sites

My old boss used to jump on the machines while we were running them(I used to HATE that, hes not a machinist) and delete the M05s on the Haas, and that saves some time, and the machine works fine.  The way our post was set up it would put the M05 BEFORE the G91 line.  Ive never tried it with the M05 on the G91 line, but now I will.

Link to comment
Share on other sites

My old boss used to jump on the machines while we were running them(I used to HATE that, hes not a machinist) and delete the M05s on the Haas, and that saves some time, and the machine works fine.  The way our post was set up it would put the M05 BEFORE the G91 line.  Ive never tried it with the M05 on the G91 line, but now I will.

same thing with the m09. Haas will automatically shut off, just before the change, and re-activate after.

  • Like 1
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...