Hello, how to add Sweeping XY mech mode on the start G-Code of the machine?
Some one, know the G-Code to add on the Bambu Studio for add the Sweeping XY mech mode on the start printing? Tks
Do you mean the full sweep that is done as part of self-test? There is a short one that normally occurs, triggered by this code:
;===== mech mode fast check============================
G1 X128 Y128 Z10 F20000
M400 P200
M970.3 Q1 A7 B30 C80 H15 K0
M974 Q1 S2 P0
G1 X128 Y128 Z10 F20000
M400 P200
M970.3 Q0 A7 B30 C90 Q0 H15 K0
M974 Q0 S2 P0
M975 S1
tks for your reply, no, I mean this command: M1002 gcode_claim_action : 3 Sweeping XY mech mode
but I do not to know, how add it on the start G-Code, becuse I do not to know, if we need to add something else, like M500 or others command like:
;===== bed leveling ===============
M1002 judge_flag g29_before_print_flag
M622 J1
M1002 gcode_claim_action : 1
G29 A 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 ;save bed leveling data
M623
;===== home after wipe mouth ===============
M1002 judge_flag g29_before_print_flag
M622 J0
M1002 gcode_claim_action : 13
G28
M623
M975 S1 ;turn ON vibration supression after homing
M1002 is used for displaying what is happening, it doesn’t do things as far as I know. You would not use M500 in this context.
ah… ok… and how I can make this: Sweeping XY mech mode…?
Do you know the gcode to add on the start gcode?
I do not. The only code I know is what I showed earlier. There may not be such a code, as it isn’t something that occurs during a print. Why do you want to do this?
because I want the bed calibration and the XY calibration at every print I make…
If you will print an example file present on the X1, you will see then the machine make the Sweeping XY mech mode after de Auto bed leveling… and I want it too…
;===== freq sweep ====================================
M1002 judge_flag:xy_mech_mode_sweep_flag
M622 J1
M1002 gcode_claim_action : 3
G0 X128 Y128 Z20 F10000
M400 P200
M970 Q1 A7 B30 C80 H15 K0
M974 Q1 S2 P0
M970 Q0 A9 B30 C90 H15 K0
M974 Q0 S2 P0
M400 P100
M500 ; save cali data
M623
this should be it. its the same as the mech mode fast check
Where should I add that code