Gcode Commands

CODEDRAGON Development/3D Printing

반응형

   

   

4.2 Buffered G Commands

G0 & G1

Move

G2 & G3

Controlled Arc Move

G28

Move to Origin (Home)

G29

Detailed Z-Probe

G30

Single Z Probe

G31

Report Current Probe status

G32

Probe Z and calculate Z plane

   

   

4.3 Unbuffered G commands

G4

Dwell

G10

Tool Offset

G20

Set Units to Inches

G21

Set Units to Millimeters

G90

Set to Absolute Positioning

G91

Set to Relative Positioning

G92

Set Position

G130

Set digital potentiometer value

G161

Home axes to minimum

G162

Home axes to maximum

   

   

4.4 Unbuffered M and T commands

M0

Stop or Unconditional stop

M1

Sleep or Conditional stop

M3

Spindle On, Clockwise (CNC specific)

M4

Spindle On, Counter-Clockwise (CNC specific)

M5

Spindle Off (CNC specific)

M7

Mist Coolant On (CNC specific)

M8

Flood Coolant On (CNC specific)

M9

Coolant Off (CNC specific)

M10

Vacuum On (CNC specific)

M11

Vacuum Off (CNC specific)

M17

Enable/Power all stepper motors

M18

Disable all stepper motors

M20

List SD card

M21

Initialize SD card

M22

Release SD card

M23

Select SD file

M24

Start/resume SD print

M25

Pause SD print

M26

Set SD position

M27

Report SD print status

M28

Begin write to SD card

M29

Stop writing to SD card

M30

Delete a file on the SD card

M31

Output time since last M109 or SD card start to serial

M32

Select file and start SD print

M33

  

M34

  

M36

Return file information

M37

Simulation mode

M40

Eject

M41

Loop

M42

Stop on material exhausted / Switch I/O pin

M43

Stand by on material exhausted

M70

Display message

M72

Play a tone or song

M73

Set build percentage

M80

ATX Power On

M81

ATX Power Off

M82

Set extruder to absolute mode

M83

Set extruder to relative mode

M84

Stop idle hold

M85

Set inactivity shutdown timer

M92

Set axis_steps_per_unit

M98

Call Macro/Subprogram

M99

Return from Macro/Subprogram

M98

Get axis_hysteresis_mm

M99

Set axis_hysteresis_mm

M101

Turn extruder 1 on (Forward), Undo Retraction

M102

Turn extruder 1 on (Reverse)

M103

Turn all extruders off, Extruder Retraction

M104

Set Extruder Temperature

M105

Get Extruder Temperature

M106

Fan On

M107

Fan Off

M108

Set Extruder Speed

M109

Set Extruder Temperature and Wait

M110

Set Current Line Number

M111

Set Debug Level

M112

Emergency Stop

M113

Set Extruder PWM

M114

Get Current Position

M115

Get Firmware Version and Capabilities

M116

Wait

M117

Get Zero Position

M118

Negotiate Features

M119

Get Endstop Status

M120

Push

M121

Pop

M122

Diagnose

M123

Tachometer value

M124

Immediate motor stop

M126

Open Valve

M127

Close Valve

M128

Extruder Pressure PWM

M129

Extruder pressure off

M130

Set PID P value

M131

Set PID I value

M132

Set PID D value

M133

Set PID I limit value

M134

Write PID values to EEPROM

M135

Set PID sample interval

M136

Print PID settings to host

M140

Bed Temperature (Fast)

M141

Chamber Temperature (Fast)

M142

Holding Pressure

M143

Maximum hot-end temperature

M144

Stand By Your Bed

M160

Number of mixed materials

M190

Wait for bed temperature to reach target temp

M200

Set filament diameter / Get Endstop Status

M201

Set max printing acceleration

M202

Set max travel acceleration

M203

Set maximum feedrate

M204

Set default acceleration

M205

Advanced settings

M206

-

M207

Calibrate z axis by detecting z max length

M208

Set axis max travel

M209

Enable automatic retract

M210

Set homing feedrates

M211

Disable/Enable software endstops

M212

Set Bed Level Sensor Offset

M218

Set Hotend Offset

M220

Set speed factor override percentage

M221

Set extrude factor override percentage

M222

Set speed of fast XY moves

M223

Set speed of fast Z moves

M224

Enable extruder during fast moves

M225

Enable extruder during fast moves

M226

Gcode Initiated Pause

M227

Enable Automatic Reverse and Prime

M228

Disable Automatic Reverse and Prime

M229

Enable Automatic Reverse and Prime

M230

Disable / Enable Wait for Temperature Change

M240

Start conveyor belt motor / Echo off

M241

Stop conveyor belt motor / echo on

M245

Start cooler

M246

Stop cooler

M250

Set LCD contrast

M251

Measure Z steps from homing stop (Delta printers)

M280

Set servo position

M300

Play beep sound

M301

Set PID parameters

M302

Allow cold extrudes

M303

Run PID tuning

M304

Set PID parameters - Bed

M305

Set thermistor and ADC parameters

M306

set home offset calculated from toolhead position

M320

Activate autolevel(Repetier)

M321

Deactivate autolevel(Repetier)

M322

Reset autolevel matrix

M340

Control the servos

M350

Set microstepping mode

M351

Toggle MS1 MS2 pins directly

M355

Turn case lights on/off

M360

Report firmware configuration

M360

Move to Theta 0 degree position

M361

Move to Theta 90 degree position

M362

Move to Psi 0 degree position

M363

Move to Psi 90 degree position

M364

Move to Psi + Theta 90 degree position

M365

SCARA scaling factor

M370

Morgan manual bed level - clear map

M371

Move to next calibration position

M372

Record calibration value, and move to next position

M373

End bed level calibration mode

M374

Save calibration grid

M375

Display matrix / Load Matrix

M380

Activate solenoid

M381

Disable all solenoids

M400

Wait for current moves to finish

M401

Lower z-probe

M402

Raise z-probe

M404

Filament width

M405

Filament Sensor on

M406

Filament Sensor off

M407

Display filament diameter

M420

Set RGB Colors as PWM

M540

Set MAC address

M550

Set Name

M551

Set Password

M552

Set IP address

M553

Set Netmask

M554

Set Gateway

M555

Set compatibility

M556

Axis compensation

M557

Set Z probe point

M558

Set Z probe type

M559

Upload configuration file

M560

Upload web page file

M561

Set Identity Transform

M562

Reset temperature fault

M563

Define or remove a tool

M564

Limit axes

M565

Set Z probe offset

M566

Set allowable instantaneous speed change

M567

Set tool mix ratios

M568

Turn off/on tool mix ratios

M569

Set axis direction values

M570

Set heater timeout

M571

Set output on extrude

M572

Set or report extruder elasticity compensation

M573

Report heater PWM

M574

Set endstop configuration

M575

Set serial comms parameters

M600

filament change pause

M605

Set dual x-carriage movement mode

M665

Set delta configuration

M666

Set delta endstop adjustment

M667

Select CoreXY mode

M700

Level plate

M701

Load filament

M702

Unload filament

M906

Set motor currents

M907

Set digital trimpot motor

M908

Control digital trimpot directly

M909

Set microstepping

M998

Request resend of line

M999

Restart after being stopped by error

G

List all G-codes

M

List all M-codes

T

Select Tool

   

   

5 Proposed EEPROM configuration codes

M500

store parameters in EEPROM

M501

read parameters from EEPROM

M502

revert to the default "factory settings."

M503

Print settings

 

반응형

'Development > 3D Printing' 카테고리의 다른 글

슬라이싱 프로그램  (0) 2016.09.30
CreatorK – 3Dison +  (0) 2016.09.24
스텝 DC모터(stepper motor)  (0) 2016.09.12
G Code를 통한 프린팅 작업  (0) 2016.09.06
Chamfer – 123d Design  (0) 2016.09.01