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:

Output M41


kunfuzed
 Share

Recommended Posts

What's the best way to output an M41 to kick our Haas into low gear when cutting at 1500rpm? Right now our posted code looks like this:

 

T1 M6

G0 G90 G40 G80 G53 Z0

G0 G54 X0 Y0 S1500 M3

G43 H1 Z.1 M8

 

Here's what I've gotten to work at the control:

 

T1 M6

G0 G90 G40 G80 G53 Z0

G0 G54 X0 Y0 S1500 M41 <---- CHANGE THAT

M3 <---- ADD THAT

G43 H1 Z.1 M8

 

How should I be doing this and how can I get Mcam to post it out? If it's a post mod, we'll have to send off to our reseller since I don't think they'll let me mess with it. rolleyes.gif

 

Thanks guys! cheers.gif

Link to comment
Share on other sites

Kunfuzed:

My Lathe had 4 gear steps. That what I do is following.

I set in each operation a max speed value and according to this max speed my post sets the gear step.

 

prpm #Output for start spindle

speed = speedrpm

if speed = zero,

pbld, n$, *spindle_l, e$ #RPM = '0', output just an 'M05'

else,

if maxss$ <= 170, pbld, n$,"M41" , e$

if maxss$ > 170 & maxss$ <= 355, pbld, n$,"M42" , e$

if maxss$ > 350 & maxss$ <= 680, pbld, n$,"M43" , e$

if maxss$ > 680, pbld, n$,"M44" , e$

pbld, n$, *sg97, *speed, *spindle_l, pgear, e$

!css_actv$ #Added (8/27/2002)

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