Difference between revisions of "GCode Header"

From Hyrel3D
Jump to: navigation, search
(Sample Header)
(Sample Header)
Line 24: Line 24:
 
  <span style="color: darkorange;">M627 X0 Y0 Z0 J-500 K5                ; setup abort action</span>
 
  <span style="color: darkorange;">M627 X0 Y0 Z0 J-500 K5                ; setup abort action</span>
 
   
 
   
  <span style="color: black;">;  
+
  <span style="color: black;">; '''RANGE SETUP'''
 +
 
  M107              ; fans/UV          ; off
 
  M107              ; fans/UV          ; off
 
  M106 C255          ; fans/UV          ; set to 0-255 range
 
  M106 C255          ; fans/UV          ; set to 0-255 range
 
   
 
   
 +
<span style="color: black;">; '''OFFSETS and POSITIONING'''
 +
 
  G53                ; clear offsets
 
  G53                ; clear offsets
 
  G21                ; units            : mm
 
  G21                ; units            : mm
Line 33: Line 36:
 
  G0 Z10           ; drop bed  
 
  G0 Z10           ; drop bed  
 
  G90                ; coordinates      : absolute
 
  G90                ; coordinates      : absolute
 
 
  G28 X0 Y0          ; home, goto        : X and Y
 
  G28 X0 Y0          ; home, goto        : X and Y
 +
<span style="color: darkorange;">M229 E1 D1        ; enable E-values (volumetric)
 
   
 
   
  M229 E1 D1        ; enable E-values (volumetric)
+
  <span style="color: black;">; '''HEAD DESIGNATION''' :
+
 
  ; TEMP CONTROL :
+
  T2                ; use THIRD tool position from the left
 
   
 
   
  ;M190 S[bed_temperature]          ; bed temp    : set and wait
+
  <span style="color: black;">; '''TEMPERATURE CONTROL''' :
;M109 T12 S[temperature]        ; head temp    : set and wait
 
 
   
 
   
  T2                ; use THIRD tool position from the left    
+
  M190 S[bed_temperature]          ; bed temp    : set and wait
 +
M109 T12 S[temperature]        ; head temp   : set and wait 
 
   
 
   
  

Revision as of 19:52, 20 April 2021

Contents


At Hyrel, we believe that you must start with a good GCode header to get a good print. Below are explanations of our standard header files. These can be configured in Slic3r under Printer Settings > Custom G-code > Start G-code

Sample Header

  • BLACK entries are for every machine
  • GREEN entries are recommended, but must be manually entered
  • RED entries are for the EHR only
  • BLUE entries are for the 16A only
  • PURPLE entries are explanations
  • GOLD entries are optional, but recommended

This is what your header recipe will look like in Slic3r:

; REPORTING/ABORTING :

N14                ; set line numbers for error logging - Slic3r version
M772 S1            ; reset metrics and arm automatic reporting 
M627 X0 Y0 Z0 J-500 K5                 ; setup abort action

; RANGE SETUP

M107               ; fans/UV           ; off
M106 C255          ; fans/UV           ; set to 0-255 range

; OFFSETS and POSITIONING
G53                ; clear offsets
G21                ; units             : mm
G91                ; coordinatess      : relative
G0 Z10 	           ; drop bed 
G90                ; coordinates       : absolute
G28 X0 Y0          ; home, goto        : X and Y
M229 E1 D1         ; enable E-values (volumetric)

; HEAD DESIGNATION :
T2                 ; use THIRD tool position from the left 

; TEMPERATURE CONTROL :

M190 S[bed_temperature]          ; bed temp     : set and wait
M109 T12 S[temperature]        ; head temp    : set and wait   





(this page is in progress, 20 Apr 2021)