Home › M-codes › Fagor 8055 8065 › M45
M45 Auxiliary spindle or live tool
Fagor 8055 8065 M-code · Mill and lathe
Runs the auxiliary spindle or live tool at S rpm. The sign of S gives the direction. M45 alone or M45 S0 stops it.
Format
M45 [S]
Addresses
| Address | What it does |
|---|---|
S | Live tool speed in rpm, sign sets direction |
How it works
Modal until M45 S0 or M45.
Example program
T7 D7 (LIVE DRILL)
M45 S1500 (LIVE TOOL ON 1500 RPM)
G01 Z-0.4 F5.0 (DRILL)
M45 S0 (LIVE TOOL OFF)
M45 S1500 (LIVE TOOL ON 1500 RPM)
G01 Z-0.4 F5.0 (DRILL)
M45 S0 (LIVE TOOL OFF)
Example is in inch. Check offsets and clearances first.
Watch out for
- An axis must be set as auxiliary spindle by machine parameters.
- Stop the live tool before indexing the turret.
Machine builders set many M codes, and they change by model and options. Check the M code list for your machine.
Related codes
M45 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Milling spindle head tool no, external set |
| DMG Mori MAPPS (Fanuc) | Table-mount sensor DOWN |
| Mazak (EIA) | Air coolant blow ON (coolant stop: M09) |
| Fadal | Execute fixed cycle |
Every M-code for Fagor 8055 8065 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 M45 in the app All Fagor 8055 8065 M-codes