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:

MPSUBREP


LYLY
 Share

Recommended Posts

I'd like to have questions if anybudy can help I indeed appreciate for your help.

Question is: why the MPSUBREP.PST (any version) kept repeating the FEED RATE on evey Z depths ?

What post line to modify to eliminate this extra outputing FEED RATE ?

If I use MPMASTER.PST or MPFAN.PST post, the FEED RATE output on the first Z depth only,

even there's 10, 20 different Z depths.

Thank you.

 

%

O0012-This program from MPSUBREP.PST

(PROGRAM NAME - T.NC)

(T1 | 2.00 FACE MILL - 1.00 LONG | H1 | D1 | D2.0000" | | CONTOUR....)

(OVERALL MAX | Z.1)

(OVERALL MIN | Z-.78)

N100 G00 G40 G49 G80 G90

N102 T1 M06 (2.00 FACE MILL - 1.00 LONG)

N104 (MAX | Z.1)

N106 (MIN | Z-.78)

N108 (ROUGH OUTSIDE)

N110 G00 G90 G54 X6.01 Y1.5 S10000 M03

N112 G43 H1 Z.1 M08

N114 G01 Z-.39 F100. <----------------This is first feed rate

N116 Y0.

N118 Y-4.

N120 G02 X5. Y-5.01 I-1.01 J0.

N122 G01 X0.

N124 G02 X-1.01 Y-4. I0. J1.01

N126 G01 Y0.

N128 G02 X0. Y1.01 I1.01 J0.

N130 G01 X5.

N132 G02 X6.01 Y0. I0. J-1.01

N134 G01 X6.11

N136 G00 Z.1

N138 X6.01 Y1.5

N140 G01 Z-.78 F100. <-------------why feed rate is repeated ???

N142 Y0.

N144 Y-4.

N146 G02 X5. Y-5.01 I-1.01 J0.

N148 G01 X0.

N150 G02 X-1.01 Y-4. I0. J1.01

N152 G01 Y0.

N154 G02 X0. Y1.01 I1.01 J0.

N156 G01 X5.

N158 G02 X6.01 Y0. I0. J-1.01

N160 G01 X6.11

N162 G00 Z.1

N164 M05

N166 G91 G28 Z0. M09

N168 G90

N170 M30

%

 

O0012 This program from MPMASTER.PST

(MASTERCAM - V9.)

(POST - C:\MCAM9\MILL\POSTS\MPMASTER.PST)

(MP - V9.1)

(MATERIAL - ALUMINUM INCH - 2024)

(PROGRAM - T.NC)

(POST DEV - IN-HOUSE SOLUTIONS)

(T1 | 2.00 FACE MILL - 1.00 LONG | H1 | D1 | D2.0000" | | CONTOUR....)

N100 G00 G17 G20 G40 G80 G90

N102 (ROUGH OUTSIDE)

N104 T1 M06 (2.00 FACE MILL - 1.00 LONG)

N106 (MAX - Z.1)

N108 (MIN - Z-.78)

N110 G00 G90 G54 X6.01 Y1.5 S10000 M03

N112 G43 H1 Z.1 M08

N114 G01 Z-.39 F100. <----------------This is first feed rate

N116 Y0.

N118 Y-4.

N120 G02 X5. Y-5.01 I-1.01 J0.

N122 G01 X0.

N124 G02 X-1.01 Y-4. I0. J1.01

N126 G01 Y0.

N128 G02 X0. Y1.01 I1.01 J0.

N130 G01 X5.

N132 G02 X6.01 Y0. I0. J-1.01

N134 G01 X6.11

N136 G00 Z.1

N138 X6.01 Y1.5

N140 G01 Z-.78 <----------------no feed rate repeated on different Z depth

N142 Y0.

N144 Y-4.

N146 G02 X5. Y-5.01 I-1.01 J0.

N148 G01 X0.

N150 G02 X-1.01 Y-4. I0. J1.01

N152 G01 Y0.

N154 G02 X0. Y1.01 I1.01 J0.

N156 G01 X5.

N158 G02 X6.01 Y0. I0. J-1.01

N160 G01 X6.11

N162 G00 Z.1 M09

N164 M05

N166 G91 G28 Z0.

N168 G28 X0. Y0.

N170 G90

N172 M30

%

Link to comment
Share on other sites
You should also watch for result = force(feed,feed). This will force out the feed rate the next time the feed variable is encountered in the code, regardless of whether or not there is a * in front of the variable. If you hunt down all the *feed and result = force(feed,feed) lines of code you should be able to remove these outputs.

 

This post format feed rate as:

fmt F 8 fr$ # Feedrate

 

Like you said if feed rate is "force" then the "fr" would be like this "*fr" , I've searched the whole post but couldn't find where the "force" (*fr) is, I think this post created by the In-House Post DEV Team, and can be download in the postprocessor download, if you the In-House Post DEV Team don't mind, please find it for me, your help is always appreciated.

Than you very much.

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