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:

warmup prgram


Rick46
 Share

Recommended Posts

I was wondering if someone on here might be able to lead me in the right direction here... I have a spinidle warm up program I run on my machine every morning when I first start it up.. here is the following code...

 

 

%

O9998(INCH INPUT)

#996=0

#994=60

N1G91G28Z0.

M3S6000

G91G28X0.Y0.

G4X1.

G91G1X[#991/25.4]Y[#992/25.4]Z[#993/25.4]F600.

G04X1.

#996=#996+1

IF[#996LT#994]GOTO1

G91G28Z0.

G91G28X0.Y0.

G04X1.

M30

%

 

 

what I am wanting to do is edit it to where it runs this program at this rpm for 30 times instead of 60 but then add to the program to run a additional 30 times at 10000 rpm then when its completed there it will be finished.. Im having problems getting it to return to the first cycle and run the 30 cycles at 6000 rpms.. the way I had it set up it would run one time at 6000 then one time at 10000 then start all over again at 6000 then back to 10000 and so on and so on.... thanks for any advice.....

Link to comment
Share on other sites

thanks for the info guys.... CAMFUN on that link you lead me to, that particular program will it work on a fanuc controller... Im running a Topper machine with a fanuc series 18i-M controller...and that 12000 rpm is what the spindle on my machine tops out at so I think that would be a good warm up program for the machine.. thanks...

Link to comment
Share on other sites

sr_7626@natl,

 

Modify you program like so:

 

 

%

O9998(INCH INPUT)

#996=0

#994=60

N1G91G28Z0.

IF[#996LE30.]THEN#997=6000. (LINE ADDED)

IF[#996GT30.]THEN#997=10000. (LINE ADDED)

M3S[#997]

G91G28X0.Y0.

G4X1.

G91G1X[#991/25.4]Y[#992/25.4]Z[#993/25.4]F600.

G04X1.

#996=#996+1

IF[#996LT#994]GOTO1

G91G28Z0.

G91G28X0.Y0.

G04X1.

M30

%

 

This should do the trick.

 

Hope that helps,

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