1
General Mach Discussion / Mach 3 Turn: CSS Mode
« on: September 12, 2012, 06:27:33 PM »
Hi,
I'm currently using Mach 3 Turn demo and I'm just trying to see if I can get CSS(Constant Surface Speed) mode to work. I wrote up some example code that should let me see on Mach3 the spindle speed increasing as the X diameter decreases however the spindle speed is remaining at a constant 50 the whole time.
Could this be because I'm just running the code in simulation mode(I'm not hooked up to a real lathe with an encoder so I have no feedback) or is CSS mode a non-demo feature?
Here is the code I'm using, it should let me see the spindle speed increasing:
G21 G40 (metric and clear any comp.)
T0101 (select tool 1 offset 1)
G00 X100. Z10. (rapid to start point)
G48 S1000 (set max spindle speed)
G96 S50 M3 (select CSS)
G95 (set to feed/rev)
G01 X10. F.2 (feed to 10mm dia)
X100. (feed back to start point)
G97 S1000 M3 (set to rpm mode)
M30 (all done)
Thanks for your time!
I'm currently using Mach 3 Turn demo and I'm just trying to see if I can get CSS(Constant Surface Speed) mode to work. I wrote up some example code that should let me see on Mach3 the spindle speed increasing as the X diameter decreases however the spindle speed is remaining at a constant 50 the whole time.
Could this be because I'm just running the code in simulation mode(I'm not hooked up to a real lathe with an encoder so I have no feedback) or is CSS mode a non-demo feature?
Here is the code I'm using, it should let me see the spindle speed increasing:
G21 G40 (metric and clear any comp.)
T0101 (select tool 1 offset 1)
G00 X100. Z10. (rapid to start point)
G48 S1000 (set max spindle speed)
G96 S50 M3 (select CSS)
G95 (set to feed/rev)
G01 X10. F.2 (feed to 10mm dia)
X100. (feed back to start point)
G97 S1000 M3 (set to rpm mode)
M30 (all done)
Thanks for your time!