Taolaoday

edit mastercam post to move a gcode line when post out

Recommended Posts

Hello,

I edit the post for lathe threading, but when I post out, the threading line is on the top. I can't find the way to move it below the M8 line. see sample below

 THREAD 1 L0.0500 H0.0310 S0.0040 0.0010 0.0020 #3 C0.0500 Z0.0000 -0.4800 D0.0940 0.0940 30
RAPID ABS X5.0000 Z5.0000
 TLCHG I20 T20 20
SETRPM S0200
RAPID ABS X0.3500 Z1.0152
AUXFUN M8
RAPID ABS X5.0000 Z5.0000
AUXFUN M5
AUXFUN M9
AUXFUN M0

Please help me. thank you

Share this post


Link to post
Share on other sites

 

2 hours ago, Taolaoday said:

Please help me. thank you

You will have to provide more info.

Base post?

Control?

Share this post


Link to post
Share on other sites
2 hours ago, Taolaoday said:

Hello,

I edit the post for lathe threading, but when I post out, the threading line is on the top. I can't find the way to move it below the M8 line. see sample below

 THREAD 1 L0.0500 H0.0310 S0.0040 0.0010 0.0020 #3 C0.0500 Z0.0000 -0.4800 D0.0940 0.0940 30
RAPID ABS X5.0000 Z5.0000
 TLCHG I20 T20 20
SETRPM S0200
RAPID ABS X0.3500 Z1.0152
AUXFUN M8
RAPID ABS X5.0000 Z5.0000
AUXFUN M5
AUXFUN M9
AUXFUN M0

Please help me. thank you

Have you contacted your Reseller for help?

Share this post


Link to post
Share on other sites

Hi Colin and nickbe10 ,

Reseller said they don't support this old control.

all guys in the shop program at the control but I like to program in mastercam that why I edit the post myself.

This post is for Romi  EZ Path lathe. post attached

MPLEZPTH.PST

Share this post


Link to post
Share on other sites

Please post up a sample Mastercam file, that is giving you that output. or Post the full NC Code output.

The threading calls should all be after the 'lsof$ > ltlchg$' cycle, but it's hard for me to guess without seeing the full NC code output, or having a sample Mastercam file to Post out.

Share this post


Link to post
Share on other sites

Hi Colin,

When you have time Please take a look at this and help me out?

Thank you!

 

 

Share this post


Link to post
Share on other sites

Your Mastercam File is "educational software". You will need to work with your Mastercam Reseller to get this resolved. 

Share this post


Link to post
Share on other sites

I worked in School machine shop and like I said , they don't support for this control. so sad:((

Thank you for your time.

Share this post


Link to post
Share on other sites
On 3/27/2020 at 4:50 PM, Taolaoday said:

Hi Colin,

I appreciate you get back to me. please see an attached mcam file and an update post and help me out. 

Thank you

Cuong

MPLEZPTH.PST

sample file for EZ Path lathe.emcam

What school do you attend? Share something with us to help us feel comfortable your not using a pirated seat of software and we will be glad to assist.

Share this post


Link to post
Share on other sites
8 hours ago, 5th Axis CGI said:

What school do you attend? Share something with us to help us feel comfortable your not using a pirated seat of software and we will be glad to assist.

I worked for MIT, screen shot of license attached but let me know if you need more proof of the license I am more than happy to provide it. Thank you very much for your help

 

mcam lic.jpg

net lic access.jpg

Share this post


Link to post
Share on other sites

Thank you I will look at it tomorrow if someone doesn’t beat to it and see what I can do to help you get it resolved. Have a good day. 

Share this post


Link to post
Share on other sites

No need to edit the post. Just add a point toolpath before the Threading operation as a ref check and the toolpath will output correctly.

 EZPATH|SX 0000 MODE|INCH MON APR 20 09:15:00 1920
RAPID ABS X-0.3936 Z0.0000
 TLCHG I20 T20 20
SETRPM S2000
RAPID ABS X-0.0079 Z0.0000
AUXFUN M8
RAPID ABS X-8.0000 Z8.0000
 TLCHG I20 T20 20
SETRPM S0400
RAPID ABS X-0.2900 Z0.2095
AUXFUN M8
 THREAD 1 L0.0500 H0.0300 S0.0100 0.0010 0.0020 #3 C0.0500 Z0.0000 -0.4000 D0.0950 0.0950
RAPID ABS X-8.0000 Z8.0000
 TLCHG I20 T20 20
SETRPM S0260
RAPID ABS X-0.5400 Z-0.4534
AUXFUN M8
 THREAD 1 L0.0769 H0.0560 S0.0100 0.0010 0.0020 #3 C0.0500 Z-0.5000 -0.9000 D0.1940 0.1940
RAPID ABS X-8.0000 Z8.0000
AUXFUN M5
AUXFUN M9
AUXFUN M0

 

Share this post


Link to post
Share on other sites
On 4/19/2020 at 4:22 AM, Taolaoday said:

I worked for MIT, screen shot of license attached but let me know if you need more proof of the license I am more than happy to provide it. Thank you very much for your help

 

mcam lic.jpg

net lic access.jpg

 

So, you "worked for" MIT (past tense?), and you are currently using a VPN Tunnel to access their NetHasp?

This seems a little fishy. If you were working for MIT, I know for a fact that the Educational Division of CNC Software would be willing to help edit your Post, so that the school's machine would be running with Mastercam.

It seems in your case, that you are using the MIT license, while trying to setup and program a machine that is not a school resource. I'm not trying to accuse you here, I'm just pointing out some red flags that I see.

If that isn't correct - if the machine you are programming for is actually an asset of MIT and you are doing work for the school programs - then I would be happy to assist with your Post issues. However, if you are using the school's educational resources to support a separate commercial endeavor, then you would need to purchase an industrial license of the Mastercam software, and would need to get Post Processor Support from your industrial Mastercam Reseller.

If you are indeed legitimately working on school projects, then I would suggest contacting: [email protected] and explaining your situation. They would absolutely be able to assist an legitimate request for help from a school. But the burden would be on you to prove that you are working on educational, not commercial, projects.

 

 

 

Share this post


Link to post
Share on other sites
1 hour ago, 5th Axis CGI said:

No need to edit the post. Just add a point toolpath before the Threading operation as a ref check and the toolpath will output correctly.

 EZPATH|SX 0000 MODE|INCH MON APR 20 09:15:00 1920
RAPID ABS X-0.3936 Z0.0000
 TLCHG I20 T20 20
SETRPM S2000
RAPID ABS X-0.0079 Z0.0000
AUXFUN M8
RAPID ABS X-8.0000 Z8.0000
 TLCHG I20 T20 20
SETRPM S0400
RAPID ABS X-0.2900 Z0.2095
AUXFUN M8
 THREAD 1 L0.0500 H0.0300 S0.0100 0.0010 0.0020 #3 C0.0500 Z0.0000 -0.4000 D0.0950 0.0950
RAPID ABS X-8.0000 Z8.0000
 TLCHG I20 T20 20
SETRPM S0260
RAPID ABS X-0.5400 Z-0.4534
AUXFUN M8
 THREAD 1 L0.0769 H0.0560 S0.0100 0.0010 0.0020 #3 C0.0500 Z-0.5000 -0.9000 D0.1940 0.1940
RAPID ABS X-8.0000 Z8.0000
AUXFUN M5
AUXFUN M9
AUXFUN M0

 

Thank you very much . have a good day . 

Share this post


Link to post
Share on other sites
1 hour ago, Colin Gilchrist said:

 

So, you "worked for" MIT (past tense?), and you are currently using a VPN Tunnel to access their NetHasp?

This seems a little fishy. If you were working for MIT, I know for a fact that the Educational Division of CNC Software would be willing to help edit your Post, so that the school's machine would be running with Mastercam.

It seems in your case, that you are using the MIT license, while trying to setup and program a machine that is not a school resource. I'm not trying to accuse you here, I'm just pointing out some red flags that I see.

If that isn't correct - if the machine you are programming for is actually an asset of MIT and you are doing work for the school programs - then I would be happy to assist with your Post issues. However, if you are using the school's educational resources to support a separate commercial endeavor, then you would need to purchase an industrial license of the Mastercam software, and would need to get Post Processor Support from your industrial Mastercam Reseller.

If you are indeed legitimately working on school projects, then I would suggest contacting: [email protected] and explaining your situation. They would absolutely be able to assist an legitimate request for help from a school. But the burden would be on you to prove that you are working on educational, not commercial, projects.

 

 

 

I expect if there was an issue here the moderators would have flagged it right away, since he provided an mcx file.

  • Thanks 1

Share this post


Link to post
Share on other sites
2 hours ago, Colin Gilchrist said:

 

So, you "worked for" MIT (past tense?), and you are currently using a VPN Tunnel to access their NetHasp?

This seems a little fishy. If you were working for MIT, I know for a fact that the Educational Division of CNC Software would be willing to help edit your Post, so that the school's machine would be running with Mastercam.

It seems in your case, that you are using the MIT license, while trying to setup and program a machine that is not a school resource. I'm not trying to accuse you here, I'm just pointing out some red flags that I see.

If that isn't correct - if the machine you are programming for is actually an asset of MIT and you are doing work for the school programs - then I would be happy to assist with your Post issues. However, if you are using the school's educational resources to support a separate commercial endeavor, then you would need to purchase an industrial license of the Mastercam software, and would need to get Post Processor Support from your industrial Mastercam Reseller.

If you are indeed legitimately working on school projects, then I would suggest contacting: [email protected] and explaining your situation. They would absolutely be able to assist an legitimate request for help from a school. But the burden would be on you to prove that you are working on educational, not commercial, projects.

 

 

 

Correction: I am working for MIT.

If I am no longer work at MIT, I can not log in to MIT's VPN to access Mastercam license. .

Thank you for your suggestion and Have a good day!

Share this post


Link to post
Share on other sites
2 hours ago, Taolaoday said:

Correction: I am working for MIT.

Still doesn't answer the question of is what he is working on actually supporting MIT (given MITs direct access to masteram corporate) or a supplemental income stream for himself, which question seems to have been evaded.

Share this post


Link to post
Share on other sites

Hello all Friends,

When I said " I am work for MIT, that mean I work for MIT. I am using MIT's license and try to setup/program for MIT's machines not for someone esle or for myself. 

Again, Thank you very much for your time!

Share this post


Link to post
Share on other sites

 Hello 5th Axis CGI,

thank you very much for your help. but instead of add another toolpath before a threading toolpath, open threading tothpath parameters, check the box "ref point" and gcode post out correctly too. without your help, I never though of this option. I greatly appreciate your help. 

 

check.jpg

  • Like 2

Share this post


Link to post
Share on other sites
1 hour ago, Taolaoday said:

 Hello 5th Axis CGI,

thank you very much for your help. but instead of add another toolpath before a threading toolpath, open threading tothpath parameters, check the box "ref point" and gcode post out correctly too. without your help, I never though of this option. I greatly appreciate your help. 

 

check.jpg

Yes better way to handle it.

  • Like 1

Share this post


Link to post
Share on other sites

I programmed EZ- Path lathe with MasterCam for years. The best way to approach this issue as Ron mentioned is with Ref point.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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