Sign in to follow this  
JB7280

Post outputting unnecessary M09 commands

Recommended Posts

I have a post I've been using for quite some time, based on the MPMaster post.  I haven't noticed this problem until this last week.  I am posting multiple operations of one tool, standard coolant, and thru-spindle coolant is turned on for all operations.  When I post those operations, M08 and M50 come on in the beginning, then on the last one, an M09 is output, with no M08 or M50 following behind.  Then M09 is commanded again at the end.  I have compared the post text to an old version of that post and they are identical.  I don't believe it's the post for that reason.  I have also tried deleting, and re-creating that toolpath, with the same results.  In addition, another operation in that same string from that tool posts a redundant M08 command, which I haven't seen before.  I tried finding the error with the debug application, but to my limited post knowledge, I didn't see any issue.  Here's the code, if it helps any.  Mastercam 2021, btw.

 

%
O0812 (13723081REV3OP1.2)
(H PLUS 500, MODIFIED FROM MPMASTER GENERIC 3/4-AXIS HORIZONTAL)
(PROGRAM   - 13723081REV3OP1.2.NC)
(DATE      - APR-26-2021)
(TIME      - 8:34 AM)
(T130 - .625EM-5FL-1.25LOC-TPLUS - H130 - D130 - D0.6250" - R0.0300")
G00 G17 G20 G40 G80 G90
M22 (UNLOCK ROTARY)
G91 G28 Z0.
M01
N14
(FINISH TURN OP LOCATING BORE TO 3.490)
(WCS: OP1.2 TOP | TPLANE: OP1.2)
T130 M06 (.625EM-5FL-1.25LOC-TPLUS)
G00 G17 G90 G54.1 P2 B0. X5.2874 Y3.7173 S1146 M03
G43 H130 Z1.355
M08
M50 (THRU SPINDLE COOLANT ON)
G94
G131 P1 (HIGH SPEED, 2D)
Z.18
G01 Z-.03 F250.
G41 D130 X5.6397 Y3.589 F20.05
G03 X5.8075 Y3.7065 I.0428 J.1175
X5.8075 Y3.7065 I-1.4325 J0.
G01 Y3.7165
G03 X5.6389 Y3.8328 I-.125 J-.0009
G01 G40 X5.2874 Y3.7021
G00 Z1.355
N15
(FINISH ID AND FLANGE FACE)
(WCS: OP1.2 TOP | TPLANE: OP1.2)
S1631 M03
M08
X5.4947 Y3.6853 Z2.
Z1.705
G01 Z.105 F250.
G41 D130 X6.082 Y3.4716 F28.46
G03 X6.4175 Y3.7065 I.0855 J.2349
X6.4175 Y3.7065 I-2.0425 J0.
G01 Y3.7165
G03 X6.0808 Y3.9498 I-.25 J-.0012
G01 G40 X5.4946 Y3.7331
G00 Z2.
N16
(FINISH ID AND FLANGE FACE)
(WCS: OP1.2 TOP | TPLANE: OP1.2)
X6.1987 Y3.6532 Z1.77
Z1.37
G01 Z.135 F250.
G41 D130 X6.3749 Y3.589 F28.46
G03 X6.5427 Y3.7065 I.0428 J.1175
X6.5427 Y3.7065 I-2.1677 J0.
X6.5421 Y3.7565 I-2.1677 J0.
X6.3717 Y3.8701 I-.125 J-.0029
G01 G40 X6.197 Y3.8019
X6.2087 Y3.6532 F20.
G41 D130 X6.3849 Y3.589
G03 X6.5526 Y3.7065 I.0427 J.1175
X6.5526 Y3.7065 I-2.1776 J0.
X6.5521 Y3.7565 I-2.1776 J0.
X6.3817 Y3.8701 I-.125 J-.0029
G01 G40 X6.207 Y3.8019
G00 Z1.77
N17
(FACE TOP OF HUB)
(WCS: OP1.2 TOP | TPLANE: OP1.2)
S1326 M03
X6.5074 Y3.7173 Z1.535
Z1.47
G01 Z1.27 F250.
G41 D130 X6.8597 Y3.589 F23.22
G03 X7.0275 Y3.7065 I.0428 J.1175
X7.0275 Y3.7065 I-2.6525 J0.
X7.027 Y3.7565 I-2.6525 J0.
X6.8571 Y3.8708 I-.1249 J-.0024
G01 G40 X6.5072 Y3.7359
G00 Z1.535
N18
(SEMI-FINISH OD)
(WCS: OP1.2 TOP | TPLANE: OP1.2)
S1405 M03
M09
X4.3378 Y-.4674 Z2.39
Z.59
G01 Z.39 F250.
G41 D130 X4.5832 Y.1748 F28.1
G03 X4.3249 Y.5564 I-.2627 J.1004
G02 X4.3249 Y.5564 I.0501 J3.1501
X4.2749 Y.5576 I.0501 J3.1501
G03 X3.9988 Y.1887 I-.0089 J-.2811
G01 G40 X4.2133 Y-.4645
G00 Z2.39
G130
M09
M05
G91 G28 Z0.
G28 Y0. B0.
G90
/ M30
M98 P01
%

Share this post


Link to post
Share on other sites

I also just remembered, right around the time I started having this issue, I was checking something, and changed my post and machine def to the original MPMaster, then went back to this one.  If that adds anything.

Share this post


Link to post
Share on other sites

Do you ha e a coolant for an op set to off?

Share this post


Link to post
Share on other sites

Nope, everything set to spindle and standard coolant.

Share this post


Link to post
Share on other sites

Check your Misc Integer settings

You can really get burned changing to a different flavor of post if they use different MIsc Int settings for different functions

Share this post


Link to post
Share on other sites
12 minutes ago, gcode said:

Check your Misc Integer settings

You can really get burned changing to a different flavor of post if they use different MIsc Int settings for different functions

What am I looking for?  Everything is set to 0, except for my high speed look-ahead commands in the Misc Reals.

Share this post


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

What am I looking for?  Everything is set to 0, except for my high speed look-ahead commands in the Misc Reals.

If they are all 0's Misc Integers are probably not the issue

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
Sign in to follow this  

  • 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