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:

First Tool Comment Posting Issue


huskermcdoogle
 Share

Recommended Posts

Guys,

I have been working on creating a post which just generates a file of sub programs. I use the program number in the operation to control the N number of the sub. That so far has been a piece of cake. The issue I am having is getting the operation comment to appear on the same line as the N number on the first operation / tool in the file. All of the subsequent operations are fine. Here is an example. I have been modifying the MPMaster post to get to where I am. I am running X2 MR2 SP1.

 

Thanks in advance.

 

Husker

 

 

code:

 

<TESTING> (TESTING)

(MASTERCAM - X)

(MCX FILE - TESTING.MCX)

(POST - MAZAK HCN 5000 - X2 - NSUBS)

(PROGRAM - TESTING.EIA)

(DATE - SEP-14-2009)

(T157 - 3/4 DRILL - H157 - D157)

(T237 - 3/8 FLAT ENDMILL - H237 - D237)

N0001

(T157 - 3/4 DRILL)

G00 G90 X0. Y0. S356 M03

G43 H157 Z6.

G17 G90 Z.1

G94

G99 G81 Z-.75 R.1 F4.28

Y2.

X2.

Y0.

G80

Z6.

M99

 

 

 

N0002(TAP HOLES)

(T157 - 3/4 DRILL)

G00 G90 X0. Y0. S356 M03

G43 H157 Z6.

Z.1

G95

G99 G84 Z-.75 R.1 Q.1 F0.

Y2.

Y0.

G80

Z6.

M01

M99

 

 

 

N0003(CONTOUR OUTSIDE)

(T237 - 3/8 FLAT ENDMILL)

G00 G90 X-.9375 Y.625 S1426 M03

G43 H237 Z6.

Z.1

G94 G01 Z-.5 F6.33

X-.5625

G03 X-.1875 Y1. R.375

G01 Y2.

G02 X0. Y2.1875 R.1875

G01 X2.

G02 X2.1875 Y2. R.1875

G01 Y0.

G02 X2. Y-.1875 R.1875

G01 X0.

G02 X-.1875 Y0. R.1875

G01 Y1.

G03 X-.5625 Y1.375 R.375

G01 X-.9375

Z-.4

G00 Z6.

M01

M99


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