Selaa lähdekoodia

added missing gcodes description

Steffen Vogel 9 vuotta sitten
vanhempi
commit
fd68d0074b
1 muutettua tiedostoa jossa 103 lisäystä ja 0 poistoa
  1. 103
    0
      Documentation/GCodes.md

+ 103
- 0
Documentation/GCodes.md Näytä tiedosto

@@ -0,0 +1,103 @@
1
+# Implemented G Codes
2
+
3
+## G Codes
4
+
5
+*  G0  -> G1
6
+*  G1  - Coordinated Movement X Y Z E
7
+*  G2  - CW ARC
8
+*  G3  - CCW ARC
9
+*  G4  - Dwell S<seconds> or P<milliseconds>
10
+*  G10 - retract filament according to settings of M207
11
+*  G11 - retract recover filament according to settings of M208
12
+*  G28 - Home all Axis
13
+*  G29 - Detailed Z-Probe, probes the bed at 3 points.  You must de at the home position for this to work correctly.
14
+*  G30 - Single Z Probe, probes bed at current XY location.
15
+*  G31 - Dock Z Probe sled (if enabled)
16
+*  G32 - Undock Z Probe sled (if enabled)
17
+*  G90 - Use Absolute Coordinates
18
+*  G91 - Use Relative Coordinates
19
+*  G92 - Set current position to cordinates given
20
+
21
+## M Codes
22
+*  M0   - Unconditional stop - Wait for user to press a button on the LCD (Only if ULTRA_LCD is enabled)
23
+*  M1   - Same as M0
24
+*  M17  - Enable/Power all stepper motors
25
+*  M18  - Disable all stepper motors; same as M84
26
+*  M20  - List SD card
27
+*  M21  - Init SD card
28
+*  M22  - Release SD card
29
+*  M23  - Select SD file (M23 filename.g)
30
+*  M24  - Start/resume SD print
31
+*  M25  - Pause SD print
32
+*  M26  - Set SD position in bytes (M26 S12345)
33
+*  M27  - Report SD print status
34
+*  M28  - Start SD write (M28 filename.g)
35
+*  M29  - Stop SD write
36
+*  M30  - Delete file from SD (M30 filename.g)
37
+*  M31  - Output time since last M109 or SD card start to serial
38
+*  M32  - Select file and start SD print (Can be used when printing from SD card)
39
+*  M42  - Change pin status via gcode Use M42 Px Sy to set pin x to value y, when omitting Px the onboard led will be used.
40
+*  M80  - Turn on Power Supply
41
+*  M81  - Turn off Power Supply
42
+*  M82  - Set E codes absolute (default)
43
+*  M83  - Set E codes relative while in Absolute Coordinates (G90) mode
44
+*  M84  - Disable steppers until next move, or use S<seconds> to specify an inactivity timeout, after which the steppers will be disabled.  S0 to disable the timeout.
45
+*  M85  - Set inactivity shutdown timer with parameter S<seconds>. To disable set zero (default)
46
+*  M92  - Set axis_steps_per_unit - same syntax as G92
47
+*  M104 - Set extruder target temp
48
+*  M105 - Read current temp
49
+*  M106 - Fan on
50
+*  M107 - Fan off
51
+*  M109 - Sxxx Wait for extruder current temp to reach target temp. Waits only when heating
52
+*         Rxxx Wait for extruder current temp to reach target temp. Waits when heating and cooling
53
+*  M112 - Emergency stop
54
+*  M114 - Output current position to serial port
55
+*  M115 - Capabilities string
56
+*  M117 - display message
57
+*  M119 - Output Endstop status to serial port
58
+*  M126 - Solenoid Air Valve Open (BariCUDA support by jmil)
59
+*  M127 - Solenoid Air Valve Closed (BariCUDA vent to atmospheric pressure by jmil)
60
+*  M128 - EtoP Open (BariCUDA EtoP = electricity to air pressure transducer by jmil)
61
+*  M129 - EtoP Closed (BariCUDA EtoP = electricity to air pressure transducer by jmil)
62
+*  M140 - Set bed target temp
63
+*  M190 - Sxxx Wait for bed current temp to reach target temp. Waits only when heating
64
+*         Rxxx Wait for bed current temp to reach target temp. Waits when heating and cooling
65
+*  M200 D<millimeters>- set filament diameter and set E axis units to cubic millimeters (use S0 to set back to millimeters).
66
+*  M201 - Set max acceleration in units/s^2 for print moves (M201 X1000 Y1000)
67
+*  M202 - Set max acceleration in units/s^2 for travel moves (M202 X1000 Y1000) Unused in Marlin!!
68
+*  M203 - Set maximum feedrate that your machine can sustain (M203 X200 Y200 Z300 E10000) in mm/sec
69
+*  M204 - Set default acceleration: S normal moves T filament only moves (M204 S3000 T7000) im mm/sec^2  also sets minimum segment time in ms (B20000) to prevent buffer underruns and M20 minimum feedrate
70
+*  M205 -  advanced settings:  minimum travel speed S=while printing T=travel only,  B=minimum segment time X= maximum xy jerk, Z=maximum Z jerk, E=maximum E jerk
71
+*  M206 - set additional homeing offset
72
+*  M207 - set retract length S[positive mm] F[feedrate mm/min] Z[additional zlift/hop], stays in mm regardless of M200 setting
73
+*  M208 - set recover=unretract length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
74
+*  M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
75
+*  M218 - set hotend offset (in mm): T<extruder_number> X<offset_on_X> Y<offset_on_Y>
76
+*  M220 S<factor in percent>- set speed factor override percentage
77
+*  M221 S<factor in percent>- set extrude factor override percentage
78
+*  M240 - Trigger a camera to take a photograph
79
+*  M280 - Position an RC Servo P<index> S<angle/microseconds>, ommit S to report back current angle
80
+*  M300 - Play beepsound S<frequency Hz> P<duration ms>
81
+*  M301 - Set PID parameters P I and D
82
+*  M302 - Allow cold extrudes
83
+*  M303 - PID relay autotune S<temperature> sets the target temperature. (default target temperature = 150C)
84
+*  M304 - Set bed PID parameters P I and D
85
+*  M400 - Finish all moves
86
+*  M401 - Lower z-probe if present
87
+*  M402 - Raise z-probe if present
88
+*  M404 - N<dia in mm> Enter the nominal filament width (3mm, 1.75mm ) or will display nominal filament width without parameters
89
+*  M405 - Turn on Filament Sensor extrusion control.  Optional D<delay in cm> to set delay in centimeters between sensor and extruder
90
+*  M406 - Turn off Filament Sensor extrusion control
91
+*  M407 - Displays measured filament diameter
92
+*  M500 - stores paramters in EEPROM
93
+*  M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
94
+*  M502 - reverts to the default "factory settings".  You still need to store them in EEPROM afterwards if you want to.
95
+*  M503 - print the current settings (from memory not from eeprom)
96
+*  M540 - Use S[0|1] to enable or disable the stop SD card print on endstop hit (requires ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
97
+*  M600 - Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
98
+*  M907 - Set digital trimpot motor current using axis codes.
99
+*  M908 - Control digital trimpot directly.
100
+*  M350 - Set microstepping mode.
101
+*  M351 - Toggle MS1 MS2 pins directly.
102
+*  M928 - Start SD logging (M928 filename.g) - ended by M29
103
+*  M999 - Restart after being stopped by error

Loading…
Peruuta
Tallenna