Hello Guest it is March 29, 2024, 09:54:43 AM

Author Topic: Increment Spindle RPM per Cut  (Read 2761 times)

0 Members and 1 Guest are viewing this topic.

Increment Spindle RPM per Cut
« on: August 29, 2012, 02:23:59 PM »
Hi,

I'm wondering if there is a setting within Mach3 or a M code I can use in my Gcode to make the spindle RPM increase/increment a percentage per each cut taken. Is this possible to do through Mach?

Thank you very much,
Joel

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Increment Spindle RPM per Cut
« Reply #1 on: August 30, 2012, 03:27:52 AM »
Hi Joel,

If you are controlling your spindle speed via the Mach PWM output then spindle speed is set by the S*** command and changing speed just needs the insertion of a different S*** commands within the GCode as required.

Tweakie.
PEACE

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Increment Spindle RPM per Cut
« Reply #2 on: September 09, 2012, 11:35:48 AM »
YOu can also use parametric programing to do a sub program and increment the Svalue each pass of the sub.

#1=  100   (100RPM)
G0 X0Y0Z0

M98 P1 L9
M30
o1
S#1
G1 X.010
G1 Z10
G0X0
G0Z0
#1=[#1+10]  (100+10=110 RPM)
M99

(;-) TP
Re: Increment Spindle RPM per Cut
« Reply #3 on: September 10, 2012, 12:04:53 PM »
I believe what I'm looking for is constant surface speed. Can CSS mode be enabled in the Mach 3 Lathe demo? How does one go about using CSS mode in a program?