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:

c-axis engage


odessa
 Share

Recommended Posts

Good Morning, everyone.

 

I've just little problem and would like to get little help.

 

Below is the fragment of my program:

 

G0 G40 G80 G53 X0. Y0. Z0.

G54

N4 T0404

(TOOL - 4 OFFSET - 4)

(#2 X 60 HSS COMB DRILL)

G17 G98

M154 (c-axis engage line)

M8

C210.

G0 X1.5011 Y0. Z.25

G97 P1500 M133

G83 Z-.15 R.1 Q.05 F3.

C330.

C90.

G80

M9

G0 G53 X0.

G53 Y0. Z0. H0. M135

M01

 

G0 G40 G80 G53 X0. Y0. Z0.

G54

N6 T0606

(TOOL - 6 OFFSET - 6)

(#8 HSS MACHINE SIZE DRILL)

G17 G98

(I'd like to have M154, c-axis line every time when I use c-axis)

M8

C210.

G0 X1.5011 Y0. Z.25

G97 P1200 M133

G83 Z-.7348 R.1 Q.05 F3.

C330.

C90.

G80

M9

G0 G53 X0.

G53 Y0. Z0. H0. M135

M01

 

Please help me to change little bit my post processor.

 

Thanks to everyone.

Link to comment
Share on other sites

I am definitely not a post expert but if your post is similar to mine I think this might work.

 

My post has a section that starts out with the following lines

 

#Select operation note

sop00 : "NULL......." # String definition

sop01 : "CONTOUR...." # " "

sop02 : "CONTOUR...." # " "

sop03 : "DRILL/MISC." # " "

 

If your post has a section like this figure out which codes are for a c axis tool path and then in find the section of the post you want to add the M154 and put lines in like this

 

[if opcode$ = 1, "M154"], pe

[if opcode$ = 2, "M154"], pe

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