Home › M-codes › LinuxCNC Tormach › M67
M67 Analog output, synced with motion
LinuxCNC Tormach M-code · Mill and lathe
Sets analog output E to value Q at the start of the next motion block.
Format
M67 E Q
Addresses
| Address | What it does |
|---|---|
E | Analog output number |
Q | Value to set |
How it works
Non modal. Queued with the next move.
Example program
M67 E0 Q50 (LASER POWER 50 WITH NEXT MOVE)
G1 X2 F40
M67 E0 Q0 (OFF WITH NEXT MOVE)
G1 X3
G1 X2 F40
M67 E0 Q0 (OFF WITH NEXT MOVE)
G1 X3
Example is in inch. Check offsets and clearances first.
Watch out for
- Pins are motion.analog-out-NN in HAL.
Related codes
M67 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Doosan (Fanuc) | Chucking high pressure |
| Mazak (EIA) | C-axis brake (for machining by G01) |
| Fadal | Laser 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 M67 in the app All LinuxCNC Tormach M-codes