M61 sets the current tool number while in MDI or Manual mode without performing a tool change. It is used, for example, when LinuxCNC starts with a tool already in the spindle and the current tool number needs to be set. The Q word gives the tool number and must be 0 or greater.
| Language | gcode |
|---|---|
| Code | M61 |
| Syntax | M61 Q- |
| Dialect | LinuxCNC |
| Name | Description |
|---|---|
| Q | Tool number to set as current. It is an error if Q is not 0 or greater. |