Hello
Have you ever been frustrated by the fact that printing something small and quick takes several times longer just to prepare the printer? I searched half the internet for an answer and found nothing for the P2S. So I decided to solve the problem myself. The solution to this issue is the modified start G-code sequence below. I tested it on a P2S without AMS so I do not know how it will behave with an AMS. In the code I kept the essential steps such as homing and a quick nozzle wipe without the wiper at a slightly elevated temperature. For Z axis leveling the temperature is slightly lowered. Of course the optional bed leveling and flow calibration remain available which adds another 1 to 2 minutes when enabled but it is not a big issue. For longer prints I recommend using the full original profile. Feel free to comment ![]()
https://www.youtube.com/watch?v=oMAselih00Q
;======== P2S quick start printing GCODE (V5.7 - FINAL) ==========
;
; Author of the modification: SylwekK
;
; G-code start sequence tested with a non-AMS printer
; Quick start: Printing begins around 1.5 minutes after selecting the model
; Features: Optional flow calibration and bed leveling active
; Verified and tested but use at your own responsibility
M140 S[bed_temperature_initial_layer_single]
M993 A0 B0 C0
M17
M620 M
G389
;===== reset machine status =================
M204 S10000
M630 S0 P1
G90
M17 D
M960 S5 P1
M220 S100
M1002 set_gcode_claim_speed_level: 5
G29.1 Z{+0.0}
M982.2 S1
;==== Initial nozzle heating for cleaning ====
M1002 gcode_claim_action : 2
M104 S175 A
G29.2 S0
;===== X/Y Homing and CLEANING =====
M1002 gcode_claim_action : 13
G28 X T300
G150.3 ; Position above the cutter
M109 S175 A ; Wait for 175C
G150.1 F8000 ; Wipe standard
G150.1 F8000 ; Repeat
M400
;===== ACCELERATED COOLING ABOVE THE CUTTER =====
G150.3
M106 P1 S255 ; Front fan ON
M104 S140 A
M109 S140 A ; Cooling to 140C
M106 P1 S0 ; Front fan OFF
M400
;===== Z HOMING AND RETRACTION =====
G1 X128 Y128 F30000
G28 Z P0 T400
G1 Z10 F1200 ; Safe move away immediately after Z homing
M400
;===== OPTIONAL AUTO BED LEVELING (ABL)=====
M1002 judge_flag g29_before_print_flag
M622 J1
M1002 gcode_claim_action : 1
M190 S[bed_temperature_initial_layer_single]
G29 A1 X{first_layer_print_min[0]} Y{first_layer_print_min[1]} I{first_layer_print_size[0]} J{first_layer_print_size[1]}
M400
M500
G1 Z10 F1200 ; Safe lowering after ABL
M623
;===== OPTIONAL FLOW CALIBRATION =====
M1002 judge_flag extrude_cali_flag
M622 J1
M1002 gcode_claim_action : 8
G150.3
M109 S{nozzle_temperature[initial_no_support_extruder]}
G90
M83
M106 P1 S255
M983.3 F{filament_max_volumetric_speed[initial_no_support_extruder]/2.4} A0.4
M400 S5
M106 P1 S0
G1 Z10 F1200 ; Safe lowering after Flow
M623
;===== Final heating before printing ==========
G150.3 ; Return above the cutter
M1002 gcode_claim_action : 14
M190 S[bed_temperature_initial_layer_single]
M109 S{nozzle_temperature_initial_layer[initial_no_support_extruder]}
;===== Z-OFFSET correction =====
{if curr_bed_type==âTextured PEI Plateâ}
G29.1 Z{0.01}
{else}
G29.1 Z{0.03}
{endif}
;===== Start line =================
M1002 gcode_claim_action : 51
G90
M83
G0 X100 Y0 F24000
G130 O0 X100 Y-0.2 Z0.6 F{filament_max_volumetric_speed[initial_no_support_extruder]/2/2.4053} L40 E10 D4
G1 Z0.5
M400
M1015.3 S1 H[nozzle_diameter]
M1002 gcode_claim_action : 0
G29.99
;======== END GCODE ==========
