end gcode causes bed to raise
-
Can anyone help here?
At the end of the print the part got squashed by the nozzle because the bed raised.
gcode file
https://1drv.ms/u/s!AgN3RlWvEHCokb93H1XKK0XF1TT50w?e=eELETA -
you have a G28 in you end code, and in your start code you can do G32 for your beg.g file
-
@nick9one1 I see several strange things:
- G1 Z5 when exercised in absolute-mode moves the head to the Z=5 position. It does not move the bed down 5mm
- G28 X10 Y250 homes the X and Y axis (The 10 and 250 have no effect if I'm reading things right)
- G1 X0 Y0 F1000 moves the head to X=0 and Y=0 which might be in the middle of your part if you're running a delta for example
Maybe Change to:
- G91 ; Switch to relative mode for the rest of end.g
- G1 Z5 E-1 F300 ; move the bed 5 mm away from the last Z position
Then get rid of the G0 X0 Y0 line.
-
@alankilian what type of printer do you have ,?
-
Thank you for the suggestions.
I've had this printer working well for a couple of years, but I lost all my slicer settings after a reinstall.
Image shows print head in the home position (which is the best place for it to be after a print as it's out of the way).@alankilian I think youre correct about G1 Z5, this would bring the bed back up to 5mm from the nozzle.
I've added your suggestion. Hopefully this works
G91 ; Switch to relative mode for the rest of end.g G1 F2000 Z5 ; move bed down G28 XY ; move head to home on XY M104 S0 ; turn off extruder, M140 S0 ; turn off bed, M84 ; disable motors M107 ; turn off part cooling fan M81 S1 ; shutdown after all thermostatic fans have turned off
I should probably look at the start gcode too as I seem to be performing too many G28's.
does it matter which way round a G29 and G30 happen?; bed.g ; called to perform automatic bed compensation via G32 ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Thu Jul 01 2021 15:51:11 GMT+0100 (British Summer Time) M561 ; clear any bed transform G28 ; home ;G29 ; probe the bed and enable compensation G30 P0 X5 Y155 Z-99999 ; probe near a leadscrew G30 P1 X300 Y45 Z-99999 ; probe near a leadscrew ; probe near a leadscrew G30 P2 X300 Y239 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors
-
@nick9one1 said in end gcode causes bed to raise:
does it matter which way round a G29 and G30 happen?
You'd want to do G29 after the leveling.