CNC Machinist Calculator Ultra

Home › M-codes › LinuxCNC Tormach › M68

M68 Analog output, immediate

LinuxCNC Tormach M-code · Mill and lathe

Sets analog output E to value Q right away.

Format

M68 E Q

Addresses

AddressWhat it does
EAnalog output number
QValue to set

How it works

Non modal.

Example program

G0 X0 Y0
M68 E0 Q2.5 (SET OUTPUT 0 TO 2.5 NOW)
G4 P1

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M67 · M64

M68 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Chuck clamp
DMG Mori MAPPS (Fanuc)B-axis clamp
Mazak (EIA)Cycle bar feeder call 1
Hurco WinMax (NC)Washdown coolant on

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 M68 in the app All LinuxCNC Tormach M-codes

App Store Google Play