Jump to content

Prolème GCode


Zebulon17

Recommended Posts

Posted (edited) · Prolème GCode

Bonjour tout le monde,

Je ne comprend pas pourquoi lorsque je lance une impression l'extrudeur se vide complétement, ce qui fait que le temps que le filament (PLA) arrive à la buse l'impression à commencer...

Je ne sais pas si sa viens du G-code ou du firmware de l'imprimante???

 

Mon imprimante est une WANHAO Duplicator 12 / 230 M2 PRO avec  le 3D TOUCH D12.

Printer: D12/230 5TMC BL
Firmware: Marlin 2.1.2.1. HS V0.51BETA
KILPPER Firmware: MKS3.2.BIN

 

Je vous joint un extrait  du code pour vous faire une idée de mon problème et surtout où sa bug, vous pouvez télécharger en pièce jointe le code complet  plus le ".STL" qui à servi à générer le G code ...

Merci à vous pour votre aide.

Cordialement

 


;FLAVOR:Marlin
;TIME:2919
;Filament used: 0m, 1.49253m
;Layer height: 0.12
;MINX:99.155
;MINY:99.165
;MINZ:0.3
;MAXX:130.821
;MAXY:130.839
;MAXZ:36.14
;TARGET_MACHINE.NAME:Wanhao Duplicator 12 230 dual
;MKSPREVIEWPROCESSED
; Postprocessed by [MKS WiFi plugin](https://github.com/PrintMakerLab/mks-wifi-plugin)
; simage=100
; gimage=200
;Generated with Cura_SteamEngine 5.7.1
T1
M140 S50
M105
M190 S50
M104 S190
M105
M109 S190
M82 ;absolute extrusion mode
M107
G28
G29
M500 ;sauvegarde eeprom
;M117 ;Purge extruder
;G92 E0 ;Réinitialiser l'origine de l'extrudeuse
M109 S190
G1 F2000 E100  ;avance filament 100mm
G1 Z1.0 F3000 ;move z up little to prevent scratching of surface
G1 X2 Y20 Z0.3 F5000.0 ;move to start-line position
G1 X2 Y200.0 Z0.3 F1500.0 E150 ;draw 1st line
G1 X2 Y200.0 Z0.4 F5000.0 ;move to side a little
G1 X2 Y20 Z0.4 F1500.0 E150 ;draw 2nd line
G1 Z1.0 F3000 ;move z up little to prevent scratching of surface
G1 F4200 E-6
;LAYER_COUNT:298
;LAYER:0
M107
G1 F600 Z0.5
G0 F3600 X104.061 Y103.531 Z0.5
;TYPE:SKIRT
G1 F600 Z0.3
G1 F4200 E0
G1 F1500 X104.88 Y102.833 E0.05197
G1 X105.726 Y102.151 E0.10445
G1 X106.659 Y101.552 E0.15799

 

WD12230D_Trémie 3D.gcode

Trémie 3D.stl

Edited by Zebulon17
  • Link to post
    Share on other sites

    Posted (edited) · Prolème GCode

    Hypno-Toad = 18

    Bender Rodriguez = 2,163,478

    Zebulon = 17

     

    OK, back to business.  There are serious problems in that StartUp Gcode.  The G92 E0 line that is commented out is part of the problem.  Without it, the printer isn't synced to the E numbers in the gcode and definitely doesn't know where the end of the filament is.  It makes for a huge retraction when the StartUp Gcode ends with the E at around 150 (maybe).  Then after the layer start the G1 F4200 E0 is telling the printer to move to 0 which from 150 makes for a large retraction.  It isn't the only problem.

    I would make the startup something like I've scribbled below.  It should work provided the extruders don't have their own StartUp Gcode.  If they do then they might cause problems with this code.

     

    Start by making a project file ("File | Save Project") and post it here.  It will also be your backup if the code below doesn't help.

    After making the project file, in Cura go to "Settings / Printer / Manage Printers" and then "Machine Settings" and clear the StartUp G-Code box.  Then copy the code below and paste it into the StartUp G-Code box.

     

    ;-----StartUp G-Code
    M140 S{material_bed_temperature_layer_0}      ; Start to heat the bed
    M109 S175      ; Warm up the hot end a bit and wait for it
    M190 S{material_bed_temperature_layer_0}      ; Heat the bed all the way and wait for it

    G28      ;Auto-Home

    G29      ; Auto Level
    G0 F1200 Z7      ; Move up
    G0 X0 Y0      ; Ensure nozzle is at the origin to ooze there
    M109 S{material_print_temperature_layer_0, initial_extruder_nr}       ; Heat the hot end to Initial Layer Print Temp

    G92 E0       ;Reset active extruder

    G0 F5000 X1 Y20 Z0.3       ;move to purge start

    G1 F1500 X1 Y200.0 F1500.0 E15       ;draw 1st line

    G0 F5000 X4 Y200.0       ;move over 3mm

    G1 F1500 X4 Y20 E30       ;draw 2nd line

    G1 F1200 Z1.0       ;move z up
    ;-----End of StartUp

     

    You only need to print the first layer of a file to see if the above will work.  Post the project file first though.  There can be an interference if any Extruder StartUp Gcode isn't taken into account.

     

     

    Edited by GregValiant
    • Like 1
    Link to post
    Share on other sites

    Posted · Prolème GCode
    On 5/30/2024 at 8:56 PM, Alain_D said:

    Maverick17 = Zebulon17 ? 😉

    Dans le forum "lesimprimantes3d.fr", un certain Maverick17 a posé exactement la même question... 😄

    • Laugh 1
    Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
      • UltiMaker Cura 5.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 26 replies
    ×
    ×
    • Create New...