G-code
Supported M-codes
2 min
m code meaning docid\ lhmmbay23q7kqbe9wdv0 program stop docid\ lhmmbay23q7kqbe9wdv0 optional program stop docid\ lhmmbay23q7kqbe9wdv0 program end docid\ lcgnvkpx hp4rq3g5m9qv turn spindle clockwise docid\ lcgnvkpx hp4rq3g5m9qv turn spindle counterclockwise docid\ lcgnvkpx hp4rq3g5m9qv stop spindle turning docid\ kqg7dd1dpwuw3hchbarut tool change docid\ ckpeeqps6uvhtmidsirnr mist coolant on docid\ ckpeeqps6uvhtmidsirnr flood coolant on docid\ ckpeeqps6uvhtmidsirnr mist and flood coolant off m10 laser off (pwm off) m11 laser on with power s docid 4kzjvmws8l4ynn6n5zmcb plasma torch height control on docid 4kzjvmws8l4ynn6n5zmcb plasma torch height control off docid 4kzjvmws8l4ynn6n5zmcb m23 q… set plasma thc set point value docid\ b ht95 u crzgtmitkpi8 enable rotary axis clamping docid\ b ht95 u crzgtmitkpi8 disable rotary axis clamping docid\ lhmmbay23q7kqbe9wdv0 program end, spindle and coolants off, and rewind docid\ c9jbudjzjbt5 jzmt hwm enable speed and feed overrides docid\ c9jbudjzjbt5 jzmt hwm disable speed and feed overrides docid\ c9jbudjzjbt5 jzmt hwm set feed override docid\ c9jbudjzjbt5 jzmt hwm set speed override docid\ c9jbudjzjbt5 jzmt hwm enable feed override by analog input docid\ c9jbudjzjbt5 jzmt hwm enable feed hold input docid\ pkhadteljosp0wttu 1dj set general purpose output docid\ pkhadteljosp0wttu 1dj clear general purpose output docid\ pkhadteljosp0wttu 1dj read general purpose input docid\ pkhadteljosp0wttu 1dj read general purpose output docid\ lhmmbay23q7kqbe9wdv0 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 docid 6fv5 8xinu35lcyumn2ce set modbus tcp output docid 6fv5 8xinu35lcyumn2ce clear modbus tcp output docid 6fv5 8xinu35lcyumn2ce read modbus tcp input docid 6fv5 8xinu35lcyumn2ce read modbus tcp output m80 drive enable on m81 drive enable off docid\ lcgnvkpx hp4rq3g5m9qv standard head/spindle docid\ lcgnvkpx hp4rq3g5m9qv alternate head/2nd spindle docid\ lcgnvkpx hp4rq3g5m9qv alternate head/3rd spindle docid\ lcgnvkpx hp4rq3g5m9qv alternate head/4th spindle docid\ lcgnvkpx hp4rq3g5m9qv alternate head/probe docid\ lcgnvkpx hp4rq3g5m9qv alternate head/camera note that a head may as well be e g a tangential knife configuration 3d printing specials m code meaning docid\ hhdbn9qpo179onapoaszl set extruder temperature docid\ hhdbn9qpo179onapoaszl workpiece cooling fan on docid\ hhdbn9qpo179onapoaszl workpiece cooling fan off docid\ hhdbn9qpo179onapoaszl m109 s set extruder temperature and wait until reached docid\ hhdbn9qpo179onapoaszl m140 s bed temperature docid\ hhdbn9qpo179onapoaszl m143 s maximum hot end temperature to prevent overheating docid\ hhdbn9qpo179onapoaszl m190 wait for bed temperature to reach the target value