Start GCode Routines - RepRap
Contents
- 1 Intro
- 2 Z-Probe
- 2.1 Z-Probe Example
- 3 Cura 15.06
- 4 Custom Start GCode
Intro
Slicers such as Slic3r and Cura can append user supplied GCode scripts/routines to the beginning of a print job to perform many useful functions.
Z-Probe
If you employ a z-probe of the inductive, optical, or mechanical type this is where you'll need to add your G29 command to command the firmware to perform the bed probing routine (only works immediately after G28).
Z-Probe Example
G28; Home all axis G29; Probe bed before printCura 15.06
Cura 15.06 removed the ability to manually add start/end GCode in the GUI, but you can still do it by editing the machine specific .json file for your printer which includes separate lines for start/end gcode concatenated onto a single line with line breaks "\n" between statements.
Cura 15.06 default start GCode for the prusa_i3.json as of August 2015 (breaks added for readability, in situ it's one-line (but maybe it doesn't have to be?))
"machine_start_gcode": { "default": "G21 ;metric values\nG90 ;absolute positioning\nM82 ;set extruder to absolute mode\nM107 ;start with the fan off\nG28 X0 Y0 ;move X/Y to min endstops\nG28 Z0 ;move Z to min endstops\nG1 Z15.0 F9000 ;move the platform down 15mm\nG92 E0 ;zero the extruded length\nG1 F200 E3 ;extrude 3mm of feed stock\nG92 E0 ;zero the extruded length again\nG1 F9000\n ;Put printing message on LCD screen\nM117 Printing..."Reformatted to human readable form below by grep replacing \\n for \n:
G21 ;metric values G90 ;absolute positioning M82 ;set extruder to absolute mode M107 ;start with the fan off G28 X0 Y0 ;move X/Y to min endstops G28 Z0 ;move Z to min endstops G1 Z15.0 F9000 ;move the platform down 15mm G92 E0 ;zero the extruded length G1 F200 E3 ;extrude 3mm of feed stock G92 E0 ;zero the extruded length again G1 F9000 ; Put printing message on LCD screen M 117 Printing...Custom Start GCode
Here's my custom start-gcode with comments to perform the following actions (Marlin 1.0.2 Firmware):
- Enable AutoTemp
- Home X/Y/Z Axis
- Probe Bed (requires Z-Probe)
- Attempt Nozzle Wipe (for ooze free startup)
Từ khóa » G28 X0 Y0 G29 Z0
-
Autolevel?? - 3D Printing Forum
-
G-code - RepRap
-
How To Configure The BLTouch Start And End G-Codes?
-
Need Help With Creality BLTouch On Ender 3 Pro : R/ender3 - Reddit
-
Understanding G27, G28, G29 And G30 - Modern Machine Shop
-
Does G28 Reset The G29 Probe Calibration? - Thingiverse
-
Beginners Guide To 3D Printer Auto Bed Leveling - Simplify3D
-
Change Cura Start Gcode For Add-ons To Build Plate - 3D Hubs
-
G-code Print Issue...i Think - 3D Hubs
-
The G29 Command Only Runs The Z-probe 10 Mm Torwards The Bed.
-
[PDF] BLtouch Creality For Creality V1 安装说明书 20181113v1
-
G28 Return To Machine Zero Point (Group 00) - Haas Automation Inc.
-
D3D Automatic Bed Leveling - Open Source Ecology - Wiki