23 lines
561 B
Java
23 lines
561 B
Java
|
<h2>Comments</h2>
|
||
|
<pre><code>; comment
|
||
|
(some more comments)
|
||
|
G28 (even in here) X0
|
||
|
</code></pre>
|
||
|
|
||
|
<h2>Quoted strings</h2>
|
||
|
<pre><code>"foo""bar"</code></pre>
|
||
|
|
||
|
<h2>Full example</h2>
|
||
|
<pre><code>M190 S60 ; Heat bed to 60°C
|
||
|
G21 ; Set units to millimeters
|
||
|
G28 ; Move to Origin (Homing)
|
||
|
G29 ; Auto Bed Leveling
|
||
|
G28 X0 Y0 ; Home X and Y to min endstops
|
||
|
M107 ; Fan off
|
||
|
M109 S200 ; Heat hotend to 200°C
|
||
|
G92 E0 ; Set current extruder position as zero
|
||
|
G1 F200 E15 ; Extrude 15mm filament with 200mm/min
|
||
|
G92 E0 ; Set current extruder position as zero
|
||
|
G1 F500
|
||
|
</code></pre>
|