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:

Spindle warm up Fanuc 30-I


AEP
 Share

Recommended Posts

I need to write a simple spindle warm up program for a new Kitamura HMC with a Fanuc 30-I control. I know # 3012 is the machine clock. I'm just not sure what the macro line would look like to get the control to "watch the clock".

I would like the program to start at 05:00, I'm not sure if the statement below will work because I'm thinking it won't continuously look at the clock.  

I would appreciate any in-put Y'all might have! 

 

N10 IF [#3012 EQ 05:00] GOTO N20

N20 S500 M3 
Link to comment
Share on other sites

Normally spindle warm up programs run when you start it, in your example idea you would run the program before you left for the day it would run all night till 5:00AM and then start running the spindle, is that what you are looking for?

 

 

Typical spindle warm up

O1234 (SPINDLE WARM UP)

M3 S500

G4 P3000

S1000

G4P3000

S5000

G4P3000

S7500

G4P3000

S10000

G4P3000

M30

 

 

Link to comment
Share on other sites

I'm curious, G4 P3000 is a 50min dwell, right?  If so, that's like a 4 hour warm up cycle...  Isn't that a lil excessive?  Then again, maybe I'm not warming mine up enough...

 

 The code I currently run on my HAAS VF-5 is:

 

%
O89998 (SPINDLE WARM UP LOOP VF-5) 
G00 G91 G28 Z0 
G28 X0 Y0 A0 
S100 M03 
M98 P89999 L5 
S200 M03 
M98 P89999 L5 
S500 M03 
M98 P89999 L5 
S1000 M03 
M98 P89999 L5 
S3000 M03 
M98 P89999 L5 
S5000 M03 
M98 P89999 L5 
S7000 M03 
M98 P89999 L5 
G00 X-30. 
G91 G28 Y0 A0 
M05 
M30 
 
O89999 (MACHINE WARM UP MOTION VF-5) 
G91 Y-22. Z3. 
/ A90. 
X-60. Z-8. 
/ A270. 
Y22. Z8. 
/ A-90. 
X60. Z-3. 
/ A-270. 
M99 
 
%
Link to comment
Share on other sites
Guest MTB Technical Services

 

I'm curious, G4 P3000 is a 50min dwell, right?  If so, that's like a 4 hour warm up cycle...  Isn't that a lil excessive?  Then again, maybe I'm not warming mine up enough...

 

 The code I currently run on my HAAS VF-5 is:

 

%
O89998 (SPINDLE WARM UP LOOP VF-5) 
G00 G91 G28 Z0 
G28 X0 Y0 A0 
S100 M03 
M98 P89999 L5 
S200 M03 
M98 P89999 L5 
S500 M03 
M98 P89999 L5 
S1000 M03 
M98 P89999 L5 
S3000 M03 
M98 P89999 L5 
S5000 M03 
M98 P89999 L5 
S7000 M03 
M98 P89999 L5 
G00 X-30. 
G91 G28 Y0 A0 
M05 
M30 
 
O89999 (MACHINE WARM UP MOTION VF-5) 
G91 Y-22. Z3. 
/ A90. 
X-60. Z-8. 
/ A270. 
Y22. Z8. 
/ A-90. 
X60. Z-3. 
/ A-270. 
M99 
 
%

 

 

 

G04 P3000 is a 3 second dwell.

 

When using the P address for dwell, P represents milliseconds.

Link to comment
Share on other sites

This is my warm up macro for my VMC.

 

%
O0003(WARMUP MACRO)
(FEEDRATES + COUNTER)
#619=60.(REPETITION COUNT)
#615=400.(FEED PER MINUTE)
#616=1000.
()
N10G53Z0G49G80G90G0M5G69
#618=0
#5201=0(X EXT OFFSET)
#5202=0(Y EXT OFFSET)
#5203=0(Z EXT OFFSET)
#5321=0(G59 X)
#5322=0(G59 Y)
#5323=0(G59 Z)
N10G53Z0G49G80G90G0M5G69
G59
M6T25
(M8)
M3S#616
N11
G4
IF[#618LT[#619*.33]]GOTO20
#616=2000
IF[#618LT[#619*.66]]GOTO20
#616=3000
N20S#616M3
X-30.Y-16.F#615(Y- LIMIT)
Z-8.G1F#615(Z LIMIT -8)
Z0(Z LIMIT)
X0Y0.(X LIMIT)
#618=#618+1.
IF[#618LT#619]GOTO11
G53Z0G49G80G90G0M05
G53X0.Y0.
G200
M06T22
G200
M30
%

Link to comment
Share on other sites

G04 P3000 is a 3 second dwell.

 

When using the P address for dwell, P represents milliseconds.

Ahhh, my machines are set up where it represents seconds lol.  For a 5 second dwell I'd use G4 P5.

 

Well in that case, that warm up cycle seems really short, being only 15 seconds...   :laughing:

Link to comment
Share on other sites
This is what I ended up with and it works pretty sweet. I should mention, the Kitamura limits the rpms of the spindle unless it is at the optimal temperature, and it looks at it all the time. So, to run any RPM's over 5000 the spindle needs to be warm. Kind of sucks actually..  I appreciate all the help!

 

T1 M6

N10 G4 X1

#101=#3012

#102=52000

IF[#101LT[#102*1]]GOTO 10

S500 M3 

G4 X300000

S700 M3

G4 X300000

S900 M3 

G4 X300000

S1500 M3

G4 X300000

S3000 M3

G4 X300000

S4500 M3

G4 X900000

S6000 M3

G4 X900000

S7500 M3

G4 X900000

M5

M30

%

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