spindle — Spindle controlSpindle

Start the spindle at an rpm (and direction), or set defaults; CSS via `spindle css`.

spindle <rpm> [cw|ccw] [wait|nowait]   ·   spindle css <v> [limit <rpm>] [cw|ccw]

Equivalents: Fanuc S + M3/M4/M5, G96/G97 · Siemens S + M3/M4/M5, CSS

ParameterTypeDefault
rpmrpmspindle speed
dircw|ccwcwrotation sense (M3/M4)
waitwait|nowaitwaitwait for at-speed before cutting
css surfacem/minconstant-surface-speed target (the `css` form)
css limitrpm6000rpm cap for CSS as the radius → 0

Starts/holds the spindle. **`wait`** holds motion until at-speed (the safe default). **`spindle css <v>`** is constant surface speed (G96): the controller varies the rpm with the tool's radial distance so the cutting speed stays constant (`ω = v/r`, capped by `limit`) — for facing / mill-turn. `spindle <rpm>` returns to direct-rpm (G97).

12 k rpm, wait at speed
spindle 12000 cw wait
constant 200 m/min, capped 3000 rpm
spindle css 200 limit 3000 cw

See also: coolant · tap · feed

← all commands