#g-code help

1 messages · Page 1 of 1 (latest)

timber viper
#

this is part my start g-code how do i move the purge line to the edge and set the nozzle and bed temp and the same time
M220 S100 ;Reset Feedrate
M221 S100 ;Reset Flowrate

G28 ;Home

M420 S1; Enable mesh leveling

G92 E0 ;Reset Extruder
G1 Z2.0 F3000 ;Move Z Axis up
G1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position
M109 S[material_print_temperature_layer_0]
G1 X4.1 Y145.0 Z0.28 F1500.0 E15 ;Draw the first line
G1 X4.4 Y145.0 Z0.28 F5000.0 ;Move to side a little
G1 X4.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line
G92 E0 ;Reset Extruder
G1 E-1.0000 F1800 ;Retract a bit
G1 Z2.0 F3000 ;Move Z Axis up
G1 E0.0000 F1800

mighty cedarBOT
#
AI Help

To move the purge line to the edge of the print bed, you will need to adjust the X and Y coordinates in the G1 commands that control the movement. The X and Y values in the G1 commands determine the position of the nozzle. You can adjust the X and Y coordinates to position the purge line wherever you want on the print bed.

To set the nozzle and bed temperature at the same time, you can use the M104 and M140 commands. For example, you can add the following lines to set the nozzle and bed temperatures before starting the print:

M104 S[material_print_temperature_layer_0] ; Set nozzle temperature
M140 S[bed_temperature] ; Set bed temperature

Please replace [material_print_temperature_layer_0] and [bed_temperature] with the appropriate temperature values.

If you have any specific questions or encounter problems while adjusting your start G-code, feel free to ask for further assistance.

timber viper
#

220x220x250 ender 3 v3 se