I'm not a GCode guy, but I can see now how I could use some basic knowledge. Because I need to write a simple GCode program that turns on my spindle, runs it at a particular RPM for a set amount of time, and then changes that RPM and runs for that same amount of time. Basically, I'm wanting a simple program to warm up my water cooled spindle for say 12 minutes.
I'd like to run the spindle at about 6000 rpm for 4 minutes, then run at 12,000 rpm for another 4 minutes, and finally at 18000 rpm for a final 4 minutes. Then I'd like it to shut off. Maybe it would also be good to have it go to a particular safe position before I start this warmup.
My problem is that I'm so used to running ALL my programs thru my CadCam software that I NEVER write any GCode. I'd like to start learning some basics, and this seems like a good place to start.
Can someone here get me going in the right direction, or write a simple program and maybe explain some of it?
Thanks so much!
Wayne from White Salmon