Home › M-codes › Siemens 808D › M70
M70 Spindle to axis mode
Siemens 808D M-code · Mill and lathe
Switches the spindle into axis mode so it can be moved as a rotary axis, for example as C axis on a lathe. No position is approached.
Format
M70
How it works
Axis mode stays until the spindle gets M3, M4 or M5.
Example program
M3 S500 ; SPINDLE ON
G1 X60 Z60 F0.25 ; TURN
M70 ; SPINDLE TO AXIS MODE
X50 C180 ; C AXIS MOVES WITH X
…
G1 X60 Z60 F0.25 ; TURN
M70 ; SPINDLE TO AXIS MODE
X50 C180 ; C AXIS MOVES WITH X
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- The control also switches to axis mode by itself when the axis is programmed. M70 mainly makes the program easier to read.
- For a second spindle write its number, for example M2=70.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M70 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Tail stock quill low pressure advance |
| DMG Mori MAPPS (Fanuc) | Work counter or total counter |
| Siemens 840D 828D | Spindle to axis mode |
| LinuxCNC Tormach | Save modal state |
| Hurco WinMax (NC) | Pallet change |
Every M-code for Siemens 808D in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open M70 in the app All Siemens 808D M-codes