M3 starts the selected spindle rotating clockwise at the speed set by the S word. The optional $ argument selects which spindle the command acts on; if $ is omitted the command acts on spindle 0, and $-1 acts on all active spindles. It is valid to program M3 when the spindle is already turning.
| Language | gcode |
|---|---|
| Code | M3 |
| Group | Spindle Control |
| Syntax | M3 [$n] |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| $n | Spindle to operate on. If $ is omitted the command defaults to spindle 0; $-1 operates on all active spindles. |
| S | Spindle speed word; the selected spindle starts clockwise at this speed. |