defaults — Program defaultsFeed & dynamics

Set sticky defaults (feed, feed mode, blend, mode, spindle) for the whole program.

defaults { feed <f> [per rev | inverse] · mode <m> · blend <t> · dynamics <d> · spindle … }

Equivalents: Fanuc F, G93/G94/G95, G61/G64 · Siemens F, FPR, COMPON

ParameterTypeDefault
feedfeedcutting feed; suffix `per rev` (mm/rev) or `inverse` (1/min)
moderoughing|semifinish|finish|precisionmachining-mode preset (blend + dynamics)
blendmmpath-blend tolerance (0 = exact stop)
dynamicssoft|briskacceleration profile

Sets program-wide **sticky settings** so you don't repeat them on every block. Feed modes are native: `feed 0.1 per rev` (mm/rev, resolved against the live spindle — turning / threading) and `feed 2 inverse` (inverse-time: each move completes in 1/value minutes — the 5-axis-CAM convention). The `mode` presets bundle the path-blend tolerance and acceleration profile that suit a stage: `roughing` (looser blend, brisk jerk), `semifinish`, `finish`, `precision` (exact-stop, soft jerk). `blend`/`dynamics` set those individually. Settings here are modal for the rest of the program; use `with { … }` to change them for just one block.

finishing defaults
units mm
defaults { feed 500, mode finish }
spindle 12000 cw
feed per revolution
spindle 1000 cw
defaults { feed 0.1 per rev }
g1 z-10

See also: with · spindle

← all commands