lathe and milling machine heating cycle
Moderator: cnckeith
-
- Posts: 41
- Joined: Mon Oct 17, 2022 6:17 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0035FF8D294B-0211225688
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
lathe and milling machine heating cycle
Good morning.
I was wondering if in centroid there is naturally a heating cycle for the spindle and the axes of my lathe?
I think it could be useful for milling machines as well.
My machine sometimes stays for more than a week without working, and having an automatic cycle that we can set according to the strokes of our axes would be a great advantage I think
thank you.
I was wondering if in centroid there is naturally a heating cycle for the spindle and the axes of my lathe?
I think it could be useful for milling machines as well.
My machine sometimes stays for more than a week without working, and having an automatic cycle that we can set according to the strokes of our axes would be a great advantage I think
thank you.
-
- Posts: 3152
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: lathe and milling machine heating cycle
Just make a quick program, say "warmup.cnc", and call that when necessary. You can use parameter #25012 to calculate elapsed time (or G4 pause commands) if you need to ramp up your spindle.
It would be tough to make a generic warmup routine since everyone's machinery is different.
It would be tough to make a generic warmup routine since everyone's machinery is different.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 7507
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: lathe and milling machine heating cycle
router version contains a canned macro and VCP button like this, you can modify it to your liking and use it for lathe or mill etc..
;------------------------------------------------------------------------------
; Filename: mfunc77.mac
; SPINDLE WARM-UP
; Description: User Customizable Macro
; Notes:
; Requires:
; Please see TB300 for tips on writing custom macros.
;------------------------------------------------------------------------------
IF #50010 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
N100 ;Insert your code between N100 and N1000
G53 Z0
G53 X12 Y20
M3 S5000
G4 P180
S8000
G4 P120
S10000
G4 P120
S12000
G4 P120
S15000
G4 P120
M5
N1000 ;End of Macro
;------------------------------------------------------------------------------
; Filename: mfunc77.mac
; SPINDLE WARM-UP
; Description: User Customizable Macro
; Notes:
; Requires:
; Please see TB300 for tips on writing custom macros.
;------------------------------------------------------------------------------
IF #50010 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
N100 ;Insert your code between N100 and N1000
G53 Z0
G53 X12 Y20
M3 S5000
G4 P180
S8000
G4 P120
S10000
G4 P120
S12000
G4 P120
S15000
G4 P120
M5
N1000 ;End of Macro
- Attachments
-
- mfunc77.mac
- (693 Bytes) Downloaded 11 times
-
- spin_warm.xml
- (66 Bytes) Downloaded 8 times
-
- spin_warm.svg
- (17.95 KiB) Downloaded 7 times
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
-
- Posts: 2308
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: lathe and milling machine heating cycle
Just edit the macro that Keith posted to adjust the run times for your particular spindle/motor. I know HSD and a couple of other spindle manufacturers publish speeds and run times for their warm up procedure. If you are not that particular then just make something up.
I edited my homing macro so that it asks me at the end of homing sequence if I want to run the spindle warm up procedure. So when I first turn on my machine it homes to my switches and then asks me "Do you want to run the spindle warm up?" If I say no if just finishes homing and nothing happens. If I say yes it automatically runs the spindle warm up macro. This moves my spindle to my park position at the rear of the table and runs the warm up procedure. This takes 8 minutes. Once complete the spindle will return to machine 0,0 ready to go to work.
I edited my homing macro so that it asks me at the end of homing sequence if I want to run the spindle warm up procedure. So when I first turn on my machine it homes to my switches and then asks me "Do you want to run the spindle warm up?" If I say no if just finishes homing and nothing happens. If I say yes it automatically runs the spindle warm up macro. This moves my spindle to my park position at the rear of the table and runs the warm up procedure. This takes 8 minutes. Once complete the spindle will return to machine 0,0 ready to go to work.
-
- Posts: 7507
- Joined: Wed Mar 03, 2010 4:23 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Contact:
Re: lathe and milling machine heating cycle
cool i like that
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
-
- Posts: 41
- Joined: Mon Oct 17, 2022 6:17 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0035FF8D294B-0211225688
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: lathe and milling machine heating cycle
Brilliant thank you to you for all this info, I will work on it.
for the moment I am not yet too comfortable with all that is macro.
This scares me a little. But I will work on it.
Thank you again for this valuable information.
for the moment I am not yet too comfortable with all that is macro.
This scares me a little. But I will work on it.
Thank you again for this valuable information.
-
- Posts: 41
- Joined: Mon Oct 17, 2022 6:17 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0035FF8D294B-0211225688
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: lathe and milling machine heating cycle
I'm really a fan of this possibility.ShawnM wrote: ↑Tue Aug 08, 2023 11:43 am Just edit the macro that Keith posted to adjust the run times for your particular spindle/motor. I know HSD and a couple of other spindle manufacturers publish speeds and run times for their warm up procedure. If you are not that particular then just make something up.
I edited my homing macro so that it asks me at the end of homing sequence if I want to run the spindle warm up procedure. So when I first turn on my machine it homes to my switches and then asks me "Do you want to run the spindle warm up?" If I say no if just finishes homing and nothing happens. If I say yes it automatically runs the spindle warm up macro. This moves my spindle to my park position at the rear of the table and runs the warm up procedure. This takes 8 minutes. Once complete the spindle will return to machine 0,0 ready to go to work.
Would it be possible for you to show me what it looks like?
Thanks a lot
-
- Posts: 2308
- Joined: Fri May 24, 2019 8:34 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 7804734C6498-0401191832
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Clearwater, FL
Re: lathe and milling machine heating cycle
I added this to the end of my homing macro to run my spindle warm up macro. Be sure and change the code below to whatever your spindle warm up macro number is. Is there a different or better way? Probably but this code works for me. I'm not a programmer either but I can fumble my way through code and make it work for me.
Code: Select all
#100 = 0
N200 ;Prompt user to run the spindle warm up procedure
M224 #100 "#)Machine home is now set.\n\n#)Would you like to run the spindle warm up procedure?\n#)Press 1 for Yes\n#)Press 2 for No\n#)"
IF #50001 ;Force lookahead to stop processing
IF #100 == 1 THEN GOTO 225 ;jumps to 225 and runs my spindle warm up procedure which is mfunc53.mac
IF #50001 ;Force lookahead to stop processing
IF #100 == 2 THEN GOTO 300 ;jumps to the end and quits
IF #50001 ;Force lookahead to stop processing
IF #100 > 2 THEN GOTO 200 ;Go back to prompt user if invalid value was selected
IF #50001 ;Force lookahead to stop processing
N225
G65 "C:\cncm\mfunc53.mac"
N300 ;end of macro
-
- Posts: 41
- Joined: Mon Oct 17, 2022 6:17 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 0035FF8D294B-0211225688
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: lathe and milling machine heating cycle
Thank you very much