Home › M-codes › LinuxCNC Tormach › M65
M65 Digital output off, immediate
LinuxCNC Tormach M-code · Mill and lathe
Turns off digital output P right away.
Format
M65 P
Addresses
| Address | What it does |
|---|---|
P | Digital output number |
How it works
Non modal.
Example program
M64 P1 (OUTPUT ON)
G4 P1
M65 P1 (OUTPUT OFF NOW)
G4 P1
M65 P1 (OUTPUT OFF NOW)
Example is in inch. Check offsets and clearances first.
Watch out for
- Waits for queued motion first.
Related codes
M65 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Haas NGC | Built in M code relay 5 off |
| Doosan (Fanuc) | Left spindle stop & upper coolant off |
| Mach3 Mach4 | Output off now, Mach4 |
| Fadal | TS-20 tool setter probe active |
Every M-code for LinuxCNC Tormach 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 M65 in the app All LinuxCNC Tormach M-codes