website logo
Home pageWeb storeDistributors
Software
Hardware
Settings
Troubleshooting
Navigate through spaces
⌘K
EdingCNC Documentation
Getting started with your new controller
G-code
Language standard
Supported G-code
Supported M-codes
Other input codes
Special commands
Special features
Macro programming
Run behavior during loading of job file and simulation
Software installation
Interface
Keyboard shortcuts
Docs powered by archbee 

Supported M-codes

1min

M Code

Meaning

M0

program stop

M1

optional program stop

M2

program end

M3

turn spindle clockwise

M4

turn spindle counterclockwise

M5

stop spindle turning

M6

tool change

M7

mist coolant on

M8

flood coolant on

M9

mist and flood coolant off

M20

Plasma Torch Height Control ON

M21

Plasma Torch Height Control OFF

M22

M23 Q… Set Plasma THC set point value;

M30

program end, spindle and coolants off, and rewind.

M48

enable speed and feed overrides

M49

disable speed and feed overrides

M60

program stop, use this with nesting instead of M30 so that the spindle/coolants remain on during the transition from one to the next run.

M54

set general-purpose output

M55

clear general-purpose output

M56

read general-purpose input

M80

Drive enable ON

M81

Drive enable OFF

M90

Standard Head/spindle

M91

Alternate Head/2nd spindle

M93

Alternate Head/3rd spindle

M95

Alternate Head/Probe

M97

Alternate Head/Camera



Note that a head may as well be e.g. a tangential knife configuration



Specials for 3D printing

M104

M104 S... Set extruder temperature, (M104 S50, sets the temperature to 50 degrees Celsius)

M106

M106 S... Workpiece cooling FAN ON optionally with S=0-255, for 0-100% PWM

M107

M107 Work piece FAN off

M109

M109 S... Set extruder temperature and wait until reached

M143

M143 S... Maximum Hot-end temperature to prevent overheating

M140

M140 S... Bed temperature

M190

M190 Wait for bed temperature to reach the target value



PREVIOUS
G98, G99 (Set Canned Cycle Return Level)
NEXT
M0, M1, M2, M30, M60 (Program Stopping and Ending)
Docs powered by archbee