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:

4 Axis post too many m01's turns off spindle


Recommended Posts

I am having an issue when posting out a 5 axis morph along with S\F Flowline. The machine is a Haas VM3 with a SRT210 rotary table.

The issue that we are having is that whenever an (In this case) morph program is posted out along with other operations it will output an M01 after every operation. In testing, I posted out a morph program followed by 3 flowline programs and it would insert an M01 even in between the flowline operations that were on the same plane (or rotation) all using the same tool. So if there is no tool change in between operations it will start the next operation with the spindle off. As long as we do not post out the Morph program with anything else everything is good. If I post out only the flowline operations NO M01 are outputted. 
 
Morph with Flowlines posted:
https://forum.mastercam.com/uploads/images/be69a2b2-32e2-4700-a259-5733.png
 
Luckily the machine was on option stop and the operator was able to catch it. Now I have the operator post out the 5 axis programs by themself unless I have time to edit the code manually.
 
Here is the same code edited:
 
https://forum.mastercam.com/uploads/images/89c0aa1c-27f5-4aaa-a9c5-61a7.png
 
My main question is, is there a reason when the morph program is posted that it wants to through an M01 in between every operation instead of in-between tool changes like normal? Is it because it's a 5 axis program and it expects a tilted plane or rotation that was never outputted or needed? If I take out the M01 everything works fine but then we lose the option stop ability between tool changes. On a similar project, I use to use 5 axis flow instead of morph and never had this problem. It doesn't make sense but It seems to be only affected by morph.
I am past this project now but I would like to figure out how to resolve this issue before the next time type of scenario comes up. The post we use is from In house solutions and has been a very solid post. Any info is greatly appreciated.
Link to comment
Share on other sites

Someone has modified the post incorrectly and that has created this issue. Reach out to In-House and send them a sample.

Look for a switch in the operation to run on or off M00 or M01 or something related to stop and check moves your post builder put in the post. Normally this only happens when someone request it and the fact you have to edit anything is not good. I post 3-4 million line code programs and never once touch the code and people run parts with no issues so need to nail this done and get it solved so you and your shop can focus on more important things like making good parts and not worry about crashing your machine.

Link to comment
Share on other sites

Thank you for your reply Crazy^millman.

I tried to go through my reseller on this issue but I do not think they understood the issue completely. They edited the post to output an M3 after every M01 and did not have a spindle speed with it. So when I tested their edit it would turn the spindle on at the M3 but turned it back off after the retract. After that, they made another attempt but I have not tested the next edit because I feel like they still do not understand what I am looking for. However, they did mention adding an integer to turn off M01 in between operations if no tool change is needed. This may be what you are talking about crazy^millman.

Reseller reply:

I have modified the post to add a misc option to not output M01 between operations with the same tool unless it is selected. This is set on misc integer 10. The default is set to 0 for no M00 or M01 between operations with the same tool. Select 1 for M00, or select 2 for M01. If an M01 or M00 is posted I have set the post to restart the spindle and spindle direction after.  

Is this what you're talking about having added? I'll check out this edit they did and ill see if this works if not ill get with In House Solutions personally to have them look into it.

Thank you again for the reply crazy^millman. I am new to the 4 and 5 axis stuff and needed someone else's feedback on this one.

Link to comment
Share on other sites
26 minutes ago, jerod951 said:

Thank you for your reply Crazy^millman.

I tried to go through my reseller on this issue but I do not think they understood the issue completely. They edited the post to output an M3 after every M01 and did not have a spindle speed with it. So when I tested their edit it would turn the spindle on at the M3 but turned it back off after the retract. After that, they made another attempt but I have not tested the next edit because I feel like they still do not understand what I am looking for. However, they did mention adding an integer to turn off M01 in between operations if no tool change is needed. This may be what you are talking about crazy^millman.

Reseller reply:

I have modified the post to add a misc option to not output M01 between operations with the same tool unless it is selected. This is set on misc integer 10. The default is set to 0 for no M00 or M01 between operations with the same tool. Select 1 for M00, or select 2 for M01. If an M01 or M00 is posted I have set the post to restart the spindle and spindle direction after.  

Is this what you're talking about having added? I'll check out this edit they did and ill see if this works if not ill get with In House Solutions personally to have them look into it.

Thank you again for the reply crazy^millman. I am new to the 4 and 5 axis stuff and needed someone else's feedback on this one.

Yes that is what control this and you need to stop and learn these different settings and they power they have to run your 5 Axis toolpaths correctly. There is a lot work that is put into a post, but if the end user is not fully understanding how to use it then that is not their intent. If you are not sure then ask for a break down of each switch and what purpose they serve so you can better use them to their full potential.

BTW. You can call me Ron. 😉

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