G28 ; Home all axis
G28 X Y ; home X and Y axis only
G29 ; Auto bed leveling
G90 ; use absolute positioning for the X Y Z axis
G91 ; use relative positioning for the X Y Z axis
G1 ; linear movement, give axis as argument and speed in mm/min
G1 X10 Y20 F2400 ; move to X=10mm, Y=20mm with 2400mm/min
G1 X30 E10 F1800 ; push 10mm of filament into nozzle while moving to X=30
; at the same time
G92 ; Set current position
example:
G92 E0 ; set current filament position to E=0
M104 S190 T0 ; heat extruder #0 to 190°C and continue immideately
; if there is only one extruder, T0 can be ommited
M109 S190 T0 ; heat extruder #0 to 190°C and wait until that
; temperature is reached
M140 S60 ; heat bed to 60°C and continue immideately
M190 S60 ; heat bed to 60°C and wait until temperature is reached
M106 S255 ; set cooling fan speed to 100% (value range is 0..255)
G1 Z50 F240 = Z Achse in 50mm Höhe positionieren